﻿.enquiry-icon {
    position: fixed;
    z-index: 2000;
    right: 0;
    bottom: 0;
    width: 88px;
    padding-right: 35px;
    padding-bottom: 95px;
}

    .enquiry-icon .enquiry-button {
        color: #fff;
        background-color: var(--theme-dark-green);
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
        border-radius: 100px;
        box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.1);
        height: 65px;
        width: 65px;
        cursor: pointer;
        font-size: 25px;
        transition: transform 0.25s ease; /* Add this */
        border: 1px solid white;
    }

/* Hover effect for desktop only */
@media (min-width: 992px) {
    .enquiry-icon .enquiry-button:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 1399px) and (min-width: 992px) {
    .enquiry-icon {
        padding-right: 0;
        scale: 0.9;
    }
    /* Bubble */
    .enquiry-speech-bubble {
        right: 60px !important;
        bottom: 70px !important;
    }
}
/* Wrapper because speech bubble and icon must stay together */
.enquiry-icon-wrapper {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1010;
}

/* Bubble */
.enquiry-speech-bubble {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    position: absolute;
    right: 80px;
    bottom: 80px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    width: 150px;
}

    /* Bubble visible */
    .enquiry-speech-bubble.show {
        opacity: 1;
        visibility: visible;
    }

/* Close button */
.bubble-close-btn {
    background: none;
    border: none;
    font-size: 16px;
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

#enquiryModalLabel {
    margin-inline: auto;
    color: var(--theme-dark-blue);
    font-weight: 600;
    font-size: 1.3rem;
}

@media (min-width: 992px) {
    /* Remove backdrop */
    .modal-backdrop {
        display: none !important;
    }
    /* Keep page scrollable */
    body.modal-open {
        overflow: visible !important;
        padding-right: 0 !important;
    }
    /* Only the panel is interactive */
    #enquiryModal {
        pointer-events: none; /* clicks pass through outside the panel */
    }

        #enquiryModal .modal-dialog {
            pointer-events: auto; /* panel interactive */
            position: fixed;
            right: 100px;
            top: 50%;
            transform: translateX(100%) translateY(-50%);
            transition: transform 0.35s ease;
            width: 380px; /* panel width */
            margin: 0;
        }

        #enquiryModal.show .modal-dialog {
            transform: translateX(0) translateY(-50%);
        }

        #enquiryModal .modal-content {
            border-radius: 12px;
        }
}

.enq-form-select {
    z-index: 1090;
}


body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.reg-modal-overlay {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 51, 102, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.reg-modal-content {
    background: #fff;
    max-width: 900px;
    width: 95vw;
    padding: 2em 2em 1.5em 2em;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12);
    position: relative;
    font-family: "Mulish", Arial, sans-serif;
    /*    border: 10px solid #5eb8e7;*/
    font-size: 14px;
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
}

@media (max-width:768px) {
    .reg-modal-close {
        position: sticky !important;
        top: 0 !important;
        right: 3px !important;
        left: 90% !important;
        background: none;
        border: none;
        font-size: 2em;
        color: #7a7a7a;
        cursor: pointer;
        z-index: 10000;
    }
}

.reg-modal-close {
    position: absolute;
    top: 0;
    right: 10px;
    background: none;
    border: 0;
    font-size: 2em;
    color: #7a7a7a;
    cursor: pointer;
    z-index: 10000;
}

.reg-modal-section {
    border-radius: 18px;
    padding: 1.2em 1.5em;
    margin: 1.2em 0;
}

    .reg-modal-section.blue {
        background: #eaf4fa;
        color: #2a4d6c;
    }

    .reg-modal-section.purple {
        background: #f2f0f7;
        color: #4b4b6b;
    }

    .reg-modal-section ol {
        margin: 0.7em 0 0.2em 1.2em;
        padding: 0;
    }

    .reg-modal-section b {
        display: block;
        margin-bottom: 0.5em;
        font-size: 1.1em;
    }

.reg-modal-hospital-row {
    display: flex;
    justify-content: center;
    gap: 2em;
}

    .reg-modal-hospital-row ol {
        margin: 0.7em 0 0.2em 1.2em;
        padding: 0;
        min-width: 200px;
    }

.reg-modal-mobile-divider {
    display: none;
}

@media (max-width: 768px) {
    .reg-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .reg-modal-content {
        padding: 1em 0.5em;
        margin: 10px;
/*        max-height: calc(100vh - 20px);*/
        width: calc(100vw - 20px);
        overflow-y: auto;
        box-sizing: border-box;
    }

    .reg-modal-section {
        padding: 0.7em 0.7em;
    }

    .reg-modal-hospital-row {
        flex-direction: column;
        gap: 0.5em;
        align-items: flex-start;
    }

        .reg-modal-hospital-row ol {
            min-width: 0;
        }

    .reg-modal-mobile-divider {
        display: block;
        height: 16px;
        width: 100%;
        border-bottom: 2px dashed #b5c6d6;
        margin: 8px 0 8px 0;
    }
}

        .modal-hospital-list .card .card-img-top {
            border-radius: 10px;
            box-shadow: -3px -5px 2px 0 #d5e0e6 inset, -7px -4px 1px 1px #fffafa;
        }


.appointment-section .dropdown-text .title {
    font-weight: 600;
}

.enq-form-select {
    z-index: 1100;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #999 !important;
}
