/* _content/CareWell/Components/Layout/MainLayout.razor.rz.scp.css */
/* Main Layout Styles - Updated to prevent overlap with higher specificity and mobile support */
.page[b-o49zszb54p] {
    position: relative;
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    background: #f1f1f1;
    width: 100vw;
    overflow-x: hidden;
}

/* MOBILE HAMBURGER MENU BUTTON - MainLayout Integrated */
.mobile-menu-toggle[b-o49zszb54p] {
    display: none !important; /* Hidden by default on desktop */
    position: fixed !important;
    top: 15px !important;
    left: 15px !important;
    z-index: 9999 !important; /* Ultra-high z-index */
    background: #007BFF !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 12px !important;
    cursor: pointer !important;
    flex-direction: column !important;
    justify-content: space-around !important;
    align-items: center !important;
    width: 50px !important;
    height: 50px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    touch-action: manipulation !important;
}

.mobile-menu-toggle:hover[b-o49zszb54p] {
    background: #0056D3 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

.mobile-menu-toggle:active[b-o49zszb54p] {
    transform: scale(0.95) !important;
}

.mobile-menu-toggle:focus[b-o49zszb54p] {
    outline: 2px solid #ffffff !important;
    outline-offset: 2px !important;
}

.hamburger-line[b-o49zszb54p] {
    width: 24px !important;
    height: 3px !important;
    background: #ffffff !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
    margin: 0 auto !important;
    display: block !important;
}

/* Hamburger animation when menu is open */
.mobile-menu-toggle.menu-open .hamburger-line:nth-child(1)[b-o49zszb54p] {
    transform: rotate(45deg) translate(5px, 5px) !important;
}

.mobile-menu-toggle.menu-open .hamburger-line:nth-child(2)[b-o49zszb54p] {
    opacity: 0 !important;
}

.mobile-menu-toggle.menu-open .hamburger-line:nth-child(3)[b-o49zszb54p] {
    transform: rotate(-45deg) translate(7px, -6px) !important;
}

/* Mobile Overlay */
.mobile-overlay[b-o49zszb54p] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 1500 !important;
    backdrop-filter: blur(2px) !important;
    cursor: pointer !important;
}

.sidebar[b-o49zszb54p] {
    flex-shrink: 0;
    width: 260px;
    position: fixed !important;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    transition: transform 0.3s ease;
}

/* Mobile-open state for sidebar */
.sidebar.mobile-open[b-o49zszb54p] {
    transform: translateX(0) !important;
}

.main-content[b-o49zszb54p] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f1f1f1;
    width: 100%;
    position: relative;
}

/* Critical: Force the margin for sidebar layout with high specificity */
.page .main-content.with-sidebar[b-o49zszb54p] {
    margin-left: 260px !important;
    width: calc(100% - 260px) !important;
    max-width: calc(100% - 260px) !important;
}

/* Alternative selector for even higher specificity */
div.page > main.main-content.with-sidebar[b-o49zszb54p] {
    margin-left: 260px !important;
    width: calc(100% - 260px) !important;
}

.top-row[b-o49zszb54p] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-o49zszb54p]  a, .top-row[b-o49zszb54p]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-o49zszb54p]  a:hover, .top-row[b-o49zszb54p]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-o49zszb54p]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-o49zszb54p] {
        justify-content: space-between;
    }

    .top-row[b-o49zszb54p]  a, .top-row[b-o49zszb54p]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-o49zszb54p] {
        flex-direction: row;
    }

    .sidebar[b-o49zszb54p] {
        width: 260px !important;
        height: 100vh !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
    }

    .top-row[b-o49zszb54p] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-o49zszb54p]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-o49zszb54p], article[b-o49zszb54p] {
        /*padding-left: 2rem !important;*/
        padding-right: 1.5rem !important;
    }
}

.content[b-o49zszb54p] {
    flex: 1;
    padding: 0 !important;
    background: transparent !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    overflow-x: auto;
    width: 100%;
}

/* Override any conflicting article styling */
article.content.px-4[b-o49zszb54p] {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    overflow: visible;
}

/* Error UI - Adjusted for sidebar */
#blazor-error-ui[b-o49zszb54p] {
    background: #dc3232;
    color: white;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-radius: 4px 4px 0 0;
}

/* Adjust error UI when sidebar is present */
.page:has(.sidebar) #blazor-error-ui[b-o49zszb54p] {
    left: 260px;
    width: calc(100% - 260px);
}

#blazor-error-ui .dismiss[b-o49zszb54p] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    color: white;
    font-weight: bold;
}

#blazor-error-ui .reload[b-o49zszb54p] {
    color: white;
    text-decoration: underline;
}

