@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #FF0000;
    --primary-light-red: #FFE4E6;
    --secondary-blue: #3182ce;
    --primary-blue: #1a365d; /* Deep Medical Blue */
    --primary-gray: #F5F5F5;
    --background-light-blue: #F1F2F2;
    --footer-gray: #B9B9B9;
    --text-gray: #4F4E4E;
    --icon-gray: #797979;
    --outline-gray: #b9b9b9;
    --outline-gray-2: #424242;
    --seperator-gray: #d9d9d9;
    --seperator-gray-2: #e7e7e7;
    --text-primary-gray: #324054;
    --success-green: #109C03;
    --success-green-light: #A5FFD2A1;
    --warning-yellow: #dfa908;
    --warning-yellow-light: #ffc10749;
    --light-green-2: #D4E2D3;
    --text-gray-2: #6E6E6E;
    --slot-available: #9BB1FF;
    --slot-booked: #FFC6C6;
    --light-white: #FFFFFF5C;
    --light-blue-2: #E3E3E3;
    --jogo-red: #E33F23;
}

header {
    font-family: 'Inter', sans-serif;
}

.hero-section h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 600;
}

.hero-heading {
    /* margin: 5rem !important; */
    /* background-color: blue; */
}


.navbar-btn {
    padding: 6px 15px;
    background-color: var(--primary-red);
    color: white !important;
    border-radius: 9px;
}

.navbar-links.active {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
}

.navbar-links {
    font-weight: 600;
}

.navbar-item {
    text-decoration: none;
    color: inherit;
}

.navbar-item:hover {
    color: var(--primary-red);
    transition: color 0.3s ease-in-out;
}

.logo img {
    height: 55px;
    width: auto;
}

.hero-section {
    position: relative;
    background-image: none;
    background-color: var(--primary-light-red);
    /* background-size: 42%; */
    /* height: 54vh; */
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: #ffe4e654; */
    background-color: #ffe4e6d0;
    /* z-index: 1; */
}

.hero-section>* {
    position: relative;
    /* z-index: 2; */
}

.hero-section {
    background-image: url("../assets/images/hero-img-resize.png");
    background-size: 70%;
    background-position: right top;
    background-repeat: no-repeat;
    /* height: 45vh; */
}


/* SEARCH BLOCK SECTION */
.search-block,
.result-search-block {
    background-color: white;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--outline-gray-2);
    font-family: 'Poppins', sans-serif;
}

.hero-input-field {
    height: 55px !important;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    color: var(--text-gray);
    background-color: var(--light-white);
    padding-left: 40px;

}

.hero-search-btn {
    width: 100%;
}

.select-input {
    width: 90%;
    border-bottom: 1px solid var(--primary-red) !important;
    color: var(--text-gray-2);
}

.problem-input {
    width: 75% !important;
}

.input-wrapper{
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* allows clicking input */
    font-size: 18px;
}

@media (min-width: 1024px) {
    .hero-input-field {
        padding-left: 60px;
    }

    .input-icon {
        font-size: 22px;
    }

}


/* .problem-validation {
    border-bottom: 2px solid red !important;
} */


/* SEARCH BLOCK SECTION END */


/* INSURANCE COMPANY SECTION */

.see-all-btn {
    text-decoration-color: var(--outline-gray);
    color: var(--text-gray);
    font-weight: 600;
}

/* INSURANCE COMPANY SECTION END */

/* FOOTER SECTION */

footer {
    background-color: var(--footer-gray);
    color: black;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    text-align: center;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0 8px;
    position: relative;

}

.footer-links li a {
    text-decoration: none;
    color: inherit;
}

.footer-links li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -10px;
    color: #000;
}

/* FOOTER SECTION END */

/* INSURANCE SELECTION MODEL */

.modal-search-bar {
    background-color: var(--seperator-gray);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    border: 1px solid var(--outline-gray-2);
}

