/* Fixed Contact Button */
.fixed-contact-btn {
    position: fixed;
    right: -35px;
    top: 50%;
    transform: rotate(-90deg);
    z-index: 1000;
    background-color: #198754;
    color: white;
    padding: 10px 20px;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.fixed-contact-btn:hover {
    right: -30px;
    background-color: #146c43;
}

/* Contact Modal */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1001;
    animation: fadeIn 0.3s;
}

.contact-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #333;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Form Styles */
.modal-form-container {
    max-width: 100%;
    padding: 20px 0;
}

.modal-form-container .form-row {
    margin-bottom: 20px;
}

.modal-form-container .input-data {
    position: relative;
    width: 100%;
}

.modal-form-container input,
.modal-form-container textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.modal-form-container input:focus,
.modal-form-container textarea:focus {
    border-color: #198754;
    outline: none;
}

.modal-form-container label {
    position: absolute;
    left: 10px;
    top: -8px;
    background: white;
    padding: 0 5px;
    font-size: 12px;
    color: #666;
}

.modal-form-container .btn-submit {
    background-color: #198754;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.modal-form-container .btn-submit:hover {
    background-color: #146c43;
}

/* Alert Messages */
.modal-alert {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    display: none;
}

.modal-alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.modal-alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-modal-content {
        width: 95%;
        margin: 20px;
        padding: 20px;
    }

    .fixed-contact-btn {
        right: -45px;
        padding: 8px 15px;
        font-size: 14px;
    }
} 