@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #F9F9F9;
    margin: 0;
    padding: 0;
}

/* Header styles */
.header {
    height: 80px;
    background: linear-gradient(90deg, #0C75C2 0%, #1ECEE4 100%);
    padding: 0 24px;
    color: #FFF;
}

.logo {
    height: 45px;
}

.trustpilot {
    color: #FFF;
    font-size: 14px;
}

.trustpilot-stars {
    color: gold;
}

.header-icons .bi {
    font-size: 24px;
    color: #FFF;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Layout container */
.layout-container {
    display: flex;
    min-height: calc(100vh - 80px);
    max-width: 100%;
    overflow-x: hidden;
}

/* Left Sidebar styles */
.sidebar {
    width: 306px;
    height: 943px;
    flex-shrink: 0;
    background-color: #FFF;
    padding: 24px;
}
a {
    text-decoration: none;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 6px 16px;
    color: #8B8D97;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.menu-item:hover {
    background-color: rgba(12, 117, 194, 0.1);
    color: #0C75C2;
}

.menu-item.active {
    background-color: #0C75C2;
    color: #FFF;
}

.menu-item i {
    margin-right: 12px;
    font-size: 20px;
}

.upgrade-box {
    background: linear-gradient(90deg, #0C75C2 0%, #1ECEE4 100%);
    color: #FFF;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-top: 32px;
}

.upgrade-button {
    background: #FFF;
    color: #0C75C2;
    border: none;
    border-radius: 24px;
    padding: 8px 24px;
    font-weight: 500;
    margin-top: 16px;
    cursor: pointer;
}

/* Main content styles */
.main-content {
    flex: 1;
    padding: 24px;
    background-color: #F9F9F9;
    min-width: 0;
}

.main-content > p {
    color: #2E2E2E;
    font-family: "Work Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.banner-image {
    width: 100%;
   
    object-fit: cover;
   
   height: 252px;
   flex-shrink: 0;
}

.content-heading {
    color: #0C75C2;
    font-size: 24px;
    font-weight: 600;
    margin: 24px 0 16px;
}

.read-more {
    color: #2AAFE8;
    font-family: "Work Sans";
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: normal;
}

.feature-card {
    background-color: #E0F1FF;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    height: 100%;
}

.feature-icon {
    width: 120px;
    height: 120px;
    background: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}


.feature-icon i {
    font-size: 32px;
    color: #0C75C2;
}

/* Right sidebar styles */
.right-sidebar {
    width: 168px;
    background-color: #FFF;
    padding: 16px 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.ad-box {
    width: 168px;
    height: 168px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-box img {
    width: 168px;
    height: 168px;
    object-fit: cover;
    border-radius: 8px;
}

.vertical-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 24px;
}

 

.dropdown-menu {
transform: translateY(10px);
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
color: #2E2E2E;
font-size: 14px;
transition: all 0.2s;
}

.dropdown-item:hover {
background-color: #f8f9fa;
color: #0C75C2;
}

.dropdown-item i {
opacity: 0.7;
}

.dropdown-header {

padding-bottom: 16px;
}

/*Left Side Bar DropDowns */
.menu-item-dropdown {
background: #0C75C2;
color: white;
border-radius: 8px;
padding: 12px 16px;
margin-bottom: 8px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
transition: all 0.3s;
}

.menu-item-dropdown:not(.active) {
background: white;
color: #8B8D97;
}

.menu-item-dropdown:hover:not(.active) {
background-color: rgba(12, 117, 194, 0.1);
color: #0C75C2;
}

.dropdown-content {
padding-left: 48px;
margin-bottom: 16px;
display: none;
}

.dropdown-content.show {
display: block;
}

.dropdown-item-custom {
color: #8B8D97;
padding: 8px 0;
display: block;
text-decoration: none;
transition: color 0.3s;
}

.dropdown-item-custom:hover {
color: #0C75C2;
}

.menu-item-dropdown .arrow {
transition: transform 0.3s;
}

.menu-item-dropdown.active .arrow {
transform: rotate(180deg);
}

.menu-icon-wrapper {
display: flex;
align-items: center;
gap: 10px;
}

.facility-container {
    padding: 24px;
    background-color: #FFF;
    border-radius: 12px;
    margin-bottom: 24px;
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.location-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2E2E2E;
    font-size: 16px;
}

.change-location-btn {
    color: #0C75C2;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.facility-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 16px;
    background: #fff;
}

.facility-image {
    width: 80px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
}

.facility-info {
    flex: 1;
}

.facility-type {
    color: red;
    font-size: 14px;
    margin-bottom: 0px;
}

.general {
    color: var(--Primary, #0C74C2) !important;
}

.facility-name {
    color: var(--Font, #2E2E2E);
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 2px;
}

.facility-address {
    color: #6B7280;
    font-size: 14px;
    margin-bottom: 4px;
}

.facility-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.status-open {
    color: #10B981;
}

.status-closed {
    color: #EF4444;
}

.facility-distance {
    text-align: right;
    color: #6B7280;
    font-size: 14px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.pagination-item {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
}

.pagination-item.active {
    background-color: #0C75C2;
    color: white;
}

.map-container {
    height: 400px;
    /* background-color: #E5E7EB; */
    border-radius: 12px;
    margin-bottom: 24px;
}

.results-text {
    color: #6B7280;
    font-size: 14px;
    margin-top: 16px;
}
.facility-container {
display: flex;
gap: 24px;
padding: 24px;
}

.facility-listing {
flex: 1;
min-width: 0;
}

.map-section {
width: 400px;
position: sticky;
top: 24px;
height: calc(100vh - 128px);
}

.map-container {
height: 100%;
/* background-color: #E5E7EB; */
border-radius: 12px;
}

/* Header Styles */
.header {
height: 108px;
background: linear-gradient(90deg, #0C75C2 0%, #1ECEE4 100%);
padding: 0 32px;
justify-content: flex-start;
color: #FFF;
}

.header > div:last-child {
margin-left: auto;
}

.logo-container {
display: flex;
align-items: center;
padding-right: 24px;
margin-right: 24px;
border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.logo {
width: 116px;
height: 90.925px;
flex-shrink: 0;
}

.trustpilot {
width: 120px;
}

/* Header Navigation */
.nav-center {
margin-left: 40px;
}

.nav-link {
color: #FFF;
text-decoration: none;
padding: 0 24px;
border-radius: 4px;
border-right: 1px solid rgba(255, 255, 255, 0.3);
transition: background-color 0.3s;
}

.nav-link:last-child {
border-right: none;
}

.nav-link:hover {
background-color: rgba(255, 255, 255, 0.1);
color: #FFF;
}

/* Header Icons and User */
.header-icons .bi {
font-size: 24px;
color: #FFF;
}

.user-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
}

.notification-badge {
position: absolute;
top: -5px;
right: -5px;
background-color: #FF4444;
color: white;
font-size: 10px;
width: 16px;
height: 16px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}

/* Dropdown Styles */
.dropdown-menu {
transform: translateY(10px);
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
color: #2E2E2E;
font-size: 14px;
transition: all 0.2s;
}

.dropdown-item:hover {
background-color: #f8f9fa;
color: #0C75C2;
}

.dropdown-item i {
opacity: 0.7;
}

.dropdown-header {
padding-bottom: 16px;
}
.right-sidebar {
width: 168px;
background-color: #FFF;
padding: 16px 0;
flex-shrink: 0;
display: flex;
flex-direction: column;
gap: 16px;
align-items: center;
}

/* Ad Container */
.ad-container {
width: 168px;
margin-bottom: 16px;
display: flex;
flex-direction: column;
}

.ad-container img {
width: 168px;
height: 168px;
object-fit: cover;
}

/* Stats Container */
.stats-container {
background-color: #F5F5F5;
padding: 8px;
display: flex;
justify-content: center;
gap: 24px;
}

.stat-item {
display: flex;
align-items: center;
gap: 4px;
color: #666;
font-size: 12px;
}

.stat-item i {
font-size: 14px;
}
.log-out-btn:hover {
background-color: #0959a3;
}

.log-out-btn i {
font-size: 20px;
}
.log-out-btn {
display: flex;
align-items: center;
padding: 12px 16px;
color: #FFF;
text-decoration: none;
border-radius: 8px;
margin-top: 24px;
background-color: #0C75C2;
border: none;
cursor: pointer;
width: 100%;
transition: background-color 0.3s ease;
}
.distance-icon {
background-color: #b9eaff;
display: flex;
align-items: center ;
justify-content: center;
width: 40px;
padding-top: 5px;
padding-bottom: 5px;
padding-left: 20px;
padding-right: 20px;
border-radius: 5px;

}

.header {
    height: 108px;
    background: linear-gradient(90deg, #0C75C2 0%, #1ECEE4 100%);
    padding: 0 32px;
    justify-content: flex-start;
    color: #FFF;
}

.header > div:last-child {
    margin-left: auto;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    padding-right: 24px;
    margin-right: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.logo {
    width: 116px;
    height: 90.925px;
    flex-shrink: 0;
}

.trustpilot {
    width: 120px;
}

/* Navigation Styles */
.nav-center {
    margin-left: 40px;
}

.nav-link {
    color: #FFF;
    text-decoration: none;
    padding: 0 24px;
    border-radius: 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s;
}

.nav-link:last-child {
    border-right: none;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFF;
}

/* User Elements */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #FF4444;
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    background: white;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: #2E2E2E;
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background-color: rgba(12, 117, 194, 0.1);
    color: #0C75C2;
}

/* Mobile Menu Styles */
#mobileMenu {
    background: linear-gradient(90deg, #0C75C2 0%, #1ECEE4 100%);
}

#mobileMenu a {
    color: white;
}

.mobile-nav-link {
    color: #8B8D97;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.mobile-nav-link:hover {
    background-color: rgba(12, 117, 194, 0.1);
    color: #0C75C2;
}

/* Mobile User Menu Styles */
.mobile-user-profile {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-item {
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.3s;
}

.mobile-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-item i {
    font-size: 20px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .header {
        height: 70px;
        padding: 0 16px;
    }

    .logo {
        width: 80px;
        height: auto;
    }

    .logo-container {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
    }
}

@media (min-width: 992px) {
    .nav-center {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================================================
   Sidebar CSS
   ========================================================================== */

/* Layout container */
.layout-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar base styles */
.sidebar {
    width: 306px;
    background: #fff;
    transition: all 0.3s ease;
    padding: 24px;
    position: relative;
    z-index: 1050;
}

.sidebar.collapsed {
    width: 80px;
}

/* Toggle button */
.sidebar-toggle {
    position: absolute;
    right: -12px;
    top: 20px;
    width: 24px;
    height: 24px;
    background: #2d2d2d;
    border: none;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1051;
    transition: transform 0.3s;
}

.sidebar.collapsed .sidebar-toggle {
    transform: rotate(180deg);
}

/* Menu items */
.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 12px 12px 6px;
    color: #8B8D97;
    border-radius: 8px;
    margin-bottom: 8px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.menu-item:hover {
    background: rgba(12, 117, 194, 0.1);
    color: #0C75C2;
}

.menu-item.active {
    background: #0C75C2;
    color: #fff;
}

.sidebar-icon {
    width: 30px !important;
    height: 30px !important;
    margin-right: 12px;
    flex-shrink: 0;
}

.menu-text {
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.2s;
}

.sidebar.collapsed .menu-text {
    opacity: 0;
    width: 0;
    margin: 0;
}

/* Dropdown menu */
.menu-item-dropdown {
    background: #fff;
    color: #8B8D97;
    border-radius: 8px;
    padding: 6px 16px;
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
}

.menu-item-dropdown:hover {
    background: rgba(12, 117, 194, 0.1);
    color: #0C75C2;
}

.menu-item-dropdown.active {
    background: #0C75C2;
    color: #fff;
}

.menu-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.arrow {
    transition: transform 0.3s;
}

.menu-item-dropdown.active .arrow {
    transform: rotate(90deg);
}

.dropdown-content {
    padding-left: 48px;
    margin-bottom: 16px;
    display: none;
}

.dropdown-content.show {
    display: block;
}

.dropdown-item-custom {
    color: #8B8D97;
    padding: 8px 0;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.dropdown-item-custom:hover {
    color: #0C75C2;
}

/* Upgrade box */
.upgrade-box {
    background: linear-gradient(90deg, #0C75C2 0%, #1ECEE4 100%);
    color: #fff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-top: 32px;
    transition: opacity 0.3s;
}

.sidebar.collapsed .upgrade-box {
    display: none;
}

.upgrade-button {
    background: #fff;
    color: #0C75C2;
    border: none;
    border-radius: 24px;
    padding: 8px 24px;
    font-weight: 500;
    margin-top: 16px;
    cursor: pointer;
}

/* Logout button */
.log-out-btn {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #fff;
    background: #0C75C2;
    border: none;
    border-radius: 8px;
    margin-top: 24px;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s;
}

.log-out-btn:hover {
    background: #0959a3;
}

/* Mobile toggle button */
.mobile-toggle-btn {
    position: fixed;
    left: 0;
    top: 120px;
    width: 24px;
    height: 24px;
    background: #2d2d2d;
    border: none;
    border-radius: 0 4px 4px 0;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1060;
    transition: left 0.3s ease;
}

/* Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
}

.sidebar-overlay.active {
    display: block;
}

/* Responsive styles */
@media (max-width: 991px) {
    .sidebar {
        position: fixed;
        left: -306px;
        height: 100vh;
        overflow-y: auto;
    }

    .sidebar.mobile-active {
        left: 0;
    }

    .mobile-toggle-btn {
        display: flex;
    }

    .sidebar.mobile-active + .mobile-toggle-btn {
        left: 306px;
    }

    .sidebar-toggle {
        display: none;
    }

    .sidebar-overlay.active {
        display: block;
    }
}
.header {
    height: 108px;
    background: linear-gradient(90deg, #0C75C2 0%, #1ECEE4 100%);
    padding: 0 32px;
    justify-content: flex-start;
    color: #FFF;
}

.header > div:last-child {
    margin-left: auto;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    padding-right: 24px;
    margin-right: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.logo {
    width: 116px;
    height: 90.925px;
    flex-shrink: 0;
}

.trustpilot {
    width: 120px;
}

/* Navigation Styles */
.nav-center {
    margin-left: 40px;
}

.nav-link {
    color: #FFF;
    text-decoration: none;
    padding: 0 24px;
    border-radius: 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s;
}

.nav-link:last-child {
    border-right: none;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFF;
}

/* User Elements */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #FF4444;
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    background: white;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: #2E2E2E;
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background-color: rgba(12, 117, 194, 0.1);
    color: #0C75C2;
}

/* Mobile Menu Styles */
#mobileMenu {
    background: linear-gradient(90deg, #0C75C2 0%, #1ECEE4 100%);
}

#mobileMenu a {
    color: white;
}

.mobile-nav-link {
    color: #8B8D97;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.mobile-nav-link:hover {
    background-color: rgba(12, 117, 194, 0.1);
    color: #0C75C2;
}

/* Mobile User Menu Styles */
.mobile-user-profile {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-item {
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.3s;
}

.mobile-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-item i {
    font-size: 20px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .header {
        height: 70px;
        padding: 0 16px;
    }

    .logo {
        width: 80px;
        height: auto;
    }

    .logo-container {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
    }
}

@media (min-width: 992px) {
    .nav-center {
        margin-left: auto;
        margin-right: auto;
    }
}
.sidebar {
    width: 306px;
    height: 943px;
    flex-shrink: 0;
    background-color: #FFF;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1050;
    transition: all 0.3s ease;
}

.sidebar.collapsed {
    width: 80px;
}

.sidebar-toggle {
    position: absolute;
    right: -12px;
    top: 20px;
    width: 24px;
    height: 24px;
    background: #2d2d2d;
    border: none;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1051;
    transition: transform 0.3s;
}

.sidebar.collapsed .sidebar-toggle {
    transform: rotate(180deg);
}

/* Menu Items */
.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #8B8D97;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.menu-item:hover {
    background-color: rgba(12, 117, 194, 0.1);
    color: #0C75C2;
    padding-right: 30px;
}

.menu-item.active {
    background-color: #0C75C2;
    color: #FFF;
    padding-right: 30px;
}

.menu-item i {
    margin-right: 12px;
    font-size: 20px;
}

/* Sidebar Icons */
.sidebar-icon {
    width: 20px !important;
    height: 20px !important;
    margin-right: 12px;
    flex-shrink: 0;
}

.menu-text {
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.2s;
}

.sidebar.collapsed .menu-text {
    opacity: 0;
    width: 0;
    margin: 0;
}

.doctor-name {
    color: var(--Font, #2E2E2E);
font-family: Poppins;
font-size: 12px;
font-style: normal;
font-weight: 300;
line-height: normal;
}

/* Dropdown Menu */
.menu-item-dropdown {
    background: #FFF;
    color: #8B8D97;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
}

.menu-item-dropdown:hover {
    background: rgba(12, 117, 194, 0.1);
    color: #0C75C2;
}

.menu-item-dropdown.active {
    background: #0C75C2;
    color: #FFF;
}

.menu-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.arrow {
    transition: transform 0.3s;
}

.menu-item-dropdown.active .arrow {
    transform: rotate(90deg);
}

.dropdown-content {
    padding-left: 48px;
    margin-bottom: 16px;
    display: none;
}

.dropdown-content.show {
    display: block;
}

.dropdown-item-custom {
    color: #8B8D97;
    padding: 8px 0;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.dropdown-item-custom:hover {
    color: #0C75C2;
}

/* Upgrade Box */
.upgrade-box {
    background: linear-gradient(90deg, #0C75C2 0%, #1ECEE4 100%);
    color: #FFF;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-top: 32px;
    transition: opacity 0.3s;
}

.sidebar.collapsed .upgrade-box {
    display: none;
}

.upgrade-button {
    background: #FFF;
    color: #0C75C2;
    border: none;
    border-radius: 24px;
    padding: 8px 24px;
    font-weight: 500;
    margin-top: 16px;
    cursor: pointer;
}

/* Logout Button */
.log-out-btn {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #FFF;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 24px;
    background-color: #0C75C2;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.log-out-btn:hover {
    background-color: #0959a3;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.sidebar-overlay.active {
    display: block;
}

/* Collapsed Dropdown Behavior */
.sidebar.collapsed .dropdown-content {
    position: absolute;
    left: 100%;
    top: 0;
    width: 200px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px;
    border-radius: 8px;
    display: none;
}

.sidebar.collapsed .menu-item-dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Sidebar */
@media (max-width: 991px) {
    .sidebar {
        position: fixed;
        left: -306px;
        height: 100vh;
        overflow-y: auto;
        transition: left 0.3s ease;
        z-index: 1050;
    }

    .sidebar.mobile-active {
        left: 0;
    }

    .sidebar-toggle {
        display: none;
    }

    .sidebar-overlay {
        display: none;
    }

    .sidebar-overlay.active {
        display: block;
    }
}
/* Sidebar Toggle Button */
.sidebar-toggle {
    position: absolute;
    right: -12px;
    top: 20px;
    width: 24px;
    height: 24px;
    background: #2d2d2d;
    border: none;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1051;
    transition: transform 0.3s ease;
}

.sidebar.collapsed .sidebar-toggle {
    transform: rotate(180deg); /* Rotate the toggle when sidebar is collapsed */
}

/* Sidebar Collapsed */
.sidebar {
    width: 306px;
    background: #fff;
    transition: all 0.3s ease; /* Smooth transition for collapsing */
    padding: 24px;
    position: relative;
    z-index: 1050;
}

.sidebar.collapsed {
    width: 80px; /* Reduced width for collapsed state */
}

.sidebar.collapsed .menu-text {
    opacity: 0; /* Hide text for collapsed state */
    width: 0;
    margin: 0;
    white-space: nowrap;
    overflow: hidden; /* Prevent text overflow */
}

/* Collapsed Dropdown Behavior */
.sidebar.collapsed .dropdown-content {
    position: absolute;
    left: 100%; /* Dropdown appears to the right of the collapsed sidebar */
    top: 0;
    width: 200px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px;
    border-radius: 8px;
    display: none;
}

.sidebar.collapsed .menu-item-dropdown:hover .dropdown-content {
    display: block; /* Show dropdown content on hover */
}

/* Sidebar Overlay (for mobile) */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dimmed background */
    z-index: 1040;
}

.sidebar-overlay.active {
    display: block;
}

/* Mobile Sidebar Behavior */
@media (max-width: 991px) {
    .sidebar {
        position: fixed;
        left: -306px; /* Start off-screen */
        height: 100vh;
        transition: left 0.3s ease; /* Smooth transition */
        z-index: 1050;
        top: 70px; /* Adjust for header height */
    }

    .sidebar.mobile-active {
        left: 0; /* Slide-in when active */
    }

    .sidebar.mobile-active + .mobile-toggle-btn {
        left: 306px; /* Adjust mobile toggle position */
    }

    .sidebar-toggle {
        display: none; /* Hidden toggle for mobile */
    }
}

/* Mobile Toggle Button */
.mobile-toggle-btn {
    position: fixed;
    left: 0;
    top: 120px; /* Adjust based on your header height */
    width: 24px;
    height: 24px;
    background: #2d2d2d;
    border: none;
    border-radius: 0 4px 4px 0;
    color: #fff;
    display: none; /* Hidden by default on desktop */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1060;
    transition: left 0.3s ease;
}

.mobile-toggle-btn i {
    font-size: 14px;
}

/* Show the mobile toggle button for smaller screens */
@media (max-width: 991px) {
    .mobile-toggle-btn {
        display: flex;
    }
}

/* Main Content and Right Sidebar Responsive Styles */

/* Base layout container adjustments */
.layout-container {
    display: flex;
    min-height: calc(100vh - 80px);
    max-width: 100%;
    overflow-x: hidden;
}

/* Main content responsive styles */
.main-content {
    flex: 1;
    padding: 24px;
    background-color: #F5F6FA;
    min-width: 0;
}

@media (max-width: 768px) {
    .main-content {
        padding: 16px;
    }
    .facility-image {
    width: 100% !important;
    height: 150px !important;
    }
}

/* Facility container styles */
.facility-container {
    display: flex;
    gap: 24px;
    background-color: #FFF;
    border-radius: 12px;
    padding: 24px;
}

@media (max-width: 1200px) {
    .facility-container {
        flex-direction: column;
        padding: 16px;
    }
}

/* Facility listing styles */
.facility-listing {
    flex: 1;
    min-width: 0;
}

/* Location header styles */
.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 576px) {
    .location-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Facility card styles */
.facility-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 16px;
    background: #fff;
}

@media (max-width: 768px) {
    .facility-card {
        flex-direction: column;
    }

    .facility-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .facility-distance {
        text-align: left;
        margin-top: 12px;
    }
}

.facility-info {
    flex: 1;
    min-width: 0;
}

.facility-image {
    width: 80px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
}

/* Distance icon styles */
.distance-icon {
    background-color: #b9eaff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
    border-radius: 5px;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .distance-icon {
        display: inline-flex;
        margin-right: 8px;
        margin-bottom: 0;
    }
}

/* Map section styles */
.map-section {
    width: 400px;
    position: sticky;
    top: 24px;
    height: calc(100vh - 128px);
}

@media (max-width: 1200px) {
    .map-section {
        width: 100%;
        height: 400px;
        position: relative;
        top: 0;
    }
}

@media (max-width: 576px) {
    .map-section {
        height: 300px;
    }
}

.map-container {
    height: 100%;
    /* background-color: #E5E7EB; */
    border-radius: 12px;
    overflow: hidden;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.pagination-item {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    background: #F8FAFC;
}

.pagination-item.active {
    background-color: #0C75C2;
    color: white;
}

/* Results text styles */
.results-text {
    color: #6B7280;
    font-size: 14px;
    margin-top: 16px;
    text-align: center;
}

/* Right sidebar styles */
.right-sidebar {
    width: 168px;
    background-color: #FFF;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

@media (max-width: 1200px) {
    .right-sidebar {
        display: none;
    }
}

/* Ad container styles */
.ad-container {
    width: 168px;
    margin-bottom: 16px;
}

.ad-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

/* Stats container styles */
.stats-container {
    background-color: #F5F5F5;
    padding: 8px;
    border-radius: 0 0 8px 8px;
    width: 100%;
}

/* Facility type and status styles */
.facility-type {
    color: red;
    font-size: 14px;
    margin-bottom: 4px;
}

.facility-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    flex-wrap: wrap;
}

.status-open {
    color: #10B981;
}

/* Additional mobile optimizations */
@media (max-width: 576px) {
    .facility-name {
        font-size: 16px;
    }

    .facility-address {
        font-size: 13px;
    }

    .facility-status {
        font-size: 13px;
    }
}

/* Hover effects */
@media (hover: hover) {
    .facility-card:hover {
        border-color: #0C75C2;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .pagination-item:hover {
        background-color: rgba(12, 117, 194, 0.1);
    }
}

.unified-container {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.section-divider {
    margin: 24px -24px;
    border-top: 1px solid #E5E7EB;
    border-bottom: none;
}

.facility-map-container {
    display: flex;
    gap: 24px;
    margin: 0 -24px;
    padding: 0 24px;
}

.facility-section {
    flex: 1;
    min-width: 0;
}

.map-section {
    width: 400px;
    position: sticky;
    top: 24px;
    height: calc(100vh - 128px);
}

.map-container {
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

@media (max-width: 1200px) {
    .facility-map-container {
        flex-direction: column;
    }

    .map-section {
        width: 100%;
        height: 400px;
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .map-section {
        height: 300px;
    }
}

.title-search-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.page-title {
    color: #2E2E2E;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.search-bar {
    position: relative;
    width: 470px;
    flex-shrink: 0;
    border-radius: 30px;
    background: linear-gradient(90deg, rgba(36, 190, 224, 0.15) 0%, rgba(11, 111, 192, 0.15) 100%);
}

.search-bar input {
    width: 100%;
    height: 40px;
    padding: 8px 20px 8px 44px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 16px;
    color: #2E2E2E;
    background: #F9FAFB;
    border-radius: 30px;
    background: linear-gradient(90deg, rgba(36, 190, 224, 0.15) 0%, rgba(11, 111, 192, 0.15) 100%);
}

.search-bar i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #0C74C2;
}

.filter-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-select {
    flex: 1;
    min-width: 200px;
}

.filter-select select {
    width: 100%;
    padding: 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    color: #2E2E2E;
    background: #fff;
    cursor: pointer;
    border-radius: 10px;
   border: 1px solid var(--Primary, #0C74C2);
   width: 203px;
height: 45px;
flex-shrink: 0;

color: var(--for-textfields, #666);
/* H3 */
font-family: Poppins;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

.search-hospital-btn {
    color: white;
    padding: 8px 16px 8px 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 162px;
    height: 40px;
    flex-shrink: 0;
    border: none;
    border-radius: 30px;
    background: linear-gradient(90deg, #24BEE0 0%, #0B6FC0 100%);
    color: #FFF;

/* H3 */
font-family: Poppins;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

.search-hospital-btn:hover {
    background: #0959a3;
}

@media (max-width: 768px) {
    .filter-select {
        min-width: 100%;
    }
}

.custom-select
 {
    border-radius: 10px !important;
    border: 1px solid #0C74C2 !important;
}

.custom-select {
    height: 48px;
    padding: 12px 16px;
    background-color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Dropdown Menu Style */
.country-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-radius: 10px;
    border: 1px solid #0C74C2;
    margin-top: 4px;
    background: white;
    z-index: 1000;
    display: none;
    padding: 8px 0;
}

.country-option {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    color: #64748B;
}

.country-option:hover {
    background-color: #F8FAFC;
    color: #0C75C2;
}

.country-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.country-name {
    font-size: 14px;
}

/* Custom Select Wrapper */
.custom-select-wrapper {
    position: relative;
}

/* Hover states */
.custom-select:hover
 {
    border-color: #0959a3 !important;
}

/* Focus states */
.custom-select:focus
 {
    border-color: #0C74C2 !important;
    box-shadow: 0 0 0 2px rgba(12, 117, 194, 0.1) !important;
    outline: none;
}

.selected-text {
    color: #6B7280;
}
.custom-select {
    /* Add this to your existing custom-select style */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%236B7280' d='M4.646 6.146a.5.5 0 0 1 .708 0L8 8.793l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem; /* Add some space for the arrow */
}


.popup {
  height: 100vh;
  width: 100%;
  padding: 0 2%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 10000;
}

.paired-box {
  max-width: 572px;
  width: 100%;
  padding: 40px 30px;
}

.paired-box h5 {
  font-size: 25px;
  color: #ed4c5c;
  font-weight: 500;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
}

.popup-btn {
  padding: 6px 34px;
  color: #0959a3;
  border: 1px solid #0959a3;
  border-radius: 20px;
  background: transparent;
  transition: all 0.3s ease;
}

.popup-btn:hover {
  background: linear-gradient(to right, #0b6fc0, #0ae0fc);
  color: white;
  border: 1px solid white;
}

.m-remote-care-dropdown {
  background: white;
  width: 100%;
  margin-top: 10px;
  padding: 10px 0px;
  border-radius: 10px;
}

.m-remote-care-dropdown li{
  padding: 5px 10px;
  border-radius: 5px;
  margin-top: 5px;
  list-style: none;
  color: black !important;
}
.m-remote-care-dropdown li:hover{
  background: #ececec;
}


.sidebar.collapsed {
  width: 100px !important;
}

.menu-item{
  padding: 13px !important;
}
.menu-item-dropdown{
  padding: 13px !important;
}

.upgrade-box {
  display: flex;
  flex-direction: column;
  margin-top: 30px !important;
    margin-bottom: 18px  !important;
}

.upgrade-box .upgrade-text {
  font-size: 16px;
}

.profile-box {
  max-width: 622px;
  width: 100%;
  padding: 40px 30px;
}

.profile-box h5 {
  font-size: 25px;
  color: #0C74C2;
  font-weight: 500;
}

.profile-box .profile-link h6{
  color: #555555;
}

.dropdown-content {
    display: none; 
}

.dropdown-content.show {
    display: block;
}

.dropdown-item-custom.active{
   color: #0C75C2;
}

.sidebar-icon {
    width: 38px !important;
    height: 30px !important;
}