.modal-search-bar input {
    background-color: var(--seperator-gray);
    border-radius: 50px;
    height: 45px !important;
    width: 100%;
}

.modal-search-bar i {
    color: var(--text-gray);
}

.insurance-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    background-color: var(--background-light-blue);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin: 0.75rem 0;
    border: 1px solid var(--outline-gray);
    transition: background-color 0.3s ease-in-out;
}

.insurance-block:hover {
    background-color: var(--light-white);
    /* cursor: pointer; */
}

.sample-img {

    background-color: white;
    border-radius: 5px;
}

.sample-img img {
    object-fit: contain;
    padding: 5px;
    width: 70px;
    /* min-height: 50px; */
}

/* INSURANCE SELECTION MODEL END */

/* PLAN SELECTION MODEL */

.view-all-btn {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 600;
}

/* .popular-plans-list {
    display: flex;
} */

.popular-plans-list a {
    text-decoration: none;
    color: inherit;
}

.popular-plans-list li {
    padding: 0.25rem 0;
}

.plan-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0;
    color: inherit;
    /* background-color: var(--background-light-blue); */
    padding: 0.75rem 1rem;
    border-radius: 5px;
    margin: 0.5rem 0;
    border: 1px solid var(--outline-gray);
    text-decoration: none;
    /* transition: background-color 0.3s ease-in-out; */
}


/* Media Query */

/*For Below Tab*/
@media (max-width: 768px) {
    .navbar-links {
        position: absolute;
        top: 75px;
        right: 0;
        background-color: #ffe6e6;
        width: 100%;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        max-height: 0px;
        opacity: 0;
        pointer-events: none;
        transition: all 0.5s ease-in-out;
        z-index: 5;
    }

    .location-input-field {
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--outline-gray) !important;
        border-bottom: 1px solid var(--outline-gray) !important;
    }

    .insurance-selection-input-field {
        border-left: none;
        border-right: none;
        /* border-top: 1px solid var(--outline-gray) !important; */
        /* border-bottom: 1px solid var(--outline-gray) !important; */
    }

    .search-block {
        margin: 3rem;
    }

    .hero-section {
        /* height: 75vh; */
    }
}

@media (min-width: 1200px) {
    .search-block {
        margin: 5rem;
        width: 80% !important;
    }

    .hero-section {
        height: 54vh;
    }


}


/*For Above Large Screen*/
@media (min-width: 1024px) {
    .hero-section {
        background-image: url("../assets/images/hero-img-resize.png");
        background-size: 41%;
        background-position: right top;
        background-repeat: no-repeat;
        /* height: 45vh; */
        /* height: 54vh; */
    }

    .hero-heading {
        width: 65%;
    }

    .hero-search-btn {
        width: fit-content !important;
    }

    .hero-section::before {
        background-color: #ffe4e654;
    }


    .location-input-field {
        border-left: 1px solid var(--outline-gray);
        border-right: 1px solid var(--outline-gray);
    }

    .insurance-selection-input-field {
        /* border-left: 1px solid var(--outline-gray); */
        /* border-right: 1px solid var(--outline-gray); */
    }

    .select-input {
        width: fit-content !important;
    }

    .search-block {
        margin: 4rem;
    }
}


@media (min-width: 768px) {}

@media (min-width: 425px) {
    .hero-section {
        /* height: 45vh; */
    }
}

@-moz-document url-prefix() {
    .select-input {
        width: 75% !important;
    }

    .input-wrapper {
        width: 100% !important;
    }
}

















/* ******* SEARCH RESULTS PAGE CSS ******* */

/* SEARCH BAR SECTION */
/* SEARCH BAR SECTION END */

/* SEARCH RESULT FILTER SECTION */

.day-filter {
    padding: 0.4rem 0.6rem;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.85rem;
    border: 1px solid var(--text-gray);
    cursor: pointer;
}

.day-filter-active {
    background-color: var(--primary-red);
    color: white;
    border: none;
}