/* MOBILE RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
    /* FORCE HAMBURGER BUTTON VISIBILITY ON MOBILE */
    .mobile-menu-toggle[b-o49zszb54p] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    /* Hide sidebar by default on mobile - it will be controlled by mobile toggle */
    .sidebar[b-o49zszb54p] {
        transform: translateX(-100%) !important;
        width: 280px !important;
        max-width: 85vw !important;
        z-index: 2000 !important;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.4) !important;
    }
    
    /* Show sidebar when mobile-open class is applied */
    .sidebar.mobile-open[b-o49zszb54p] {
        transform: translateX(0) !important;
    }
    
    /* Reset main content margins on mobile */
    .page .main-content.with-sidebar[b-o49zszb54p],
    div.page > main.main-content.with-sidebar[b-o49zszb54p] {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Add top padding to account for mobile menu button */
    .main-content.with-sidebar[b-o49zszb54p] {
        padding-top: 70px; /* Space for mobile menu button */
    }
    
    .content[b-o49zszb54p] {
        margin: 10px !important;
        padding: 15px !important;
    }
    
    #blazor-error-ui[b-o49zszb54p] {
        left: 0 !important;
        width: 100% !important;
    }
    
    /* Ensure mobile content doesn't get hidden behind toggle button */
    .dashboard-content[b-o49zszb54p],
    .appointments-management-container[b-o49zszb54p],
    .patients-management-container[b-o49zszb54p],
    .doctors-container[b-o49zszb54p] {
        padding-top: 20px !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .mobile-menu-toggle[b-o49zszb54p] {
        display: flex !important;
        width: 45px !important;
        height: 45px !important;
        top: 10px !important;
        left: 10px !important;
    }
    
    .hamburger-line[b-o49zszb54p] {
        width: 20px !important;
        height: 2px !important;
    }
    
    .sidebar[b-o49zszb54p] {
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .main-content.with-sidebar[b-o49zszb54p] {
        padding-top: 65px; /* Adjust for smaller mobile menu button */
    }
    
    .content[b-o49zszb54p] {
        margin: 5px !important;
        padding: 10px !important;
    }
}

/* iPhone specific sizes */
@media (max-width: 430px) {
    .mobile-menu-toggle[b-o49zszb54p] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Touch device detection */
@media (pointer: coarse) {
    .mobile-menu-toggle[b-o49zszb54p] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* No hover capability */
@media (hover: none) {
    .mobile-menu-toggle[b-o49zszb54p] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Landscape orientation support */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .mobile-menu-toggle[b-o49zszb54p] {
        display: flex !important;
        top: 5px !important;
        left: 5px !important;
        width: 40px !important;
        height: 40px !important;
        padding: 8px !important;
    }
    
    .hamburger-line[b-o49zszb54p] {
        width: 18px !important;
        height: 2px !important;
    }
}

/* Page transitions */
.content[b-o49zszb54p] {
    animation: fadeIn-b-o49zszb54p 0.3s ease-out;
}

@keyframes fadeIn-b-o49zszb54p {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WordPress admin bar simulation */
body[b-o49zszb54p] {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: #f1f1f1;
    color: #3c434a;
    overflow-x: hidden;
}

/* Global styles matching WordPress admin */
*[b-o49zszb54p] {
    box-sizing: border-box;
}

/* Content area adjustments - Force override any conflicting styles */
.px-4[b-o49zszb54p] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* WordPress-style form elements */
input[type="text"][b-o49zszb54p],
input[type="email"][b-o49zszb54p],
input[type="password"][b-o49zszb54p],
select[b-o49zszb54p],
textarea[b-o49zszb54p] {
    border: 1px solid #8c8f94;
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 14px;
}

input[type="text"]:focus[b-o49zszb54p],
input[type="email"]:focus[b-o49zszb54p],
input[type="password"]:focus[b-o49zszb54p],
select:focus[b-o49zszb54p],
textarea:focus[b-o49zszb54p] {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

/* WordPress button styling */
.btn-primary[b-o49zszb54p] {
    background: #2271b1;
    border: 1px solid #2271b1;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary:hover[b-o49zszb54p] {
    background: #135e96;
    border-color: #135e96;
}

/* Additional styles to ensure content doesn't overlap - Higher specificity */
.dashboard-content[b-o49zszb54p],
.appointments-management-container[b-o49zszb54p],
.patients-management-container[b-o49zszb54p],
.doctors-container[b-o49zszb54p] {
    width: 100% !important;
    max-width: none !important;
    overflow-x: auto;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Ensure tables and large content fit properly */
.table-responsive[b-o49zszb54p] {
    overflow-x: auto;
    margin-bottom: 1rem;
}

/* Fix for any fixed positioned elements that might overlap */
.fixed-content[b-o49zszb54p] {
    position: relative !important;
}

/* Special handling for pages with their own containers */
.patients-management-container[b-o49zszb54p],
.appointments-management-container[b-o49zszb54p],
.dashboard-content[b-o49zszb54p] {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    background: #f8f9fb;
    min-height: calc(100vh - 40px);
}

/* The actual page content should handle its own padding */
.page-content[b-o49zszb54p] {
    padding: 20px;
}

/* Ensure all page containers flush against sidebar - zero wrapper gap */
article.content.px-4 > .dashboard-content[b-o49zszb54p],
article.content.px-4 > .appointments-management-container[b-o49zszb54p],
article.content.px-4 > .patients-management-container[b-o49zszb54p] {
    padding: 0 !important;
    margin: 0 !important;
}

/* Force layout for dashboard specifically */
.page .main-content.with-sidebar .dashboard-content[b-o49zszb54p],
.page .main-content.with-sidebar .appointments-management-container[b-o49zszb54p],
.page .main-content.with-sidebar .patients-management-container[b-o49zszb54p] {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open[b-o49zszb54p] {
    overflow: hidden;
}

@media (max-width: 768px) {
    .fixed-content[b-o49zszb54p] {
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    .dashboard-content[b-o49zszb54p],
    .appointments-management-container[b-o49zszb54p],
    .patients-management-container[b-o49zszb54p],
    .doctors-container[b-o49zszb54p] {
        padding: 0 !important;
        margin-top: 0 !important;
    }
    
    /* Ensure content is accessible on mobile */
    .main-content[b-o49zszb54p] {
        position: relative;
        z-index: 1;
    }
    
    /* Mobile-first content spacing */
    .patients-management-container[b-o49zszb54p],
    .appointments-management-container[b-o49zszb54p],
    .dashboard-content[b-o49zszb54p] {
        min-height: calc(100vh - 70px); /* Account for mobile menu button */
    }
}
/* _content/CareWell/Components/Layout/NavMenu.razor.rz.scp.css */
/* CRITICAL: MOBILE HAMBURGER MENU FIX - Enhanced for maximum visibility */
/* Mobile Menu Toggle Button - Ultra-high specificity fix */
.mobile-menu-toggle[b-yft4c7qtdy] {
    display: none !important; /* Hidden by default on desktop */
    position: fixed !important;
    top: 15px !important;
    left: 15px !important;
    z-index: 9999 !important; /* Ultra-high z-index */
    background: #007BFF !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 12px !important;
    cursor: pointer !important;
    flex-direction: column !important;
    justify-content: space-around !important;
    width: 50px !important;
    height: 50px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    touch-action: manipulation !important;
}

.mobile-menu-toggle:hover[b-yft4c7qtdy] {
    background: #0056D3 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

.mobile-menu-toggle:active[b-yft4c7qtdy] {
    transform: scale(0.95) !important;
}

.hamburger-line[b-yft4c7qtdy] {
    width: 24px !important;
    height: 3px !important;
    background: #ffffff !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
    margin: 0 auto !important;
    display: block !important;
}

/* Mobile Close Button */
.mobile-close-btn[b-yft4c7qtdy] {
    display: none !important; /* Hidden by default on desktop */
    background: none !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 24px !important;
    cursor: pointer !important;
    padding: 5px !important;
    margin-left: auto !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}

.mobile-close-btn:hover[b-yft4c7qtdy] {
    background: rgba(255, 255, 255, 0.1) !important;
}

.close-icon[b-yft4c7qtdy] {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    text-align: center !important;
    line-height: 20px !important;
}

/* Mobile Overlay */
.mobile-overlay[b-yft4c7qtdy] {
    display: none !important; /* Hidden by default */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 1500 !important;
    backdrop-filter: blur(2px) !important;
}

/* Medical Sidebar - Updated to prevent horizontal scroll bar */
.medical-sidebar[b-yft4c7qtdy] {
    width: 260px;
    height: 100vh;
    background: linear-gradient(180deg, #1e3a5f 0%, #1a2d4a 100%);
    color: #ffffff;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    justify-content: space-between;
    overflow-x: hidden;
    transition: all 0.3s ease;
    border-right: none;
    box-sizing: border-box;
}

/* Logo Section */
.sidebar-logo[b-yft4c7qtdy] {
    display: flex;
    align-items: center;
    padding: 20px 20px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-bottom: none;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    box-sizing: border-box;
    width: 100%;
    flex-shrink: 0;
    gap: 12px;
}

.logo-icon[b-yft4c7qtdy] {
    font-size: 20px;
    margin-right: 0;
    color: #ffffff;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.logo-icon i[b-yft4c7qtdy] {
    font-size: 20px;
    color: #ffffff;
}

.logo-icon .caduceus-icon[b-yft4c7qtdy] {
    font-size: 24px;
    color: #ffffff;
    font-style: normal;
    line-height: 1;
    font-family: "Segoe UI Symbol", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    text-shadow: none;
    filter: none;
}

.logo-text[b-yft4c7qtdy] {
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Navigation Styles */
.sidebar-nav[b-yft4c7qtdy] {
    flex: 1;
    padding: 10px 0;
    overflow-y: auto;
    overflow-x: hidden; /* Prevent horizontal overflow */
    width: 100%;
    box-sizing: border-box;
}

/* CRITICAL FIX: Improved nav-item state management */
.nav-item[b-yft4c7qtdy] {
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    background: transparent;
    transition: background-color 0.2s ease;
}

/* Expanded state - when user clicks to expand/navigate */
.nav-item.expanded[b-yft4c7qtdy] {
    background: rgba(40, 167, 69, 0.15) !important;
}

/* Active state - when user is on that page */
.nav-item.active[b-yft4c7qtdy] {
    background: rgba(40, 167, 69, 0.2) !important;
}

/* Hover state - only when not expanded or active */
.nav-item:not(.expanded):not(.active):hover[b-yft4c7qtdy] {
    background: rgba(255, 255, 255, 0.05);
}

/* DEPRECATED: Remove single nav item class as all are now button-based */
.nav-item.single[b-yft4c7qtdy] {
    display: flex;
    align-items: center;
    padding: 0;
    text-decoration: none !important;
    color: #ffffff;
    transition: all 0.2s ease;
    border-bottom: 1px solid #3399FF;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.nav-item.single:hover[b-yft4c7qtdy] {
    background: #3399FF;
    color: #ffffff;
    text-decoration: none !important;
}

/* Active state for NavLink components */
.nav-item.single.active[b-yft4c7qtdy],
.nav-item.single[href].active[b-yft4c7qtdy] {
    background: #0056D3 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.nav-item.single.active .nav-text[b-yft4c7qtdy],
.nav-item.single[href].active .nav-text[b-yft4c7qtdy] {
    color: #ffffff !important;
}

.nav-item.single.active .nav-icon[b-yft4c7qtdy],
.nav-item.single[href].active .nav-icon[b-yft4c7qtdy] {
    color: #ffffff !important;
}

/* Nav Toggle Button - Updated for better state management */
.nav-toggle[b-yft4c7qtdy] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-sizing: border-box;
    overflow: hidden;
}

/* Enhanced hover and active states for nav-toggle */
.nav-toggle:hover[b-yft4c7qtdy] {
    background: rgba(255, 255, 255, 0.1);
}

/* When nav-item is expanded, the toggle gets the expanded background */
.nav-item.expanded .nav-toggle[b-yft4c7qtdy] {
    background: transparent; /* Let the nav-item handle the background */
    color: #ffffff;
}

/* When nav-item is active (current page), the toggle reflects that */
.nav-item.active .nav-toggle[b-yft4c7qtdy] {
    background: transparent; /* Let the nav-item handle the background */
    color: #ffffff;
}

.nav-item-content[b-yft4c7qtdy] {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0; /* Allow content to shrink */
    overflow: hidden;
}

.nav-icon[b-yft4c7qtdy] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #ffffff;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.nav-text[b-yft4c7qtdy] {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.nav-arrow[b-yft4c7qtdy] {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.2s ease;
    color: #ffffff;
    flex-shrink: 0; /* Prevent arrow from shrinking */
    width: 16px;
    text-align: center;
}

/* Enhanced visual indicators */
.nav-item.expanded .nav-arrow[b-yft4c7qtdy] {
    transform: rotate(90deg);
}

/* Single Nav Item Styling */
.nav-item.single .nav-item-content[b-yft4c7qtdy] {
    padding: 12px 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Submenu Styles */
.nav-submenu[b-yft4c7qtdy] {
    background: rgba(0,0,0,0.15);
    padding: 5px 0;
    animation: slideDown-b-yft4c7qtdy 0.2s ease-out;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.nav-sublink[b-yft4c7qtdy] {
    display: flex;
    align-items: center;
    padding: 8px 20px 8px 52px;
    color: #ffffff;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 400;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.nav-sublink:hover[b-yft4c7qtdy] {
    background: rgba(40, 167, 69, 0.2);
    color: #ffffff;
    text-decoration: none !important;
}

.nav-sublink.active[b-yft4c7qtdy] {
    background: rgba(40, 167, 69, 0.2);
    color: #ffffff;
    text-decoration: none !important;
}

.nav-bullet[b-yft4c7qtdy] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    margin-right: 12px;
    opacity: 0.8;
    font-size: 8px;
    flex-shrink: 0;
}

.nav-sublink:hover .nav-bullet[b-yft4c7qtdy],
.nav-sublink.active .nav-bullet[b-yft4c7qtdy] {
    opacity: 1;
}

/* Footer Section */
.sidebar-footer[b-yft4c7qtdy] {
    margin-top: auto;
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.15);
    box-sizing: border-box;
    width: 100%;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.logout-btn[b-yft4c7qtdy] {
    width: 100%;
    display: flex !important;
    align-items: center;
    padding: 10px 15px;
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-sizing: border-box;
    overflow: hidden;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;
}

.logout-btn:hover[b-yft4c7qtdy] {
    background: #28a745;
    color: #ffffff;
    border-color: #28a745;
}

.logout-btn .nav-icon[b-yft4c7qtdy] {
    margin-right: 8px;
    color: inherit;
    flex-shrink: 0;
}

/* Animations */
@keyframes slideDown-b-yft4c7qtdy {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 300px;
        transform: translateY(0);
    }
}

/* Hover Effects */
.nav-toggle:hover .nav-icon[b-yft4c7qtdy] {
    transform: scale(1.1);
}

/* Custom Scrollbar - Ensure it doesn't affect width */
.medical-sidebar[b-yft4c7qtdy]::-webkit-scrollbar {
    width: 6px;
}

.medical-sidebar[b-yft4c7qtdy]::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
}

.medical-sidebar[b-yft4c7qtdy]::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

.medical-sidebar[b-yft4c7qtdy]::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.3);
}

/* CRITICAL: MOBILE RESPONSIVE DESIGN - Ultra-Specific Rules for Maximum Compatibility */

/* Base mobile styles - Apply to ALL mobile devices */
@media screen and (max-width: 768px) {
    /* ULTRA-CRITICAL: Force hamburger button visibility with maximum specificity */
    .mobile-menu-toggle[b-yft4c7qtdy],
    button.mobile-menu-toggle[b-yft4c7qtdy],
    .page .mobile-menu-toggle[b-yft4c7qtdy],
    body .mobile-menu-toggle[b-yft4c7qtdy] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        position: fixed !important;
        top: 15px !important;
        left: 15px !important;
        z-index: 9999 !important;
        background: #007BFF !important;
        border: none !important;
        width: 50px !important;
        height: 50px !important;
        flex-direction: column !important;
        justify-content: space-around !important;
        align-items: center !important;
        border-radius: 6px !important;
        padding: 12px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* Show mobile close button */
    .mobile-close-btn[b-yft4c7qtdy] {
        display: block !important;
    }
    
    /* Show mobile overlay when menu is open */
    .mobile-overlay[b-yft4c7qtdy] {
        display: block !important;
    }
    
    /* Hide sidebar by default on mobile */
    .medical-sidebar[b-yft4c7qtdy] {
        transform: translateX(-100%);
        width: 280px; /* Slightly wider on mobile for better touch targets */
        max-width: 85vw; /* Don't take up entire screen width */
        z-index: 2000;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.4);
    }
    
    /* Show sidebar when mobile-open class is applied */
    .medical-sidebar.mobile-open[b-yft4c7qtdy] {
        transform: translateX(0);
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    
    /* Ensure mobile menu structure is proper */
    .medical-sidebar.mobile-open .sidebar-nav[b-yft4c7qtdy] {
        flex: 1 !important;
        overflow-y: auto !important;
        min-height: 0 !important;
    }
    
    .medical-sidebar.mobile-open .sidebar-footer[b-yft4c7qtdy] {
        flex-shrink: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: sticky !important;
        bottom: 0 !important;
        background: #0056D3 !important;
        border-top: 1px solid #3399FF !important;
        padding: 15px 20px !important;
        margin-top: auto !important;
    }
    
    /* Adjust logo section for mobile */
    .sidebar-logo[b-yft4c7qtdy] {
        padding: 15px 15px 15px 20px;
        justify-content: space-between;
    }
    
    /* Improve touch targets on mobile */
    .nav-toggle[b-yft4c7qtdy] {
        padding: 15px 20px;
        min-height: 50px;
    }
    
    .nav-icon[b-yft4c7qtdy] {
        font-size: 18px;
    }
    
    .nav-text[b-yft4c7qtdy] {
        font-size: 16px;
    }
    
    /* Logout navigation item on mobile */
    .logout-nav-item[b-yft4c7qtdy] {
        margin-top: 15px !important;
        border-top: 2px solid #3399FF !important;
        padding-top: 15px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .logout-nav-toggle[b-yft4c7qtdy] {
        padding: 15px 20px !important;
        font-size: 16px !important;
        min-height: 50px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: transparent !important;
        border: 2px solid #ffffff !important;
        border-radius: 6px !important;
        margin: 0 20px !important;
        color: #ffffff !important;
    }
    
    .logout-nav-toggle:hover[b-yft4c7qtdy] {
        background: #ffffff !important;
        color: #007BFF !important;
    }
    
    .logout-nav-toggle .nav-icon[b-yft4c7qtdy] {
        font-size: 18px !important;
        color: inherit !important;
    }
    
    .logout-nav-toggle .nav-text[b-yft4c7qtdy] {
        font-size: 16px !important;
        color: inherit !important;
        font-weight: 600 !important;
    }
    
    /* Ensure sidebar footer is always visible on mobile */
    .sidebar-footer[b-yft4c7qtdy] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1 !important;
        margin-top: auto !important;
        padding: 15px 20px !important;
        border-top: 1px solid #3399FF !important;
        background: #0056D3 !important;
    }
    
    /* Ensure main content doesn't get covered by hamburger menu */
    .main-content.with-sidebar[b-yft4c7qtdy] {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Extra small devices - iPhone SE, small Android phones */
@media screen and (max-width: 480px) {
    .mobile-menu-toggle[b-yft4c7qtdy],
    button.mobile-menu-toggle[b-yft4c7qtdy] {
        display: flex !important;
        width: 45px !important;
        height: 45px !important;
        top: 10px !important;
        left: 10px !important;
        z-index: 9999 !important;
        position: fixed !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .hamburger-line[b-yft4c7qtdy] {
        width: 20px !important;
        height: 2px !important;
    }
    
    .medical-sidebar[b-yft4c7qtdy] {
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    /* Ensure logout navigation item is visible on small screens */
    .logout-nav-item[b-yft4c7qtdy] {
        margin-top: 15px !important;
        border-top: 2px solid #3399FF !important;
        padding-top: 15px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .logout-nav-toggle[b-yft4c7qtdy] {
        padding: 15px 20px !important;
        font-size: 16px !important;
        min-height: 50px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: transparent !important;
        border: 2px solid #ffffff !important;
        border-radius: 6px !important;
        margin: 0 20px !important;
        color: #ffffff !important;
        width: calc(100% - 40px) !important;
    }
    
    .logout-nav-toggle:hover[b-yft4c7qtdy] {
        background: #ffffff !important;
        color: #007BFF !important;
    }
    
    .logout-nav-toggle .nav-icon[b-yft4c7qtdy] {
        font-size: 18px !important;
        color: inherit !important;
    }
    
    .logout-nav-toggle .nav-text[b-yft4c7qtdy] {
        font-size: 16px !important;
        color: inherit !important;
        font-weight: 600 !important;
    }
    
    /* Ensure sidebar footer is always visible on small screens */
    .sidebar-footer[b-yft4c7qtdy] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: sticky !important;
        bottom: 0 !important;
        background: #0056D3 !important;
        border-top: 1px solid #3399FF !important;
        padding: 15px 20px !important;
        margin-top: auto !important;
    }
}

/* iPhone specific sizes - iPhone 12 Pro (390px), iPhone 13 mini, etc. */
@media screen and (max-width: 430px) {
    .mobile-menu-toggle[b-yft4c7qtdy],
    button.mobile-menu-toggle[b-yft4c7qtdy] {
        display: flex !important;
        visibility: visible !important;
    }
    
    /* Ensure logout navigation item is visible on iPhone screens */
    .logout-nav-item[b-yft4c7qtdy] {
        margin-top: 15px !important;
        border-top: 2px solid #3399FF !important;
        padding-top: 15px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .logout-nav-toggle[b-yft4c7qtdy] {
        padding: 15px 20px !important;
        font-size: 16px !important;
        min-height: 50px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: transparent !important;
        border: 2px solid #ffffff !important;
        border-radius: 6px !important;
        margin: 0 20px !important;
        color: #ffffff !important;
        width: calc(100% - 40px) !important;
    }
    
    .logout-nav-toggle:hover[b-yft4c7qtdy] {
        background: #ffffff !important;
        color: #007BFF !important;
    }
    
    .logout-nav-toggle .nav-icon[b-yft4c7qtdy] {
        font-size: 18px !important;
        color: inherit !important;
    }
    
    .logout-nav-toggle .nav-text[b-yft4c7qtdy] {
        font-size: 16px !important;
        color: inherit !important;
        font-weight: 600 !important;
    }
    
    /* Ensure sidebar footer is always visible on iPhone screens */
    .sidebar-footer[b-yft4c7qtdy] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: sticky !important;
        bottom: 0 !important;
        background: #0056D3 !important;
        border-top: 1px solid #3399FF !important;
        padding: 15px 20px !important;
        margin-top: auto !important;
    }
        opacity: 1 !important;
        z-index: 9999 !important;
        position: fixed !important;[b-yft4c7qtdy]
    }
}

/* Tablets in portrait mode */
@media screen and (max-width: 1024px) and (orientation: portrait) {
    .mobile-menu-toggle[b-yft4c7qtdy],
    button.mobile-menu-toggle[b-yft4c7qtdy] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Landscape orientation support for phones */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .mobile-menu-toggle[b-yft4c7qtdy],
    button.mobile-menu-toggle[b-yft4c7qtdy] {
        display: flex !important;
        top: 5px !important;
        left: 5px !important;
        width: 40px !important;
        height: 40px !important;
        padding: 8px !important;
        z-index: 9999 !important;
    }
    
    .hamburger-line[b-yft4c7qtdy] {
        width: 18px !important;
        height: 2px !important;
    }
}

/* Touch device detection - Alternative approach */
@media (pointer: coarse) {
    .mobile-menu-toggle[b-yft4c7qtdy],
    button.mobile-menu-toggle[b-yft4c7qtdy] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999 !important;
    }
}

/* Hover capability detection - Hide on devices without hover */
@media (hover: none) {
    .mobile-menu-toggle[b-yft4c7qtdy],
    button.mobile-menu-toggle[b-yft4c7qtdy] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Focus States for Accessibility */
.nav-toggle:focus[b-yft4c7qtdy],
.nav-sublink:focus[b-yft4c7qtdy],
.logout-btn:focus[b-yft4c7qtdy],
.nav-item.single:focus[b-yft4c7qtdy],
.mobile-menu-toggle:focus[b-yft4c7qtdy],
.mobile-close-btn:focus[b-yft4c7qtdy] {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Current/Active Navigation Highlighting */
.nav-item.current > .nav-toggle[b-yft4c7qtdy] {
    background: #0056D3;
    color: #ffffff;
}

.nav-item.current .nav-arrow[b-yft4c7qtdy] {
    color: #ffffff;
}

/* Improved Visual Hierarchy */
.nav-item[b-yft4c7qtdy] {
    position: relative;
}

.nav-item.expanded[b-yft4c7qtdy]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #28a745;
}

.nav-item.active[b-yft4c7qtdy]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #28a745;
}

/* Enhanced Submenu Visual */
.nav-submenu[b-yft4c7qtdy] {
    border-left: 2px solid #ffffff;
    margin-left: 15px;
}

/* Icon Animation on Hover */
@keyframes iconPulse-b-yft4c7qtdy {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.nav-toggle:hover .nav-icon[b-yft4c7qtdy] {
    animation: iconPulse-b-yft4c7qtdy 0.3s ease;
}

/* Blazor NavLink active state overrides - Remove underlines */
[b-yft4c7qtdy] a.nav-item.single.active {
    background: #0056D3 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

[b-yft4c7qtdy] a.nav-item.single.active .nav-text {
    color: #ffffff !important;
}

[b-yft4c7qtdy] a.nav-item.single.active .nav-icon {
    color: #ffffff !important;
}

/* Alternative active state selector for Blazor - Remove underlines */
a.nav-item.single[aria-current="page"][b-yft4c7qtdy] {
    background: #0056D3 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

a.nav-item.single[aria-current="page"] .nav-text[b-yft4c7qtdy],
a.nav-item.single[aria-current="page"] .nav-icon[b-yft4c7qtdy] {
    color: #ffffff !important;
}

/* Ensure hover states work properly and remove underlines */
.nav-item.single:not(.active):hover[b-yft4c7qtdy] {
    background: #3399FF;
    color: #ffffff;
    text-decoration: none !important;
}

.nav-item.single:not(.active):hover .nav-text[b-yft4c7qtdy],
.nav-item.single:not(.active):hover .nav-icon[b-yft4c7qtdy] {
    color: #ffffff;
}

/* Global override for any links in the sidebar to remove underlines */
.medical-sidebar a[b-yft4c7qtdy],
.medical-sidebar a:hover[b-yft4c7qtdy],
.medical-sidebar a:focus[b-yft4c7qtdy],
.medical-sidebar a:active[b-yft4c7qtdy],
.medical-sidebar a:visited[b-yft4c7qtdy] {
    text-decoration: none !important;
    color: inherit;
}

/* Ensure NavLink components don't have underlines */
.medical-sidebar .nav-item.single[b-yft4c7qtdy] {
    text-decoration: none !important;
}

.medical-sidebar .nav-item.single:hover[b-yft4c7qtdy],
.medical-sidebar .nav-item.single:focus[b-yft4c7qtdy],
.medical-sidebar .nav-item.single:active[b-yft4c7qtdy] {
    text-decoration: none !important;
}

/* CRITICAL: Remove margins that cause horizontal overflow */
.nav-item.single[b-yft4c7qtdy],
.nav-toggle[b-yft4c7qtdy] {
    border-radius: 0; /* Remove border radius that might cause issues */
    margin: 0; /* Remove all margins */
}

.nav-item.single:hover[b-yft4c7qtdy],
.nav-toggle:hover[b-yft4c7qtdy] {
    border-radius: 0; /* Remove border radius on hover */
    box-shadow: none; /* Remove box shadow that might cause overflow */
}

/* Ensure all child elements fit within the sidebar width */
.medical-sidebar *[b-yft4c7qtdy] {
    max-width: 100%;
    box-sizing: border-box;
}

/* Force proper containment */
.sidebar-nav[b-yft4c7qtdy],
.nav-item[b-yft4c7qtdy],
.nav-toggle[b-yft4c7qtdy],
.nav-item.single[b-yft4c7qtdy],
.nav-item-content[b-yft4c7qtdy] {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* CRITICAL: Ensure logout button is never hidden */
.sidebar-footer[b-yft4c7qtdy],
.logout-btn[b-yft4c7qtdy] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;
}

.logout-btn[b-yft4c7qtdy] {
    display: flex !important;
}

/* Logout Navigation Item Styling */
.logout-nav-item[b-yft4c7qtdy] {
    margin-top: 10px !important;
    border-top: 2px solid #3399FF !important;
    padding-top: 10px !important;
}

.logout-nav-toggle[b-yft4c7qtdy] {
    background: transparent !important;
    border: 2px solid #ffffff !important;
    border-radius: 6px !important;
    margin: 0 20px !important;
    padding: 12px 15px !important;
    transition: all 0.2s ease !important;
}

.logout-nav-toggle:hover[b-yft4c7qtdy] {
    background: #ffffff !important;
    color: #007BFF !important;
}

.logout-nav-toggle .nav-icon[b-yft4c7qtdy] {
    color: inherit !important;
}

.logout-nav-toggle .nav-text[b-yft4c7qtdy] {
    color: inherit !important;
    font-weight: 600 !important;
}

/* Hamburger animation when menu is open - Fixed selector and enhanced */
.mobile-menu-toggle.menu-open .hamburger-line:nth-child(1)[b-yft4c7qtdy],
.mobile-menu-open .hamburger-line:nth-child(1)[b-yft4c7qtdy] {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.menu-open .hamburger-line:nth-child(2)[b-yft4c7qtdy],
.mobile-menu-open .hamburger-line:nth-child(2)[b-yft4c7qtdy] {
    opacity: 0;
}

.mobile-menu-toggle.menu-open .hamburger-line:nth-child(3)[b-yft4c7qtdy],
.mobile-menu-open .hamburger-line:nth-child(3)[b-yft4c7qtdy] {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Additional ultra-specific fallback for button visibility */
@media (max-width: 768px) {
    html body div.page .mobile-menu-toggle[b-yft4c7qtdy] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999 !important;
    }
}

/* CSS Grid and Flexbox reset for mobile menu */
@media (max-width: 768px) {
    .page[b-yft4c7qtdy] {
        display: block !important;
        overflow-x: hidden !important;
    }
    
    .main-content[b-yft4c7qtdy] {
        width: 100% !important;
        margin-left: 0 !important;
        position: relative !important;
    }
}

/* Body scroll lock when mobile menu is open */
[b-yft4c7qtdy] body.mobile-menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* Ultra-specific override for any framework CSS that might hide the button */
.mobile-menu-toggle[b-yft4c7qtdy] {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .mobile-menu-toggle[b-yft4c7qtdy] {
        display: flex !important;
    }
}

@media screen and (max-width: 480px) {
    .mobile-menu-toggle[b-yft4c7qtdy] {
        display: flex !important;
    }
}

@media screen and (max-width: 430px) {
    .mobile-menu-toggle[b-yft4c7qtdy] {
        display: flex !important;
    }
}
/* _content/CareWell/Components/Pages/Appointments.razor.rz.scp.css */
/* Appointment Management Styles */

.appointments-management-container[b-mpchp88kd4] {
    min-height: 100vh;
    background: #f8f9fa;
    padding: 0;
}

/* Header Section */
.page-header[b-mpchp88kd4] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 30px;
    margin-bottom: 30px;
}

.header-content[b-mpchp88kd4] {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-left h1.page-title[b-mpchp88kd4] {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-icon[b-mpchp88kd4] {
    font-size: 2rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-icon i[b-mpchp88kd4] {
    font-size: 2rem;
}

.page-subtitle[b-mpchp88kd4] {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.header-actions[b-mpchp88kd4] {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Button Styles */
.btn[b-mpchp88kd4] {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary[b-mpchp88kd4] {
    background: #007bff;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover[b-mpchp88kd4] {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.btn-secondary[b-mpchp88kd4] {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover[b-mpchp88kd4] {
    background: rgba(255, 255, 255, 0.3);
}

.btn-outline[b-mpchp88kd4] {
    background: transparent;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.btn-outline:hover[b-mpchp88kd4] {
    background: #e9ecef;
    color: #495057;
}

.btn-icon[b-mpchp88kd4] {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon i[b-mpchp88kd4] {
    font-size: 14px;
}

/* Filter Section */
.filter-section[b-mpchp88kd4] {
    max-width: 1400px;
    margin: 0 auto 30px;
    padding: 0 30px;
}

.filter-row[b-mpchp88kd4] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-container[b-mpchp88kd4] {
    flex: 1;
}

.search-box[b-mpchp88kd4] {
    position: relative;
    max-width: 500px;
}

.search-icon[b-mpchp88kd4] {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon i[b-mpchp88kd4] {
    font-size: 14px;
}

.search-input[b-mpchp88kd4] {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.search-input:focus[b-mpchp88kd4] {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.clear-search[b-mpchp88kd4] {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.clear-search:hover[b-mpchp88kd4] {
    background: #f8f9fa;
    color: #495057;
}

.filter-controls[b-mpchp88kd4] {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: end;
}

.filter-group[b-mpchp88kd4] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label[b-mpchp88kd4] {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.filter-select[b-mpchp88kd4] {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    min-width: 140px;
}

/* Statistics Section */
.stats-section[b-mpchp88kd4] {
    max-width: 1400px;
    margin: 0 auto 30px;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-card[b-mpchp88kd4] {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover[b-mpchp88kd4] {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.stat-icon[b-mpchp88kd4] {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.stat-icon i[b-mpchp88kd4] {
    font-size: 24px;
}

.stat-icon.today[b-mpchp88kd4] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.stat-icon.upcoming[b-mpchp88kd4] {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.stat-icon.completed[b-mpchp88kd4] {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.stat-icon.cancelled[b-mpchp88kd4] {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.stat-number[b-mpchp88kd4] {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.stat-label[b-mpchp88kd4] {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

/* View Controls */
.view-controls[b-mpchp88kd4] {
    max-width: 1400px;
    margin: 0 auto 20px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.view-toggle[b-mpchp88kd4] {
    display: flex;
    background: #e9ecef;
    border-radius: 8px;
    padding: 3px;
}

.view-btn[b-mpchp88kd4] {
    padding: 8px 16px;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-btn.active[b-mpchp88kd4] {
    background: white;
    color: #28a745;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.view-icon[b-mpchp88kd4] {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-icon i[b-mpchp88kd4] {
    font-size: 14px;
}

.results-info[b-mpchp88kd4] {
    color: #6c757d;
    font-size: 14px;
    margin-left: auto; /* push to the far right */
}

/* Appointments Content */
.appointments-content[b-mpchp88kd4] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    min-height: 400px;
}

/* Loading and No Results */
.loading-container[b-mpchp88kd4],
.no-results[b-mpchp88kd4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.loading-spinner[b-mpchp88kd4] {
    width: 50px;
    height: 50px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #28a745;
    border-radius: 50%;
    animation: spin-b-mpchp88kd4 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin-b-mpchp88kd4 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-results-icon[b-mpchp88kd4] {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
    color: #6c757d;
}

.no-results-icon i[b-mpchp88kd4] {
    font-size: 4rem;
}

.no-results h3[b-mpchp88kd4] {
    color: #495057;
    margin-bottom: 10px;
}

.no-results p[b-mpchp88kd4] {
    color: #6c757d;
    margin-bottom: 20px;
}

/* Calendar View */
.calendar-container[b-mpchp88kd4] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.calendar-header[b-mpchp88kd4] {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-title[b-mpchp88kd4] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.calendar-nav-btn[b-mpchp88kd4] {
    background: #28a745;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav-btn:hover[b-mpchp88kd4] {
    background: #20c997;
    transform: scale(1.05);
}

.calendar-nav-btn i[b-mpchp88kd4] {
    font-size: 14px;
}

.calendar-grid[b-mpchp88kd4] {
    display: grid;
    grid-template-columns: 80px repeat(7, 1fr);
    min-height: 600px;
}

.time-column[b-mpchp88kd4] {
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
}

.time-header[b-mpchp88kd4] {
    height: 60px;
    border-bottom: 1px solid #e9ecef;
}

.time-slot[b-mpchp88kd4] {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #6c757d;
    border-bottom: 1px solid #f1f3f4;
}

.day-column[b-mpchp88kd4] {
    border-right: 1px solid #e9ecef;
}

.day-header[b-mpchp88kd4] {
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.day-header.today[b-mpchp88kd4] {
    background: #28a745;
    color: white;
}

.day-name[b-mpchp88kd4] {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.day-number[b-mpchp88kd4] {
    font-size: 18px;
    font-weight: 700;
}

.calendar-time-slot[b-mpchp88kd4] {
    height: 60px;
    border-bottom: 1px solid #f1f3f4;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.calendar-time-slot:hover[b-mpchp88kd4] {
    background: #f8f9fa;
}

.calendar-appointment[b-mpchp88kd4] {
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-appointment:hover[b-mpchp88kd4] {
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.calendar-appointment.scheduled[b-mpchp88kd4] {
    background: #e7f3ff;
    border-left: 3px solid #007bff;
    color: #0056b3;
}

.calendar-appointment.confirmed[b-mpchp88kd4] {
    background: #d4edda;
    border-left: 3px solid #28a745;
    color: #155724;
}

.calendar-appointment.completed[b-mpchp88kd4] {
    background: #d1ecf1;
    border-left: 3px solid #17a2b8;
    color: #0c5460;
}

.calendar-appointment.cancelled[b-mpchp88kd4] {
    background: #f8d7da;
    border-left: 3px solid #dc3545;
    color: #721c24;
}

.calendar-appointment.no-show[b-mpchp88kd4] {
    background: #fff3cd;
    border-left: 3px solid #ffc107;
    color: #856404;
}

.appointment-time[b-mpchp88kd4] {
    font-weight: 600;
    margin-bottom: 1px;
}

.appointment-patient[b-mpchp88kd4] {
    font-weight: 500;
    margin-bottom: 1px;
}

.appointment-doctor[b-mpchp88kd4] {
    opacity: 0.8;
}

/* List View */
.appointments-list-container[b-mpchp88kd4] {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.appointments-table-container[b-mpchp88kd4] {
    overflow-x: auto;
}

.appointments-table[b-mpchp88kd4] {
    width: 100%;
    border-collapse: collapse;
}

.appointments-table thead[b-mpchp88kd4] {
    background: #f8f9fa;
}

.appointments-table th[b-mpchp88kd4] {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    font-size: 14px;
}

.appointments-table td[b-mpchp88kd4] {
    padding: 15px;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
}

.appointment-row[b-mpchp88kd4] {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.appointment-row:hover[b-mpchp88kd4] {
    background: #f8f9fa;
}

.patient-info-row[b-mpchp88kd4] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.patient-avatar-small[b-mpchp88kd4] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.patient-name-small[b-mpchp88kd4] {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
}

.patient-phone[b-mpchp88kd4] {
    font-size: 12px;
    color: #6c757d;
}

.doctor-info[b-mpchp88kd4] {
    display: flex;
    flex-direction: column;
}

.doctor-name[b-mpchp88kd4] {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
}

.doctor-specialty[b-mpchp88kd4] {
    font-size: 12px;
    color: #6c757d;
}

.datetime-info[b-mpchp88kd4] {
    display: flex;
    flex-direction: column;
}

.appointment-date[b-mpchp88kd4] {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
}

.appointment-time[b-mpchp88kd4] {
    font-size: 12px;
    color: #6c757d;
}

.status-badge[b-mpchp88kd4] {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.scheduled[b-mpchp88kd4] {
    background: #e7f3ff;
    color: #0056b3;
}

.status-badge.confirmed[b-mpchp88kd4] {
    background: #d4edda;
    color: #155724;
}

.status-badge.completed[b-mpchp88kd4] {
    background: #d1ecf1;
    color: #0c5460;
}

.status-badge.cancelled[b-mpchp88kd4] {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.no-show[b-mpchp88kd4] {
    background: #fff3cd;
    color: #856404;
}

.table-actions[b-mpchp88kd4] {
    display: flex;
    gap: 8px;
    justify-content: center;
    white-space: nowrap;
}

.action-btn[b-mpchp88kd4] {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    background: #f8f9fa;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    width: auto;
    height: auto;
    display: inline-block;
}

.action-btn:hover[b-mpchp88kd4] {
    background: #e2e8f0;
}

.action-btn.primary[b-mpchp88kd4] {
    background: #2563eb;
    color: #fff;
}

.action-btn.primary:hover[b-mpchp88kd4] {
    background: #1d4ed8;
}

.action-btn.danger[b-mpchp88kd4] {
    background: #dc2626;
    color: #fff;
}

.action-btn.danger:hover[b-mpchp88kd4] {
    background: #b91c1c;
}

/* Pagination */
.pagination-container[b-mpchp88kd4] {
    max-width: 1400px;
    margin: 30px auto 0;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.pagination-info[b-mpchp88kd4] {
    color: #6c757d;
    font-size: 14px;
}

.pagination-controls[b-mpchp88kd4] {
    display: flex;
    gap: 5px;
}

.pagination-btn[b-mpchp88kd4] {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    background: white;
    color: #495057;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-btn:hover:not(:disabled)[b-mpchp88kd4] {
    background: #e9ecef;
}

.pagination-btn.active[b-mpchp88kd4] {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.pagination-btn:disabled[b-mpchp88kd4] {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn i[b-mpchp88kd4] {
    font-size: 12px;
}

.items-per-page[b-mpchp88kd4] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #495057;
}

.items-per-page select[b-mpchp88kd4] {
    padding: 6px 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: white;
}

/* Modal Styles */
.modal-overlay[b-mpchp88kd4] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(6px);
    animation: overlayFadeIn-b-mpchp88kd4 0.2s ease;
}

@keyframes overlayFadeIn-b-mpchp88kd4 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content[b-mpchp88kd4] {
    background: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    animation: modalSlideIn-b-mpchp88kd4 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.large-modal[b-mpchp88kd4] {
    max-width: 720px;
}

@keyframes modalSlideIn-b-mpchp88kd4 {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(-12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header[b-mpchp88kd4] {
    padding: 24px 28px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, #f8fffe, #ffffff);
    position: relative;
}

.modal-header-left[b-mpchp88kd4] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.modal-header-icon[b-mpchp88kd4] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #28a745, #20c997);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
}

.modal-header-icon i[b-mpchp88kd4] {
    font-size: 20px;
    color: white;
}

.modal-header h3[b-mpchp88kd4] {
    margin: 0;
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
}

.modal-header-subtitle[b-mpchp88kd4] {
    margin: 2px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 400;
}

.modal-close[b-mpchp88kd4] {
    background: #f1f5f9;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #64748b;
    padding: 0;
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.modal-close:hover[b-mpchp88kd4] {
    background: #e2e8f0;
    color: #334155;
    transform: scale(1.05);
}

.modal-close i[b-mpchp88kd4] {
    font-size: 13px;
}

.modal-body[b-mpchp88kd4] {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
}

/* Form Sections */
.form-section[b-mpchp88kd4] {
    margin-bottom: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-section:hover[b-mpchp88kd4] {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-section:last-of-type[b-mpchp88kd4] {
    margin-bottom: 0;
}

.form-section-title[b-mpchp88kd4] {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.form-section-title i[b-mpchp88kd4] {
    font-size: 14px;
    color: #28a745;
}

.form-row[b-mpchp88kd4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row:last-child[b-mpchp88kd4] {
    margin-bottom: 0;
}

.form-group[b-mpchp88kd4] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label[b-mpchp88kd4] {
    font-weight: 600;
    color: #374151;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i[b-mpchp88kd4] {
    font-size: 13px;
    color: #28a745;
    opacity: 0.85;
}

.form-input[b-mpchp88kd4] {
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #1e293b;
    height: 42px;
    line-height: 1.4;
    box-sizing: border-box;
}

select.form-input[b-mpchp88kd4] {
    padding: 10px 14px;
    height: 42px;
    line-height: 1.4;
    appearance: auto;
}

input.form-input[b-mpchp88kd4],
.modal-body input[type="text"][b-mpchp88kd4],
.modal-body input[type="date"][b-mpchp88kd4],
.modal-body input[type="time"][b-mpchp88kd4],
.modal-body input[type="number"][b-mpchp88kd4] {
    height: 42px;
    line-height: 1.4;
    box-sizing: border-box;
}

.form-input[b-mpchp88kd4]::placeholder {
    color: #94a3b8;
}

.form-input:hover[b-mpchp88kd4] {
    border-color: #cbd5e1;
}

.form-input:focus[b-mpchp88kd4] {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.12);
    background: #ffffff;
}

.notes-textarea[b-mpchp88kd4] {
    resize: vertical;
    min-height: 80px;
    height: auto;
}

/* Validation messages */
.modal-body .validation-message[b-mpchp88kd4] {
    font-size: 12px;
    color: #dc2626;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.modal-actions[b-mpchp88kd4] {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.btn-cancel[b-mpchp88kd4] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-cancel:hover[b-mpchp88kd4] {
    background: #e2e8f0;
    color: #334155;
    border-color: #cbd5e1;
}

.btn-submit[b-mpchp88kd4] {
    padding: 11px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
}

.btn-submit:hover[b-mpchp88kd4] {
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.35);
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content[b-mpchp88kd4] {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-actions[b-mpchp88kd4] {
        width: 100%;
        justify-content: flex-start;
    }

    .filter-section[b-mpchp88kd4],
    .stats-section[b-mpchp88kd4],
    .view-controls[b-mpchp88kd4],
    .appointments-content[b-mpchp88kd4],
    .pagination-container[b-mpchp88kd4] {
        padding: 0 15px;
    }

    .filter-row[b-mpchp88kd4] {
        flex-direction: column;
    }

    .filter-controls[b-mpchp88kd4] {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group[b-mpchp88kd4] {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .stats-section[b-mpchp88kd4] {
        grid-template-columns: 1fr;
    }

    .calendar-grid[b-mpchp88kd4] {
        grid-template-columns: 60px repeat(7, 1fr);
        font-size: 12px;
    }

    .time-slot[b-mpchp88kd4] {
        font-size: 10px;
    }

    .form-row[b-mpchp88kd4] {
        grid-template-columns: 1fr;
    }

    .form-section[b-mpchp88kd4] {
        padding: 16px;
    }

    .modal-header[b-mpchp88kd4] {
        padding: 20px;
    }

    .modal-body[b-mpchp88kd4] {
        padding: 20px;
    }

    .modal-header-left[b-mpchp88kd4] {
        gap: 10px;
    }

    .modal-header-icon[b-mpchp88kd4] {
        width: 38px;
        height: 38px;
    }

    .pagination-container[b-mpchp88kd4] {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .appointments-table-container[b-mpchp88kd4] {
        overflow: visible;
    }

    /* Mobile card-like table rows */
    .appointments-table[b-mpchp88kd4] { border: 0; }
    .appointments-table thead[b-mpchp88kd4] { display:none; }
    .appointments-table tr[b-mpchp88kd4] { display:block; border:1px solid #e5e7eb; border-radius:12px; margin:12px 0; padding:10px 12px; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.06); }
    .appointments-table td[b-mpchp88kd4] { display:flex; align-items:flex-start; gap:10px; padding:8px 6px; white-space:normal; }
    .appointments-table td[b-mpchp88kd4]::before { content: attr(data-label) ": "; flex:0 0 34%; max-width:34%; min-width:90px; color:#64748b; font-weight:600; }
    .appointments-table td > *[b-mpchp88kd4] { flex:1 1 0; min-width:0; word-break:break-word; overflow-wrap:anywhere; }

    .appointments-table[b-mpchp88kd4] { width:100%; }
}

/* Mobile Cards */
.appointments-cards-mobile[b-mpchp88kd4] { display:none; }
.appt-card[b-mpchp88kd4] { background:#fff; border:1px solid #e5e7eb; border-radius:14px; padding:14px 16px; display:flex; flex-direction:column; gap:8px; box-shadow:0 1px 3px rgba(0,0,0,.06); }
.appt-card-top[b-mpchp88kd4] { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.appt-patient .name[b-mpchp88kd4] { font-weight:700; color:#1f2937; }
.appt-patient .phone[b-mpchp88kd4] { font-size:12px; color:#6b7280; margin-top:2px; }
.appt-row[b-mpchp88kd4] { display:flex; gap:10px; }
.appt-row .label[b-mpchp88kd4] { flex:0 0 92px; max-width:92px; color:#64748b; font-weight:600; }
.appt-row .value[b-mpchp88kd4] { flex:1 1 auto; min-width:0; word-break:break-word; }
.appt-actions[b-mpchp88kd4] { display:flex; gap:8px; margin-top:6px; flex-wrap:wrap; }

@media (max-width: 768px) {
  /* Hide table and show cards */
  .appointments-table-container[b-mpchp88kd4] { display:none; }
  .appointments-cards-mobile[b-mpchp88kd4] { display:flex; flex-direction:column; gap:12px; padding:12px; }
}

@media (max-width: 480px) {
    .page-title[b-mpchp88kd4] {
        font-size: 1.8rem;
    }

    .calendar-grid[b-mpchp88kd4] {
        grid-template-columns: 50px repeat(7, 1fr);
    }

    .modal-content[b-mpchp88kd4] {
        width: 95%;
        margin: 20px;
    }

    .modal-header[b-mpchp88kd4],
    .modal-body[b-mpchp88kd4] {
        padding: 16px;
    }

    .form-section[b-mpchp88kd4] {
        padding: 14px;
        margin-bottom: 16px;
    }

    .modal-actions[b-mpchp88kd4] {
        flex-direction: column;
    }

    .modal-actions .btn[b-mpchp88kd4] {
        width: 100%;
        justify-content: center;
    }

    /* Even tighter label column on very small screens */
    .appointments-table td[b-mpchp88kd4]::before { flex:0 0 40%; max-width:40%; min-width:80px; }
}
/* _content/CareWell/Components/Pages/ContactUs.razor.rz.scp.css */
/* Contact Us Page - Green Theme */

.contact-page[b-6incibi4mb] {
    min-height: 100vh;
    background: #f8f9fa;
    padding: 0;
}

/* Header */
.contact-header[b-6incibi4mb] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 30px;
    margin-bottom: 30px;
}

.header-content[b-6incibi4mb] {
    max-width: 1400px;
    margin: 0 auto;
}

.page-title[b-6incibi4mb] {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-icon[b-6incibi4mb] {
    font-size: 2rem;
    opacity: 0.9;
}

.title-icon i[b-6incibi4mb] {
    font-size: 2rem;
}

.page-subtitle[b-6incibi4mb] {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Content */
.contact-content[b-6incibi4mb] {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px 60px;
}

/* WhatsApp Card */
.contact-card[b-6incibi4mb] {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
}

.contact-card-icon[b-6incibi4mb] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.contact-card-icon i[b-6incibi4mb] {
    font-size: 36px;
    color: white;
}

.contact-card h3[b-6incibi4mb] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
}

.contact-card p[b-6incibi4mb] {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.whatsapp-btn[b-6incibi4mb] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover[b-6incibi4mb] {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i[b-6incibi4mb] {
    font-size: 20px;
}

/* Info Grid */
.contact-info-grid[b-6incibi4mb] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.info-item[b-6incibi4mb] {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.info-item:hover[b-6incibi4mb] {
    border-color: #28a745;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.info-icon[b-6incibi4mb] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i[b-6incibi4mb] {
    font-size: 18px;
    color: #28a745;
}

.info-text[b-6incibi4mb] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-text strong[b-6incibi4mb] {
    font-size: 14px;
    color: #1e293b;
    font-weight: 600;
}

.info-text span[b-6incibi4mb] {
    font-size: 13px;
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-content[b-6incibi4mb] {
        padding: 0 15px 40px;
    }

    .contact-card[b-6incibi4mb] {
        padding: 28px 20px;
    }

    .page-title[b-6incibi4mb] {
        font-size: 2rem;
    }

    .contact-info-grid[b-6incibi4mb] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-title[b-6incibi4mb] {
        font-size: 1.8rem;
    }

    .contact-card h3[b-6incibi4mb] {
        font-size: 1.25rem;
    }

    .whatsapp-btn[b-6incibi4mb] {
        padding: 12px 24px;
        font-size: 14px;
    }
}
/* _content/CareWell/Components/Pages/Dashboard.razor.rz.scp.css */
/* Dashboard Styles - Updated to work within proper layout constraints */
body[b-enazyu1slc] {
}

.dashboard-container[b-enazyu1slc] {
    padding: 0 !important;
    max-width: none !important;
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

/* Horizontal scroll for wide tables */
.table-scroll[b-enazyu1slc] {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}
/* Ensure tables can exceed viewport width to trigger horizontal scroll */
.patients-table[b-enazyu1slc],
.doctors-table[b-enazyu1slc] {
    min-width: 800px; /* reduced since Bio column removed */
}

/* New integrated top bar within dashboard content */
.dashboard-top-bar[b-enazyu1slc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: white;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    margin-bottom: 24px;
    border-radius: 8px;
    position: relative !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
}

.dashboard-title h1[b-enazyu1slc] {
    margin: 0 0 4px 0;
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
}

.dashboard-title p[b-enazyu1slc] {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

.user-actions[b-enazyu1slc] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-left[b-enazyu1slc] {
    display: flex;
    align-items: center;
}

.logo-section[b-enazyu1slc] {
    display: flex;
    align-items: center;
    color: #ff4757;
    font-weight: 600;
    font-size: 18px;
}

.logo-icon[b-enazyu1slc] {
    margin-right: 8px;
    font-size: 24px;
}

.logo-text[b-enazyu1slc] {
    color: #2c3e50;
}

.header-center[b-enazyu1slc] {
    flex: 1;
    max-width: 400px;
    margin: 0 40px;
}

.search-container[b-enazyu1slc] {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 300px;
}

.search-input[b-enazyu1slc] {
    width: 100%;
    padding: 10px 16px;
    padding-right: 40px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    background: #f8f9fa;
    outline: none;
    transition: all 0.2s ease;
}

.search-input:focus[b-enazyu1slc] {
    border-color: #4a90e2;
    background: white;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.search-btn[b-enazyu1slc] {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    font-size: 16px;
    color: #6c757d;
    transition: color 0.2s ease;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
}

.search-btn:hover[b-enazyu1slc] {
    color: #4a90e2;
}

.header-right[b-enazyu1slc] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-btn[b-enazyu1slc] {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    position: relative;
    transition: all 0.2s ease;
    color: #6c757d;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
}

.header-btn:hover[b-enazyu1slc] {
    background: #f8f9fa;
    color: #4a90e2;
}

.notification-btn[b-enazyu1slc] {
    position: relative;
}

.notification-badge[b-enazyu1slc] {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.user-profile[b-enazyu1slc] {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.user-avatar[b-enazyu1slc] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
}

.user-avatar img[b-enazyu1slc] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info[b-enazyu1slc] {
    text-align: right;
}

.user-name[b-enazyu1slc] {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
}

.user-role[b-enazyu1slc] {
    font-size: 11px;
    color: #6c757d;
    font-weight: 500;
}

/* Dashboard Content - Critical positioning fixes */
.dashboard-content[b-enazyu1slc] {
    padding: 0 !important;
    margin: 0 !important;
    background: #f8f9fb;
    min-height: 100vh;
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    overflow-x: auto;
}

/* Remove left gap so hero sits flush with sidebar like Appointments page */
.dashboard-content .dashboard-hero[b-enazyu1slc] { margin: 0 0 30px 0 !important; width: 100% !important; box-sizing: border-box; }
/* Responsive Design */
@media (max-width: 1200px) {
    .content-grid[b-enazyu1slc] {
        grid-template-columns: 1fr;
    }
    
    .stats-row[b-enazyu1slc] {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .dashboard-top-bar[b-enazyu1slc] {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
        text-align: center;
    }
    
    .search-container[b-enazyu1slc] {
        max-width: none;
        width: 100%;
    }
    
    .dashboard-content[b-enazyu1slc] {
        padding: 12px !important;
        margin: 0 !important;
    }

    /* NEW: remove left space for tables on mobile */
    .dashboard-content .table-scroll[b-enazyu1slc] { margin: 0; }
    .dashboard-content .patients-table[b-enazyu1slc] { min-width: auto; width:100%; }
    .dashboard-content .doctors-table[b-enazyu1slc] { width:100%; }
    .dashboard-content .patients-module[b-enazyu1slc], .dashboard-content .doctors-module[b-enazyu1slc] { padding-left:0; padding-right:0; }
}

/* Mobile tweaks for compact labels/value rows */
@media (max-width: 720px){
  .dashboard-content .doctors-table tr[b-enazyu1slc],
  .dashboard-content .patients-table tr[b-enazyu1slc] { border-radius: 14px; background:#fff; }
  .dashboard-content .doctors-table td[b-enazyu1slc],
  .dashboard-content .patients-table td[b-enazyu1slc] { padding: 10px 10px 10px 108px; }
  .dashboard-content .doctors-table td[b-enazyu1slc]::before,
  .dashboard-content .patients-table td[b-enazyu1slc]::before { left: 12px; width: 88px; color:#64748b; font-weight:700; }
  .dashboard-content .quick-tile .icon[b-enazyu1slc] { width:72px; height:72px; font-size:48px; }
}

/* Animations */
@keyframes fadeInUp-b-enazyu1slc {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card[b-enazyu1slc],
.stat-card[b-enazyu1slc] {
    animation: fadeInUp-b-enazyu1slc 0.3s ease-out;
}

.stats-card:nth-child(2)[b-enazyu1slc] { animation-delay: 0.1s; }
.stats-card:nth-child(3)[b-enazyu1slc] { animation-delay: 0.2s; }
.stats-card:nth-child(4)[b-enazyu1slc] { animation-delay: 0.3s; }

.search-btn[b-enazyu1slc]::before {
    content: none !important;
}

/* ===== Beautified Dashboard Styles (scoped) ===== */

/* Header */
.dashboard-content .dashboard-title h1[b-enazyu1slc] {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}
.dashboard-content .dashboard-title p[b-enazyu1slc] {
    margin-top: 6px;
    color: #64748b;
    font-size: 16px;
}

/* Quick tiles */
.dashboard-content .quick-tiles[b-enazyu1slc] {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    padding: 0 30px;
}
.dashboard-content .quick-tile[b-enazyu1slc] {
    background: radial-gradient(1200px 240px at 0% 0%, rgba(59,130,246,.06), transparent 40%),
                radial-gradient(1200px 240px at 100% 100%, rgba(99,102,241,.06), transparent 40%),
                #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 46px 34px 42px;
    box-shadow: 0 8px 24px -10px rgba(2,6,23,.15);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dashboard-content .quick-tile:hover[b-enazyu1slc] {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px -12px rgba(2,6,23,.20);
    border-color: #d1d5db;
}
.dashboard-content .quick-tile .icon[b-enazyu1slc] {
    display: grid; place-items: center;
    width: 80px; height: 80px; border-radius: 16px;
    background: linear-gradient(135deg, #eef2ff, #e0f2fe);
    font-size: 56px; line-height: 1; margin-bottom: 12px;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif !important;
}
.dashboard-content .quick-tile .qt-header[b-enazyu1slc] {
    font-size: 26px; margin: 6px 0 2px; color: #0ea5e9;
}
.dashboard-content .quick-tile p[b-enazyu1slc] {
    color: #475569; max-width: 520px;
}

/* Module container */
.dashboard-content .patients-module[b-enazyu1slc],
.dashboard-content .doctors-module[b-enazyu1slc] {
    margin-top: 32px;
    padding: 0 30px;
}
.dashboard-content .module-header[b-enazyu1slc] {
    background: linear-gradient(180deg, #ffffff, #fafafa);
    border: 1px solid #e5e7eb; border-radius: 14px; padding: 14px 16px;
    box-shadow: 0 6px 18px -12px rgba(2,6,23,.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dashboard-content .module-header h2[b-enazyu1slc] {
    margin: 0; font-size: 28px; font-weight: 800; color: #0f172a;
}
.dashboard-content .module-actions .btn-sm[b-enazyu1slc] { border-radius: 8px; padding: 8px 14px; font-weight: 600; }
.dashboard-content .module-actions .btn-sm.secondary[b-enazyu1slc] { background:#64748b; }

/* Tables */
.dashboard-content .table-scroll[b-enazyu1slc] { border-radius: 18px; overflow: hidden; }
.dashboard-content .doctors-table[b-enazyu1slc],
.dashboard-content .patients-table[b-enazyu1slc] { border-collapse: separate; border-spacing: 0; }
.dashboard-content .doctors-table th[b-enazyu1slc],
.dashboard-content .patients-table th[b-enazyu1slc] {
    background: #f8fafc;
    color: #0f172a; font-weight: 700; letter-spacing: .02em; font-size: 13px;
}
.dashboard-content .doctors-table tbody tr[b-enazyu1slc],
.dashboard-content .patients-table tbody tr[b-enazyu1slc] { transition: background .12s ease; }
.dashboard-content .doctors-table tbody tr:hover[b-enazyu1slc],
.dashboard-content .patients-table tbody tr:hover[b-enazyu1slc] { background: #f1f5f9; }
.dashboard-content .doctors-table tbody tr:nth-child(even)[b-enazyu1slc],
.dashboard-content .patients-table tbody tr:nth-child(even)[b-enazyu1slc] { background: #fbfdff; }
.dashboard-content .editing-row[b-enazyu1slc] { background:#fffbe6 !important; }
.dashboard-content .actions-cell[b-enazyu1slc] { gap:10px; }

/* Buttons */
.dashboard-content .btn-sm[b-enazyu1slc] { box-shadow: 0 1px 0 rgba(0,0,0,.04); font-weight: 600; }
.dashboard-content .btn-sm:hover[b-enazyu1slc] { transform: translateY(-1px); }
.dashboard-content .btn-sm.danger[b-enazyu1slc] { background:#ef4444; }
.dashboard-content .btn-sm.danger:hover[b-enazyu1slc] { background:#dc2626; }

/* Status and errors */
.dashboard-content .status-msg[b-enazyu1slc] { color:#2563eb; font-weight:600; }
.dashboard-content .error-box[b-enazyu1slc] { border-left: 3px solid #ef4444; background:#fef2f2; border-radius: 8px; }

/* Hero header */
.dashboard-content .dashboard-hero[b-enazyu1slc] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: #fff;
    border-radius: 0;
    padding: 30px;
    margin: 0 0 30px 0 !important;
    box-shadow: none;
    width: 100% !important;
    position: relative;
    left: 0;
    right: 0;
}

/* Ensure no gap between content wrapper and hero */
.dashboard-content > section:first-child[b-enazyu1slc] {
    margin-top: 0 !important;
}

/* Force dashboard to have no padding/margin that could create a gap */
.dashboard-content[b-enazyu1slc] {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

section.dashboard-hero[b-enazyu1slc] {
    margin: 0 0 30px 0 !important;
    border-radius: 0 !important;
}
.dashboard-content .dashboard-hero .hero-title[b-enazyu1slc] { display:flex; align-items:center; gap:15px; }
.dashboard-content .dashboard-hero .hero-title h1[b-enazyu1slc] { margin:0 0 8px 0; font-size:2.5rem; line-height:1.1; font-weight:700; letter-spacing:-.01em; color:#fff; }
.dashboard-content .dashboard-hero .hero-icon[b-enazyu1slc] { font-size:2rem; opacity:.9; }
.dashboard-content .dashboard-hero .hero-sub[b-enazyu1slc] { margin:0; font-size:1.1rem; opacity:.9; }
.dashboard-content .dashboard-hero .hero-actions[b-enazyu1slc] { display:none; }

@media (max-width: 720px){
  .dashboard-content .dashboard-hero[b-enazyu1slc] { padding:22px 18px; }
  .dashboard-content .dashboard-hero .hero-title h1[b-enazyu1slc] { font-size:2rem; }
}

/* Dashboard Styles (adjusted for mobile header like Appointments) */

/* Existing styles remain above ... we append overrides */

/* Responsive alignment with Appointment Management header */
@media (max-width: 768px) {
  .dashboard-content[b-enazyu1slc] { padding-top: 0 !important; }
  .dashboard-hero[b-enazyu1slc] { 
      padding: 28px 18px 30px; 
      border-radius: 0;
      margin: 0 0 20px 0;
  }
  .dashboard-hero .hero-title[b-enazyu1slc] { flex-direction: row; align-items: center; }
  .dashboard-hero .hero-title h1[b-enazyu1slc] { font-size: 2rem; }
  .dashboard-hero .hero-icon[b-enazyu1slc] { font-size: 1.8rem; }
  .dashboard-content .quick-tiles[b-enazyu1slc] { padding: 0 15px; }
  .dashboard-content .patients-module[b-enazyu1slc],
  .dashboard-content .doctors-module[b-enazyu1slc] { padding: 0 15px; }
}

/* Very small screens tighten spacing */
@media (max-width: 480px) {
  .dashboard-hero[b-enazyu1slc] { padding: 24px 16px 26px; border-radius:0; }
  .dashboard-hero .hero-title h1[b-enazyu1slc] { font-size: 1.7rem; }
}
/* _content/CareWell/Components/Pages/Doctors.razor.rz.scp.css */
/* Doctors Page Styles - Green Theme */

.doctors-container[b-oa8hohmiwy] {
    min-height: 100vh;
    background: #f8f9fa;
    padding: 0;
}

/* Header Section */
.page-header[b-oa8hohmiwy] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 30px;
    margin-bottom: 30px;
}

.header-content[b-oa8hohmiwy] {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-left h1.page-title[b-oa8hohmiwy] {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-icon[b-oa8hohmiwy] {
    font-size: 2rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-icon i[b-oa8hohmiwy] {
    font-size: 2rem;
}

.page-subtitle[b-oa8hohmiwy] {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Content Area */
.doctors-content[b-oa8hohmiwy] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px 30px;
    min-height: 400px;
}

/* Loading and No Results */
.loading-container[b-oa8hohmiwy],
.no-results[b-oa8hohmiwy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.loading-spinner[b-oa8hohmiwy] {
    width: 50px;
    height: 50px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #28a745;
    border-radius: 50%;
    animation: spin-b-oa8hohmiwy 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin-b-oa8hohmiwy {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-results-icon[b-oa8hohmiwy] {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
    color: #6c757d;
}

.no-results-icon i[b-oa8hohmiwy] {
    font-size: 4rem;
}

.no-results h3[b-oa8hohmiwy] {
    color: #495057;
    margin-bottom: 10px;
}

.no-results p[b-oa8hohmiwy] {
    color: #6c757d;
    margin-bottom: 20px;
}

/* Doctors Grid */
.doctors-grid[b-oa8hohmiwy] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* Doctor Card */
.doctor-card[b-oa8hohmiwy] {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.doctor-card:hover[b-oa8hohmiwy] {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: #28a745;
}

/* Avatar */
.doctor-avatar[b-oa8hohmiwy] {
    margin-bottom: 4px;
}

.avatar-circle[b-oa8hohmiwy] {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745, #20c997);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 14px rgba(40, 167, 69, 0.3);
}

.avatar-circle i[b-oa8hohmiwy] {
    font-size: 28px;
}

/* Doctor Info */
.doctor-info[b-oa8hohmiwy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.doctor-name[b-oa8hohmiwy] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.doctor-position-badge[b-oa8hohmiwy] {
    display: inline-block;
    padding: 4px 14px;
    background: #ecfdf5;
    color: #059669;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
}

.doctor-department[b-oa8hohmiwy] {
    font-size: 14px;
    color: #475569;
    margin: 4px 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.doctor-department i[b-oa8hohmiwy] {
    font-size: 13px;
    color: #28a745;
}

.doctor-contact[b-oa8hohmiwy] {
    font-size: 13px;
    color: #64748b;
    margin: 2px 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.doctor-contact i[b-oa8hohmiwy] {
    font-size: 12px;
    color: #94a3b8;
}

.doctor-bio[b-oa8hohmiwy] {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 8px 0 0;
    text-align: center;
    max-width: 280px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content[b-oa8hohmiwy] {
        flex-direction: column;
        align-items: flex-start;
    }

    .doctors-content[b-oa8hohmiwy] {
        padding: 0 15px 20px;
    }

    .doctors-grid[b-oa8hohmiwy] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .page-title[b-oa8hohmiwy] {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-title[b-oa8hohmiwy] {
        font-size: 1.8rem;
    }

    .doctor-card[b-oa8hohmiwy] {
        padding: 20px 16px;
    }
}
/* _content/CareWell/Components/Pages/FeaturesPage.razor.rz.scp.css */
h2[b-hvf3t6xwbd] {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.features-grid[b-hvf3t6xwbd] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.featurePage-tile[b-hvf3t6xwbd] {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .feature-tile:hover[b-hvf3t6xwbd] {
        transform: translateY(-5px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

.icon[b-hvf3t6xwbd] {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

h3[b-hvf3t6xwbd] {
    margin: 10px 0;
    font-size: 1.3rem;
    color: #007bff;
}

p[b-hvf3t6xwbd] {
    font-size: 0.95rem;
    color: #555;
}
/* _content/CareWell/Components/Pages/ForgotPassword.razor.rz.scp.css */
/* Forgot Password Page Specific Styles */

/* Auth Footer Styling */
.auth-footer[b-7rqc23gn17] {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.auth-footer p[b-7rqc23gn17] {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.auth-link[b-7rqc23gn17] {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-link:hover[b-7rqc23gn17] {
    color: #0056b3;
    text-decoration: underline;
}

/* Success alert styling */
.success-alert[b-7rqc23gn17] {
    text-align: center;
    padding: 30px 20px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    margin: 20px 0;
}

.success-alert h3[b-7rqc23gn17] {
    color: #155724;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.success-alert p[b-7rqc23gn17] {
    color: #155724;
    line-height: 1.6;
    margin: 10px 0;
}

.success-alert p:last-child[b-7rqc23gn17] {
    margin-bottom: 0;
}

.success-alert strong[b-7rqc23gn17] {
    font-weight: 600;
    color: #0c4128;
}

.success-alert svg[b-7rqc23gn17] {
    margin-right: 10px;
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

/* Auth header adjustments for forgot password */
.auth-header p[b-7rqc23gn17] {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
    margin-top: 10px;
}

/* Form adjustments */
.form-group:last-of-type[b-7rqc23gn17] {
    margin-bottom: 24px;
}

/* Button specific to forgot password */
.auth-btn svg[b-7rqc23gn17] {
    margin-right: 8px;
}

/* Loading spinner animation */
.loading-spinner[b-7rqc23gn17] {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin-b-7rqc23gn17 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin-b-7rqc23gn17 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error alert styling */
.error-alert[b-7rqc23gn17] {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 16px 0;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.error-alert svg[b-7rqc23gn17] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Enhanced responsive design */
@media (max-width: 480px) {
    .success-alert[b-7rqc23gn17] {
        padding: 24px 16px;
    }
    
    .success-alert h3[b-7rqc23gn17] {
        font-size: 18px;
    }
    
    .auth-header p[b-7rqc23gn17] {
        font-size: 14px;
    }
    
    .auth-footer[b-7rqc23gn17] {
        margin-top: 20px;
        padding-top: 16px;
    }
}
/* _content/CareWell/Components/Pages/Login.razor.rz.scp.css */
body[b-hsoixqb5kk] {
}

/* ---- LOGIN BACKGROUND IMAGE CONFIG ----
   Place image at: wwwroot/images/login-bg.jpg
   Do NOT include 'wwwroot' in the CSS path. Static file root maps to '/'
*/
:host[b-hsoixqb5kk] {
    --login-bg-path: url('/images/login-bg.jpg');
}

/* Stronger selector & !important so global gradients elsewhere do not override */
.login-container[b-hsoixqb5kk], :host[b-hsoixqb5kk]  .login-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-image: linear-gradient(rgba(15,20,30,.55), rgba(15,20,30,.55)), var(--login-bg-path, url('../images/login-bg.jpg'));
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #28a745;
}

/* Optional extra overlay (disabled by default) */
/* .login-container::before { content:''; position:absolute; inset:0; background:rgba(0,0,0,.25); pointer-events:none; } */

.login-card[b-hsoixqb5kk] { position: relative; z-index: 2; }

/* ---------- existing styles below (kept) ---------- */
/* Login Page Specific Styles */
.auth-container[b-hsoixqb5kk] { margin:0; padding:20px; min-height:100vh; height:100vh; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#28a745 0%,#20c997 100%); position:relative; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; overflow:hidden; box-sizing:border-box; }
.auth-container[b-hsoixqb5kk]::before { content:''; position:absolute; top:0; left:0; right:0; bottom:0; background:linear-gradient(135deg,#28a745 0%,#20c997 100%); z-index:0; }
.auth-card[b-hsoixqb5kk] { position:relative; z-index:10; }
.form-options[b-hsoixqb5kk] { display:flex; justify-content:space-between; align-items:center; margin:20px 0; padding:16px 0; border-top:1px solid #f0f0f0; }
.remember-me-label[b-hsoixqb5kk] { display:flex; align-items:center; font-size:14px; color:#555; cursor:pointer; user-select:none; margin:0; transition:color .3s ease; }
.remember-me-label:hover[b-hsoixqb5kk] { color:#333; }
.remember-checkbox[b-hsoixqb5kk] { width:16px; height:16px; margin-right:8px; cursor:pointer; accent-color:#007bff; }
.checkmark[b-hsoixqb5kk] { position:relative; display:inline-block; width:16px; height:16px; margin-right:8px; border:2px solid #ddd; border-radius:3px; background:#fff; transition:all .3s ease; }
.remember-me-label:hover .checkmark[b-hsoixqb5kk] { border-color:#007bff; box-shadow:0 0 5px rgba(0,123,255,.3); }
.remember-checkbox:checked + .checkmark[b-hsoixqb5kk] { background:#007bff; border-color:#007bff; }
.remember-checkbox:checked + .checkmark[b-hsoixqb5kk]::after { content:"✓"; position:absolute; top:-2px; left:2px; color:#fff; font-size:12px; font-weight:bold; }
.forgot-password-link[b-hsoixqb5kk] { color:#007bff; text-decoration:none; font-size:14px; font-weight:500; transition:all .3s ease; cursor:pointer; border:none; background:none; padding:0; margin:0; position:relative; overflow:hidden; }
.forgot-password-link:hover[b-hsoixqb5kk] { color:#0056b3; text-decoration:underline; transform:translateY(-1px); }
.forgot-password-link:active[b-hsoixqb5kk] { transform:translateY(0); }
.forgot-password-link:focus[b-hsoixqb5kk] { outline:2px solid #007bff; outline-offset:2px; border-radius:2px; }
.forgot-password-link[b-hsoixqb5kk]::before { content:''; position:absolute; bottom:0; left:0; width:0; height:1px; background:#007bff; transition:width .3s ease; }
.forgot-password-link:hover[b-hsoixqb5kk]::before { width:100%; }
.forgot-password-section[b-hsoixqb5kk] { width:100%; animation:slideInFromRight-b-hsoixqb5kk .3s ease-out; }
@keyframes slideInFromRight-b-hsoixqb5kk { from { transform:translateX(100%); opacity:0;} to { transform:translateX(0); opacity:1;} }
.forgot-password-header[b-hsoixqb5kk] { margin-bottom:24px; }
.back-btn[b-hsoixqb5kk] { display:flex; align-items:center; gap:8px; background:none; border:none; color:#007bff; font-size:14px; cursor:pointer; padding:8px 0; margin-bottom:16px; transition:all .3s ease; text-decoration:none; }
.back-btn:hover[b-hsoixqb5kk] { color:#0056b3; transform:translateX(-2px); }
.back-btn svg[b-hsoixqb5kk] { transition:transform .3s ease; }
.back-btn:hover svg[b-hsoixqb5kk] { transform:translateX(-2px); }
.forgot-password-title[b-hsoixqb5kk] { font-size:24px; font-weight:600; color:#333; margin:0 0 8px; text-align:center; }
.forgot-password-subtitle[b-hsoixqb5kk] { font-size:14px; color:#666; text-align:center; margin:0 0 24px; line-height:1.5; }
.success-section[b-hsoixqb5kk] { text-align:center; padding:24px 0; }
.success-icon[b-hsoixqb5kk] { color:#28a745; margin-bottom:16px; display:flex; justify-content:center; }
.success-icon svg[b-hsoixqb5kk] { animation: successPulse-b-hsoixqb5kk .6s ease-out; }
@keyframes successPulse-b-hsoixqb5kk { 0%{transform:scale(0);opacity:0;}50%{transform:scale(1.1);}100%{transform:scale(1);opacity:1;} }
.success-title[b-hsoixqb5kk] { font-size:20px; font-weight:600; color:#28a745; margin:0 0 12px; }
.success-message[b-hsoixqb5kk] { font-size:16px; color:#333; margin:0 0 8px; line-height:1.5; }
.success-subtitle[b-hsoixqb5kk] { font-size:14px; color:#666; margin:0 0 24px; line-height:1.5; }
.auth-footer[b-hsoixqb5kk] { text-align:center; margin-top:24px; padding-top:20px; border-top:1px solid #f0f0f0; }
.auth-footer p[b-hsoixqb5kk] { color:#666; font-size:14px; margin:0; }
.auth-link[b-hsoixqb5kk] { color:#007bff; text-decoration:none; font-weight:500; transition:all .3s ease; }
.auth-link:hover[b-hsoixqb5kk] { color:#0056b3; text-decoration:underline; }
.success-alert h3[b-hsoixqb5kk] { margin:0 0 10px; color:#155724; font-size:18px; }
.success-alert p[b-hsoixqb5kk] { margin:8px 0; color:#155724; line-height:1.5; }
.loading-spinner[b-hsoixqb5kk] { border:2px solid #f3f3f3; border-top:2px solid #007bff; border-radius:50%; width:16px; height:16px; animation:spin-b-hsoixqb5kk 1s linear infinite; margin-right:8px; }
@keyframes spin-b-hsoixqb5kk { 0% { transform:rotate(0deg);} 100% { transform:rotate(360deg);} }
.toggle-container[b-hsoixqb5kk] { transition:opacity .3s ease; }
.form-group[b-hsoixqb5kk] { transition:all .3s ease; }
@media (max-width:480px){ .form-options[b-hsoixqb5kk]{flex-direction:column; align-items:flex-start; gap:12px;} .forgot-password-link[b-hsoixqb5kk]{align-self:flex-end;} .auth-footer[b-hsoixqb5kk]{margin-top:20px; padding-top:16px;} .auth-container[b-hsoixqb5kk]{padding:16px;} .forgot-password-title[b-hsoixqb5kk]{font-size:20px;} .back-btn[b-hsoixqb5kk]{font-size:13px; padding:6px 0;} .success-section[b-hsoixqb5kk]{padding:20px 0;} .success-title[b-hsoixqb5kk]{font-size:18px;} .success-message[b-hsoixqb5kk]{font-size:14px;} }
.form-options + .error-message[b-hsoixqb5kk], .form-options + .success-message[b-hsoixqb5kk] { margin-top:20px; }
.back-btn:focus[b-hsoixqb5kk] { outline:2px solid #007bff; outline-offset:2px; border-radius:4px; }
.login-card[b-hsoixqb5kk] { transition:height .3s ease; overflow:hidden; }
.whatsapp-contact[b-hsoixqb5kk] { text-align:center; margin-top:15px; }
.whatsapp-contact a[b-hsoixqb5kk] { color:#25d366; font-weight:500; text-decoration:none; font-size:1rem; }
.whatsapp-contact a:hover[b-hsoixqb5kk] { text-decoration:underline; }

.brand-icon[b-hsoixqb5kk] {
    font-style: normal;
    font-size: 32px;
    color: #28a745;
    font-family: "Segoe UI Symbol", "Apple Color Emoji", sans-serif;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 1;
}

.brand-title[b-hsoixqb5kk] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}
/* _content/CareWell/Components/Pages/PatientRecord.razor.rz.scp.css */
/* Patient Record Page - Green Theme */

/* Page wrapper */
.patient-record-page[b-qwajws362j] {
    min-height: 100vh;
    background: #f8f9fa;
    padding: 0;
}

/* Page Header */
.record-page-header[b-qwajws362j] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 30px;
    margin-bottom: 30px;
}

.record-header-content[b-qwajws362j] {
    max-width: 1400px;
    margin: 0 auto;
}

.record-page-title[b-qwajws362j] {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.record-title-icon[b-qwajws362j] {
    font-size: 2rem;
    opacity: 0.9;
}

.record-title-icon i[b-qwajws362j] {
    font-size: 2rem;
}

.record-page-subtitle[b-qwajws362j] {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Content Area */
.record-content-area[b-qwajws362j] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px 30px;
}

/* Loading */
.record-loading[b-qwajws362j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
}

.record-spinner[b-qwajws362j] {
    width: 50px;
    height: 50px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #28a745;
    border-radius: 50%;
    animation: spin-b-qwajws362j 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin-b-qwajws362j {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hide old h3 */
h3[b-qwajws362j] {
    display: none;
}

/* Form Container - styled like a modal card */
form[b-qwajws362j] {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

/* Form Sections */
.patient-record-container[b-qwajws362j] {
    padding: 28px;
    max-width: none;
    margin: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

/* Labels */
.patient-record-container label[b-qwajws362j],
form .form-label[b-qwajws362j] {
    font-weight: 600;
    color: #374151;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.text-danger[b-qwajws362j] {
    color: #dc2626 !important;
}

/* Input Fields */
form .form-control[b-qwajws362j],
.patient-record-container input[type="text"][b-qwajws362j],
.patient-record-container textarea[b-qwajws362j] {
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #1e293b;
    height: 42px;
    line-height: 1.4;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 0;
}

form .form-control[b-qwajws362j]::placeholder {
    color: #94a3b8;
}

form .form-control:hover[b-qwajws362j],
.patient-record-container input:hover[b-qwajws362j] {
    border-color: #cbd5e1;
}

form .form-control:focus[b-qwajws362j],
.patient-record-container input:focus[b-qwajws362j],
.patient-record-container textarea:focus[b-qwajws362j] {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.12);
    background: #ffffff;
}

/* Textarea */
form textarea.form-control[b-qwajws362j],
.patient-record-container textarea[b-qwajws362j] {
    height: auto;
    min-height: 80px;
    resize: vertical;
}

/* Form Spacing */
.mb-3[b-qwajws362j] {
    margin-bottom: 20px !important;
}

/* Upload Section */
form small[b-qwajws362j],
.patient-record-container small[b-qwajws362j] {
    font-size: 12px;
    color: #64748b;
}

/* Buttons */
form .d-flex.gap-2.mt-4[b-qwajws362j] {
    display: flex;
    gap: 12px;
    margin-top: 28px !important;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    flex-direction: row;
}

form button[type="submit"][b-qwajws362j],
form .btn-primary[b-qwajws362j] {
    background: #007bff !important;
    color: #fff !important;
    border: none !important;
    padding: 11px 24px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
}

form button[type="submit"]:hover[b-qwajws362j],
form .btn-primary:hover[b-qwajws362j] {
    background: #0056b3 !important;
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.35);
    transform: translateY(-1px);
}

form .btn-outline-secondary[b-qwajws362j],
form button.btn-outline-secondary[b-qwajws362j] {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    padding: 11px 22px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer;
    transition: all 0.2s ease;
    width: auto;
    margin-top: 0;
}

form .btn-outline-secondary:hover[b-qwajws362j] {
    background: #e2e8f0 !important;
    color: #334155 !important;
    border-color: #cbd5e1 !important;
}

/* Take Photo button */
form .btn-outline-primary[b-qwajws362j] {
    background: #f0fdf4 !important;
    color: #16a34a !important;
    border: 1.5px solid #86efac !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer;
    transition: all 0.2s ease;
    width: auto;
    margin-top: 0;
}

form .btn-outline-primary:hover[b-qwajws362j] {
    background: #dcfce7 !important;
    border-color: #4ade80 !important;
}

/* Validation messages */
.validation-message[b-qwajws362j] {
    font-size: 12px;
    color: #dc2626;
    margin-top: 4px;
}

/* Alert messages */
.alert-danger[b-qwajws362j] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
}

.alert-success[b-qwajws362j] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
}

/* File pill */
.file-pill[b-qwajws362j] {
    background: #f1f5f9;
    border: 1px solid #d1d5db;
    border-radius: 40px;
    padding: 6px 14px;
    font-size: 13px;
    line-height: 1.2;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.btn-remove-icon[b-qwajws362j] {
    background: #e11d48;
    border: none;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding: 0;
    cursor: pointer;
    transition: background .18s ease-in-out, transform .18s;
}

.btn-remove-icon:hover[b-qwajws362j] { background: #be123c; transform: scale(1.08); }

/* Captured photo preview */
.captured-preview img[b-qwajws362j] {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.remove-photo-btn[b-qwajws362j] {
    margin-top: 8px;
    background: #dc2626 !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    width: auto !important;
    display: inline-flex !important;
    position: static !important;
}

.remove-photo-btn:hover[b-qwajws362j] {
    background: #b91c1c !important;
}

/* Responsive visibility */
.upload-mobile-only[b-qwajws362j] { display: none; }
.upload-desktop-only[b-qwajws362j] { display: block; }

@media (max-width: 768px) {
    .upload-mobile-only[b-qwajws362j] { display: block; }
    .upload-desktop-only[b-qwajws362j] { display: none; }

    form[b-qwajws362j] {
        margin: 0 15px;
        border-radius: 12px;
    }

    .patient-record-container[b-qwajws362j] {
        padding: 20px;
    }

    form .d-flex.gap-2.mt-4[b-qwajws362j] {
        flex-direction: column;
    }

    form button[type="submit"][b-qwajws362j],
    form .btn-outline-secondary[b-qwajws362j] {
        width: 100% !important;
        justify-content: center;
    }
}
/* _content/CareWell/Components/Pages/Patients.razor.rz.scp.css */
/* Patient Management Styles */

.patients-management-container[b-lialcwu9ye] {
    min-height: 100vh;
    background: #f8f9fa;
    padding: 0;
}

/* Header Section */
.page-header[b-lialcwu9ye] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 30px;
    margin-bottom: 30px;
}

.header-content[b-lialcwu9ye] {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-left h1.page-title[b-lialcwu9ye] {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-icon[b-lialcwu9ye] {
    font-size: 2rem;
    opacity: 0.9;
}

.page-subtitle[b-lialcwu9ye] {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.header-actions[b-lialcwu9ye] {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Button Styles */
.btn[b-lialcwu9ye] {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary[b-lialcwu9ye] {
    background: #007bff;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover[b-lialcwu9ye] {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.btn-secondary[b-lialcwu9ye] {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover[b-lialcwu9ye] {
    background: rgba(255, 255, 255, 0.3);
}

.btn-outline[b-lialcwu9ye] {
    background: transparent;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.btn-outline:hover[b-lialcwu9ye] {
    background: #e9ecef;
    color: #495057;
}

.btn-icon[b-lialcwu9ye] {
    font-size: 16px;
}

/* Search and Filter Section */
.search-filter-section[b-lialcwu9ye] {
    max-width: 1400px;
    margin: 0 auto 30px;
    padding: 0 30px;
}

.search-container[b-lialcwu9ye] {
    margin-bottom: 20px;
}

.search-box[b-lialcwu9ye] {
    position: relative;
    max-width: 500px;
}

.search-icon[b-lialcwu9ye] {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
}

.search-input[b-lialcwu9ye] {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.search-input:focus[b-lialcwu9ye] {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.clear-search[b-lialcwu9ye] {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-controls[b-lialcwu9ye] {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: end;
}

.filter-group[b-lialcwu9ye] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label[b-lialcwu9ye] {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.filter-select[b-lialcwu9ye] {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    min-width: 140px;
}

/* Statistics Section */
.stats-section[b-lialcwu9ye] {
    max-width: 1400px;
    margin: 0 auto 30px;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-card[b-lialcwu9ye] {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover[b-lialcwu9ye] {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.stat-icon[b-lialcwu9ye] {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.stat-icon.total[b-lialcwu9ye] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.stat-icon.active[b-lialcwu9ye] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.stat-icon.new[b-lialcwu9ye] {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.stat-icon.appointments[b-lialcwu9ye] {
    background: linear-gradient(135deg, #fd7e14 0%, #e83e8c 100%);
}

.stat-number[b-lialcwu9ye] {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.stat-label[b-lialcwu9ye] {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

/* View Controls */
.view-controls[b-lialcwu9ye] {
    max-width: 1400px;
    margin: 0 auto 20px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.view-toggle[b-lialcwu9ye] {
    display: flex;
    background: #e9ecef;
    border-radius: 8px;
    padding: 3px;
}

.view-btn[b-lialcwu9ye] {
    padding: 8px 16px;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-btn.active[b-lialcwu9ye] {
    background: white;
    color: #28a745;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.view-icon[b-lialcwu9ye] {
    font-size: 16px;
}

.results-info[b-lialcwu9ye] {
    color: #6c757d;
    font-size: 14px;
}

/* Patients Content */
.patients-content[b-lialcwu9ye] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    min-height: 400px;
}

/* Loading and No Results */
.loading-container[b-lialcwu9ye],
.no-results[b-lialcwu9ye] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.loading-spinner[b-lialcwu9ye] {
    width: 50px;
    height: 50px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #28a745;
    border-radius: 50%;
    animation: spin-b-lialcwu9ye 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin-b-lialcwu9ye {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-results-icon[b-lialcwu9ye] {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results h3[b-lialcwu9ye] {
    color: #495057;
    margin-bottom: 10px;
}

.no-results p[b-lialcwu9ye] {
    color: #6c757d;
    margin-bottom: 20px;
}

/* Grid View */
.patients-grid[b-lialcwu9ye] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.patient-card[b-lialcwu9ye] {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.patient-card:hover[b-lialcwu9ye] {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.patient-avatar[b-lialcwu9ye] {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.patient-avatar img[b-lialcwu9ye] {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e9ecef;
}

.status-indicator[b-lialcwu9ye] {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid white;
}

.status-indicator.active[b-lialcwu9ye] {
    background: #28a745;
}

.status-indicator.inactive[b-lialcwu9ye] {
    background: #6c757d;
}

.status-indicator.discharged[b-lialcwu9ye] {
    background: #dc3545;
}

.patient-info[b-lialcwu9ye] {
    text-align: center;
    margin-bottom: 15px;
}

.patient-name[b-lialcwu9ye] {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 5px 0;
}

.patient-id[b-lialcwu9ye] {
    font-size: 12px;
    color: #6c757d;
    margin: 0 0 10px 0;
    font-family: monospace;
}

.patient-details[b-lialcwu9ye] {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 8px 0;
    font-size: 14px;
    color: #495057;
}

.detail-item[b-lialcwu9ye] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.detail-icon[b-lialcwu9ye] {
    font-size: 12px;
    opacity: 0.7;
}

.patient-contact[b-lialcwu9ye] {
    font-size: 14px;
    color: #495057;
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.last-visit[b-lialcwu9ye] {
    font-size: 12px;
    color: #6c757d;
    margin: 8px 0 0 0;
}

.patient-actions[b-lialcwu9ye] {
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.patient-card:hover .patient-actions[b-lialcwu9ye] {
    opacity: 1;
}

.action-btn[b-lialcwu9ye] {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    background: #f8f9fa;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover[b-lialcwu9ye] {
    background: #28a745;
    color: white;
    transform: scale(1.1);
}

.action-icon[b-lialcwu9ye] {
    font-size: 14px;
}

/* List View */
.patients-table-container[b-lialcwu9ye] {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.patients-table[b-lialcwu9ye] {
    width: 100%;
    border-collapse: collapse;
}

.patients-table thead[b-lialcwu9ye] {
    background: #f8f9fa;
}

.patients-table th[b-lialcwu9ye] {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    font-size: 14px;
}

.patients-table td[b-lialcwu9ye] {
    padding: 15px;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
}

.patient-row[b-lialcwu9ye] {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.patient-row:hover[b-lialcwu9ye] {
    background: #f8f9fa;
}

.patient-info-row[b-lialcwu9ye] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.patient-avatar-small[b-lialcwu9ye] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.patient-name-small[b-lialcwu9ye] {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
}

.patient-email[b-lialcwu9ye] {
    font-size: 12px;
    color: #6c757d;
}

.status-badge[b-lialcwu9ye] {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active[b-lialcwu9ye] {
    background: #d4edda;
    color: #155724;
}

.status-badge.inactive[b-lialcwu9ye] {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.discharged[b-lialcwu9ye] {
    background: #d1ecf1;
    color: #0c5460;
}

.table-actions[b-lialcwu9ye] {
    display: flex;
    gap: 8px;
}

.action-btn-small[b-lialcwu9ye] {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.action-btn-small:hover[b-lialcwu9ye] {
    background: #28a745;
    color: white;
}

/* Pagination */
.pagination-container[b-lialcwu9ye] {
    max-width: 1400px;
    margin: 30px auto 0;
    padding: 0 30px;
    display: flex;
    justify-content: between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.pagination-info[b-lialcwu9ye] {
    color: #6c757d;
    font-size: 14px;
}

.pagination-controls[b-lialcwu9ye] {
    display: flex;
    gap: 5px;
}

.pagination-btn[b-lialcwu9ye] {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    background: white;
    color: #495057;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled)[b-lialcwu9ye] {
    background: #e9ecef;
}

.pagination-btn.active[b-lialcwu9ye] {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.pagination-btn:disabled[b-lialcwu9ye] {
    opacity: 0.5;
    cursor: not-allowed;
}

.items-per-page[b-lialcwu9ye] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #495057;
}

.items-per-page select[b-lialcwu9ye] {
    padding: 6px 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: white;
}

/* Modal Styles */
.modal-overlay[b-lialcwu9ye] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(6px);
    animation: overlayFadeIn-b-lialcwu9ye 0.2s ease;
}

@keyframes overlayFadeIn-b-lialcwu9ye {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content[b-lialcwu9ye] {
    background: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    animation: modalSlideIn-b-lialcwu9ye 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.large-modal[b-lialcwu9ye] {
    max-width: 720px;
}

@keyframes modalSlideIn-b-lialcwu9ye {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(-12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header[b-lialcwu9ye] {
    padding: 24px 28px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, #f8fffe, #ffffff);
    position: relative;
}

.modal-header-left[b-lialcwu9ye] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.modal-header-icon[b-lialcwu9ye] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #28a745, #20c997);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.modal-header-icon i[b-lialcwu9ye] {
    font-size: 20px;
    color: white;
}

.modal-header h3[b-lialcwu9ye] {
    margin: 0;
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
}

.modal-header-subtitle[b-lialcwu9ye] {
    margin: 2px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 400;
}

.modal-close[b-lialcwu9ye] {
    background: #f1f5f9;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #64748b;
    padding: 0;
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.modal-close:hover[b-lialcwu9ye] {
    background: #e2e8f0;
    color: #334155;
    transform: scale(1.05);
}

.modal-close i[b-lialcwu9ye] {
    font-size: 13px;
}

.modal-body[b-lialcwu9ye] {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
}

/* Form Sections */
.form-section[b-lialcwu9ye] {
    margin-bottom: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-section:hover[b-lialcwu9ye] {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-section:last-of-type[b-lialcwu9ye] {
    margin-bottom: 0;
}

.form-section-title[b-lialcwu9ye] {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.form-section-title i[b-lialcwu9ye] {
    font-size: 14px;
    color: #28a745;
}

.form-row[b-lialcwu9ye] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row:last-child[b-lialcwu9ye] {
    margin-bottom: 0;
}

.form-group[b-lialcwu9ye] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label[b-lialcwu9ye] {
    font-weight: 600;
    color: #374151;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i[b-lialcwu9ye] {
    font-size: 13px;
    color: #28a745;
    opacity: 0.85;
}

.form-input[b-lialcwu9ye] {
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #1e293b;
    height: 42px;
    line-height: 1.4;
    box-sizing: border-box;
}

.form-input[b-lialcwu9ye]::placeholder {
    color: #94a3b8;
}

.form-input:hover[b-lialcwu9ye] {
    border-color: #cbd5e1;
}

.form-input:focus[b-lialcwu9ye] {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.12);
    background: #ffffff;
}

.notes-textarea[b-lialcwu9ye] {
    resize: vertical;
    min-height: 80px;
    height: auto;
}

.modal-actions[b-lialcwu9ye] {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.btn-cancel[b-lialcwu9ye] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-cancel:hover[b-lialcwu9ye] {
    background: #e2e8f0;
    color: #334155;
    border-color: #cbd5e1;
}

.btn-submit[b-lialcwu9ye] {
    padding: 11px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
}

.btn-submit:hover[b-lialcwu9ye] {
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.35);
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content[b-lialcwu9ye] {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-actions[b-lialcwu9ye] {
        width: 100%;
        justify-content: flex-start;
    }

    .search-filter-section[b-lialcwu9ye],
    .stats-section[b-lialcwu9ye],
    .view-controls[b-lialcwu9ye],
    .patients-content[b-lialcwu9ye],
    .pagination-container[b-lialcwu9ye] {
        padding: 0 15px;
    }

    .filter-controls[b-lialcwu9ye] {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group[b-lialcwu9ye] {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .stats-section[b-lialcwu9ye] {
        grid-template-columns: 1fr;
    }

    .patients-grid[b-lialcwu9ye] {
        grid-template-columns: 1fr;
    }

    .form-row[b-lialcwu9ye] {
        grid-template-columns: 1fr;
    }

    .form-section[b-lialcwu9ye] {
        padding: 16px;
    }

    .modal-header[b-lialcwu9ye] {
        padding: 20px;
    }

    .modal-body[b-lialcwu9ye] {
        padding: 20px;
    }

    .modal-header-left[b-lialcwu9ye] {
        gap: 10px;
    }

    .modal-header-icon[b-lialcwu9ye] {
        width: 38px;
        height: 38px;
    }

    .pagination-container[b-lialcwu9ye] {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .patients-table-container[b-lialcwu9ye] {
        overflow-x: auto;
    }

    .patients-table[b-lialcwu9ye] {
        min-width: 800px;
    }
}

@media (max-width: 480px) {
    .page-title[b-lialcwu9ye] {
        font-size: 1.8rem;
    }

    .patient-card[b-lialcwu9ye] {
        padding: 15px;
    }

    .modal-content[b-lialcwu9ye] {
        width: 95%;
        margin: 20px;
    }

    .modal-header[b-lialcwu9ye],
    .modal-body[b-lialcwu9ye] {
        padding: 16px;
    }

    .form-section[b-lialcwu9ye] {
        padding: 14px;
        margin-bottom: 16px;
    }

    .modal-actions[b-lialcwu9ye] {
        flex-direction: column;
    }

    .modal-actions .btn[b-lialcwu9ye] {
        width: 100%;
        justify-content: center;
    }
}
