/* Appointment modal styling (used on all pages via footer.php) */
body.modal-open .modal-backdrop.show {
    opacity: 0.65;
}
.appointment-modal-dialog {
    max-width: 480px;
}
.appointment-modal-content {
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}
.appointment-modal-header {
    background: linear-gradient(135deg, #d78c2c 0%, #975601 100%);
    color: #fff;
    border: none;
    padding: 1rem 1.25rem;
}
.appointment-modal-header .modal-title {
    color: #fff;
    font-weight: 600;
}
.appointment-modal-body {
    background: #fff;
    color: #333;
    padding: 1.5rem 1.25rem;
    max-height: 55vh;
    overflow-y: auto;
}
.appointment-modal-body .form-control,
.appointment-modal-body .form-select {
    background: #fff;
    color: #333;
    border: 1px solid #dee2e6;
}
.appointment-modal-body .form-label {
    font-weight: 500;
    color: #333;
}
.appointment-modal-footer {
    border-top: 1px solid #eee;
    padding: 1rem 1.25rem;
    background: #fff;
    flex-shrink: 0;
}
.appointment-modal-footer .btn-submit-now {
    background: linear-gradient(135deg, #d78c2c 0%, #975601 100%);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
}
.appointment-modal-footer .btn-submit-now:hover:not(:disabled) {
    opacity: 0.95;
    color: #fff;
}
.appointment-modal-footer .btn-submit-now:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
/* Keep services dropdown from overflowing; footer stays visible */
#staticBackdrop .options-list {
    max-height: 160px;
}

/* Footer + shared multi-select styles (global) */
.footer-area h3 {
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #ffffff;
    font-family: revert;
    font-size: 22px;
    font-weight: 600;
}

.footer_add h6 {
    font-size: 14px;
    font-weight: 400;
}

.footer-area {
    padding: 0px;
    margin-top: 55px;
}

.footer_custom-des {
    margin-top: -60px;
    text-align: center;
}

.multi-select-container {
    position: relative;
    width: 100%;
}

.footer-logo img {
    height: 120px;
    margin-bottom: 30px;
}

.social-link a {
    display: inline-block;
    line-height: 0;
    text-align: center;
    background: transparent;
    background-color: #898787;
    border: none;
    color: #000;
    padding: 8px;
    font-size: 15px;
    margin-right: 8px;
    border-radius: 20px;
}

.footer-area .footer-links li {
    margin-bottom: 15px;
    display: inline;
    padding: 24px;
    font-size: 18px;
    text-align: center;
}

.footer-links {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 13px !important;
    margin: 33px 0 !important;
    text-align: center;
}

.select-box {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    min-height: 38px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    cursor: pointer;
    position: relative;
}

.selected-options {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    flex-grow: 1;
}

.selected-option {
    background-color: #e9ecef;
    padding: 2px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.selected-option .remove-option {
    cursor: pointer;
    color: #6c757d;
}

.placeholder {
    color: #6c757d;
    position: absolute;
    left: 12px;
    pointer-events: none;
    background-color: white;
}

.select-box.has-selection .placeholder {
    display: none;
}

.options-container {
    display: none;
    position: absolute;
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background: white;
    z-index: 1000;
    margin-top: 5px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.search-box {
    padding: 8px;
    border-bottom: 1px solid #dee2e6;
}

.search-box input {
    width: 100%;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    padding: 10px;
}

.select-all {
    padding: 8px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.options-list {
    max-height: 200px;
    overflow-y: auto;
}

.option-item {
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.option-item:hover {
    background-color: #f8f9fa;
}

.option-item input[type="checkbox"] {
    margin: 0;
    margin-bottom: 1px;
}

/* Hide the native select element */
select[name="services[]"] {
    display: none;
}

/* Mobile footer + floating buttons */
@media (max-width: 768px) {
    .footer-links li {
        display: block !important;
        padding: 10px 0 !important;
        text-align: center;
    }

    .footer-area .footer-links li {
        padding: 10px !important;
        display: inline-block !important;
    }

    .mobile_foot_menu {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: white;
        z-index: 9999;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }

    .mobile_foot {
        display: flex;
        justify-content: space-around;
        padding: 10px 0;
    }

    .Menu_item {
        text-align: center;
        flex: 1;
    }

    .Menu_item img {
        width: 24px;
        height: 24px;
    }

    .Menu_item h6 {
        font-size: 12px;
        margin-top: 5px;
    }

    /* Ensure WhatsApp and Call buttons are visible on mobile */
    .whatsapp-link,
    .call-btn {
        position: fixed;
        z-index: 1000;
    }

    .whatsapp-link {
        bottom: 80px;
        right: 20px;
    }

    .call-btn {
        bottom: 140px;
        right: 20px;
    }

    .whatsapp-link img,
    .call-btn img {
        width: 60px !important;
        height: 60px !important;
    }
}

/* Ensure date input works on all devices */
#dateInput {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* For iOS */
@supports (-webkit-touch-callout: none) {
    #dateInput {
        min-height: 44px;
    }
}