.day-filter-section ul {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.day-filter-section ul li {
    flex: 0 0 auto;
}

.list-map-btn {
    padding: 0.4rem 1rem;
    border-radius: 9px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    border: 1px solid var(--outline-gray);
}

.list-map-btn.active {
    background-color: var(--primary-light-red);
    border: 1px solid var(--primary-red);
    cursor: pointer;
}

.list-map-sectionv {
    display: flex;
}

.list-map-section::after {
    content: "";
    display: block;
    width: 1px;
    height: 20px;
    background-color: var(--outline-gray);
    margin: auto 0;
}

.sort-by-section {
    font-size: 0.75rem;
}

.sort-by-section div {
    border: 1px solid var(--outline-gray);
}

.sort-by-section select {
    /* padding: 0.5rem 1rem; */
    border: none;
    outline: none;
    padding: 0.5rem 1rem 0.5rem;
}

.sort-by-section select option {
    padding: 2rem;
}

/* SEARCH RESULT FILTER SECTION END */

/* SEARCH RESULT SECTION */

.user-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.user-img-marker {
    border-radius: 50%;
    object-fit: cover;
}

.fa-star, .fa-star-half-stroke {
    color: #FFB400 !important; /* Premium Amber/Gold */
    margin-right: 1px;
}

.rating-score {
    font-weight: 700;
    color: #333;
    margin-left: 4px;
    font-size: 0.9rem;
}

.review-count {
    color: #6E6E6E;
    font-size: 0.8rem;
    margin-left: 4px;
}

.new-badge {
    background-color: rgba(26, 54, 93, 0.08); /* Very light Deep Medical Blue */
    color: var(--primary-blue);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 6px;
    display: inline-block;
    vertical-align: middle;
}

.in-network {
    display: inline-block;
    color: var(--success-green);
    background-color: var(--success-green-light);
    padding: 0.3rem 0.6rem;
    border-radius: 70px;
    min-width: fit-content;
}


.out-network {
    display: inline-block;
    color: var(--warning-yellow);
    background-color: var(--warning-yellow-light);
    padding: 0.3rem 0.6rem;
    border-radius: 70px;
    min-width: fit-content;
}

.no-network {
    display: inline-block;
    color: var(--text-gray);
    background-color: var(--outline-gray);
    padding: 0.3rem 0.6rem;
    border-radius: 70px;
    min-width: fit-content;
}


.in-network p,
.in-network i,
.out-network p,
.out-network i,
.no-network p,
.no-network i {
    font-size: 0.7rem;
}

.therapist-info {
    flex-shrink: 0;
    min-width: 0;
}

.therapist-name {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
}

.video-appointment {
    position: relative;
    background-color: var(--background-light-blue);
    border: 1px solid var(--background-light-blue);
    transition: border 0.2s;
    width: 100%;
    min-width: 0;
}

.phone-appointment {
    position: relative;
    /* width: 350px; */
    width: 100%;
    background-color: var(--background-light-blue);
    border: 1px solid var(--background-light-blue);
    transition: border 0.2s;
}

.phone-appointment p {
    margin: 0;
}

.phone-appointment-content {
    padding: 0 48px;
}

.phone-appointment button {
    background-color: var(--primary-blue);
    width: 100%;
}

.fa-message {
    color: var(--outline-gray) !important;
}

.font-weight-600 {
    font-weight: 600
}

.circle-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border: 3px solid var(--icon-gray);
    border-radius: 50%;
    background-color: white;
    transition: background-color 0.3s;
}

.phone-appointment:hover,
.video-appointment:hover {
    border: 1px solid var(--primary-blue);
    /* background-color: red; */
}

.phone-appointment.active,
.video-appointment.active {
    border-color: var(--primary-blue);
}

