/* ===========================
   Custom Appointment Modal
=========================== */

.custom-appointment-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 51, 102, 0.45);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
    transition: all 0.3s ease;
}

.custom-appointment-modal.active {
    display: flex;
}

/* Modal Card */
.custom-appointment-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    border-radius: 20px;
    padding: 40px 35px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.35s ease;
}

/* Animation */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Close Button */
.close-modal {
    position: absolute;
    top: 15px;
    right: 18px;
    background: #f5f7fa;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #003366;
    color: #fff;
}

/* Title */
.custom-appointment-modal h3 {
    margin-bottom: 25px;
    color: #003366;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

/* Form Inputs */
.custom-appointment-modal input,
.custom-appointment-modal textarea,
.custom-appointment-modal select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid #e0e6ed;
    margin-bottom: 15px;
    font-size: 14px;
    transition: 0.3s ease;
}

.custom-appointment-modal input:focus,
.custom-appointment-modal textarea:focus,
.custom-appointment-modal select:focus {
    border-color: #008080;
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
    outline: none;
}

/* Submit Button */
.modal-submit-btn {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #008080, #003366);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 128, 128, 0.3);
}

/* Responsive */
@media (max-width: 576px) {
    .custom-appointment-modal-content {
        padding: 30px 20px;
    }
}