.video-appointment .prev-week,
.video-appointment .next-week,
.video-appointment .fa-chevron-left,
.video-appointment .fa-chevron-right {
    cursor: pointer !important;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.video-appointment .prev-week:hover,
.video-appointment .next-week:hover {
    background-color: rgba(18, 58, 239, 0.1);
    color: var(--primary-blue);
}

.chat-btn,
.time,
.date-block {
    cursor: default;
    /* opacity: 0.5; */
    /* background-color: var(--icon-gray) !important; */
    transition: background-color 0.3s, opacity 0.3s, cursor 0.3s;
}

.card-component.active .chat-btn {
    background-color: var(--primary-blue);
    cursor: pointer;
    opacity: 1;
}

.card-component.active .time {
    cursor: pointer !important;
    opacity: 1 !important;
    /* background-color: red; */
}

.card-component.active .date-block {
    opacity: 1 !important;
    /* background-color: red; */
}

.card-component.disabled .chat-btn {
    opacity: 0.5;
    background-color: var(--icon-gray) !important;
    border-color: var(--icon-gray);
    pointer-events: none;
    cursor: not-allowed;
}

.card-component.disabled .time,
.card-component.disabled .date-block {
    opacity: 0.5;
    /* background-color: var(--icon-gray) !important; */
    /* border-color: var(--icon-gray); */
    pointer-events: none;
    cursor: not-allowed;
}

/*
.card-component.active {
  border: 2px solid orange;
} */

.phone-appointment.active .circle-indicator,
.video-appointment.active .circle-indicator {
    border: 6px solid var(--primary-blue);
    /* filled when active */
}

.month-year-block {
    /* background-color: white; */
    padding: 0.3rem 0.7rem;
    border-radius: 9px;
    border: 1px solid var(--outline-gray);
    width: fit-content;
    color: var(--text-gray);
}

.day-block {
    text-align: center;
    width: 90px;
    flex-shrink: 0;
    padding: 0 4px;
    display: flex;
    flex-direction: column;
}

.day-block p {
    margin: 0;
}

.date-block {
    background-color: var(--background-light-blue);
    padding: 6px 0;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 4px;
}

.date-block .day {
    color: rgb(0, 0, 0) !important;
    font-weight: 600 !important;
}

.time-slots-box {
    max-height: 160px;
    width: 100%;
    overflow-y: auto;
    overflow-x: auto;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 991px) {
    .time-slots-box {
        overflow-x: auto !important; /* Re-enable native scroll for the slots area */
    }
}


.time-slots-box {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.time-slots-box::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.time-block {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 0.5rem;
    color: black;
    min-height: 100px;
}

.time-block .time {
    border: 1px solid var(--icon-gray);
    border-radius: 5px;
    padding: 0.4rem 0.2rem;
    font-size: 0.75rem;
    pointer-events: all !important;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin-bottom: 2px;
}

.slot-available {
    background-color: var(--slot-available);
    border-color: var(--slot-available) !important;
}

.slot-booked {
    background-color: var(--slot-booked);
    color: var(--primary-red);
    border-color: var(--primary-red) !important;
}

.old-slot {
    background-color: var(--footer-gray);
    color: var(--text-gray);
    border-color: var(--outline-gray) !important;
    pointer-events: none !important;
    cursor: default !important;
}


/* MODAL HEADER REFINEMENT */
.modal-header {
    background-color: #f8fafc !important; /* Very soft neutral header */
    border-bottom: 1px solid #edf2f7 !important;
    padding: 1rem 1.5rem !important;
}

#therapistProfileModal .modal-header,
#videoConsultationModal .modal-header,
#videoConsultationConfirmedModal .modal-header {
    background-color: #f8fafc !important;
    padding: 1rem 1.5rem 1rem 1.5rem !important; /* Increased right padding to 1.5rem */
    min-height: 64px;
    display: flex;
    align-items: center;
}

.modal-header .btn-close, 
#therapistProfileModal .modal-header .close {
    background-color: white !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    color: var(--primary-blue) !important;
    padding: 0 !important;
    margin: 0 8px 0 0 !important; /* Added 8px right margin */
    transition: all 0.2s;
}

.modal-header .btn-close:hover,
#therapistProfileModal .modal-header .close:hover {
    background-color: #fff1f2 !important;
    color: var(--primary-red) !important;
    border-color: #fecaca !important;
}

#therapistProfileModal .modal-header .close i {
    font-size: 1rem;
}

/* Ensure text in colored headers is now dark since background is light */
.modal-header h5, 
.modal-header p {
    color: var(--text-primary-gray) !important;
}
/* END MODAL HEADER REFINEMENT */

/* THERAPIST PROFILE MODAL END */

/* CALENDAR INSIDE MODAL */
.profile-modal-calendar {
    background-color: var(--background-light-blue) !important;
    border: none !important;
}

.profile-modal-calendar .video-appointment-content {
    padding: 1.5rem 0 0 0 !important; /* Added 1.5rem padding to the top */
}

.profile-modal-calendar .time-slots-box {
    padding-bottom: 10px;
}

.profile-modal-calendar .month-year-block {
    margin-bottom: 1.25rem !important;
}
.mobile-nav-row {
    background-color: rgba(18, 58, 239, 0.05); /* Very faint brand blue background */
    border-radius: 50px;
    padding: 4px 8px;
    border: 1px solid rgba(18, 58, 239, 0.1);
    align-items: center;
    user-select: none;
    touch-action: pan-y; /* Allow vertical scroll but prioritize horizontal for our JS */
}

.mobile-nav-row .text-secondary-gray {
    font-size: 0.7rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: var(--primary-blue) !important;
    opacity: 0.7;
}

.mobile-nav-row .prev-week,
.mobile-nav-row .next-week {
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CALENDAR SLIDE ANIMATIONS */
.time-slots-box {
    transition: transform 0.3s ease-out, opacity 0.2s;
}

.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
}

.slide-out-right {
    transform: translateX(100%);
    opacity: 0;
}

.slide-in-left {
    animation: slideInLeft 0.3s forwards;
}

.slide-in-right {
    animation: slideInRight 0.3s forwards;
}

@keyframes slideInLeft {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
/* END CALENDAR SLIDE ANIMATIONS */


/* CHAT CONSULTATION MODAL */

#chatConsultationModal form button {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.9rem 0;
    border-radius: 5px;
}

#chatConsultationModal .input-wrap input {
    padding: 0.8rem 0;
    border-radius: 5px;
    border: 1px solid var(--outline-gray);
    text-indent: 12px;
}

/* #chatConsultationModal .modal-header {
    padding: 0;
} */

#chatConsultationModal .modal-header,
#chatEstablishedModal .modal-header {
    padding: 0.3rem 1rem;
}

#chatConsultationModal .modal-header button,
#chatEstablishedModal .modal-header button {
    background-color: white;
    border: none;
}

#chatConsultationModal .modal-body {
    padding: 0;
}

#chatConsultationModal .input-wrap label {
    font-weight: 600;
}

/* CHAT CONSULTATION MODAL END */

/* CHAT ESTABLISHED MODAL */
.established-modal-content {
    background-color: var(--background-light-blue);
    border-radius: 5px;
    padding: 2rem 2.5rem;
}

.established-modal-content p {
    margin: 0;
    padding: 0.25rem 0;
}

.established-modal-content .contact-card {
    background-color: white;
    border-radius: 5px;
    border-left: 5px solid var(--primary-blue);
    text-align: center;
    padding: 0.75rem;
}

.established-modal-content ul {
    padding-left: 0 !important;
}

.chat-established-btn {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.85rem;
    border-radius: 5px;
}

/* CHAT ESTABLISHED MODAL END */

/* VIDEO CONSULTATION MODAL */

#videoConsultationModal .modal-header {
    background-color: var(--primary-blue);
    padding: 0 !important;
}

#videoConsultationModal .modal-header .btn-close {
    background-color: white;
    filter: none;
    /* keep default black icon */
    border-radius: 50%;
    margin: 1.5rem 0.6rem;
    border: none;
}

.doctor-review-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--background-light-blue);
    border-radius: 7px;
    padding: 0.65rem 1rem;
    border-left: 4px solid var(--primary-blue);
}

.doctor-review-box p {
    margin: 0;
}

.physio-name-icon {
    padding: 1.2rem;
    background-color: var(--primary-blue);
    border-radius: 50%;
    font-weight: 600;
    color: white;
}

.concern-description {
    outline: none;
    border-color: var(--outline-gray);
    text-indent: 0.75rem;
    border-radius: 4px;
    width: 100%;
}

.sub-time-slot {
    flex-grow: 1;
    padding: 0.5rem;
    border-radius: 5px;
    background-color: var(--background-light-blue);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
}

.sub-time-slot.active {
    background-color: var(--primary-blue);
    color: white;
}

.sub-time-slot:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sub-time-slot:not(.active) {
    cursor: pointer;
}

/* VIDEO CONSULTATION MODAL END */


/* VIDEO CONSULTATION CONFIRMED MODAL */

#videoConsultationConfirmedModal .modal-header {
    background-color: var(--primary-blue);
    padding: 0 !important;
}

#videoConsultationConfirmedModal .modal-header .btn-close {
    background-color: white;
    filter: none;
    /* keep default black icon */
    border-radius: 50%;
    margin: 1.5rem 0.6rem;
    border: none;
}

.modal-body-top {
    background-color: white;
    padding: 1.5rem 0;
    border-radius: 7px;
}

.modal-body-footer {
    background-color: white;
    border-radius: 7px;
    /* padding: 1rem 1.7rem; */
}

.appointment-details {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;

}

.appointment-details p:first-child {
    color: var(--text-gray-2);
}

.appointment-details p:last-child {
    font-weight: 500;
}

.appointment-details:not(:last-child) {
    border-bottom: 1px solid var(--seperator-gray-2);
}

.confirm-btn {
    background-color: var(--success-green);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    width: fit-content;
}

/* VIDEO CONSULTATION CONFIRMED MODAL END */


/* VIDEO CONFERANCE DETAILS MODAL */

#videoConferenceDetailsModal .modal-header {
    background-color: var(--primary-blue);
    padding: 0 !important;
}

#videoConferenceDetailsModal .modal-header .btn-close {
    background-color: white;
    filter: none;
    /* keep default black icon */
    border-radius: 50%;
    margin: 1.5rem 0.6rem;
    border: none;
}

.zoom-link {
    background-color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    word-break: break-all;
    overflow: hidden;
}

.zoom-link-text {
    color: var(--primary-blue);
    flex-grow: 1;
    border-radius: 7px;
    border: 0;
    width: 100%;
    word-wrap: break-word;
}

#modal-zoom-link {
    word-break: break-all;
    margin-bottom: 0;
    padding-right: 10px;
}

@media (max-width: 991px) {
    .zoom-link {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    #modal-zoom-link {
        padding-right: 0;
    }
}

.zoom-link button {
    background-color: var(--primary-blue);
    color: white;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    border: none;
    border-radius: 7px;
    white-space: nowrap; /* Prevents text from breaking into two lines */
    min-width: 100px; /* Ensures enough space for the text */
}

.meeting-id,
.meeting-passcode {
    background-color: white;
    flex-grow: 1;
    border-radius: 7px;
    padding: 0.5rem 1rem;
}

.join-instruction {
    background-color: var(--light-blue-2);
    border-radius: 5px;
    border-left: 3px solid var(--primary-blue);
    padding: 0.75rem 1rem;
}

.send-appointment-block {
    background-color: white;
    padding: 1rem 1.5rem;
    border-radius: 7px;
}

.send-mail,
.send-sms {
    background-color: var(--background-light-blue);
    padding: 1rem;
    border-radius: 7px;
    border: 3px solid var(--background-light-blue);
    cursor: pointer;
}

.send-mail.active {
    border: 3px solid var(--primary-blue);
    color: var(--primary-blue);
}

.send-sms.active {
    border: 3px solid var(--primary-blue);
    color: var(--primary-blue);
}

.footer-notice {
    background-color: var(--light-green-2);
    border-radius: 5px;
    border-left: 4px solid var(--success-green);
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--success-green);
    border-bottom: 1px solid var(--success-green);
    border-right: 1px solid var(--success-green);
}

.send-detail-btn {
    background-color: var(--primary-blue);
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    flex-grow: 2;
}

.add-calendar-btn {
    background-color: var(--outline-gray);
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-weight: 400;
    flex-grow: 1;
}

/* VIDEO CONFERANCE DETAILS MODAL END */

/* TAB SWITCHING SECTION */

/* .tab-pane {
        display: flex !important;
    } */

.tab-container {
    background-color: var(--background-light-blue);
    padding: 0.5rem;
}

.tab-btn {
    background-color: var(--background-light-blue);
    border: none;
    /* border: 1px solid var(--outline-gray); */
    border-radius: 9px;
    color: var(--text-gray);
    font-weight: 600;
    width: 45%;
    padding: 0.5rem 0;
}

.tab-btn.active {
    background-color: white;
    border: 1px solid var(--primary-blue);
}

.tab-btn p {
    margin: 0;
}



@media (min-width: 992px) {
    .therapist-info {
        width: 30% !important;
        min-width: 200px !important;
        max-width: 250px !important;
        flex-shrink: 0;
    }

    .user-img {
        width: 70px;
        height: 70px;
    }

    /* Show all tab panes on tablets and desktops */
    .tab-pane {
        display: flex !important;
        opacity: 1 !important;
        transition: none !important;
        flex-grow: 1;
        width: 70%;
    }

    .tab-content {
        display: flex;
        width: 100%;
        justify-content: space-between;
        gap: 1rem;
        flex-grow: 1;
    }
}

@media (min-width: 1024px) {
    .therapist-info {
        width: 250px !important;
    }

    .user-img {
        width: 80px;
        height: 80px;
    }

    .chat-btn,
    .time,
    .date-block {
        cursor: default;
        transition: background-color 0.3s, opacity 0.3s, cursor 0.3s;
    }
}

@media (min-width: 1200px) {
    .phone-appointment {
        width: 350px !important;
    }
}

/* TAB SWITCHING SECTION END */



/* SEARCH RESULT SECTION END */


/* MAP SECTION CSS */
/* #map {
    height: 500px;
    width: 100%;
    border-radius: 10px;
} */

#map,
#map .leaflet-container {
    height: 500px !important;
    min-height: 500px !important;
}

.list-view {
    display: none;
}

.list-view.active {
    display: block;
}

.map-view {
    display: none;
    /* display: block !important; */
    /* height: 0; */
    /* overflow: hidden; */
}

.map-view.active {
    /* display: block; */
    display: block !important; /* map is always kept visible internally */
    height: auto;
    overflow: hidden;
}

/* .view-content {
    border: 2px solid red !important;
    min-height: 200px !important;
    position: relative !important;
    z-index: 1 !important;
} */

.view-slots-btn {
    background-color: var(--primary-blue);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-top: 5px;
}

.view-map-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75rem;
    margin-top: 1px;
    display: inline-block;
    transition: opacity 0.2s;
}

.view-map-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.highlight-blink {
  border: 3px solid transparent; /* don't override color */
  border-radius: 10px;
  animation: blinkBorder 1s ease-in-out 3 forwards;
}

@keyframes blinkBorder {
  0%   { border-color: transparent; }
  50%  { border-color: var(--slot-available); }
  100% { border-color: transparent; }
}



/* STYLE FOR REVIEW PAGE */

.other-therapists-header {
    margin-top: 4rem;
    margin-bottom: 2.5rem;
    padding-top: 3rem;
    border-top: 2px solid #edf2f7;
}

.other-therapists-header h3 {
    font-weight: 800;
    color: var(--text-primary-gray);
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.other-therapists-header .section-subtitle {
    color: var(--text-gray-2);
    font-size: 0.95rem;
    max-width: 600px;
    line-height: 1.5;
}

.other-therapists-header .accent-bar {
    width: 50px;
    height: 4px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    margin-bottom: 15px;
}

.review-box {
    /* width: 70%; */
}

.review-box textarea {
    width: 100%;
    border: 1px solid var(--outline-gray);
    border-radius: 5px;
    padding: 0.75rem;
    resize: vertical;
}

.stars i {
  cursor: pointer;
  color: #ccc; /* default gray */
  transition: color 0.2s ease;
}

.stars i.hovered,
.stars i.selected {
  color: #f4c150; /* gold */
}



/* Style - Contact Us*/

/* Style for Contact Us Page */

.form-container {
    max-width: 500px;
    background: #fff;
    padding: 25px;
    /* margin: auto; */
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    margin-bottom: 20px;
    text-align: center;
}

.form-container .form-group {
    margin-bottom: 15px;

}

.form-container label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-container input,
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-container textarea {
    resize: vertical;
}

.form-container .radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
    flex-wrap: wrap;
}

.form-container .radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: normal;
}

.form-container .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.form-container .checkbox-group input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.form-container button {
    width: 100%;
    padding: 12px;
    background: var(--jogo-red);
    color: white;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    font-size: 16px;
}

.form-container button:hover {
    background: #e34023ef;
}

.form-container button:disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.form-container label:has(+ input:required)::after {
  content: " *";
  color: red;
}

.form-container label.required::after {
  content: " *";
  color: red;
  font-weight: bold;
}

.form-container input[type="checkbox"],
.form-container input[type="radio"] {
    accent-color: var(--jogo-red);
    /* your brand color */
}


/* Address Section in Contact Us */

.contact-info-section {
    margin-bottom: 40px;
    background: #fff;
    padding: 25px;
    /* margin: auto; */
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-info-section h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.contact-info-section .subtitle {
    color: #555;
    max-width: 700px;
    margin-bottom: 24px;
}

.info-cards {
    /* display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-card {
    /* border: 1px solid #ddd; */
    padding: 20px;
    background: #fff;
    border-radius: 7px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.info-card h3 {
    margin-bottom: 6px;
    font-size: 18px;
    color: var(--jogo-red);
    font-weight: 600;
}

.info-card p {
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
}

.info-card a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.info-card span {
    color: #333;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .info-cards {
        grid-template-columns: 1fr;
    }
}
/* PROFILE MODAL IMPROVEMENTS */
.border-bottom-blue {
    border-bottom: 2px solid var(--primary-blue);
}

.profile-entry-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--primary-blue); /* Added a distinct left border */
    border-radius: 8px;
    padding: 12px 16px !important;
    margin-bottom: 12px;
    transition: all 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.profile-entry-card .title-text {
    color: #1a202c;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
}

.profile-entry-card:hover {
    border-color: var(--primary-blue);
    background-color: #f8fafc;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.year-badge {
    background-color: #f1f5f9;
    color: var(--primary-blue);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid #cbd5e0;
}

.personal-note-box {
    background-color: var(--background-light-blue);
    border-radius: 12px;
    padding: 15px;
    font-style: italic;
    color: var(--text-primary-gray);
    line-height: 1.6;
    border-left: 4px solid var(--primary-blue);
}

#therapistProfileModal .modal-body {
    padding: 1.5rem !important;
}

#therapistProfileModal .user-img {
    width: 80px;
    height: 80px;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* END PROFILE MODAL IMPROVEMENTS */
