@import '_content/SharedComponents.Rcl/SharedComponents.Rcl.4xlav8wws8.bundle.scp.css';

/* /Components/Layout/DnaLoader.razor.rz.scp.css */
.dna-loader-overlay[b-dhkrw7f8ci] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 250, 252, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.dna-loader-card[b-dhkrw7f8ci] {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border: none;
}

.dna-loader-inline[b-dhkrw7f8ci] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
}

.dna-loader[b-dhkrw7f8ci] {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    height: 48px;
}

.dna-strand[b-dhkrw7f8ci] {
    position: relative;
    width: 4px;
    height: 36px;
    background: rgba(79, 70, 229, 0.12);
    border-radius: 2px;
}

.dna-strand[b-dhkrw7f8ci]::before,
.dna-strand[b-dhkrw7f8ci]::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    left: -2px;
    animation: dna-rotate-b-dhkrw7f8ci 1.8s ease-in-out infinite;
}

.dna-strand[b-dhkrw7f8ci]::before {
    background: #4f46e5;
    animation-delay: calc(var(--i) * -0.15s);
}

.dna-strand[b-dhkrw7f8ci]::after {
    background: #818cf8;
    animation-delay: calc(var(--i) * -0.15s - 0.9s);
}

@keyframes dna-rotate-b-dhkrw7f8ci {

    0%,
    100% {
        top: 0%;
        transform: scale(1.2);
        z-index: 2;
    }

    50% {
        top: 80%;
        transform: scale(0.7);
        z-index: 1;
        opacity: 0.7;
    }
}

.dna-loader-text[b-dhkrw7f8ci] {
    font-size: 13px;
    font-weight: 800;
    color: #4f46e5;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-x90scur8yr] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-x90scur8yr] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Sidebar Glassmorphism Overrides */
.app-container[b-x90scur8yr] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 60%, #e0e7ff 100%);
}

:host-context([data-theme="dark"]) .app-container[b-x90scur8yr],
[data-theme="dark"] .app-container[b-x90scur8yr] {
    background: #090d16 !important;
}

.sidebar[b-x90scur8yr] {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    border-right: 1px solid rgba(226, 232, 240, 0.8) !important;
    color: #0f172a !important;
    box-shadow: 6px 0 30px rgba(15, 23, 42, 0.04) !important;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Header & Logo styling */
.sidebar-header[b-x90scur8yr] {
    border-bottom: 1px solid rgba(241, 245, 249, 0.8) !important;
    position: relative !important;
    background: transparent !important;
    padding: 0.85rem 0.95rem !important;
}

.logo-container img[b-x90scur8yr] {
    border-radius: 8px !important;
    padding: 2px !important;
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%) !important;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.2) !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.logo-container:hover img[b-x90scur8yr] {
    transform: scale(1.08) rotate(-3deg) !important;
}

.logo-title[b-x90scur8yr] {
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtitle[b-x90scur8yr] {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
    color: #4f46e5;
    background: #eef2ff;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    border: none;
}

.logo-subtitle[b-x90scur8yr]::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10b981;
    margin-right: 4px;
    box-shadow: 0 0 6px #10b981;
    animation: statusPulse-b-x90scur8yr 2s infinite;
}

@keyframes statusPulse-b-x90scur8yr {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.3);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Sidebar Search Bar */
.sidebar-search-container[b-x90scur8yr] {
    padding: 0.5rem 0.75rem !important;
    border-bottom: none !important;
    background: transparent;
}

.sidebar-search-wrapper[b-x90scur8yr] {
    position: relative;
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.4rem 0.7rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-search-wrapper:focus-within[b-x90scur8yr] {
    background: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.sidebar-search-icon[b-x90scur8yr] {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-right: 0.55rem;
    transition: color 0.2s ease;
}

.sidebar-search-wrapper:focus-within .sidebar-search-icon[b-x90scur8yr] {
    color: #6366f1;
}

.sidebar-search-input[b-x90scur8yr] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f172a;
    width: 100%;
}

.sidebar-search-input[b-x90scur8yr]::placeholder {
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 500;
}

.search-shortcut-badge[b-x90scur8yr] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 1px 5px;
    border-radius: 5px;
    letter-spacing: 0.02em;
    pointer-events: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sidebar-search-clear[b-x90scur8yr] {
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.sidebar-search-clear:hover[b-x90scur8yr] {
    color: #ef4444;
}

.sidebar.collapsed .sidebar-search-container[b-x90scur8yr] {
    display: none !important;
}

/* Live Search Results Container */
.sidebar-search-results[b-x90scur8yr] {
    padding: 0.4rem 0.65rem !important;
}

.sidebar-search-badge[b-x90scur8yr] {
    background: #eef2ff !important;
    color: #4f46e5 !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    padding: 0.15rem 0.45rem !important;
    border-radius: 5px !important;
    border: 1px solid #c7d2fe !important;
}

.sidebar-search-item[b-x90scur8yr] {
    padding: 0.5rem 0.7rem !important;
    margin-bottom: 0.25rem !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s ease !important;
}

.sidebar-search-item:hover[b-x90scur8yr] {
    background: #eef2ff !important;
    border-color: #c7d2fe !important;
    transform: translateX(2px);
}

/* Sidebar Sections & Titles */
.sidebar-section-title[b-x90scur8yr] {
    color: #64748b !important;
    font-size: 0.70rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    padding: 0.75rem 0.75rem 0.25rem !important;
    text-transform: uppercase !important;
}

/* Navigation Items Styling */
.sidebar[b-x90scur8yr]  .nav-item {
    color: #334155 !important;
    font-size: 0.82rem !important;
    font-weight: 550 !important;
    letter-spacing: -0.01em !important;
    padding: 0.45rem 0.7rem !important;
    margin: 0.12rem 0.55rem !important;
    border-radius: 9px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
}

.sidebar[b-x90scur8yr]  .nav-item:hover:not(.active) {
    background: rgba(99, 102, 241, 0.07) !important;
    color: #4f46e5 !important;
    transform: translateX(3px) !important;
    border-color: rgba(199, 210, 254, 0.4) !important;
}

.sidebar[b-x90scur8yr]  .nav-item.active {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%) !important;
    color: #ffffff !important;
    font-weight: 650 !important;
    letter-spacing: -0.01em !important;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.32) !important;
    border: none !important;
    transform: translateX(3px) !important;
}

.sidebar[b-x90scur8yr]  .nav-item i {
    width: 26px !important;
    height: 26px !important;
    border-radius: 7px !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0;
}

.sidebar[b-x90scur8yr]  .nav-item:hover:not(.active) i {
    background: #ffffff !important;
    color: #4f46e5 !important;
    transform: scale(1.08) !important;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.15) !important;
}

.sidebar[b-x90scur8yr]  .nav-item.active i {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* Collapsed Sidebar Adjustments */
.sidebar.collapsed .sidebar-header[b-x90scur8yr] {
    padding: 0.75rem 0.5rem !important;
    justify-content: center !important;
    position: relative !important;
    flex-direction: row !important;
}

.sidebar.collapsed .logo-container[b-x90scur8yr] {
    justify-content: center !important;
    gap: 0 !important;
    margin: 0 auto !important;
}

.sidebar.collapsed .logo-container div[b-x90scur8yr] {
    display: none !important;
}

.sidebar.collapsed[b-x90scur8yr]  .nav-item {
    justify-content: center !important;
    padding: 0.45rem !important;
    margin: 0.25rem 0.45rem !important;
    border-radius: 8px !important;
    border: none !important;
}

.sidebar.collapsed[b-x90scur8yr]  .nav-item span {
    display: none !important;
}

.sidebar.collapsed[b-x90scur8yr]  .nav-item.active {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3) !important;
}

/* Desktop Collapse Arrow Button */
.desktop-toggle[b-x90scur8yr] {
    position: absolute !important;
    right: -14px;
    top: 50%;
    transform: translateY(-50%) !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid #c7d2fe !important;
    color: #4f46e5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.78rem !important;
    cursor: pointer !important;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.15) !important;
    z-index: 1010 !important;
    transition: all 0.2s ease-in-out !important;
}

.desktop-toggle:hover[b-x90scur8yr] {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.desktop-toggle:active[b-x90scur8yr] {
    transform: translateY(-50%) scale(0.95) !important;
}

/* Responsive Hide Toggle Button */
@media (max-width: 992px) {
    .desktop-toggle[b-x90scur8yr] {
        display: none !important;
    }
}

/* Sidebar Menu Scrollable Area */
.sidebar-menu[b-x90scur8yr] {
    flex: 1 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0.4rem 0 2rem 0 !important;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 transparent !important;
}

.sidebar-menu[b-x90scur8yr]::-webkit-scrollbar {
    width: 4px;
}

.sidebar-menu[b-x90scur8yr]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Sidebar submenu styles */
.nav-submenu[b-x90scur8yr] {
    display: flex;
    flex-direction: column;
    background: transparent;
    margin: 0.15rem 0 0.35rem 1.25rem !important;
    border-left: 1.5px solid #c7d2fe !important;
    padding-left: 0.55rem !important;
    gap: 1px !important;
}

.nav-submenu[b-x90scur8yr]  .nav-submenu-item {
    display: flex !important;
    align-items: center !important;
    padding: 0.38rem 0.65rem !important;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 0.79rem !important;
    font-weight: 500 !important;
    letter-spacing: -0.005em !important;
    border-radius: 7px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
}

.nav-submenu[b-x90scur8yr]  .nav-submenu-item::before {
    content: '›';
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    margin-right: 0.45rem;
    color: #818cf8;
    transition: all 0.2s ease;
}

.nav-submenu[b-x90scur8yr]  .nav-submenu-item span {
    text-decoration: none !important;
}

.nav-submenu[b-x90scur8yr]  .nav-submenu-item:hover {
    background: #eef2ff !important;
    color: #4f46e5 !important;
    font-weight: 600 !important;
    transform: translateX(3px) !important;
}

.nav-submenu[b-x90scur8yr]  .nav-submenu-item:hover::before {
    color: #4f46e5;
    transform: translateX(2px);
}

.nav-submenu[b-x90scur8yr]  .nav-submenu-item.active {
    background: rgba(79, 70, 229, 0.1) !important;
    color: #4f46e5 !important;
    font-weight: 700 !important;
    border: 1px solid rgba(79, 70, 229, 0.2) !important;
    box-shadow: 0 1px 4px rgba(79, 70, 229, 0.05) !important;
}

.nav-submenu[b-x90scur8yr]  .nav-submenu-item.active::before {
    color: #4f46e5;
    content: '»';
}

.nav-submenu[b-x90scur8yr]  .nav-submenu-item.active::before {
    color: #4f46e5;
}

.dropdown-arrow-icon[b-x90scur8yr] {
    font-size: 0.7rem !important;
    color: #64748b !important;
    transition: transform 0.25s ease !important;
}

/* Submenu dropdown buttons styling reset */
button.nav-item[b-x90scur8yr] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: transparent;
    border: none;
    text-align: left;
    width: calc(100% - 1.3rem) !important;
    cursor: pointer;
    font-family: inherit;
}

button.nav-item .dropdown-arrow-icon[b-x90scur8yr] {
    font-size: 0.65rem !important;
    color: #64748b !important;
    opacity: 0.85;
}

/* Sidebar collapsed overrides for submenus */
.sidebar.collapsed .nav-submenu[b-x90scur8yr] {
    display: none !important;
}

.sidebar.collapsed .dropdown-arrow-icon[b-x90scur8yr] {
    display: none !important;
}

/* Access Restricted & Loading Premium Styles */
.access-loading-container[b-x90scur8yr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
    background: #f8fafc;
}

.premium-spinner[b-x90scur8yr] {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    border-top-color: #4f46e5;
    animation: spin-b-x90scur8yr 1s ease-in-out infinite;
}

.loading-text[b-x90scur8yr] {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    margin-top: 16px;
}

@keyframes spin-b-x90scur8yr {
    to {
        transform: rotate(360deg);
    }
}

.access-denied-container[b-x90scur8yr] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
    padding: 40px;
    background: radial-gradient(circle at 10% 20%, rgba(243, 244, 246, 1) 0%, rgba(229, 231, 235, 0.5) 90.1%);
}

.access-denied-card[b-x90scur8yr] {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 48px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: scaleUpFade-b-x90scur8yr 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUpFade-b-x90scur8yr {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.lock-icon-wrapper[b-x90scur8yr] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #e11d48;
    box-shadow: 0 10px 20px -5px rgba(225, 29, 72, 0.15);
    position: relative;
}

.lock-icon-wrapper[b-x90scur8yr]::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #fda4af;
    animation: pulseRing-b-x90scur8yr 2s infinite;
}

@keyframes pulseRing-b-x90scur8yr {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.lock-icon[b-x90scur8yr] {
    font-size: 38px;
}

.denied-title[b-x90scur8yr] {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.denied-message[b-x90scur8yr] {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 32px;
}

.denied-message strong[b-x90scur8yr] {
    color: #0f172a;
    font-weight: 600;
}

.denied-actions[b-x90scur8yr] {
    display: flex;
    gap: 16px;
    width: 100%;
}

.btn-denied-primary[b-x90scur8yr],
.btn-denied-secondary[b-x90scur8yr] {
    flex: 1;
    height: 48px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-denied-primary[b-x90scur8yr] {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    color: #ffffff;
    box-shadow: 0 8px 16px -4px rgba(79, 70, 229, 0.3);
}

.btn-denied-primary:hover[b-x90scur8yr] {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -4px rgba(79, 70, 229, 0.4);
}

.btn-denied-secondary[b-x90scur8yr] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-denied-secondary:hover[b-x90scur8yr] {
    background: #e2e8f0;
    color: #1e293b;
}

/* Sidebar Footer & Profile Styles */
.sidebar-footer[b-x90scur8yr] {
    border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
    padding: 0.6rem 0.7rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    background: transparent !important;
    box-shadow: 0 -4px 15px rgba(15, 23, 42, 0.02) !important;
}

/* --- Top-Right Wi-Fi Status Button in Chrome Tab Bar --- */
.chrome-wifi-btn[b-x90scur8yr] {
    height: 26px !important;
    padding: 0 10px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #334155 !important;
    font-size: 0.73rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    user-select: none !important;
    flex-shrink: 0 !important;
}

.chrome-wifi-btn.ultra-fast[b-x90scur8yr] {
    border-color: #6ee7b7 !important;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
    color: #047857 !important;
}

.chrome-wifi-btn.fast[b-x90scur8yr] {
    border-color: #86efac !important;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
    color: #15803d !important;
}

.chrome-wifi-btn.normal[b-x90scur8yr] {
    border-color: #93c5fd !important;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
    color: #1d4ed8 !important;
}

.chrome-wifi-btn.testing[b-x90scur8yr] {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
    color: #64748b !important;
}

.chrome-wifi-btn.offline[b-x90scur8yr] {
    border-color: #fca5a5 !important;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
    color: #dc2626 !important;
}

.chrome-wifi-btn:hover[b-x90scur8yr] {
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1) !important;
}

.chrome-wifi-btn.ultra-fast:hover[b-x90scur8yr] {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%) !important;
}

.wifi-btn-dot[b-x90scur8yr] {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7) !important;
    animation: wifiPulse-b-x90scur8yr 2s infinite !important;
    flex-shrink: 0 !important;
}

.wifi-btn-dot.testing-pulse[b-x90scur8yr] {
    background: #3b82f6 !important;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7) !important;
    animation: wifiTestPulse-b-x90scur8yr 0.8s infinite !important;
}

.chrome-wifi-btn.offline .wifi-btn-dot[b-x90scur8yr] {
    background: #ef4444 !important;
    box-shadow: none !important;
    animation: none !important;
}

.wifi-btn-text[b-x90scur8yr] {
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
}

/* --- Network Connection Diagnostics Modal Dialog --- */
.network-modal-overlay[b-x90scur8yr] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(15, 23, 42, 0.18) !important;
    z-index: 10500 !important;
    backdrop-filter: blur(2px) !important;
    animation: fadeInModal-b-x90scur8yr 0.18s ease-out !important;
}

.network-modal-card[b-x90scur8yr] {
    position: fixed !important;
    top: 36px !important;
    right: 14px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    width: 325px !important;
    max-width: calc(100vw - 28px) !important;
    box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.06) !important;
    overflow: hidden !important;
    border: 1px solid #cbd5e1 !important;
    animation: popoverSlideDown-b-x90scur8yr 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-align: left !important;
}

.network-modal-header[b-x90scur8yr] {
    background: #ffffff !important;
    padding: 9px 12px !important;
    color: #0f172a !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid #f1f5f9 !important;
    position: relative !important;
}

.network-modal-title[b-x90scur8yr] {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.network-header-icon-badge[b-x90scur8yr] {
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    flex-shrink: 0 !important;
    background: #eff6ff !important;
    color: #02659e !important;
    border: 1px solid #dbeafe !important;
}

.network-header-icon-badge.badge-ultra[b-x90scur8yr] {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border-color: #a7f3d0 !important;
}

.network-header-icon-badge.badge-offline[b-x90scur8yr] {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border-color: #fecaca !important;
}

.modal-title-wrap[b-x90scur8yr] {
    display: flex !important;
    flex-direction: column !important;
}

.modal-main-title[b-x90scur8yr] {
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.01em !important;
    line-height: 1.15 !important;
}

.modal-sub-title[b-x90scur8yr] {
    font-size: 0.6rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    margin-top: 1px !important;
    line-height: 1.15 !important;
}

.network-modal-close[b-x90scur8yr] {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.72rem !important;
    cursor: pointer !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}

.network-modal-close:hover[b-x90scur8yr] {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #dc2626 !important;
    transform: rotate(90deg) !important;
}

.network-modal-body[b-x90scur8yr] {
    padding: 9px 11px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    background: #ffffff !important;
}

/* Speed Hero Card */
.speed-hero-card[b-x90scur8yr] {
    border-radius: 10px !important;
    padding: 8px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    border: 1px solid #e2e8f0 !important;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 1px 3px rgba(15, 23, 42, 0.02) !important;
}

.speed-hero-card.hero-ultra[b-x90scur8yr] {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%) !important;
    border-color: #a7f3d0 !important;
}

.speed-hero-card.hero-fast[b-x90scur8yr] {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%) !important;
    border-color: #bbf7d0 !important;
}

.speed-hero-card.hero-normal[b-x90scur8yr] {
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%) !important;
    border-color: #bfdbfe !important;
}

.speed-hero-card.hero-offline[b-x90scur8yr] {
    background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 100%) !important;
    border-color: #fecaca !important;
}

.speed-hero-row[b-x90scur8yr] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.speed-number-display[b-x90scur8yr] {
    display: flex !important;
    align-items: baseline !important;
}

.speed-main-val[b-x90scur8yr] {
    font-size: 1.55rem !important;
    font-weight: 850 !important;
    color: #0f172a !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.speed-unit[b-x90scur8yr] {
    font-size: 0.78rem !important;
    font-weight: 750 !important;
    color: #02659e !important;
    margin-left: 3px !important;
}

.speed-hero-right-col[b-x90scur8yr] {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.speed-status-pill[b-x90scur8yr] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 2px 6px !important;
    border-radius: 10px !important;
    font-size: 0.56rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    background: #ffffff !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.speed-hero-card.hero-offline .speed-status-pill[b-x90scur8yr] {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border-color: #fca5a5 !important;
}

.speed-hero-card.hero-normal .speed-status-pill[b-x90scur8yr] {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-color: #bfdbfe !important;
}

.speed-pulse-dot[b-x90scur8yr] {
    width: 5px !important;
    height: 5px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    animation: wifiPulse-b-x90scur8yr 2s infinite !important;
    flex-shrink: 0 !important;
}

.speed-pulse-dot.testing-pulse[b-x90scur8yr] {
    background: #3b82f6 !important;
    animation: wifiTestPulse-b-x90scur8yr 0.8s infinite !important;
}

/* Signal Indicator Bars */
.signal-bars-indicator[b-x90scur8yr] {
    display: flex !important;
    align-items: flex-end !important;
    gap: 2px !important;
    height: 14px !important;
}

.signal-bar[b-x90scur8yr] {
    width: 3px !important;
    border-radius: 1px !important;
    background: #cbd5e1 !important;
    transition: background 0.3s ease !important;
}

.signal-bar.bar-1[b-x90scur8yr] { height: 3px !important; }
.signal-bar.bar-2[b-x90scur8yr] { height: 6px !important; }
.signal-bar.bar-3[b-x90scur8yr] { height: 10px !important; }
.signal-bar.bar-4[b-x90scur8yr] { height: 14px !important; }

.signal-bar.active[b-x90scur8yr] {
    background: #10b981 !important;
}

.speed-hero-card.hero-offline .signal-bar.active[b-x90scur8yr] {
    background: #ef4444 !important;
}

/* Speed Hero Sub-metrics */
.speed-hero-stats[b-x90scur8yr] {
    display: flex !important;
    gap: 6px !important;
    padding-top: 4px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.hero-stat-pill[b-x90scur8yr] {
    flex: 1 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 3px 6px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.hero-stat-label[b-x90scur8yr] {
    font-size: 0.54rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    display: flex !important;
    align-items: center !important;
}

.hero-stat-val[b-x90scur8yr] {
    font-size: 0.66rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    font-family: 'Consolas', 'Courier New', monospace !important;
}

/* Details Grid */
.network-details-grid[b-x90scur8yr] {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 5px !important;
}

.network-detail-item[b-x90scur8yr] {
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 7px !important;
    padding: 5px 7px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02) !important;
    transition: transform 0.15s ease, border-color 0.15s ease !important;
}

.network-detail-item:hover[b-x90scur8yr] {
    border-color: #cbd5e1 !important;
    transform: translateY(-1px) !important;
}

.detail-item-icon[b-x90scur8yr] {
    width: 22px !important;
    height: 22px !important;
    border-radius: 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.75rem !important;
    flex-shrink: 0 !important;
}

.detail-item-icon.icon-wifi[b-x90scur8yr] {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid #a7f3d0 !important;
}

.detail-item-icon.icon-device[b-x90scur8yr] {
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe !important;
}

.detail-item-icon.icon-ip[b-x90scur8yr] {
    background: #f5f3ff !important;
    color: #7c3aed !important;
    border: 1px solid #ddd6fe !important;
}

.detail-item-icon.icon-status[b-x90scur8yr] {
    background: #f0fdf4 !important;
    color: #16a34a !important;
    border: 1px solid #bbf7d0 !important;
}

.detail-item-content[b-x90scur8yr] {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    min-width: 0 !important;
}

.detail-item-label[b-x90scur8yr] {
    font-size: 0.52rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
}

.detail-item-val[b-x90scur8yr] {
    font-size: 0.68rem !important;
    font-weight: 750 !important;
    color: #1e293b !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    margin-top: 1px !important;
}

.detail-item-val.font-mono[b-x90scur8yr] {
    font-family: 'Consolas', 'Courier New', monospace !important;
    font-size: 0.66rem !important;
}

.detail-item-val.text-emerald[b-x90scur8yr] {
    color: #059669 !important;
}

/* Modal Footer */
.network-modal-footer[b-x90scur8yr] {
    padding: 6px 10px !important;
    background: #f8fafc !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.network-footer-info[b-x90scur8yr] {
    font-size: 0.58rem !important;
    color: #64748b !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.btn-network-modal-retest[b-x90scur8yr] {
    background: linear-gradient(135deg, #02659e 0%, #014d79 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 0.68rem !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    box-shadow: 0 2px 6px rgba(2, 101, 158, 0.25) !important;
    transition: all 0.15s ease !important;
}

.btn-network-modal-retest:hover[b-x90scur8yr] {
    background: linear-gradient(135deg, #0284c7 0%, #02659e 100%) !important;
    box-shadow: 0 3px 8px rgba(2, 101, 158, 0.35) !important;
    transform: translateY(-1px) !important;
}

.btn-network-modal-retest.is-testing[b-x90scur8yr] {
    opacity: 0.8 !important;
    pointer-events: none !important;
}

.btn-network-modal-retest.is-testing i[b-x90scur8yr] {
    animation: wifiBtnSpin-b-x90scur8yr 0.8s linear infinite !important;
}

@keyframes popoverSlideDown-b-x90scur8yr {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animations */
@keyframes wifiPulse-b-x90scur8yr {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes wifiTestPulse-b-x90scur8yr {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

@keyframes wifiBtnSpin-b-x90scur8yr {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeInModal-b-x90scur8yr {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleUpModal-b-x90scur8yr {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Dark mode theme overrides for Network Button & Modal */
[data-theme="dark"] .chrome-wifi-btn[b-x90scur8yr] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .chrome-wifi-btn.ultra-fast[b-x90scur8yr] {
    background: #064e3b !important;
    border-color: #059669 !important;
    color: #34d399 !important;
}

[data-theme="dark"] .chrome-wifi-btn.normal[b-x90scur8yr] {
    background: #1e3a8a !important;
    border-color: #1d4ed8 !important;
    color: #93c5fd !important;
}

[data-theme="dark"] .chrome-wifi-btn.testing[b-x90scur8yr] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .chrome-wifi-btn.offline[b-x90scur8yr] {
    background: #7f1d1d !important;
    border-color: #991b1b !important;
    color: #f87171 !important;
}

[data-theme="dark"] .network-modal-card[b-x90scur8yr] {
    background: #0f172a !important;
    border-color: #334155 !important;
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .network-modal-header[b-x90scur8yr] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .modal-main-title[b-x90scur8yr] {
    color: #f8fafc !important;
}

[data-theme="dark"] .modal-sub-title[b-x90scur8yr] {
    color: #94a3b8 !important;
}

[data-theme="dark"] .network-modal-close[b-x90scur8yr] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .network-modal-close:hover[b-x90scur8yr] {
    background: #7f1d1d !important;
    border-color: #991b1b !important;
    color: #f87171 !important;
}

[data-theme="dark"] .network-modal-body[b-x90scur8yr] {
    background: #0f172a !important;
}

[data-theme="dark"] .speed-hero-card[b-x90scur8yr] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .speed-hero-card.hero-ultra[b-x90scur8yr] {
    background: linear-gradient(135deg, #064e3b 0%, #022c22 100%) !important;
    border-color: #059669 !important;
}

[data-theme="dark"] .speed-hero-card.hero-normal[b-x90scur8yr] {
    background: linear-gradient(135deg, #1e3a8a 0%, #172554 100%) !important;
    border-color: #1d4ed8 !important;
}

[data-theme="dark"] .speed-hero-card.hero-offline[b-x90scur8yr] {
    background: linear-gradient(135deg, #7f1d1d 0%, #450a0a 100%) !important;
    border-color: #991b1b !important;
}

[data-theme="dark"] .speed-main-val[b-x90scur8yr] {
    color: #f8fafc !important;
}

[data-theme="dark"] .hero-stat-pill[b-x90scur8yr] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .hero-stat-val[b-x90scur8yr] {
    color: #f8fafc !important;
}

[data-theme="dark"] .network-detail-item[b-x90scur8yr] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .detail-item-val[b-x90scur8yr] {
    color: #f8fafc !important;
}

[data-theme="dark"] .detail-item-icon[b-x90scur8yr] {
    background: #0f172a !important;
}

[data-theme="dark"] .network-modal-footer[b-x90scur8yr] {
    background: #1e293b !important;
    border-top-color: #334155 !important;
}

[data-theme="dark"] .btn-network-modal-close[b-x90scur8yr] {
    background: #0f172a !important;
    color: #cbd5e1 !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .btn-network-modal-close:hover[b-x90scur8yr] {
    background: #334155 !important;
    color: #ffffff !important;
}

.sidebar-profile[b-x90scur8yr] {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding: 0.5rem 0.65rem !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    width: 100% !important;
}

.profile-pic-container[b-x90scur8yr] {
    position: relative !important;
    width: 36px !important;
    height: 36px !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.profile-pic-initials[b-x90scur8yr] {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    font-size: 0.82rem !important;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25) !important;
    flex-shrink: 0 !important;
}

.online-status-dot[b-x90scur8yr] {
    position: absolute !important;
    bottom: -1px !important;
    right: -1px !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6) !important;
    animation: statusPulse-b-x90scur8yr 2s infinite !important;
    z-index: 2 !important;
}

.profile-info[b-x90scur8yr] {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    min-width: 0 !important;
    flex: 1 !important;
    justify-content: center !important;
}

.profile-name[b-x90scur8yr] {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    line-height: 1.25 !important;
}

.profile-role[b-x90scur8yr] {
    font-size: 0.68rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    line-height: 1.25 !important;
    margin-top: 1px !important;
}

.sidebar-footer .logout-item[b-x90scur8yr] {
    color: #dc2626 !important;
    font-size: 0.79rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.005em !important;
    padding: 0.42rem 0.75rem !important;
    border-radius: 9px !important;
    background: #fff1f2 !important;
    border: none !important;
    transition: all 0.2s ease-in-out !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100%;
    cursor: pointer;
}

.sidebar-footer .logout-item:hover[b-x90scur8yr] {
    background: #dc2626 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.2) !important;
}

.sidebar-footer .logout-item i[b-x90scur8yr] {
    color: inherit !important;
    font-size: 0.85rem !important;
}

/* Sidebar Shift Buttons (End Shift / Open Shift) */
.sidebar-footer .btn-sidebar-shift[b-x90scur8yr] {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    padding: 0.45rem 0.75rem !important;
    border-radius: 9px !important;
    border: none !important;
    transition: all 0.2s ease-in-out !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    cursor: pointer !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
}

.sidebar-footer .btn-sidebar-end-shift[b-x90scur8yr] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25) !important;
}

.sidebar-footer .btn-sidebar-end-shift span[b-x90scur8yr] {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.sidebar-footer .btn-sidebar-end-shift i[b-x90scur8yr] {
    color: #ffffff !important;
    font-size: 0.9rem !important;
}

.sidebar-footer .btn-sidebar-end-shift:hover[b-x90scur8yr] {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4) !important;
    transform: translateY(-1px);
}

.sidebar-footer .btn-sidebar-open-shift[b-x90scur8yr] {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25) !important;
}

.sidebar-footer .btn-sidebar-open-shift span[b-x90scur8yr] {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.sidebar-footer .btn-sidebar-open-shift i[b-x90scur8yr] {
    color: #ffffff !important;
    font-size: 0.9rem !important;
}

.sidebar-footer .btn-sidebar-open-shift:hover[b-x90scur8yr] {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4) !important;
    transform: translateY(-1px);
}

.sidebar.collapsed .sidebar-footer .btn-sidebar-shift[b-x90scur8yr] {
    justify-content: center !important;
    padding: 0.45rem 0 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 9px !important;
    margin: 0 auto !important;
}

.sidebar.collapsed .sidebar-footer .btn-sidebar-shift span[b-x90scur8yr] {
    display: none !important;
}

/* Collapsed Sidebar overrides */
.sidebar.collapsed .sidebar-theme-container[b-x90scur8yr] {
    padding: 0.4rem 0.25rem !important;
    display: flex !important;
    justify-content: center !important;
    border-top: 1px solid #e2e8f0 !important;
    width: 100% !important;
}

.sidebar-theme-collapsed-btn[b-x90scur8yr] {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: #f1f5f9 !important;
    border: 1.5px solid #cbd5e1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    margin: 0 auto !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.sidebar-theme-collapsed-btn:hover[b-x90scur8yr] {
    transform: scale(1.1) !important;
    background: #eef2ff !important;
    border-color: #818cf8 !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2) !important;
}

.sidebar.collapsed .sidebar-footer[b-x90scur8yr] {
    padding: 0.55rem 0.45rem !important;
    align-items: center !important;
    gap: 0.45rem !important;
}

.sidebar.collapsed .sidebar-profile[b-x90scur8yr] {
    justify-content: center !important;
    width: 100% !important;
    padding: 0.25rem 0 !important;
    background: transparent !important;
}

.sidebar.collapsed .profile-info[b-x90scur8yr] {
    display: none !important;
}

.sidebar.collapsed .sidebar-footer .logout-item[b-x90scur8yr] {
    justify-content: center !important;
    padding: 0.45rem 0 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 9px !important;
    margin: 0 auto !important;
}

.sidebar.collapsed .sidebar-footer .logout-item span[b-x90scur8yr] {
    display: none !important;
}

/* Sidebar Version Container at bottom of nav bar */
.sidebar-version-container[b-x90scur8yr] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0.35rem 0.65rem !important;
    margin-top: 0.15rem !important;
    border-top: 1px dashed #e2e8f0 !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    letter-spacing: 0.02em !important;
    user-select: none !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
}

.sidebar-version-container:hover[b-x90scur8yr] {
    background: rgba(241, 245, 249, 0.7) !important;
    color: #0f172a !important;
}

.sidebar-version-container .version-dot[b-x90scur8yr] {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background-color: #10b981 !important;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.4) !important;
    flex-shrink: 0 !important;
}

.sidebar.collapsed .sidebar-version-container[b-x90scur8yr] {
    width: 100% !important;
    padding: 0.3rem 0.1rem !important;
    justify-content: center !important;
    border-top: 1px dashed #e2e8f0 !important;
}

.sidebar.collapsed .sidebar-version-container .version-dot[b-x90scur8yr] {
    display: none !important;
}

.sidebar.collapsed .sidebar-version-container .sidebar-version-text[b-x90scur8yr] {
    font-size: 0.66rem !important;
    font-weight: 700 !important;
    text-align: center !important;
}

[data-theme="dark"] .sidebar-version-container[b-x90scur8yr] {
    border-top-color: #334155 !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .sidebar-version-container:hover[b-x90scur8yr] {
    background: rgba(30, 41, 59, 0.6) !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] .sidebar-version-container .version-dot[b-x90scur8yr] {
    background-color: #38bdf8 !important;
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.5) !important;
}

/* ==========================================================================
   OPERATING BRANCH SELECTION MODAL - LUXURY GLASS CARD
   ========================================================================== */
.operating-branch-modal-overlay[b-x90scur8yr] {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.72) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
    animation: fadeInOverlay-b-x90scur8yr 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1rem;
}

.operating-branch-card[b-x90scur8yr] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 2rem 1.75rem !important;
    width: 100% !important;
    max-width: 420px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    position: relative !important;
    box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.25), 0 0 1px rgba(15, 23, 42, 0.1) !important;
    animation: scaleUpCard-b-x90scur8yr 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    color: #0f172a !important;
}

.btn-close-operating-branch[b-x90scur8yr] {
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 0.85rem !important;
    padding: 0 !important;
    z-index: 10 !important;
}

.btn-close-operating-branch:hover[b-x90scur8yr] {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #ef4444 !important;
    transform: rotate(90deg) !important;
}

[data-theme="dark"] .btn-close-operating-branch[b-x90scur8yr] {
    border-color: #334155 !important;
    background: #1e293b !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .btn-close-operating-branch:hover[b-x90scur8yr] {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: #ef4444 !important;
    color: #f87171 !important;
}

.operating-branch-icon-container[b-x90scur8yr] {
    width: 58px !important;
    height: 58px !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.6rem !important;
    margin-bottom: 0.85rem !important;
    box-shadow: 0 8px 24px -4px rgba(79, 70, 229, 0.45) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
}

.operating-branch-title[b-x90scur8yr] {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.2 !important;
}

.operating-branch-subtitle[b-x90scur8yr] {
    font-family: 'Inter', system-ui, sans-serif !important;
    font-size: 0.83rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    margin-bottom: 1.25rem !important;
}

.operating-branch-list[b-x90scur8yr] {
    width: 100% !important;
    max-height: 260px !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
    margin-bottom: 1.25rem !important;
    padding: 0.2rem 0.2rem !important;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 transparent !important;
}

.operating-branch-list[b-x90scur8yr]::-webkit-scrollbar {
    width: 4px;
}

.operating-branch-list[b-x90scur8yr]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.branch-list-item[b-x90scur8yr] {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0.7rem 0.9rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    gap: 0.75rem !important;
    text-align: left !important;
}

.branch-list-item:hover[b-x90scur8yr] {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
}

.branch-list-item.selected[b-x90scur8yr] {
    background: #eef2ff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.16) !important;
    transform: translateY(-1px) !important;
}

.branch-item-lead-icon[b-x90scur8yr] {
    width: 36px !important;
    height: 36px !important;
    border-radius: 9px !important;
    background: #e2e8f0 !important;
    color: #475569 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.05rem !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

.branch-list-item:hover .branch-item-lead-icon[b-x90scur8yr] {
    background: #e0e7ff !important;
    color: #4f46e5 !important;
}

.branch-list-item.selected .branch-item-lead-icon[b-x90scur8yr] {
    background: #4f46e5 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35) !important;
}

.branch-item-details[b-x90scur8yr] {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-width: 0 !important;
    text-align: left !important;
}

.branch-item-name[b-x90scur8yr] {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.25 !important;
}

.branch-list-item.selected .branch-item-name[b-x90scur8yr] {
    color: #3730a3 !important;
}

.branch-item-code[b-x90scur8yr] {
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin-top: 2px !important;
    letter-spacing: 0.01em !important;
}

.branch-list-item.selected .branch-item-code[b-x90scur8yr] {
    color: #6366f1 !important;
}

.branch-item-selection-indicator[b-x90scur8yr] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.branch-unselected-radio[b-x90scur8yr] {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    border: 2px solid #cbd5e1 !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
}

.branch-list-item:hover .branch-unselected-radio[b-x90scur8yr] {
    border-color: #94a3b8 !important;
}

.branch-selected-pill[b-x90scur8yr] {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    font-weight: 900 !important;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.4) !important;
}

/* Confirm & Proceed Button */
.btn-operating-branch-confirm[b-x90scur8yr] {
    width: 100% !important;
    height: 44px !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.01em !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-operating-branch-confirm:hover:not(:disabled)[b-x90scur8yr] {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(79, 70, 229, 0.45) !important;
    background: linear-gradient(135deg, #4338ca 0%, #312e81 100%) !important;
}

.btn-operating-branch-confirm:active:not(:disabled)[b-x90scur8yr] {
    transform: translateY(0) !important;
}

.btn-operating-branch-confirm:disabled[b-x90scur8yr] {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.operating-branch-empty[b-x90scur8yr] {
    padding: 1.5rem 1rem !important;
    text-align: center !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    border: 1px dashed #cbd5e1 !important;
}

.btn-add-quick-branch[b-x90scur8yr] {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 7px 16px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3) !important;
    transition: all 0.2s ease !important;
}

.btn-add-quick-branch:hover[b-x90scur8yr] {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4) !important;
}

/* ==========================================================================
   QUICK ADD BRANCH MODAL (PREMIUM REDESIGN)
   ========================================================================== */
.quick-branch-modal-card[b-x90scur8yr] {
    max-width: 440px !important;
    width: 100% !important;
    padding: 1.75rem 1.75rem 1.5rem !important;
    border-radius: 20px !important;
    text-align: left !important;
    align-items: stretch !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
}

.quick-branch-header[b-x90scur8yr] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding-bottom: 0.9rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.quick-branch-header-info[b-x90scur8yr] {
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
}

.quick-branch-icon-badge[b-x90scur8yr] {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.3rem !important;
    flex-shrink: 0 !important;
    box-shadow: 0 6px 16px -2px rgba(79, 70, 229, 0.4) !important;
}

.quick-branch-title-group[b-x90scur8yr] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.quick-branch-title[b-x90scur8yr] {
    font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
}

.quick-branch-subtitle[b-x90scur8yr] {
    font-size: 0.76rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.quick-branch-close-btn[b-x90scur8yr] {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    border: none !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.quick-branch-close-btn:hover[b-x90scur8yr] {
    background: #fee2e2 !important;
    color: #ef4444 !important;
    transform: rotate(90deg) !important;
}

.quick-branch-form-grid[b-x90scur8yr] {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.95rem !important;
    width: 100% !important;
}

.quick-branch-field[b-x90scur8yr] {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    width: 100% !important;
    text-align: left !important;
}

.quick-branch-label[b-x90scur8yr] {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    letter-spacing: 0.2px !important;
    text-transform: uppercase !important;
}

.quick-branch-required[b-x90scur8yr] {
    color: #ef4444 !important;
    font-weight: 800 !important;
}

.quick-branch-input-wrapper[b-x90scur8yr] {
    position: relative !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.quick-branch-input-icon[b-x90scur8yr] {
    position: absolute !important;
    left: 12px !important;
    color: #94a3b8 !important;
    font-size: 0.95rem !important;
    pointer-events: none !important;
    transition: color 0.2s ease !important;
}

.quick-branch-input[b-x90scur8yr] {
    width: 100% !important;
    height: 42px !important;
    padding: 0 12px 0 38px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    outline: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
}

.quick-branch-input[b-x90scur8yr]::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
    font-size: 0.82rem !important;
}

.quick-branch-input:focus[b-x90scur8yr] {
    background: #ffffff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12) !important;
}

.quick-branch-input-wrapper:focus-within .quick-branch-input-icon[b-x90scur8yr] {
    color: #4f46e5 !important;
}

.quick-branch-actions[b-x90scur8yr] {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.75rem !important;
    width: 100% !important;
    padding-top: 0.9rem !important;
    border-top: 1px solid #f1f5f9 !important;
    margin-top: 0.25rem !important;
}

.quick-branch-btn-cancel[b-x90scur8yr] {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 0.6rem 1.25rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.quick-branch-btn-cancel:hover[b-x90scur8yr] {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.quick-branch-btn-save[b-x90scur8yr] {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0.6rem 1.4rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35) !important;
    transition: all 0.2s ease !important;
}

.quick-branch-btn-save:hover:not(:disabled)[b-x90scur8yr] {
    transform: translateY(-1.5px) !important;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45) !important;
}

.quick-branch-btn-save:active:not(:disabled)[b-x90scur8yr] {
    transform: translateY(0) !important;
}

.quick-branch-btn-save:disabled[b-x90scur8yr] {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Dark Mode Overrides for Quick Branch Modal */
:host-context([data-theme="dark"]) .quick-branch-modal-card[b-x90scur8yr],
[data-theme="dark"] .quick-branch-modal-card[b-x90scur8yr] {
    background: #0f172a !important;
    border-color: #1e293b !important;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}

:host-context([data-theme="dark"]) .quick-branch-header[b-x90scur8yr],
[data-theme="dark"] .quick-branch-header[b-x90scur8yr],
:host-context([data-theme="dark"]) .quick-branch-actions[b-x90scur8yr],
[data-theme="dark"] .quick-branch-actions[b-x90scur8yr] {
    border-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .quick-branch-title[b-x90scur8yr],
[data-theme="dark"] .quick-branch-title[b-x90scur8yr] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .quick-branch-subtitle[b-x90scur8yr],
[data-theme="dark"] .quick-branch-subtitle[b-x90scur8yr] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .quick-branch-close-btn[b-x90scur8yr],
[data-theme="dark"] .quick-branch-close-btn[b-x90scur8yr] {
    background: #1e293b !important;
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .quick-branch-close-btn:hover[b-x90scur8yr],
[data-theme="dark"] .quick-branch-close-btn:hover[b-x90scur8yr] {
    background: #7f1d1d !important;
    color: #fecdd3 !important;
}

:host-context([data-theme="dark"]) .quick-branch-label[b-x90scur8yr],
[data-theme="dark"] .quick-branch-label[b-x90scur8yr] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .quick-branch-input[b-x90scur8yr],
[data-theme="dark"] .quick-branch-input[b-x90scur8yr] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .quick-branch-input:focus[b-x90scur8yr],
[data-theme="dark"] .quick-branch-input:focus[b-x90scur8yr] {
    background: #0f172a !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2) !important;
}

:host-context([data-theme="dark"]) .quick-branch-btn-cancel[b-x90scur8yr],
[data-theme="dark"] .quick-branch-btn-cancel[b-x90scur8yr] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .quick-branch-btn-cancel:hover[b-x90scur8yr],
[data-theme="dark"] .quick-branch-btn-cancel:hover[b-x90scur8yr] {
    background: #334155 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   DARK THEME OVERRIDES FOR OPERATING BRANCH MODAL
   ========================================================================== */
:host-context([data-theme="dark"]) .operating-branch-card[b-x90scur8yr],
[data-theme="dark"] .operating-branch-card[b-x90scur8yr] {
    background: #0f172a !important;
    border-color: #1e293b !important;
    color: #f8fafc !important;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.7) !important;
}

:host-context([data-theme="dark"]) .operating-branch-title[b-x90scur8yr],
[data-theme="dark"] .operating-branch-title[b-x90scur8yr] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .operating-branch-subtitle[b-x90scur8yr],
[data-theme="dark"] .operating-branch-subtitle[b-x90scur8yr] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .branch-list-item[b-x90scur8yr],
[data-theme="dark"] .branch-list-item[b-x90scur8yr] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .branch-list-item:hover[b-x90scur8yr],
[data-theme="dark"] .branch-list-item:hover[b-x90scur8yr] {
    background: #243048 !important;
    border-color: #475569 !important;
}

:host-context([data-theme="dark"]) .branch-list-item.selected[b-x90scur8yr],
[data-theme="dark"] .branch-list-item.selected[b-x90scur8yr] {
    background: rgba(79, 70, 229, 0.25) !important;
    border-color: #6366f1 !important;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25) !important;
}

:host-context([data-theme="dark"]) .branch-item-lead-icon[b-x90scur8yr],
[data-theme="dark"] .branch-item-lead-icon[b-x90scur8yr] {
    background: #161f30 !important;
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .branch-list-item:hover .branch-item-lead-icon[b-x90scur8yr],
[data-theme="dark"] .branch-list-item:hover .branch-item-lead-icon[b-x90scur8yr] {
    background: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .branch-list-item.selected .branch-item-lead-icon[b-x90scur8yr],
[data-theme="dark"] .branch-list-item.selected .branch-item-lead-icon[b-x90scur8yr] {
    background: #6366f1 !important;
    color: #ffffff !important;
}

:host-context([data-theme="dark"]) .branch-item-name[b-x90scur8yr],
[data-theme="dark"] .branch-item-name[b-x90scur8yr] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .branch-list-item.selected .branch-item-name[b-x90scur8yr],
[data-theme="dark"] .branch-list-item.selected .branch-item-name[b-x90scur8yr] {
    color: #a5b4fc !important;
}

:host-context([data-theme="dark"]) .branch-item-code[b-x90scur8yr],
[data-theme="dark"] .branch-item-code[b-x90scur8yr] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .branch-list-item.selected .branch-item-code[b-x90scur8yr],
[data-theme="dark"] .branch-list-item.selected .branch-item-code[b-x90scur8yr] {
    color: #818cf8 !important;
}

:host-context([data-theme="dark"]) .branch-unselected-radio[b-x90scur8yr],
[data-theme="dark"] .branch-unselected-radio[b-x90scur8yr] {
    border-color: #475569 !important;
}

:host-context([data-theme="dark"]) .operating-branch-empty[b-x90scur8yr],
[data-theme="dark"] .operating-branch-empty[b-x90scur8yr] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

@keyframes fadeInOverlay-b-x90scur8yr {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleUpCard-b-x90scur8yr {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Premium Collapsible Section Headers */
.sidebar-section-header[b-x90scur8yr] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    color: #1e293b !important;
    font-size: 0.83rem !important;
    font-weight: 650 !important;
    letter-spacing: -0.01em !important;
    padding: 0.5rem 0.7rem !important;
    margin: 0.25rem 0.55rem 0.15rem 0.55rem !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    text-transform: none !important;
}

.sidebar-section-header:hover[b-x90scur8yr] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    transform: translateX(3px) !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

/* Dedicated Gradient Color Badges for Portal Icons */
.sidebar-section-header .section-icon[b-x90scur8yr] {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.88rem !important;
    color: #ffffff !important;
    margin-right: 0.55rem !important;
    flex-shrink: 0 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.section-icon-dashboard[b-x90scur8yr] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
}

.section-icon-op[b-x90scur8yr] {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
}

.section-icon-ip[b-x90scur8yr] {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
}

.section-icon-ot[b-x90scur8yr] {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

.section-icon-billing[b-x90scur8yr] {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.section-icon-lab[b-x90scur8yr] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.section-icon-pharmacy[b-x90scur8yr] {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
}

.section-icon-inventory[b-x90scur8yr] {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%) !important;
}

.section-icon-doctor[b-x90scur8yr] {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
}

.section-icon-vitals[b-x90scur8yr] {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
}

.section-icon-admin[b-x90scur8yr] {
    background: linear-gradient(135deg, #475569 0%, #1e293b 100%) !important;
}

.sidebar-section-header:hover .section-icon[b-x90scur8yr] {
    transform: scale(1.12) rotate(-4deg) !important;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2) !important;
}

.sidebar-section-header .dropdown-arrow-icon[b-x90scur8yr] {
    font-size: 0.72rem !important;
    color: #64748b !important;
    margin-left: auto !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease !important;
}

.sidebar-section-header .dropdown-arrow-icon.open[b-x90scur8yr] {
    transform: rotate(180deg) !important;
    color: #4f46e5 !important;
}

.sidebar.collapsed .sidebar-section-header[b-x90scur8yr] {
    justify-content: center !important;
    padding: 0.45rem !important;
    margin: 0.35rem 0.45rem !important;
}

.sidebar.collapsed .sidebar-section-header span span[b-x90scur8yr],
.sidebar.collapsed .sidebar-section-header .dropdown-arrow-icon[b-x90scur8yr] {
    display: none !important;
}

.sidebar.collapsed .sidebar-section-header .section-icon[b-x90scur8yr] {
    margin-right: 0 !important;
}

/* Sidebar Theme Toggle Styling */
.sidebar-theme-container[b-x90scur8yr] {
    padding: 0.5rem 0.85rem !important;
    border-top: 1px solid #e2e8f0;
}

.theme-toggle-bar[b-x90scur8yr] {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 3px;
    display: flex;
    gap: 3px;
    cursor: pointer;
}

.theme-toggle-option[b-x90scur8yr] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 5px 8px;
    border-radius: 7px;
    font-size: 0.76rem;
    font-weight: 650;
    color: #64748b;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.theme-toggle-option.active[b-x90scur8yr] {
    background: #ffffff;
    color: #4f46e5;
    font-weight: 750;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.theme-toggle-option i[b-x90scur8yr] {
    font-size: 0.85rem;
}

[data-theme="dark"] .sidebar-theme-container[b-x90scur8yr] {
    border-top-color: #1e293b;
}

[data-theme="dark"] .theme-toggle-bar[b-x90scur8yr] {
    background: #0f172a;
    border-color: #1e293b;
}

[data-theme="dark"] .theme-toggle-option[b-x90scur8yr] {
    color: #94a3b8;
}

[data-theme="dark"] .theme-toggle-option.active[b-x90scur8yr] {
    background: #1e293b;
    color: #38bdf8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Sidebar Profile & Online Status */
.profile-pic-container[b-x90scur8yr] {
    position: relative;
    flex-shrink: 0;
}

.online-status-dot[b-x90scur8yr] {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #ffffff;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
    animation: statusPulse-b-x90scur8yr 2s infinite;
}

/* Sidebar Dark Theme Luxury Overrides */
[data-theme="dark"] .sidebar[b-x90scur8yr] {
    background: linear-gradient(180deg, #090d16 0%, #0f172a 100%) !important;
    border-right-color: #1e293b !important;
    color: #f8fafc !important;
    box-shadow: 6px 0 35px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .sidebar-header[b-x90scur8yr] {
    background: transparent !important;
    border-bottom-color: #1e293b !important;
}

[data-theme="dark"] .logo-title[b-x90scur8yr] {
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

[data-theme="dark"] .sidebar-search-container[b-x90scur8yr] {
    background: transparent !important;
}

[data-theme="dark"] .sidebar-search-wrapper[b-x90scur8yr] {
    background: #161f30 !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .sidebar-search-input[b-x90scur8yr] {
    color: #f8fafc !important;
}

[data-theme="dark"] .search-shortcut-badge[b-x90scur8yr] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .sidebar-section-header[b-x90scur8yr] {
    background: transparent !important;
    border-color: transparent !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .sidebar-section-header:hover[b-x90scur8yr] {
    background: #1e293b !important;
    color: #38bdf8 !important;
    border-color: #334155 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .sidebar[b-x90scur8yr]  .nav-item {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .sidebar[b-x90scur8yr]  .nav-item:hover:not(.active) {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

[data-theme="dark"] .sidebar[b-x90scur8yr]  .nav-item i {
    background: #161f30 !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .sidebar[b-x90scur8yr]  .nav-item:hover:not(.active) i {
    background: #334155 !important;
    color: #38bdf8 !important;
}

[data-theme="dark"] .sidebar[b-x90scur8yr]  .nav-submenu {
    border-left-color: #38bdf8 !important;
}

[data-theme="dark"] .sidebar[b-x90scur8yr]  .nav-submenu-item {
    color: #94a3b8 !important;
}

[data-theme="dark"] .sidebar[b-x90scur8yr]  .nav-submenu-item:hover {
    background: #1e293b !important;
    color: #38bdf8 !important;
}

[data-theme="dark"] .sidebar-footer[b-x90scur8yr] {
    background: transparent !important;
    border-top-color: #1e293b !important;
}

[data-theme="dark"] .sidebar-profile[b-x90scur8yr] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .profile-name[b-x90scur8yr] {
    color: #f8fafc !important;
}

[data-theme="dark"] .desktop-toggle[b-x90scur8yr] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

[data-theme="dark"] .sidebar-footer .logout-item[b-x90scur8yr] {
    background: rgba(225, 29, 72, 0.15) !important;
    border-color: rgba(225, 29, 72, 0.3) !important;
    color: #f43f5e !important;
}

[data-theme="dark"] .sidebar-footer .logout-item:hover[b-x90scur8yr] {
    background: #e11d48 !important;
    color: #ffffff !important;
    border-color: #e11d48 !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.4) !important;
}

[data-theme="dark"] .profile-role[b-x90scur8yr] {
    color: #94a3b8 !important;
}

[data-theme="dark"] .sidebar-theme-collapsed-btn[b-x90scur8yr] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .sidebar-theme-collapsed-btn:hover[b-x90scur8yr] {
    background: #334155 !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2) !important;
}

[data-theme="dark"] .app-container[b-x90scur8yr] {
    background: #090d16 !important;
}

/* ==========================================================================
   CHROME-STYLE PERSISTENT TAB BAR STYLING
   ========================================================================== */
.app-main-wrapper[b-x90scur8yr] {
    margin-left: var(--sidebar-width);
    flex: 1;
    width: calc(100% - var(--sidebar-width));
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar.collapsed ~ .app-main-wrapper[b-x90scur8yr] {
    margin-left: var(--sidebar-collapsed-width);
    width: calc(100% - var(--sidebar-collapsed-width));
}

.app-main-wrapper .main-content[b-x90scur8yr] {
    margin-left: 0 !important;
    width: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    height: calc(100vh - 35px);
    max-height: calc(100vh - 35px);
    overflow-y: auto;
}

@media (max-width: 992px) {
    .app-main-wrapper[b-x90scur8yr],
    .sidebar.collapsed ~ .app-main-wrapper[b-x90scur8yr] {
        margin-left: 0 !important;
        width: 100% !important;
    }
}

.chrome-tab-header[b-x90scur8yr] {
    height: 34px;
    background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
    border-bottom: 1px solid #cbd5e1;
    display: flex;
    align-items: flex-end;
    padding: 0 0.5rem 0 0.35rem;
    gap: 0.35rem;
    position: sticky;
    top: 0;
    z-index: 990;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
    user-select: none;
}

[data-theme="dark"] .chrome-tab-header[b-x90scur8yr] {
    background: linear-gradient(180deg, #090d16 0%, #0f172a 100%);
    border-bottom-color: #1e293b;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.chrome-tabs-container[b-x90scur8yr] {
    display: flex;
    align-items: flex-end;
    flex: 1;
    overflow: hidden;
    gap: 3px;
    height: 100%;
}

.chrome-tab-strip[b-x90scur8yr] {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
    padding-right: 4px;
}

.chrome-tab-strip[b-x90scur8yr]::-webkit-scrollbar {
    display: none;
}

/* Chrome Tab item design */
.chrome-tab[b-x90scur8yr] {
    height: 27px;
    min-width: 110px;
    max-width: 170px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(203, 213, 225, 0.8);
    border-bottom: none;
    border-radius: 7px 7px 0 0;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    color: #475569;
    font-size: 0.74rem;
    font-weight: 550;
    letter-spacing: -0.01em;
    flex-shrink: 0;
    margin-bottom: 0;
}

.chrome-tab:hover:not(.active)[b-x90scur8yr] {
    background: rgba(255, 255, 255, 0.85);
    color: #0f172a;
    border-color: #cbd5e1;
}

.chrome-tab.active[b-x90scur8yr] {
    height: 29px;
    background: #ffffff !important;
    border-color: #cbd5e1 #cbd5e1 transparent #cbd5e1 !important;
    color: #4f46e5 !important;
    font-weight: 750 !important;
    box-shadow: 0 -2px 8px rgba(15, 23, 42, 0.08);
    z-index: 2;
}

/* Glowing top accent line for active tab */
.chrome-tab.active[b-x90scur8yr]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5px;
    right: 5px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(90deg, #4f46e5 0%, #06b6d4 100%);
}

.chrome-tab .tab-icon[b-x90scur8yr] {
    font-size: 0.8rem;
    color: #64748b;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.chrome-tab.active .tab-icon[b-x90scur8yr] {
    color: #4f46e5;
}

.chrome-tab .tab-title[b-x90scur8yr] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* Close button on tab */
.chrome-tab .tab-close-btn[b-x90scur8yr] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 2px;
}

.chrome-tab:hover .tab-close-btn[b-x90scur8yr] {
    color: #64748b;
}

.chrome-tab .tab-close-btn:hover[b-x90scur8yr] {
    background: #fee2e2 !important;
    color: #ef4444 !important;
    transform: scale(1.1);
}

/* Dark Mode Chrome Tabs */
[data-theme="dark"] .chrome-tab[b-x90scur8yr] {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(51, 65, 85, 0.8);
    color: #94a3b8;
}

[data-theme="dark"] .chrome-tab:hover:not(.active)[b-x90scur8yr] {
    background: rgba(30, 41, 59, 0.85);
    color: #f8fafc;
    border-color: #334155;
}

[data-theme="dark"] .chrome-tab.active[b-x90scur8yr] {
    background: #1e293b !important;
    border-color: #334155 #334155 transparent #334155 !important;
    color: #38bdf8 !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .chrome-tab.active[b-x90scur8yr]::before {
    background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);
}

[data-theme="dark"] .chrome-tab.active .tab-icon[b-x90scur8yr] {
    color: #38bdf8;
}

[data-theme="dark"] .chrome-tab .tab-close-btn:hover[b-x90scur8yr] {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #fca5a5 !important;
}

/* Scroll buttons & New tab button */
.tab-scroll-btn[b-x90scur8yr] {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    cursor: pointer;
    margin-bottom: 3px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tab-scroll-btn:hover[b-x90scur8yr] {
    background: #e2e8f0;
    color: #1e293b;
}

[data-theme="dark"] .tab-scroll-btn[b-x90scur8yr] {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .tab-scroll-btn:hover[b-x90scur8yr] {
    background: #334155;
    color: #f8fafc;
}

.chrome-new-tab-btn[b-x90scur8yr] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: rgba(255, 255, 255, 0.5);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    cursor: pointer;
    margin-bottom: 3px;
    margin-left: 2px;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.chrome-new-tab-btn:hover[b-x90scur8yr] {
    background: #ffffff;
    color: #4f46e5;
    border-color: #4f46e5;
    transform: scale(1.1);
}

[data-theme="dark"] .chrome-new-tab-btn[b-x90scur8yr] {
    background: rgba(30, 41, 59, 0.5);
    border-color: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .chrome-new-tab-btn:hover[b-x90scur8yr] {
    background: #1e293b;
    color: #38bdf8;
    border-color: #38bdf8;
}

/* Header Right Actions */
.chrome-header-actions[b-x90scur8yr] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 3px;
    margin-left: 0.35rem;
}

/* --- Top-Right Dark / Bright Mode Toggle Button --- */
.chrome-theme-btn[b-x90scur8yr] {
    height: 26px !important;
    width: 26px !important;
    border-radius: 50% !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #4f46e5 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

.chrome-theme-btn:hover[b-x90scur8yr] {
    background: #eef2ff !important;
    border-color: #c7d2fe !important;
    color: #4338ca !important;
    transform: scale(1.08) !important;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.2) !important;
}

[data-theme="dark"] .chrome-theme-btn[b-x90scur8yr] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #fbbf24 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .chrome-theme-btn:hover[b-x90scur8yr] {
    background: #334155 !important;
    border-color: #475569 !important;
    color: #fde047 !important;
    transform: scale(1.08) !important;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3) !important;
}

.chrome-action-btn[b-x90scur8yr] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.45rem;
    border-radius: 5px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chrome-action-btn:hover[b-x90scur8yr] {
    background: #f1f5f9;
    color: #ef4444;
    border-color: #fca5a5;
}

[data-theme="dark"] .chrome-action-btn[b-x90scur8yr] {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .chrome-action-btn:hover[b-x90scur8yr] {
    background: #334155;
    color: #fca5a5;
    border-color: #7f1d1d;
}

/* Confirm Card Modal UI */
.confirm-card-modal[b-x90scur8yr] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 460px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    animation: confirmModalPop-b-x90scur8yr 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 12001;
}

@keyframes confirmModalPop-b-x90scur8yr {
    from {
        opacity: 0;
        transform: translate(-50%, -46%) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.confirm-card-header[b-x90scur8yr] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    position: relative;
}

.confirm-card-icon[b-x90scur8yr] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.confirm-card-title[b-x90scur8yr] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.confirm-card-subtitle[b-x90scur8yr] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.confirm-card-close[b-x90scur8yr] {
    position: absolute;
    top: -4px;
    right: -4px;
    background: transparent;
    border: none;
    font-size: 1.35rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.confirm-card-close:hover[b-x90scur8yr] {
    color: #0f172a;
    background: #f1f5f9;
}

.confirm-card-body[b-x90scur8yr] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.confirm-card-body p[b-x90scur8yr] {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.5;
}

.confirm-card-warning[b-x90scur8yr] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #166534;
    font-weight: 600;
}

.confirm-card-warning i[b-x90scur8yr] {
    font-size: 0.95rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.confirm-card-footer[b-x90scur8yr] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.btn-confirm-cancel[b-x90scur8yr] {
    height: 38px;
    padding: 0 1.15rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-confirm-cancel:hover[b-x90scur8yr] {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-confirm-action[b-x90scur8yr] {
    height: 38px;
    padding: 0 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.15s ease;
}

[data-theme="dark"] .confirm-card-modal[b-x90scur8yr] {
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .confirm-card-title[b-x90scur8yr] {
    color: #f8fafc;
}

[data-theme="dark"] .confirm-card-subtitle[b-x90scur8yr] {
    color: #94a3b8;
}

[data-theme="dark"] .confirm-card-body p[b-x90scur8yr] {
    color: #cbd5e1;
}

[data-theme="dark"] .confirm-card-warning[b-x90scur8yr] {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

[data-theme="dark"] .btn-confirm-cancel[b-x90scur8yr] {
    background: #334155;
    border-color: #475569;
    color: #cbd5e1;
}

[data-theme="dark"] .btn-confirm-cancel:hover[b-x90scur8yr] {
    background: #475569;
    color: #ffffff;
}


/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ==========================================================================
   MEDICO PORTAL - NAVMENU (SIDEBAR) COMPONENT STYLES
   ========================================================================== */

.sidebar-overlay[b-0dbh51ld2u] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.show[b-0dbh51ld2u] {
    display: block;
    opacity: 1;
}

.sidebar[b-0dbh51ld2u] {
    width: var(--sidebar-width, 240px);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    border-right: 1px solid rgba(226, 232, 240, 0.8) !important;
    color: #0f172a !important;
    box-shadow: 6px 0 30px rgba(15, 23, 42, 0.04) !important;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sidebar.collapsed[b-0dbh51ld2u] {
    width: var(--sidebar-collapsed-width, 68px) !important;
}

@media (max-width: 992px) {
    .sidebar[b-0dbh51ld2u] {
        transform: translateX(-100%);
    }
    .sidebar.show[b-0dbh51ld2u] {
        transform: translateX(0);
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.2) !important;
    }
}

/* Header & Logo styling */
.sidebar-header[b-0dbh51ld2u] {
    border-bottom: 1px solid rgba(241, 245, 249, 0.8) !important;
    position: relative !important;
    background: transparent !important;
    padding: 0.85rem 0.95rem !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container[b-0dbh51ld2u] {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-container img[b-0dbh51ld2u] {
    border-radius: 8px !important;
    padding: 2px !important;
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%) !important;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.2) !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.logo-container:hover img[b-0dbh51ld2u] {
    transform: scale(1.08) rotate(-3deg) !important;
}

.logo-title[b-0dbh51ld2u] {
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtitle[b-0dbh51ld2u] {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
    color: #4f46e5;
    background: #eef2ff;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    border: none;
}

.logo-subtitle[b-0dbh51ld2u]::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10b981;
    margin-right: 4px;
    box-shadow: 0 0 6px #10b981;
    animation: statusPulse-b-0dbh51ld2u 2s infinite;
}

@keyframes statusPulse-b-0dbh51ld2u {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.3);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Sidebar Search Bar */
.sidebar-search-container[b-0dbh51ld2u] {
    padding: 0.5rem 0.75rem !important;
    border-bottom: none !important;
    background: transparent;
}

.sidebar-search-wrapper[b-0dbh51ld2u] {
    position: relative;
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.4rem 0.7rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-search-wrapper:focus-within[b-0dbh51ld2u] {
    background: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.sidebar-search-icon[b-0dbh51ld2u] {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-right: 0.55rem;
    transition: color 0.2s ease;
}

.sidebar-search-wrapper:focus-within .sidebar-search-icon[b-0dbh51ld2u] {
    color: #6366f1;
}

.sidebar-search-input[b-0dbh51ld2u] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f172a;
    width: 100%;
}

.sidebar-search-input[b-0dbh51ld2u]::placeholder {
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 500;
}

.search-shortcut-badge[b-0dbh51ld2u] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 1px 5px;
    border-radius: 5px;
    letter-spacing: 0.02em;
    pointer-events: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sidebar-search-clear[b-0dbh51ld2u] {
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.sidebar-search-clear:hover[b-0dbh51ld2u] {
    color: #ef4444;
}

.sidebar.collapsed .sidebar-search-container[b-0dbh51ld2u] {
    display: none !important;
}

/* Live Search Results Container */
.sidebar-search-results[b-0dbh51ld2u] {
    padding: 0.4rem 0.65rem !important;
}

.sidebar-search-badge[b-0dbh51ld2u] {
    background: #eef2ff !important;
    color: #4f46e5 !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    padding: 0.15rem 0.45rem !important;
    border-radius: 5px !important;
    border: 1px solid #c7d2fe !important;
}

.sidebar-search-item[b-0dbh51ld2u] {
    padding: 0.5rem 0.7rem !important;
    margin-bottom: 0.25rem !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s ease !important;
}

.sidebar-search-item:hover[b-0dbh51ld2u] {
    background: #eef2ff !important;
    border-color: #c7d2fe !important;
    transform: translateX(2px);
}

/* Sidebar Sections & Titles */
.sidebar-section-title[b-0dbh51ld2u] {
    color: #64748b !important;
    font-size: 0.70rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    padding: 0.75rem 0.75rem 0.25rem !important;
    text-transform: uppercase !important;
}

/* Section Header Bar */
.sidebar-section-header[b-0dbh51ld2u] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.48rem 0.8rem !important;
    margin: 0.2rem 0.55rem !important;
    border-radius: 9px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sidebar-section-header:hover[b-0dbh51ld2u] {
    background: rgba(99, 102, 241, 0.06) !important;
    color: #4f46e5 !important;
}

.section-icon[b-0dbh51ld2u] {
    width: 26px !important;
    height: 26px !important;
    border-radius: 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    color: #ffffff !important;
    flex-shrink: 0 !important;
    transition: transform 0.25s ease !important;
}

.section-icon-dashboard[b-0dbh51ld2u] { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important; }
.section-icon-op[b-0dbh51ld2u] { background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important; }
.section-icon-ip[b-0dbh51ld2u] { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important; }
.section-icon-ot[b-0dbh51ld2u] { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important; }
.section-icon-billing[b-0dbh51ld2u] { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important; }
.section-icon-lab[b-0dbh51ld2u] { background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important; }
.section-icon-pharmacy[b-0dbh51ld2u] { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important; }
.section-icon-inventory[b-0dbh51ld2u] { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%) !important; }
.section-icon-doctor[b-0dbh51ld2u] { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important; }
.section-icon-vitals[b-0dbh51ld2u] { background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important; }
.section-icon-admin[b-0dbh51ld2u] { background: linear-gradient(135deg, #475569 0%, #1e293b 100%) !important; }

.sidebar-section-header:hover .section-icon[b-0dbh51ld2u] {
    transform: scale(1.12) rotate(-4deg) !important;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2) !important;
}

.sidebar-section-header .dropdown-arrow-icon[b-0dbh51ld2u] {
    font-size: 0.72rem !important;
    color: #64748b !important;
    margin-left: auto !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease !important;
}

.sidebar-section-header .dropdown-arrow-icon.open[b-0dbh51ld2u] {
    transform: rotate(180deg) !important;
    color: #4f46e5 !important;
}

/* Navigation Items Styling */
.sidebar[b-0dbh51ld2u]  .nav-item {
    color: #334155 !important;
    font-size: 0.82rem !important;
    font-weight: 550 !important;
    letter-spacing: -0.01em !important;
    padding: 0.45rem 0.7rem !important;
    margin: 0.12rem 0.55rem !important;
    border-radius: 9px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
}

.sidebar[b-0dbh51ld2u]  .nav-item:hover:not(.active) {
    background: rgba(99, 102, 241, 0.07) !important;
    color: #4f46e5 !important;
    transform: translateX(3px) !important;
    border-color: rgba(199, 210, 254, 0.4) !important;
}

.sidebar[b-0dbh51ld2u]  .nav-item.active {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%) !important;
    color: #ffffff !important;
    font-weight: 650 !important;
    letter-spacing: -0.01em !important;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.32) !important;
    border: none !important;
    transform: translateX(3px) !important;
}

.sidebar[b-0dbh51ld2u]  .nav-item i {
    width: 26px !important;
    height: 26px !important;
    border-radius: 7px !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0;
}

.sidebar[b-0dbh51ld2u]  .nav-item:hover:not(.active) i {
    background: #ffffff !important;
    color: #4f46e5 !important;
    transform: scale(1.08) !important;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.15) !important;
}

.sidebar[b-0dbh51ld2u]  .nav-item.active i {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* Collapsed Sidebar Adjustments */
.sidebar.collapsed .sidebar-header[b-0dbh51ld2u] {
    padding: 0.75rem 0.5rem !important;
    justify-content: center !important;
    position: relative !important;
    flex-direction: row !important;
}

.sidebar.collapsed .logo-container[b-0dbh51ld2u] {
    justify-content: center !important;
    gap: 0 !important;
    margin: 0 auto !important;
}

.sidebar.collapsed .logo-container div[b-0dbh51ld2u] {
    display: none !important;
}

.sidebar.collapsed .sidebar-section-header[b-0dbh51ld2u] {
    justify-content: center !important;
    padding: 0.45rem !important;
    margin: 0.35rem 0.45rem !important;
}

.sidebar.collapsed .sidebar-section-header span span[b-0dbh51ld2u],
.sidebar.collapsed .sidebar-section-header .dropdown-arrow-icon[b-0dbh51ld2u] {
    display: none !important;
}

.sidebar.collapsed .sidebar-section-header .section-icon[b-0dbh51ld2u] {
    margin-right: 0 !important;
}

.sidebar.collapsed[b-0dbh51ld2u]  .nav-item {
    justify-content: center !important;
    padding: 0.45rem !important;
    margin: 0.25rem 0.45rem !important;
    border-radius: 8px !important;
    border: none !important;
}

.sidebar.collapsed[b-0dbh51ld2u]  .nav-item span {
    display: none !important;
}

.sidebar.collapsed[b-0dbh51ld2u]  .nav-item.active {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3) !important;
}

/* Desktop Collapse Arrow Button */
.desktop-toggle[b-0dbh51ld2u] {
    position: absolute !important;
    right: -14px;
    top: 50%;
    transform: translateY(-50%) !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid #c7d2fe !important;
    color: #4f46e5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.78rem !important;
    cursor: pointer !important;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.15) !important;
    z-index: 1010 !important;
    transition: all 0.2s ease-in-out !important;
}

.desktop-toggle:hover[b-0dbh51ld2u] {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.desktop-toggle:active[b-0dbh51ld2u] {
    transform: translateY(-50%) scale(0.95) !important;
}

@media (max-width: 992px) {
    .desktop-toggle[b-0dbh51ld2u] {
        display: none !important;
    }
}

/* Sidebar Menu Scrollable Area */
.sidebar-menu[b-0dbh51ld2u] {
    flex: 1 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0.4rem 0 2rem 0 !important;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 transparent !important;
}

.sidebar-menu[b-0dbh51ld2u]::-webkit-scrollbar {
    width: 4px;
}

.sidebar-menu[b-0dbh51ld2u]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Sidebar submenu styles */
.nav-submenu[b-0dbh51ld2u] {
    display: flex;
    flex-direction: column;
    background: transparent;
    margin: 0.15rem 0 0.35rem 1.25rem !important;
    border-left: 1.5px solid #c7d2fe !important;
    padding-left: 0.55rem !important;
    gap: 1px !important;
}

.nav-submenu[b-0dbh51ld2u]  .nav-submenu-item {
    display: flex !important;
    align-items: center !important;
    padding: 0.38rem 0.65rem !important;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 0.79rem !important;
    font-weight: 500 !important;
    letter-spacing: -0.005em !important;
    border-radius: 7px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
}

.nav-submenu[b-0dbh51ld2u]  .nav-submenu-item::before {
    content: '›';
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    margin-right: 0.45rem;
    color: #818cf8;
    transition: all 0.2s ease;
}

.nav-submenu[b-0dbh51ld2u]  .nav-submenu-item span {
    text-decoration: none !important;
}

.nav-submenu[b-0dbh51ld2u]  .nav-submenu-item:hover {
    background: #eef2ff !important;
    color: #4f46e5 !important;
    font-weight: 600 !important;
    transform: translateX(3px) !important;
}

.nav-submenu[b-0dbh51ld2u]  .nav-submenu-item:hover::before {
    color: #4f46e5;
    transform: translateX(2px);
}

.nav-submenu[b-0dbh51ld2u]  .nav-submenu-item.active {
    background: rgba(79, 70, 229, 0.1) !important;
    color: #4f46e5 !important;
    font-weight: 700 !important;
    border: 1px solid rgba(79, 70, 229, 0.2) !important;
    box-shadow: 0 1px 4px rgba(79, 70, 229, 0.05) !important;
}

.nav-submenu[b-0dbh51ld2u]  .nav-submenu-item.active::before {
    color: #4f46e5;
    content: '»';
}

.dropdown-arrow-icon[b-0dbh51ld2u] {
    font-size: 0.7rem !important;
    color: #64748b !important;
    transition: transform 0.25s ease !important;
}

button.nav-item[b-0dbh51ld2u] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: transparent;
    border: none;
    text-align: left;
    width: calc(100% - 1.3rem) !important;
    cursor: pointer;
    font-family: inherit;
}

button.nav-item .dropdown-arrow-icon[b-0dbh51ld2u] {
    font-size: 0.65rem !important;
    color: #64748b !important;
    opacity: 0.85;
}

.sidebar.collapsed .nav-submenu[b-0dbh51ld2u],
.sidebar.collapsed .dropdown-arrow-icon[b-0dbh51ld2u] {
    display: none !important;
}

/* ==========================================================================
   COMPACT SLEEK SIDEBAR FOOTER
   ========================================================================== */
.sidebar-footer[b-0dbh51ld2u] {
    border-top: 1px solid rgba(226, 232, 240, 0.9) !important;
    padding: 0.45rem 0.55rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    background: #ffffff !important;
    box-shadow: 0 -3px 12px rgba(15, 23, 42, 0.03) !important;
    flex-shrink: 0 !important;
}

/* Compact Profile Card */
.sidebar-profile[b-0dbh51ld2u] {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.3rem 0.45rem !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 9px !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
}

.sidebar-profile:hover[b-0dbh51ld2u] {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

.profile-pic-container[b-0dbh51ld2u] {
    position: relative !important;
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.profile-pic-initials[b-0dbh51ld2u] {
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    font-size: 0.72rem !important;
    box-shadow: 0 1px 4px rgba(79, 70, 229, 0.25) !important;
    flex-shrink: 0 !important;
}

.online-status-dot[b-0dbh51ld2u] {
    position: absolute !important;
    bottom: -1px !important;
    right: -1px !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    border: 1.5px solid #ffffff !important;
    box-shadow: 0 0 5px rgba(16, 185, 129, 0.6) !important;
    animation: statusPulse-b-0dbh51ld2u 2s infinite !important;
    z-index: 2 !important;
}

.profile-info[b-0dbh51ld2u] {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    min-width: 0 !important;
    flex: 1 !important;
    justify-content: center !important;
}

.profile-name[b-0dbh51ld2u] {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    line-height: 1.15 !important;
}

.profile-role[b-0dbh51ld2u] {
    font-size: 0.65rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    line-height: 1.1 !important;
    margin-top: 1px !important;
}

/* Profile Logout Icon Button */
.btn-profile-logout[b-0dbh51ld2u] {
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: #94a3b8 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

.btn-profile-logout:hover[b-0dbh51ld2u] {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border-color: #fecdd3 !important;
    transform: scale(1.06) !important;
}

/* Profile Shift Button */
.btn-profile-shift[b-0dbh51ld2u] {
    height: 24px !important;
    padding: 0 0.5rem !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    border-radius: 6px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.3rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) !important;
}

.btn-profile-shift i[b-0dbh51ld2u] {
    font-size: 0.72rem !important;
}

.btn-profile-end-shift[b-0dbh51ld2u] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(220, 38, 38, 0.28) !important;
}

.btn-profile-end-shift:hover[b-0dbh51ld2u] {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.38) !important;
    transform: translateY(-1px);
}

.btn-profile-open-shift[b-0dbh51ld2u] {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(5, 150, 105, 0.25) !important;
}

.btn-profile-open-shift:hover[b-0dbh51ld2u] {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.35) !important;
    transform: translateY(-1px);
}

/* Footer Bottom Actions Row */
.sidebar-footer-actions[b-0dbh51ld2u] {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    width: 100% !important;
}

/* Shift Pill Button */
.sidebar-footer-actions .btn-sidebar-shift[b-0dbh51ld2u] {
    flex: 1 !important;
    height: 27px !important;
    font-size: 0.73rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.005em !important;
    padding: 0 0.5rem !important;
    border-radius: 7px !important;
    border: none !important;
    transition: all 0.2s ease-in-out !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    cursor: pointer !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

.sidebar-footer-actions .btn-sidebar-shift i[b-0dbh51ld2u] {
    font-size: 0.78rem !important;
}

.sidebar-footer-actions .btn-sidebar-end-shift[b-0dbh51ld2u] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(220, 38, 38, 0.25) !important;
}

.sidebar-footer-actions .btn-sidebar-end-shift:hover[b-0dbh51ld2u] {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.35) !important;
    transform: translateY(-1px);
}

.sidebar-footer-actions .btn-sidebar-logout[b-0dbh51ld2u] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(220, 38, 38, 0.25) !important;
}

.sidebar-footer-actions .btn-sidebar-logout:hover[b-0dbh51ld2u] {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.35) !important;
    transform: translateY(-1px);
}

.sidebar-footer-actions .btn-sidebar-logout:disabled[b-0dbh51ld2u] {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    pointer-events: none;
}

.sidebar-footer-actions .btn-sidebar-open-shift[b-0dbh51ld2u] {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(5, 150, 105, 0.25) !important;
}

.sidebar-footer-actions .btn-sidebar-open-shift:hover[b-0dbh51ld2u] {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
    box-shadow: 0 3px 8px rgba(5, 150, 105, 0.35) !important;
    transform: translateY(-1px);
}

/* Theme Toggle Icon Button */
.btn-sidebar-theme-toggle[b-0dbh51ld2u] {
    width: 27px !important;
    height: 27px !important;
    border-radius: 7px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #4f46e5 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.8rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

.btn-sidebar-theme-toggle:hover[b-0dbh51ld2u] {
    background: #eef2ff !important;
    border-color: #c7d2fe !important;
    color: #4338ca !important;
    transform: scale(1.08) !important;
}

/* Version Badge */
.sidebar-version-badge[b-0dbh51ld2u] {
    height: 27px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 0 6px !important;
    font-size: 0.65rem !important;
    font-weight: 650 !important;
    color: #64748b !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    flex-shrink: 0 !important;
    letter-spacing: 0.01em !important;
    user-select: none !important;
}

.sidebar-version-badge .version-dot[b-0dbh51ld2u] {
    width: 5px !important;
    height: 5px !important;
    border-radius: 50% !important;
    background-color: #10b981 !important;
    box-shadow: 0 0 4px rgba(16, 185, 129, 0.5) !important;
}

/* Collapsed footer adjustments */
.sidebar.collapsed .sidebar-footer[b-0dbh51ld2u] {
    padding: 0.45rem 0.35rem !important;
    align-items: center !important;
    gap: 0.35rem !important;
}

.sidebar.collapsed .sidebar-profile[b-0dbh51ld2u] {
    justify-content: center !important;
    padding: 0.2rem 0 !important;
    background: transparent !important;
    border: none !important;
}

.sidebar.collapsed .profile-info[b-0dbh51ld2u],
.sidebar.collapsed .btn-profile-logout[b-0dbh51ld2u],
.sidebar.collapsed .btn-profile-shift[b-0dbh51ld2u] {
    display: none !important;
}

.sidebar.collapsed .sidebar-footer-actions[b-0dbh51ld2u] {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.3rem !important;
}

.sidebar.collapsed .sidebar-footer-actions .btn-sidebar-shift[b-0dbh51ld2u] {
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border-radius: 7px !important;
}

.sidebar.collapsed .sidebar-footer-actions .btn-sidebar-shift span[b-0dbh51ld2u] {
    display: none !important;
}

.sidebar.collapsed .sidebar-version-badge[b-0dbh51ld2u] {
    display: none !important;
}

/* ==========================================================================
   DARK THEME LUXURY OVERRIDES FOR SIDEBAR
   ========================================================================== */
:host-context([data-theme="dark"]) .sidebar[b-0dbh51ld2u],
[data-theme="dark"] .sidebar[b-0dbh51ld2u] {
    background: linear-gradient(180deg, #090d16 0%, #0f172a 100%) !important;
    border-right-color: #1e293b !important;
    color: #f8fafc !important;
    box-shadow: 6px 0 35px rgba(0, 0, 0, 0.5) !important;
}

:host-context([data-theme="dark"]) .sidebar-header[b-0dbh51ld2u],
[data-theme="dark"] .sidebar-header[b-0dbh51ld2u] {
    background: transparent !important;
    border-bottom-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .logo-title[b-0dbh51ld2u],
[data-theme="dark"] .logo-title[b-0dbh51ld2u] {
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

:host-context([data-theme="dark"]) .sidebar-search-container[b-0dbh51ld2u],
[data-theme="dark"] .sidebar-search-container[b-0dbh51ld2u] {
    background: transparent !important;
}

:host-context([data-theme="dark"]) .sidebar-search-wrapper[b-0dbh51ld2u],
[data-theme="dark"] .sidebar-search-wrapper[b-0dbh51ld2u] {
    background: #161f30 !important;
    border-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .sidebar-search-input[b-0dbh51ld2u],
[data-theme="dark"] .sidebar-search-input[b-0dbh51ld2u] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .search-shortcut-badge[b-0dbh51ld2u],
[data-theme="dark"] .search-shortcut-badge[b-0dbh51ld2u] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .sidebar-section-header[b-0dbh51ld2u],
[data-theme="dark"] .sidebar-section-header[b-0dbh51ld2u] {
    background: transparent !important;
    border-color: transparent !important;
    color: #e2e8f0 !important;
}

:host-context([data-theme="dark"]) .sidebar-section-header:hover[b-0dbh51ld2u],
[data-theme="dark"] .sidebar-section-header:hover[b-0dbh51ld2u] {
    background: #1e293b !important;
    color: #38bdf8 !important;
    border-color: #334155 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .sidebar[b-0dbh51ld2u]  .nav-item,
[data-theme="dark"] .sidebar[b-0dbh51ld2u]  .nav-item {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .sidebar[b-0dbh51ld2u]  .nav-item:hover:not(.active),
[data-theme="dark"] .sidebar[b-0dbh51ld2u]  .nav-item:hover:not(.active) {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .sidebar[b-0dbh51ld2u]  .nav-item i,
[data-theme="dark"] .sidebar[b-0dbh51ld2u]  .nav-item i {
    background: #161f30 !important;
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .sidebar[b-0dbh51ld2u]  .nav-item:hover:not(.active) i,
[data-theme="dark"] .sidebar[b-0dbh51ld2u]  .nav-item:hover:not(.active) i {
    background: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .sidebar[b-0dbh51ld2u]  .nav-submenu,
[data-theme="dark"] .sidebar[b-0dbh51ld2u]  .nav-submenu {
    border-left-color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .sidebar[b-0dbh51ld2u]  .nav-submenu-item,
[data-theme="dark"] .sidebar[b-0dbh51ld2u]  .nav-submenu-item {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .sidebar[b-0dbh51ld2u]  .nav-submenu-item:hover,
[data-theme="dark"] .sidebar[b-0dbh51ld2u]  .nav-submenu-item:hover {
    background: #1e293b !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .sidebar-footer[b-0dbh51ld2u],
[data-theme="dark"] .sidebar-footer[b-0dbh51ld2u] {
    background: #0f172a !important;
    border-top-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .sidebar-profile[b-0dbh51ld2u],
[data-theme="dark"] .sidebar-profile[b-0dbh51ld2u] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .sidebar-profile:hover[b-0dbh51ld2u],
[data-theme="dark"] .sidebar-profile:hover[b-0dbh51ld2u] {
    background: #243048 !important;
    border-color: #475569 !important;
}

:host-context([data-theme="dark"]) .profile-name[b-0dbh51ld2u],
[data-theme="dark"] .profile-name[b-0dbh51ld2u] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .profile-role[b-0dbh51ld2u],
[data-theme="dark"] .profile-role[b-0dbh51ld2u] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .btn-profile-logout[b-0dbh51ld2u],
[data-theme="dark"] .btn-profile-logout[b-0dbh51ld2u] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .btn-profile-shift[b-0dbh51ld2u],
[data-theme="dark"] .btn-profile-shift[b-0dbh51ld2u] {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
}

:host-context([data-theme="dark"]) .btn-profile-logout:hover[b-0dbh51ld2u],
[data-theme="dark"] .btn-profile-logout:hover[b-0dbh51ld2u] {
    background: rgba(225, 29, 72, 0.2) !important;
    color: #fb7185 !important;
    border-color: rgba(225, 29, 72, 0.35) !important;
}

:host-context([data-theme="dark"]) .btn-sidebar-theme-toggle[b-0dbh51ld2u],
[data-theme="dark"] .btn-sidebar-theme-toggle[b-0dbh51ld2u] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #fbbf24 !important;
}

:host-context([data-theme="dark"]) .btn-sidebar-theme-toggle:hover[b-0dbh51ld2u],
[data-theme="dark"] .btn-sidebar-theme-toggle:hover[b-0dbh51ld2u] {
    background: #334155 !important;
    border-color: #475569 !important;
    color: #fde047 !important;
}

:host-context([data-theme="dark"]) .sidebar-version-badge[b-0dbh51ld2u],
[data-theme="dark"] .sidebar-version-badge[b-0dbh51ld2u] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .sidebar-version-badge .version-dot[b-0dbh51ld2u],
[data-theme="dark"] .sidebar-version-badge .version-dot[b-0dbh51ld2u] {
    background-color: #38bdf8 !important;
    box-shadow: 0 0 4px rgba(56, 189, 248, 0.5) !important;
}

:host-context([data-theme="dark"]) .desktop-toggle[b-0dbh51ld2u],
[data-theme="dark"] .desktop-toggle[b-0dbh51ld2u] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-zq2ngrzava],
.components-reconnect-repeated-attempt-visible[b-zq2ngrzava],
.components-reconnect-failed-visible[b-zq2ngrzava],
.components-pause-visible[b-zq2ngrzava],
.components-resume-failed-visible[b-zq2ngrzava],
.components-rejoining-animation[b-zq2ngrzava] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-zq2ngrzava],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-zq2ngrzava],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-zq2ngrzava],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-zq2ngrzava],
#components-reconnect-modal.components-reconnect-retrying[b-zq2ngrzava],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-zq2ngrzava],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-zq2ngrzava],
#components-reconnect-modal.components-reconnect-failed[b-zq2ngrzava],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-zq2ngrzava] {
    display: block;
}


#components-reconnect-modal:not([open])[b-zq2ngrzava] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#components-reconnect-modal[b-zq2ngrzava] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.25);
    opacity: 0;
}

#components-reconnect-modal[open][b-zq2ngrzava] {
    display: block !important;
    visibility: visible !important;
    animation: components-reconnect-modal-slideUp-b-zq2ngrzava 0.35s cubic-bezier(.05, .89, .25, 1.02), components-reconnect-modal-fadeInOpacity-b-zq2ngrzava 0.35s ease-in-out;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-zq2ngrzava]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-zq2ngrzava 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-zq2ngrzava {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-zq2ngrzava {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-zq2ngrzava {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-zq2ngrzava] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-zq2ngrzava] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-zq2ngrzava] {
    border: 0;
    background-color: #64748b;
    color: white;
    padding: 6px 18px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

#components-reconnect-modal button:hover[b-zq2ngrzava] {
    background-color: #475569;
}

#components-reconnect-modal button:active[b-zq2ngrzava] {
    transform: scale(0.97);
}

#components-reconnect-modal .components-reconnect-btn-retry[b-zq2ngrzava] {
    background-color: #0284c7;
}

#components-reconnect-modal .components-reconnect-btn-retry:hover[b-zq2ngrzava] {
    background-color: #0369a1;
}

#components-reconnect-modal .components-reconnect-btn-reload[b-zq2ngrzava] {
    background-color: #4f46e5;
}

#components-reconnect-modal .components-reconnect-btn-reload:hover[b-zq2ngrzava] {
    background-color: #4338ca;
}

.components-rejoining-animation[b-zq2ngrzava] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-zq2ngrzava] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-zq2ngrzava 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-zq2ngrzava] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-zq2ngrzava {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/AccountSummary.razor.rz.scp.css */
.account-summary-page[b-27drvw3w5f] {
    height: 100%;
    min-height: 0;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: hidden;
    padding: 0.5rem 0.7rem;
    color: #172033;
    background: #f5f7fb;
    box-sizing: border-box;
}

.account-summary-header[b-27drvw3w5f],
.account-summary-departments[b-27drvw3w5f] {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.045);
}

.account-summary-header[b-27drvw3w5f] {
    display: grid;
    grid-template-columns: minmax(145px, 165px) minmax(0, 1fr) minmax(220px, 240px);
    grid-template-areas: "heading filters total";
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.6rem;
    background: linear-gradient(120deg, #fff 0%, #f2f5ff 100%);
}

.account-summary-heading[b-27drvw3w5f] {
    grid-area: heading;
    display: flex;
    align-items: center;
    gap: 0.48rem;
}

.account-summary-heading-icon[b-27drvw3w5f] {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    font-size: 1rem;
    box-shadow: 0 5px 12px rgba(79, 70, 229, 0.2);
}

.account-summary-heading h1[b-27drvw3w5f] {
    margin: 0;
    color: #172554;
    font-size: 0.95rem;
    font-weight: 800;
}

.account-summary-filter[b-27drvw3w5f] {
    grid-area: filters;
    display: grid;
    grid-template-columns: minmax(115px, 1.1fr) minmax(115px, 1.1fr) minmax(95px, 0.85fr) minmax(95px, 0.85fr) auto;
    align-items: end;
    gap: 0.32rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.account-summary-filter-field[b-27drvw3w5f] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.12rem;
}

.account-summary-filter-field label[b-27drvw3w5f] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #475569;
    font-size: 0.57rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.account-summary-filter-field label i[b-27drvw3w5f] {
    color: #6366f1;
    font-size: 0.62rem;
}

.account-summary-filter .form-select[b-27drvw3w5f],
.account-summary-filter .form-control[b-27drvw3w5f] {
    min-height: 28px;
    border-color: #d7dfeb;
    border-radius: 7px;
    color: #1e293b;
    font-size: 0.67rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025);
}

.account-summary-filter #account-summary-from[b-27drvw3w5f],
.account-summary-filter #account-summary-to[b-27drvw3w5f] {
    min-height: 26px;
    padding: 0.2rem 0.32rem;
    font-size: 0.6rem;
}

.account-summary-filter .form-select:focus[b-27drvw3w5f],
.account-summary-filter .form-control:focus[b-27drvw3w5f] {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.account-summary-filter-actions[b-27drvw3w5f] {
    display: flex;
    height: 28px;
    align-self: end;
    align-items: stretch;
    gap: 0.25rem;
}

.account-summary-filter-actions button[b-27drvw3w5f] {
    display: inline-flex;
    min-height: 0;
    height: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    border: 0;
    border-radius: 9px;
    padding: 0.3rem 0.45rem;
    font-size: 0.64rem;
    font-weight: 700;
    white-space: nowrap;
}

.account-summary-search[b-27drvw3w5f] {
    color: #fff;
    background: linear-gradient(135deg, #5b52ee, #4338ca);
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.2);
}

.account-summary-search:hover:not(:disabled)[b-27drvw3w5f] {
    background: #4338ca;
}

.account-summary-reset[b-27drvw3w5f] {
    color: #334155;
    background: #eef2f7;
}

.account-summary-reset:hover:not(:disabled)[b-27drvw3w5f] {
    background: #e2e8f0;
}

.account-summary-filter-actions button:disabled[b-27drvw3w5f] {
    cursor: not-allowed;
    opacity: 0.7;
}

.account-summary-grand-total[b-27drvw3w5f] {
    grid-area: total;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.08rem;
    padding: 0.34rem 0.55rem;
    border: 1px solid #c7d2fe;
    border-right: 4px solid #4f46e5;
    border-radius: 10px;
    background: linear-gradient(125deg, #fff, #eef2ff);
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.1);
    text-align: right;
}

.grand-total-heading[b-27drvw3w5f] {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
}

.grand-total-heading > span[b-27drvw3w5f] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #4338ca;
    font-size: 0.58rem;
    font-weight: 850;
}

.grand-total-amount[b-27drvw3w5f] {
    color: #312e81;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
}

.grand-total-modes[b-27drvw3w5f] {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    color: #475569;
    font-size: 0.62rem;
}

.grand-total-modes > span[b-27drvw3w5f] {
    display: flex;
    min-width: 0;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
    white-space: nowrap;
}

.grand-total-mode-label[b-27drvw3w5f] {
    display: inline-flex;
    align-items: center;
    color: #64748b;
    font-size: 0.56rem;
    font-weight: 750;
}

.grand-total-modes b[b-27drvw3w5f] {
    max-width: 100%;
    font-size: 0.62rem;
    white-space: nowrap;
}

.grand-total-cash b[b-27drvw3w5f] {
    color: #047857;
}

.grand-total-upi b[b-27drvw3w5f] {
    color: #0369a1;
}

.grand-total-modes > span > b[b-27drvw3w5f] {
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}


.account-summary-grid[b-27drvw3w5f] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    flex: 0 0 auto;
    gap: 0.5rem;
}

.account-summary-card[b-27drvw3w5f] {
    min-width: 0;
    padding: 0.55rem 0.7rem;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #6366f1;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}

.account-summary-card-title[b-27drvw3w5f] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #475569;
    font-size: 0.64rem;
    font-weight: 800;
    text-transform: uppercase;
}

.account-summary-card-title i[b-27drvw3w5f] {
    font-size: 0.78rem;
}

.account-summary-card-total[b-27drvw3w5f] {
    display: block;
    margin-top: 0.2rem;
    color: #172554;
    font-size: 1.05rem;
    font-weight: 850;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.account-summary-card-split[b-27drvw3w5f] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.55rem;
    margin-top: 0.15rem;
    color: #64748b;
    font-size: 0.62rem;
}

.account-summary-card-split b[b-27drvw3w5f] {
    margin-left: 0.15rem;
    color: #1e293b;
    font-variant-numeric: tabular-nums;
}

.account-summary-card-note[b-27drvw3w5f] {
    margin-top: 0.15rem;
    color: #64748b;
    font-size: 0.62rem;
}

.card-overall[b-27drvw3w5f] { border-left-color: #4f46e5; }
.card-overall .account-summary-card-title i[b-27drvw3w5f] { color: #4f46e5; }
.card-collected[b-27drvw3w5f] { border-left-color: #059669; }
.card-collected .account-summary-card-title i[b-27drvw3w5f] { color: #059669; }
.card-due[b-27drvw3w5f] { border-left-color: #0d9488; }
.card-due .account-summary-card-title i[b-27drvw3w5f] { color: #0d9488; }
.card-advance[b-27drvw3w5f] { border-left-color: #d97706; }
.card-advance .account-summary-card-title i[b-27drvw3w5f] { color: #d97706; }
.card-used[b-27drvw3w5f] { border-left-color: #7c3aed; }
.card-used .account-summary-card-title i[b-27drvw3w5f] { color: #7c3aed; }
.card-refund[b-27drvw3w5f] { border-left-color: #e11d48; }
.card-refund .account-summary-card-title i[b-27drvw3w5f] { color: #e11d48; }
.card-cancelled[b-27drvw3w5f] { border-left-color: #ef4444; }
.card-cancelled .account-summary-card-title i[b-27drvw3w5f] { color: #ef4444; }
.card-outstanding[b-27drvw3w5f] { border-left-color: #f59e0b; }
.card-outstanding .account-summary-card-title i[b-27drvw3w5f] { color: #d97706; }

.account-summary-departments[b-27drvw3w5f] {
    display: flex;
    min-height: 0;
    flex: 1 1 0;
    flex-direction: column;
    overflow: hidden;
}

.account-summary-section-heading[b-27drvw3w5f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex: 0 0 auto;
    padding: 0.45rem 0.7rem;
    border-bottom: 1px solid #e8edf4;
    background: linear-gradient(100deg, #fff, #f8faff);
}

.account-summary-section-heading h2[b-27drvw3w5f] {
    margin: 0;
    color: #172554;
    font-size: 0.82rem;
    font-weight: 800;
}

.account-summary-section-heading p[b-27drvw3w5f] {
    margin: 0.1rem 0 0;
    color: #64748b;
    font-size: 0.64rem;
}

.account-summary-count[b-27drvw3w5f] {
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    color: #475569;
    background: #f1f5f9;
    font-size: 0.6rem;
    font-weight: 700;
    white-space: nowrap;
}

.account-summary-table-wrap[b-27drvw3w5f] {
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.account-summary-table[b-27drvw3w5f] {
    width: 100%;
    min-width: 700px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    font-size: 0.68rem;
}

.account-summary-table th[b-27drvw3w5f],
.account-summary-table td[b-27drvw3w5f] {
    padding: 0.25rem 0.8rem;
    border-bottom: 1px solid #edf1f6;
}

.account-summary-table thead th[b-27drvw3w5f] {
    color: #475569;
    background: #f5f7fc;
    font-size: 0.57rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.account-summary-table thead th:first-child[b-27drvw3w5f],
.account-summary-table tbody td:first-child[b-27drvw3w5f],
.account-summary-table tfoot th:first-child[b-27drvw3w5f] {
    width: 34%;
    text-align: left;
}

.account-summary-table thead th:not(:first-child)[b-27drvw3w5f],
.account-summary-table tbody td:not(:first-child)[b-27drvw3w5f],
.account-summary-table tfoot th:not(:first-child)[b-27drvw3w5f] {
    width: 22%;
}

.account-summary-table thead th i[b-27drvw3w5f] {
    margin-right: 0.28rem;
    font-size: 0.75rem;
}

.account-summary-table .table-cash-heading[b-27drvw3w5f] {
    color: #047857;
    background: #ecfdf5;
}

.account-summary-table .table-upi-heading[b-27drvw3w5f] {
    color: #0369a1;
    background: #eff8ff;
}

.account-summary-table .table-total-heading[b-27drvw3w5f] {
    color: #5b21b6;
    background: #f5f3ff;
}

.account-summary-table tbody td[b-27drvw3w5f] {
    height: 22px;
    padding-top: 0.18rem;
    padding-bottom: 0.18rem;
    color: #334155;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.account-summary-table tbody td.amount-cash[b-27drvw3w5f],
.account-summary-table tbody td.amount-upi[b-27drvw3w5f],
.account-summary-table tbody td.amount-total[b-27drvw3w5f],
.account-summary-table tfoot th.amount-cash[b-27drvw3w5f],
.account-summary-table tfoot th.amount-upi[b-27drvw3w5f],
.account-summary-table tfoot th.amount-total[b-27drvw3w5f] {
    text-align: center;
}

.account-summary-table thead th:not(:first-child)[b-27drvw3w5f] {
    text-align: center;
}

.account-summary-table tfoot th:not(:first-child)[b-27drvw3w5f] {
    text-align: center;
}

.account-summary-table tbody tr:nth-child(even)[b-27drvw3w5f] {
    background: #fafbfe;
}

.account-summary-table tbody tr:hover[b-27drvw3w5f] {
    background: #f0f4ff;
}

.account-summary-table tfoot th[b-27drvw3w5f] {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    color: #172554;
    background: #eef2ff;
    border-bottom: 0;
    font-variant-numeric: tabular-nums;
}

.account-summary-table tfoot th.amount-cash[b-27drvw3w5f] {
    color: #047857;
    background: #ecfdf5;
}

.account-summary-table tfoot th.amount-upi[b-27drvw3w5f] {
    color: #0369a1;
    background: #eff8ff;
}

.account-summary-table tfoot th.amount-total[b-27drvw3w5f] {
    color: #5b21b6;
    background: #f5f3ff;
}

.account-summary-department-name[b-27drvw3w5f] {
    color: #1e293b;
    font-weight: 750;
}

.account-summary-department[b-27drvw3w5f] {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: 0.45rem;
}

.account-summary-department-icon[b-27drvw3w5f] {
    display: inline-grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    place-items: center;
    border-radius: 6px;
    font-size: 0.62rem;
}

.department-tone-0[b-27drvw3w5f] { color: #4f46e5; background: #eef2ff; }
.department-tone-1[b-27drvw3w5f] { color: #047857; background: #ecfdf5; }
.department-tone-2[b-27drvw3w5f] { color: #0369a1; background: #eff8ff; }
.department-tone-3[b-27drvw3w5f] { color: #c2410c; background: #fff7ed; }
.department-tone-4[b-27drvw3w5f] { color: #be123c; background: #fff1f2; }
.department-tone-5[b-27drvw3w5f] { color: #7e22ce; background: #faf5ff; }

.account-summary-table .amount-cash[b-27drvw3w5f] {
    color: #047857;
}

.account-summary-table .amount-upi[b-27drvw3w5f] {
    color: #0369a1;
}

.account-summary-table .amount-total[b-27drvw3w5f] {
    color: #4c1d95;
    font-weight: 800;
}

.account-summary-table .table-total-label[b-27drvw3w5f] {
    color: #3730a3;
    font-weight: 800;
}

.account-summary-no-data[b-27drvw3w5f] {
    padding: 2rem !important;
    color: #64748b;
    text-align: center;
}

.account-summary-empty[b-27drvw3w5f],
.account-summary-error[b-27drvw3w5f] {
    display: flex;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    color: #64748b;
}

.account-summary-denied[b-27drvw3w5f] {
    flex-direction: column;
    color: #b91c1c;
}

.account-summary-denied i[b-27drvw3w5f] {
    font-size: 2rem;
}

.account-summary-denied h2[b-27drvw3w5f],
.account-summary-denied p[b-27drvw3w5f] {
    margin: 0;
}

.account-summary-error[b-27drvw3w5f] {
    min-height: 0;
    justify-content: flex-start;
    padding: 0.85rem 1rem;
    border-color: #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

@media (max-width: 1100px) {
    .account-summary-header[b-27drvw3w5f] {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 240px);
        grid-template-areas:
            "heading total"
            "filters filters";
        gap: 0.45rem;
    }

    .account-summary-filter[b-27drvw3w5f] {
        grid-template-columns: minmax(115px, 1.1fr) minmax(115px, 1.1fr) minmax(95px, 0.85fr) minmax(95px, 0.85fr) auto;
        gap: 0.3rem;
    }

    .account-summary-grid[b-27drvw3w5f] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .account-summary-page[b-27drvw3w5f] {
        padding: 0.45rem;
    }

    .account-summary-header[b-27drvw3w5f] {
        grid-template-columns: minmax(0, 1fr) minmax(170px, 0.9fr);
        grid-template-areas:
            "heading total"
            "filters filters";
        padding: 0.5rem;
    }

    .account-summary-filter[b-27drvw3w5f] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0;
        padding: 0;
    }

    .account-summary-filter-actions[b-27drvw3w5f] {
        grid-column: 1 / -1;
    }

    .account-summary-grand-total[b-27drvw3w5f] {
        padding: 0.35rem 0.45rem;
    }

    .grand-total-amount[b-27drvw3w5f] {
        font-size: 1.05rem;
    }

    .grand-total-modes[b-27drvw3w5f] {
        gap: 0.25rem;
        font-size: 0.55rem;
    }

    .grand-total-mode-label[b-27drvw3w5f],
    .grand-total-modes b[b-27drvw3w5f] {
        font-size: 0.55rem;
    }

    .account-summary-grid[b-27drvw3w5f] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-summary-filter-actions button[b-27drvw3w5f] {
        flex: 1;
    }

    .account-summary-section-heading[b-27drvw3w5f] {
        align-items: center;
        flex-direction: row;
        padding: 0.4rem 0.55rem;
    }

    .account-summary-card[b-27drvw3w5f] {
        padding: 0.45rem 0.5rem;
    }

    .account-summary-card-total[b-27drvw3w5f] {
        font-size: 0.9rem;
    }

    .account-summary-card-split[b-27drvw3w5f],
    .account-summary-card-note[b-27drvw3w5f] {
        font-size: 0.56rem;
    }

    .account-summary-table-wrap[b-27drvw3w5f] {
        overflow-x: auto;
    }

    .account-summary-table[b-27drvw3w5f] {
        min-width: 620px;
    }
}

html[data-theme="dark"] .account-summary-page[b-27drvw3w5f] {
    color: #e2e8f0;
    background: #0f172a;
}

html[data-theme="dark"] .account-summary-header[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-departments[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-card[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-empty[b-27drvw3w5f] {
    border-color: #334155;
    background: #1e293b;
}

html[data-theme="dark"] .account-summary-header[b-27drvw3w5f] {
    background: linear-gradient(120deg, #1e293b, #1e1b4b);
}

html[data-theme="dark"] .account-summary-filter[b-27drvw3w5f] {
    border-top-color: #334155;
    background: rgba(15, 23, 42, 0.28);
}

html[data-theme="dark"] .account-summary-heading h1[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-section-heading h2[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-card-total[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-card-split b[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-department-name[b-27drvw3w5f] {
    color: #f8fafc;
}

html[data-theme="dark"] .account-summary-card-title[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-card-note[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-section-heading p[b-27drvw3w5f] {
    color: #94a3b8;
}

html[data-theme="dark"] .account-summary-filter .form-select[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-filter .form-control[b-27drvw3w5f] {
    border-color: #475569;
    color: #f8fafc;
    background-color: #0f172a;
}

html[data-theme="dark"] .account-summary-table thead th[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-table tfoot th[b-27drvw3w5f] {
    color: #cbd5e1;
    background: #0f172a;
}

html[data-theme="dark"] .account-summary-table .table-cash-heading[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-table tfoot th.amount-cash[b-27drvw3w5f] {
    color: #6ee7b7;
    background: #064e3b;
}

html[data-theme="dark"] .account-summary-table .table-upi-heading[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-table tfoot th.amount-upi[b-27drvw3w5f] {
    color: #7dd3fc;
    background: #0c4a6e;
}

html[data-theme="dark"] .account-summary-table .table-total-heading[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-table tfoot th.amount-total[b-27drvw3w5f] {
    color: #c4b5fd;
    background: #3b0764;
}

html[data-theme="dark"] .account-summary-table tbody tr[b-27drvw3w5f] {
    color: #cbd5e1;
    background: #1e293b;
}

html[data-theme="dark"] .account-summary-table tbody td[b-27drvw3w5f] {
    color: #cbd5e1;
    background: transparent;
}

html[data-theme="dark"] .account-summary-table tbody tr:nth-child(even)[b-27drvw3w5f] {
    background: #202e43;
}

html[data-theme="dark"] .account-summary-table tbody tr:hover[b-27drvw3w5f] {
    background: #26365a;
}

html[data-theme="dark"] .account-summary-table .amount-cash[b-27drvw3w5f] {
    color: #6ee7b7;
}

html[data-theme="dark"] .account-summary-table .amount-upi[b-27drvw3w5f] {
    color: #7dd3fc;
}

html[data-theme="dark"] .account-summary-table .amount-total[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-table .table-total-label[b-27drvw3w5f] {
    color: #c4b5fd;
}

html[data-theme="dark"] .department-tone-0[b-27drvw3w5f] { color: #c7d2fe; background: #312e81; }
html[data-theme="dark"] .department-tone-1[b-27drvw3w5f] { color: #a7f3d0; background: #064e3b; }
html[data-theme="dark"] .department-tone-2[b-27drvw3w5f] { color: #bae6fd; background: #0c4a6e; }
html[data-theme="dark"] .department-tone-3[b-27drvw3w5f] { color: #fed7aa; background: #7c2d12; }
html[data-theme="dark"] .department-tone-4[b-27drvw3w5f] { color: #fecdd3; background: #881337; }
html[data-theme="dark"] .department-tone-5[b-27drvw3w5f] { color: #e9d5ff; background: #581c87; }

html[data-theme="dark"] .account-summary-section-heading[b-27drvw3w5f] {
    background: linear-gradient(100deg, #1e293b, #172033);
}

html[data-theme="dark"] .account-summary-table th[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-table td[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-section-heading[b-27drvw3w5f] {
    border-color: #334155;
}

.account-summary-overview[b-27drvw3w5f] {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(235px, 0.9fr);
    gap: 0.55rem;
    flex: 0 0 auto;
}

.account-summary-overview-clinical[b-27drvw3w5f],
.account-summary-overview-pharmacy[b-27drvw3w5f] {
    min-width: 0;
    padding: 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.045);
}

.account-summary-overview-clinical[b-27drvw3w5f] {
    border-top: 3px solid #4f46e5;
}

.account-summary-overview-pharmacy[b-27drvw3w5f] {
    display: flex;
    flex-direction: column;
    border-top: 3px solid #059669;
    background: linear-gradient(145deg, #fff 0%, #f0fdf9 100%);
}

.account-summary-overview-heading[b-27drvw3w5f] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
}

.overview-heading-icon[b-27drvw3w5f] {
    display: grid;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    place-items: center;
    border-radius: 9px;
    font-size: 0.9rem;
}

.clinical-icon[b-27drvw3w5f] {
    color: #4f46e5;
    background: #eef2ff;
}

.pharmacy-icon[b-27drvw3w5f] {
    color: #047857;
    background: #d1fae5;
}

.account-summary-overview-heading h2[b-27drvw3w5f] {
    margin: 0;
    color: #172554;
    font-size: 0.83rem;
    font-weight: 850;
}

.account-summary-overview-heading p[b-27drvw3w5f] {
    margin: 0.08rem 0 0;
    color: #64748b;
    font-size: 0.62rem;
}

.account-summary-stat-grid[b-27drvw3w5f] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.38rem;
}

.hospital-calculation[b-27drvw3w5f] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.28rem;
    margin-top: 0.45rem;
    padding: 0.42rem 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    background: #f8fafc;
}

.hospital-calculation > span[b-27drvw3w5f] {
    display: inline-flex;
    align-items: baseline;
    gap: 0.2rem;
    padding: 0.22rem 0.34rem;
    border: 1px solid #e8edf5;
    border-radius: 6px;
    color: #475569;
    background: #fff;
    font-size: 0.54rem;
    white-space: nowrap;
}

.hospital-calculation > span b[b-27drvw3w5f] {
    color: #1e293b;
    font-size: 0.58rem;
    font-variant-numeric: tabular-nums;
}

.hospital-calculation > .calculation-plus[b-27drvw3w5f],
.hospital-calculation > .calculation-minus[b-27drvw3w5f],
.hospital-calculation > .calculation-equals[b-27drvw3w5f] {
    padding: 0 0.04rem;
    font-size: 0.85rem;
    font-weight: 900;
}

.hospital-calculation > .calculation-plus[b-27drvw3w5f] {
    color: #047857;
}

.hospital-calculation > .calculation-minus[b-27drvw3w5f] {
    color: #be123c;
}

.hospital-calculation > .calculation-equals[b-27drvw3w5f] {
    color: #4338ca;
}

.hospital-calculation > strong[b-27drvw3w5f] {
    margin-left: auto;
    color: #0f766e;
    font-size: 0.76rem;
    font-weight: 900;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.account-summary-stat[b-27drvw3w5f] {
    display: flex;
    min-width: 0;
    min-height: 67px;
    flex-direction: column;
    justify-content: center;
    gap: 0.12rem;
    padding: 0.42rem 0.55rem;
    border: 1px solid #e8edf5;
    border-left: 3px solid #6366f1;
    border-radius: 9px;
    background: #fbfcff;
}

.account-summary-stat > span[b-27drvw3w5f] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #64748b;
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
}

.account-summary-stat > span i[b-27drvw3w5f] {
    color: #6366f1;
    font-size: 0.7rem;
}

.account-summary-stat > strong[b-27drvw3w5f] {
    overflow: hidden;
    color: #172554;
    font-size: 0.92rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.account-summary-stat > small[b-27drvw3w5f] {
    overflow: hidden;
    color: #64748b;
    font-size: 0.55rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-summary-stat > small b[b-27drvw3w5f] {
    padding: 0 0.1rem;
    color: #cbd5e1;
}

.stat-clinical[b-27drvw3w5f] { border-left-color: #4f46e5; }
.stat-due[b-27drvw3w5f] { border-left-color: #0d9488; }
.stat-advance[b-27drvw3w5f] { border-left-color: #d97706; }
.stat-discount[b-27drvw3w5f] { border-left-color: #0284c7; }
.stat-refund[b-27drvw3w5f] { border-left-color: #e11d48; }
.stat-hospital-total[b-27drvw3w5f] { border-left-color: #0f766e; }
.stat-due > span i[b-27drvw3w5f] { color: #0d9488; }
.stat-advance > span i[b-27drvw3w5f] { color: #d97706; }
.stat-discount > span i[b-27drvw3w5f] { color: #0284c7; }
.stat-refund > span i[b-27drvw3w5f] { color: #e11d48; }
.stat-hospital-total > span i[b-27drvw3w5f] { color: #0f766e; }

.pharmacy-total[b-27drvw3w5f] {
    margin-top: 0.2rem;
    color: #065f46;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.pharmacy-total-label[b-27drvw3w5f] {
    margin-top: 0;
    color: #64748b;
    font-size: 0.58rem;
}

.pharmacy-overview-adjustments[b-27drvw3w5f] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
    margin-top: 0.4rem;
}

.pharmacy-overview-adjustments .pharmacy-adjustment[b-27drvw3w5f] {
    padding: 0.32rem 0.4rem;
}

.pharmacy-overview-adjustments .pharmacy-adjustment span[b-27drvw3w5f],
.pharmacy-overview-adjustments .pharmacy-adjustment strong[b-27drvw3w5f] {
    font-size: 0.54rem;
}

.pharmacy-data-warning[b-27drvw3w5f] {
    margin: 0.2rem 0;
    color: #b91c1c;
    font-size: 0.58rem;
    font-weight: 700;
}

.pharmacy-payment-split[b-27drvw3w5f] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.75rem;
}

.pharmacy-payment-split > div[b-27drvw3w5f] {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    padding: 0.4rem 0.5rem;
    border: 1px solid #d1fae5;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.75);
}

.pharmacy-payment-split span[b-27drvw3w5f] {
    color: #64748b;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pharmacy-payment-split strong[b-27drvw3w5f] {
    color: #047857;
    font-size: 0.82rem;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

.account-summary-report-grid[b-27drvw3w5f] {
    display: grid;
    min-height: 0;
    flex: 1 1 0;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.85fr);
    gap: 0.55rem;
}

.account-summary-report-grid .account-summary-departments[b-27drvw3w5f] {
    min-width: 0;
}

.clinical-report-panel .account-summary-table[b-27drvw3w5f] {
    min-width: 540px;
}

.clinical-report-panel .account-summary-table thead th:first-child[b-27drvw3w5f],
.clinical-report-panel .account-summary-table tbody td:first-child[b-27drvw3w5f],
.clinical-report-panel .account-summary-table tfoot th:first-child[b-27drvw3w5f] {
    width: 40%;
}

.clinical-report-panel .account-summary-table thead th:not(:first-child)[b-27drvw3w5f],
.clinical-report-panel .account-summary-table tbody td:not(:first-child)[b-27drvw3w5f],
.clinical-report-panel .account-summary-table tfoot th:not(:first-child)[b-27drvw3w5f] {
    width: 20%;
}

.panel-eyebrow[b-27drvw3w5f] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.12rem;
    color: #4f46e5;
    font-size: 0.55rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pharmacy-eyebrow[b-27drvw3w5f] {
    color: #047857;
}

.pharmacy-report-content[b-27drvw3w5f] {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.7rem;
}

.pharmacy-report-total[b-27drvw3w5f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.7rem;
    border: 1px solid #d1fae5;
    border-radius: 10px;
    background: linear-gradient(110deg, #ecfdf5, #f0fdfa);
}

.pharmacy-report-total span[b-27drvw3w5f] {
    color: #047857;
    font-size: 0.7rem;
    font-weight: 750;
}

.pharmacy-report-total strong[b-27drvw3w5f] {
    color: #065f46;
    font-size: 1.05rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.pharmacy-report-modes[b-27drvw3w5f] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.pharmacy-mode-card[b-27drvw3w5f] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.28rem;
    padding: 0.6rem;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    background: #fff;
}

.pharmacy-mode-card span[b-27drvw3w5f] {
    display: flex;
    align-items: center;
    gap: 0.32rem;
    color: #64748b;
    font-size: 0.62rem;
    font-weight: 750;
}

.pharmacy-mode-card strong[b-27drvw3w5f] {
    overflow: hidden;
    color: #172554;
    font-size: 0.88rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.mode-cash span i[b-27drvw3w5f] { color: #059669; }
.mode-upi span i[b-27drvw3w5f] { color: #0284c7; }
.mode-card span i[b-27drvw3w5f] { color: #7c3aed; }
.mode-advance span i[b-27drvw3w5f] { color: #d97706; }

.pharmacy-adjustment[b-27drvw3w5f] {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    padding: 0.42rem 0.5rem;
    border: 1px solid;
    border-radius: 8px;
}

.pharmacy-adjustment span[b-27drvw3w5f],
.pharmacy-adjustment strong[b-27drvw3w5f] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6rem;
    font-weight: 800;
    white-space: nowrap;
}

.pharmacy-adjustment strong[b-27drvw3w5f] {
    font-variant-numeric: tabular-nums;
}

.pharmacy-discount[b-27drvw3w5f] {
    border-color: #fecdd3;
    color: #be123c;
    background: #fff1f2;
}

.pharmacy-discount strong[b-27drvw3w5f] {
    color: #be123c;
}

.pharmacy-due[b-27drvw3w5f] {
    border-color: #fed7aa;
    color: #c2410c;
    background: #fff7ed;
}

.pharmacy-due strong[b-27drvw3w5f] {
    color: #c2410c;
}

.pharmacy-due-collected[b-27drvw3w5f] {
    border-color: #a7f3d0;
    color: #047857;
    background: #ecfdf5;
}

.pharmacy-due-collected strong[b-27drvw3w5f] {
    color: #047857;
}

.pharmacy-sales-return[b-27drvw3w5f] {
    border-color: #fecdd3;
    color: #be123c;
    background: #fff1f2;
}

.pharmacy-sales-return strong[b-27drvw3w5f] {
    color: #be123c;
}

.pharmacy-empty-state[b-27drvw3w5f] {
    display: flex;
    min-height: 150px;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    color: #64748b;
    font-size: 0.72rem;
    text-align: center;
}

.pharmacy-empty-state i[b-27drvw3w5f] {
    color: #10b981;
    font-size: 1.7rem;
}

@media (max-width: 1100px) {
    .account-summary-overview[b-27drvw3w5f] {
        grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.9fr);
    }

    .account-summary-report-grid[b-27drvw3w5f] {
        grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.9fr);
    }
}

@media (max-width: 900px) {
    .account-summary-page[b-27drvw3w5f] {
        height: auto;
        max-height: none;
        min-height: 100%;
        overflow-y: auto;
    }

    .account-summary-overview[b-27drvw3w5f],
    .account-summary-report-grid[b-27drvw3w5f] {
        grid-template-columns: 1fr;
    }

    .account-summary-report-grid[b-27drvw3w5f] {
        flex: 0 0 auto;
    }

    .account-summary-report-grid .account-summary-departments[b-27drvw3w5f] {
        min-height: 280px;
    }

    .account-summary-overview-pharmacy[b-27drvw3w5f] {
        min-height: 180px;
    }
}

@media (max-width: 640px) {
    .account-summary-stat-grid[b-27drvw3w5f] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hospital-calculation[b-27drvw3w5f] {
        justify-content: flex-start;
        gap: 0.18rem;
        padding: 0.35rem;
    }

    .hospital-calculation > span[b-27drvw3w5f] {
        font-size: 0.5rem;
    }

    .hospital-calculation > strong[b-27drvw3w5f] {
        width: 100%;
        margin: 0;
        padding: 0.25rem 0.3rem 0;
        border-top: 1px solid #dbe3ee;
        text-align: right;
    }

    .account-summary-overview-clinical[b-27drvw3w5f],
    .account-summary-overview-pharmacy[b-27drvw3w5f] {
        padding: 0.55rem;
    }

    .account-summary-stat[b-27drvw3w5f] {
        min-height: 64px;
        padding: 0.38rem;
    }

    .account-summary-stat > strong[b-27drvw3w5f] {
        font-size: 0.82rem;
    }

    .clinical-report-panel .account-summary-table[b-27drvw3w5f] {
        min-width: 520px;
    }
}

html[data-theme="dark"] .account-summary-overview-clinical[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-overview-pharmacy[b-27drvw3w5f] {
    border-color: #334155;
    background: #1e293b;
}

html[data-theme="dark"] .account-summary-overview-pharmacy[b-27drvw3w5f] {
    background: linear-gradient(145deg, #1e293b, #064e3b);
}

html[data-theme="dark"] .account-summary-overview-heading h2[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-stat > strong[b-27drvw3w5f],
html[data-theme="dark"] .pharmacy-mode-card strong[b-27drvw3w5f] {
    color: #f8fafc;
}

html[data-theme="dark"] .account-summary-overview-heading p[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-stat > span[b-27drvw3w5f],
html[data-theme="dark"] .account-summary-stat > small[b-27drvw3w5f],
html[data-theme="dark"] .pharmacy-total-label[b-27drvw3w5f],
html[data-theme="dark"] .pharmacy-mode-card span[b-27drvw3w5f] {
    color: #94a3b8;
}

html[data-theme="dark"] .hospital-calculation[b-27drvw3w5f] {
    border-color: #334155;
    background: #0f172a;
}

html[data-theme="dark"] .hospital-calculation > span[b-27drvw3w5f] {
    border-color: #334155;
    color: #cbd5e1;
    background: #1e293b;
}

html[data-theme="dark"] .hospital-calculation > span b[b-27drvw3w5f] {
    color: #f8fafc;
}

html[data-theme="dark"] .hospital-calculation > .calculation-plus[b-27drvw3w5f] {
    color: #6ee7b7;
}

html[data-theme="dark"] .hospital-calculation > .calculation-minus[b-27drvw3w5f] {
    color: #fda4af;
}

html[data-theme="dark"] .hospital-calculation > .calculation-equals[b-27drvw3w5f] {
    color: #c4b5fd;
}

html[data-theme="dark"] .hospital-calculation > strong[b-27drvw3w5f] {
    color: #5eead4;
}

html[data-theme="dark"] .account-summary-stat[b-27drvw3w5f],
html[data-theme="dark"] .pharmacy-mode-card[b-27drvw3w5f] {
    border-color: #334155;
    background: #0f172a;
}

html[data-theme="dark"] .pharmacy-total[b-27drvw3w5f],
html[data-theme="dark"] .pharmacy-payment-split strong[b-27drvw3w5f],
html[data-theme="dark"] .pharmacy-report-total strong[b-27drvw3w5f] {
    color: #6ee7b7;
}

html[data-theme="dark"] .pharmacy-payment-split > div[b-27drvw3w5f] {
    border-color: #065f46;
    background: rgba(15, 23, 42, 0.75);
}

html[data-theme="dark"] .pharmacy-report-total[b-27drvw3w5f] {
    border-color: #065f46;
    background: #064e3b;
}

html[data-theme="dark"] .pharmacy-report-total span[b-27drvw3w5f],
html[data-theme="dark"] .pharmacy-eyebrow[b-27drvw3w5f],
html[data-theme="dark"] .mode-cash span i[b-27drvw3w5f] {
    color: #6ee7b7;
}

html[data-theme="dark"] .pharmacy-discount[b-27drvw3w5f] {
    border-color: #881337;
    color: #fecdd3;
    background: #4c0519;
}

html[data-theme="dark"] .pharmacy-discount strong[b-27drvw3w5f] {
    color: #fda4af;
}

html[data-theme="dark"] .pharmacy-due[b-27drvw3w5f] {
    border-color: #7c2d12;
    color: #fed7aa;
    background: #431407;
}

html[data-theme="dark"] .pharmacy-due strong[b-27drvw3w5f] {
    color: #fdba74;
}

html[data-theme="dark"] .pharmacy-due-collected[b-27drvw3w5f] {
    border-color: #065f46;
    color: #a7f3d0;
    background: #064e3b;
}

html[data-theme="dark"] .pharmacy-due-collected strong[b-27drvw3w5f] {
    color: #6ee7b7;
}

html[data-theme="dark"] .pharmacy-sales-return[b-27drvw3w5f] {
    border-color: #881337;
    color: #fecdd3;
    background: #4c0519;
}

html[data-theme="dark"] .pharmacy-sales-return strong[b-27drvw3w5f],
html[data-theme="dark"] .pharmacy-data-warning[b-27drvw3w5f] {
    color: #fda4af;
}

.account-summary-heading-copy[b-27drvw3w5f] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.12rem;
}

.account-summary-table-wrap[b-27drvw3w5f] {
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.account-summary-bottom-totals[b-27drvw3w5f] {
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.bottom-total-item[b-27drvw3w5f] {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.48rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.035);
}

.bottom-total-item span[b-27drvw3w5f] {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.38rem;
    color: #475569;
    font-size: 0.66rem;
    font-weight: 800;
}

.bottom-total-item span i[b-27drvw3w5f] {
    font-size: 0.78rem;
}

.bottom-total-item strong[b-27drvw3w5f] {
    color: #172554;
    font-size: 0.95rem;
    font-weight: 900;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.hospital-bottom-total[b-27drvw3w5f] {
    border-left: 4px solid #0f766e;
    background: linear-gradient(100deg, #fff, #f5f6ff);
}

.hospital-bottom-total span i[b-27drvw3w5f],
.hospital-bottom-total strong[b-27drvw3w5f] {
    color: #0f766e;
}

.pharmacy-bottom-total[b-27drvw3w5f] {
    border-left: 4px solid #059669;
    background: linear-gradient(100deg, #fff, #f0fdf9);
}

.pharmacy-bottom-total span i[b-27drvw3w5f],
.pharmacy-bottom-total strong[b-27drvw3w5f] {
    color: #047857;
}

@media (max-width: 640px) {
    .account-summary-bottom-totals[b-27drvw3w5f] {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .bottom-total-item[b-27drvw3w5f] {
        padding: 0.45rem 0.6rem;
    }
}

html[data-theme="dark"] .bottom-total-item span[b-27drvw3w5f] {
    color: #cbd5e1;
}

html[data-theme="dark"] .bottom-total-item strong[b-27drvw3w5f] {
    color: #c4b5fd;
}

html[data-theme="dark"] .account-summary-grand-total[b-27drvw3w5f] {
    border-color: #4338ca;
    background: linear-gradient(125deg, #1e293b, #312e81);
}

html[data-theme="dark"] .grand-total-heading > span[b-27drvw3w5f],
html[data-theme="dark"] .grand-total-amount[b-27drvw3w5f] {
    color: #c4b5fd;
}

html[data-theme="dark"] .grand-total-modes[b-27drvw3w5f] {
    color: #cbd5e1;
}

html[data-theme="dark"] .grand-total-mode-label[b-27drvw3w5f] {
    color: #cbd5e1;
}

html[data-theme="dark"] .grand-total-cash b[b-27drvw3w5f] {
    color: #6ee7b7;
}

html[data-theme="dark"] .grand-total-upi b[b-27drvw3w5f] {
    color: #7dd3fc;
}

html[data-theme="dark"] .bottom-total-item[b-27drvw3w5f] {
    border-color: #334155;
    background: #1e293b;
}

html[data-theme="dark"] .hospital-bottom-total[b-27drvw3w5f] {
    background: linear-gradient(100deg, #1e293b, #134e4a);
}

html[data-theme="dark"] .stat-hospital-total > span i[b-27drvw3w5f] {
    color: #5eead4;
}

html[data-theme="dark"] .hospital-bottom-total span i[b-27drvw3w5f],
html[data-theme="dark"] .hospital-bottom-total strong[b-27drvw3w5f] {
    color: #5eead4;
}

html[data-theme="dark"] .pharmacy-bottom-total[b-27drvw3w5f] {
    background: linear-gradient(100deg, #1e293b, #064e3b);
}

html[data-theme="dark"] .pharmacy-bottom-total span i[b-27drvw3w5f],
html[data-theme="dark"] .pharmacy-bottom-total strong[b-27drvw3w5f] {
    color: #6ee7b7;
}
/* /Components/Pages/AppointPreBooking.razor.rz.scp.css */
/* Appointment Pre Booking Styles matching Reception Portal theme */

.prebooking-page[b-0j8j4w7awv] {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
}

/* 1. Patient Master Header Card */
.lab-header-card[b-0j8j4w7awv] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1rem 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.lab-title-text[b-0j8j4w7awv] {
    color: #312e81 !important;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.3px;
}

.display-flex[b-0j8j4w7awv] { display: flex; }
.align-center[b-0j8j4w7awv] { align-items: center; }
.flex-between[b-0j8j4w7awv] { justify-content: space-between; }
.flex-center[b-0j8j4w7awv] { display: flex; align-items: center; justify-content: center; }
.gap-12[b-0j8j4w7awv] { gap: 12px; }
.gap-6[b-0j8j4w7awv] { gap: 6px; }

.bg-indigo-50[b-0j8j4w7awv] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    border: 1px solid #c7d2fe !important;
}

.rounded-lg[b-0j8j4w7awv] { border-radius: 10px; }
.shadow-sm[b-0j8j4w7awv] { box-shadow: 0 2px 6px rgba(79, 70, 229, 0.12); }

.icon-box-container[b-0j8j4w7awv] {
    width: 38px;
    height: 38px;
}

.icon-lg[b-0j8j4w7awv] { font-size: 20px !important; }
.text-indigo-600[b-0j8j4w7awv] { color: #4f46e5 !important; }

.status-pulse-dot[b-0j8j4w7awv] {
    width: 7px;
    height: 7px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.status-text[b-0j8j4w7awv] {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.btn-new-patient-primary[b-0j8j4w7awv] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    height: 34px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: all 0.15s ease;
}

.btn-new-patient-primary:hover[b-0j8j4w7awv] {
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
}

.header-action-group[b-0j8j4w7awv] {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 2. Main Section Card with Fixed Height & Inner Data Scroll */
.reception-card[b-0j8j4w7awv] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.card-header-flex[b-0j8j4w7awv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1.5px solid #eef2ff;
    flex-shrink: 0;
}

.card-section-title[b-0j8j4w7awv] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #3730a3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-indigo-badge[b-0j8j4w7awv] {
    font-size: 20px !important;
    color: #4f46e5;
    background: #e0e7ff;
    padding: 4px;
    border-radius: 6px;
    vertical-align: middle;
}

.search-input-wrapper[b-0j8j4w7awv] {
    position: relative;
    width: 260px;
}

.search-input[b-0j8j4w7awv] {
    width: 100%;
    height: 34px;
    padding: 0 12px 0 34px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.82rem;
    outline: none;
    transition: all 0.15s ease;
}

.search-input:focus[b-0j8j4w7awv] {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-icon-left[b-0j8j4w7awv] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.85rem;
}

/* 3. Scrollable Table Wrapper */
.recent-table-wrapper[b-0j8j4w7awv] {
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
    background: #ffffff;
}

/* Custom Sleek Scrollbar */
.recent-table-wrapper[b-0j8j4w7awv]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.recent-table-wrapper[b-0j8j4w7awv]::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.recent-table-wrapper[b-0j8j4w7awv]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.recent-table-wrapper[b-0j8j4w7awv]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.recent-checkins-table[b-0j8j4w7awv] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.recent-checkins-table th[b-0j8j4w7awv] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 12px 16px;
    border-bottom: 1.5px solid #e2e8f0;
    text-align: left;
    background: #f8fafc;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.recent-checkins-table td[b-0j8j4w7awv] {
    padding: 11px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.84rem;
    color: #334155;
    vertical-align: middle;
}

.recent-checkins-table tr:hover td[b-0j8j4w7awv] {
    background: #f8fafc;
}

.table-patient-id[b-0j8j4w7awv] {
    font-weight: 700;
    color: #4f46e5;
}

.col-sno[b-0j8j4w7awv] {
    color: #64748b;
    font-weight: 600;
}

.col-actions[b-0j8j4w7awv] {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

/* Buttons */
.btn-action-edit[b-0j8j4w7awv], .btn-action-delete[b-0j8j4w7awv], .btn-action-check[b-0j8j4w7awv] {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
    font-size: 13px;
}

.btn-action-edit:hover[b-0j8j4w7awv] {
    background-color: #eef2ff;
    border-color: #c7d2fe;
    color: #4f46e5;
    transform: translateY(-1px);
}

.btn-action-delete:hover[b-0j8j4w7awv] {
    background-color: #fef2f2;
    border-color: #fca5a5;
    color: #ef4444;
    transform: translateY(-1px);
}

.btn-action-check:hover[b-0j8j4w7awv] {
    background-color: #f0fdf4;
    border-color: #bbf7d0;
    color: #16a34a;
    transform: translateY(-1px);
}

/* Status dropdown select wrapper */
.status-dropdown-wrapper[b-0j8j4w7awv] {
    position: relative;
    display: inline-block;
}

.status-dropdown-select[b-0j8j4w7awv] {
    appearance: none;
    -webkit-appearance: none;
    padding: 4px 24px 4px 12px;
    font-size: 0.74rem;
    font-weight: 700;
    border-radius: 20px;
    border: 1px solid transparent;
    cursor: pointer;
    outline: none;
    transition: all 0.15s ease;
}

.select-arrow-icon[b-0j8j4w7awv] {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.65rem;
}

/* Status variants matching Arrived style */
.status-booked[b-0j8j4w7awv] {
    background-color: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.status-visited[b-0j8j4w7awv] {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

/* Form controls */
.form-grid[b-0j8j4w7awv] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.form-group[b-0j8j4w7awv] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group-full[b-0j8j4w7awv] {
    grid-column: span 3;
}

.form-group-span-2[b-0j8j4w7awv] {
    grid-column: span 2;
}

.field-uppercase-label[b-0j8j4w7awv] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control-input[b-0j8j4w7awv], .form-control-select[b-0j8j4w7awv] {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.form-control-input:focus[b-0j8j4w7awv], .form-control-select:focus[b-0j8j4w7awv] {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.textarea-control[b-0j8j4w7awv] {
    width: 100%;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.85rem;
    outline: none;
    min-height: 80px;
    resize: vertical;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.textarea-control:focus[b-0j8j4w7awv] {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Custom Search Box Autocomplete for Form */
.autocomplete-wrapper[b-0j8j4w7awv] {
    position: relative;
}

.autocomplete-dropdown[b-0j8j4w7awv] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    margin-top: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1050;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.autocomplete-item[b-0j8j4w7awv] {
    padding: 8px 12px;
    font-size: 0.82rem;
    color: #334155;
    cursor: pointer;
    transition: background 0.1s;
}

.autocomplete-item:hover[b-0j8j4w7awv] {
    background: #f1f5f9;
}

/* 4. Pagination Footer Fixed at Bottom */
.table-footer[b-0j8j4w7awv] {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border-top: 1.5px solid #eef2ff;
    flex-shrink: 0;
}

.footer-info-text[b-0j8j4w7awv] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
}

.pagination-group[b-0j8j4w7awv] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-btn[b-0j8j4w7awv] {
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pagination-btn:hover:not(:disabled)[b-0j8j4w7awv] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

.pagination-btn.active[b-0j8j4w7awv] {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #ffffff;
}

.pagination-btn:disabled[b-0j8j4w7awv] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Modal Dialog */
.modal-overlay[b-0j8j4w7awv] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-container[b-0j8j4w7awv] {
    background: #ffffff;
    width: 900px;
    max-width: 95vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalFadeIn-b-0j8j4w7awv 0.2s ease-out;
}

@keyframes modalFadeIn-b-0j8j4w7awv {
    from { transform: translateY(8px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header[b-0j8j4w7awv] {
    background: #ffffff;
    padding: 18px 24px 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    border-bottom: none;
}

.modal-title[b-0j8j4w7awv] {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.btn-close-modal[b-0j8j4w7awv] {
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-close-modal:hover[b-0j8j4w7awv] {
    color: #ef4444 !important;
    background-color: #fef2f2;
    transform: scale(1.1);
}

.modal-body[b-0j8j4w7awv] {
    padding: 12px 24px 20px 24px;
    flex: 1;
    overflow-y: auto;
}

.modal-footer[b-0j8j4w7awv] {
    padding: 14px 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-secondary[b-0j8j4w7awv] {
    background: #f1f5f9;
    color: #475569;
    border: none;
    height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.btn-secondary:hover[b-0j8j4w7awv] {
    background: #e2e8f0;
}

.btn-primary-indigo[b-0j8j4w7awv] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.25);
}

.btn-primary-indigo:hover[b-0j8j4w7awv] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

/* ============================================================
   DARK MODE OVERRIDES FOR APPOINTMENT PRE-BOOKING
   ============================================================ */
html[data-theme="dark"] .prebooking-page[b-0j8j4w7awv],
body.dark-mode .prebooking-page[b-0j8j4w7awv] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .lab-header-card[b-0j8j4w7awv],
body.dark-mode .lab-header-card[b-0j8j4w7awv] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .lab-title-text[b-0j8j4w7awv],
body.dark-mode .lab-title-text[b-0j8j4w7awv] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .status-text[b-0j8j4w7awv],
body.dark-mode .status-text[b-0j8j4w7awv] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .bg-indigo-50[b-0j8j4w7awv],
body.dark-mode .bg-indigo-50[b-0j8j4w7awv] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .reception-card[b-0j8j4w7awv],
body.dark-mode .reception-card[b-0j8j4w7awv] {
    background-color: #1e293b !important;
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] .card-header-flex[b-0j8j4w7awv],
body.dark-mode .card-header-flex[b-0j8j4w7awv] {
    border-bottom-color: #334155 !important;
}

html[data-theme="dark"] .card-section-title[b-0j8j4w7awv],
body.dark-mode .card-section-title[b-0j8j4w7awv] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .icon-indigo-badge[b-0j8j4w7awv],
body.dark-mode .icon-indigo-badge[b-0j8j4w7awv] {
    background-color: #312e81 !important;
    color: #a5b4fc !important;
}

html[data-theme="dark"] .search-input[b-0j8j4w7awv],
body.dark-mode .search-input[b-0j8j4w7awv] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .search-icon-left[b-0j8j4w7awv],
body.dark-mode .search-icon-left[b-0j8j4w7awv] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .recent-table-wrapper[b-0j8j4w7awv],
body.dark-mode .recent-table-wrapper[b-0j8j4w7awv] {
    background-color: #1e293b !important;
    background: #1e293b !important;
}

html[data-theme="dark"] .recent-checkins-table th[b-0j8j4w7awv],
body.dark-mode .recent-checkins-table th[b-0j8j4w7awv] {
    background-color: #0f172a !important;
    border-bottom-color: #334155 !important;
    color: #38bdf8 !important;
}

html[data-theme="dark"] .recent-checkins-table td[b-0j8j4w7awv],
body.dark-mode .recent-checkins-table td[b-0j8j4w7awv] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .recent-checkins-table tr:hover td[b-0j8j4w7awv],
body.dark-mode .recent-checkins-table tr:hover td[b-0j8j4w7awv] {
    background-color: #0f172a !important;
}

html[data-theme="dark"] .col-sno[b-0j8j4w7awv],
body.dark-mode .col-sno[b-0j8j4w7awv] {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .btn-action-edit[b-0j8j4w7awv],
body.dark-mode .btn-action-edit[b-0j8j4w7awv],
html[data-theme="dark"] .btn-action-delete[b-0j8j4w7awv],
body.dark-mode .btn-action-delete[b-0j8j4w7awv],
html[data-theme="dark"] .btn-action-check[b-0j8j4w7awv],
body.dark-mode .btn-action-check[b-0j8j4w7awv] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .btn-action-edit:hover[b-0j8j4w7awv],
body.dark-mode .btn-action-edit:hover[b-0j8j4w7awv] {
    background-color: #312e81 !important;
    border-color: #4f46e5 !important;
    color: #a5b4fc !important;
}

html[data-theme="dark"] .btn-action-delete:hover[b-0j8j4w7awv],
body.dark-mode .btn-action-delete:hover[b-0j8j4w7awv] {
    background-color: #7f1d1d !important;
    border-color: #ef4444 !important;
    color: #fca5a5 !important;
}

html[data-theme="dark"] .table-footer[b-0j8j4w7awv],
body.dark-mode .table-footer[b-0j8j4w7awv] {
    background-color: #1e293b !important;
    border-top-color: #334155 !important;
}

html[data-theme="dark"] .footer-info-text[b-0j8j4w7awv],
body.dark-mode .footer-info-text[b-0j8j4w7awv] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .pagination-btn[b-0j8j4w7awv],
body.dark-mode .pagination-btn[b-0j8j4w7awv] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .modal-container[b-0j8j4w7awv],
body.dark-mode .modal-container[b-0j8j4w7awv] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .modal-header[b-0j8j4w7awv],
body.dark-mode .modal-header[b-0j8j4w7awv],
html[data-theme="dark"] .modal-footer[b-0j8j4w7awv],
body.dark-mode .modal-footer[b-0j8j4w7awv] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .modal-title[b-0j8j4w7awv],
body.dark-mode .modal-title[b-0j8j4w7awv] {
    color: #38bdf8 !important;
}

html[data-theme="dark"] .btn-secondary[b-0j8j4w7awv],
body.dark-mode .btn-secondary[b-0j8j4w7awv] {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .field-uppercase-label[b-0j8j4w7awv],
body.dark-mode .field-uppercase-label[b-0j8j4w7awv] {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .form-control-input[b-0j8j4w7awv],
body.dark-mode .form-control-input[b-0j8j4w7awv],
html[data-theme="dark"] .form-control-select[b-0j8j4w7awv],
body.dark-mode .form-control-select[b-0j8j4w7awv],
html[data-theme="dark"] .textarea-control[b-0j8j4w7awv],
body.dark-mode .textarea-control[b-0j8j4w7awv] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}
/* Master dashboard theme */
.prebooking-page[b-0j8j4w7awv] { 
    height: 100% !important; 
    max-height: 100% !important; 
    overflow: hidden !important; 
    padding: 0 !important; 
    gap: 0.35rem !important; 
    background: #f1f5fb !important; 
}
.prebooking-page .lab-header-card[b-0j8j4w7awv] { padding: .15rem 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.prebooking-page .icon-box-container[b-0j8j4w7awv] { background: #e4f4ff !important; }
.prebooking-page .lab-title-text[b-0j8j4w7awv] { color: #07547c !important; font-size: 1.7rem !important; font-weight: 800 !important; }
.prebooking-page .status-text[b-0j8j4w7awv] { color: #647b90 !important; font-size: .78rem !important; }
.prebooking-page .reception-card[b-0j8j4w7awv] { 
    flex: 1 1 auto !important; 
    min-height: 0 !important; 
    max-height: calc(100vh - 120px) !important;
    border: 1px solid #dfe7f1 !important; 
    border-radius: 10px !important; 
    box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; 
    background: #fff !important; 
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}
.prebooking-page .recent-table-wrapper[b-0j8j4w7awv] { 
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    background: #fff !important; 
}
.prebooking-page .recent-table-wrapper[b-0j8j4w7awv]::-webkit-scrollbar {
    width: 7px !important;
    height: 7px !important;
    display: block !important;
}
.prebooking-page .recent-table-wrapper[b-0j8j4w7awv]::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
    border-radius: 4px !important;
}
.prebooking-page .recent-table-wrapper[b-0j8j4w7awv]::-webkit-scrollbar-thumb {
    background: #94a3b8 !important;
    border-radius: 4px !important;
}
.prebooking-page .recent-table-wrapper[b-0j8j4w7awv]::-webkit-scrollbar-thumb:hover {
    background: #64748b !important;
}
.prebooking-page .recent-checkins-table thead tr[b-0j8j4w7awv] { height: 32px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; border-bottom: 1px solid #07547c !important; }
.prebooking-page .recent-checkins-table th[b-0j8j4w7awv] { 
    height: 32px !important;
    padding: 4px 8px !important; 
    color: #fff !important; 
    background: transparent !important; 
    font-size: 11px !important; 
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-bottom: 1px solid #07547c !important;
    vertical-align: middle !important;
}
.prebooking-page .recent-checkins-table th:last-child[b-0j8j4w7awv] { border-right: none !important; }
.prebooking-page .recent-checkins-table td[b-0j8j4w7awv] { height: 34px !important; padding: 4px 8px !important; font-size: 11.5px !important; color: #334155 !important; border-bottom: 1px solid #edf2f7 !important; border-right: 1px solid #f8fafc !important; vertical-align: middle !important; }
.prebooking-page .recent-checkins-table tbody tr[b-0j8j4w7awv] { height: 34px !important; min-height: 34px !important; }
.prebooking-page .recent-checkins-table tbody tr:nth-child(even)[b-0j8j4w7awv] { background: #fcfdfe !important; }
.prebooking-page .recent-checkins-table tbody tr:hover[b-0j8j4w7awv] { background: #f0fdfa !important; }
/* /Components/Pages/AreaMaster.razor.rz.scp.css */
/* ========== PAGE LAYOUT ========== */
/* Override the global main-content padding for this page only */
:global(.main-content):has(.cm-page)[b-5ezr1ga626] {
    padding: 0 !important;
}

.cm-page[b-5ezr1ga626] {
    padding: 0.8rem 1rem 1rem;
    background: #ffffff;
    min-height: 100vh;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* ========== HEADER CARD ========== */
.cm-header-card[b-5ezr1ga626] {
    background: linear-gradient(100deg, #e0ebff 0%, #e8f0ff 100%);
    border-radius: 14px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(80, 80, 200, 0.07);
}

.cm-header-left[b-5ezr1ga626] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.cm-title[b-5ezr1ga626] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e1b4b;
    margin: 0;
    line-height: 1.2;
}

.cm-subtitle[b-5ezr1ga626] {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 600;
}

.cm-header-right[b-5ezr1ga626] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Search Box */
.cm-search-box[b-5ezr1ga626] {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0.55rem 1.2rem 0.55rem 2.2rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    min-width: 210px;
}

.cm-search-icon[b-5ezr1ga626] {
    position: absolute;
    left: 0.8rem;
    color: #9ca3af;
    font-size: 0.8rem;
}

.cm-search-input[b-5ezr1ga626] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.83rem;
    color: #374151;
    width: 100%;
}

/* New Button */
.cm-btn-new[b-5ezr1ga626] {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.3);
    transition: background 0.2s;
}

.cm-btn-new:hover[b-5ezr1ga626] {
    background: #4338ca;
}

/* ========== TABLE CARD ========== */
.cm-table-card[b-5ezr1ga626] {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(80, 80, 200, 0.07);
}

/* ========== TABLE ========== */
.cm-table[b-5ezr1ga626] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.cm-table tbody tr[b-5ezr1ga626] {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.cm-table tbody tr:last-child[b-5ezr1ga626] {
    border-bottom: none;
}

.cm-table tbody tr:hover[b-5ezr1ga626] {
    background: #fafbff;
}

.cm-table td[b-5ezr1ga626] {
    padding: 0.75rem 0.9rem;
    font-size: 0.82rem;
    color: #374151;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cm-table th[b-5ezr1ga626] {
    padding: 0.85rem 0.9rem;
    font-size: 0.68rem;
    font-weight: 800;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: left;
    background: white;
}

/* Column widths */
.cm-table th:nth-child(1)[b-5ezr1ga626],
.cm-table td.col-orderno[b-5ezr1ga626] {
    width: 80px;
}

.cm-table th:nth-child(2)[b-5ezr1ga626],
.cm-table td.col-shortname[b-5ezr1ga626] {
    width: 130px;
}

.cm-table th:nth-child(3)[b-5ezr1ga626],
.cm-table td.col-name[b-5ezr1ga626] {
    width: 250px;
}

.cm-table th:nth-child(4)[b-5ezr1ga626],
.cm-table td.col-pincode[b-5ezr1ga626] {
    width: 150px;
}

.cm-table th:nth-child(5)[b-5ezr1ga626],
.cm-table td.col-narration[b-5ezr1ga626] {
    width: auto;
}

.cm-table th:nth-child(6)[b-5ezr1ga626],
.cm-table td.col-date-entered[b-5ezr1ga626] {
    width: 185px;
}

.cm-table th:nth-child(7)[b-5ezr1ga626],
.cm-table td.col-date-modified[b-5ezr1ga626] {
    width: 185px;
}

.cm-table th:nth-child(8)[b-5ezr1ga626],
.cm-table td.col-action[b-5ezr1ga626] {
    width: 100px;
}

.col-date-entered[b-5ezr1ga626],
.col-date-modified[b-5ezr1ga626] {
    white-space: nowrap !important;
}

/* Column-specific */
.col-orderno[b-5ezr1ga626] {
    font-weight: 700;
    color: #4f46e5 !important;
}

.col-shortname[b-5ezr1ga626] {
    color: #6b7280 !important;
}

.counter-name-text[b-5ezr1ga626] {
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-pincode[b-5ezr1ga626] {
    color: #4f46e5;
    font-weight: 600;
}

.col-narration[b-5ezr1ga626] {
    color: #374151;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
}

.col-action[b-5ezr1ga626] {
    display: flex !important;
    gap: 0.35rem;
    align-items: center;
}

/* Date columns */
.date-line[b-5ezr1ga626] {
    display: inline-block;
    font-size: 0.78rem;
    color: #374151;
    line-height: 1.4;
    white-space: nowrap;
}

.ampm-line[b-5ezr1ga626] {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    margin-left: 4px;
}

.ampm-line.am[b-5ezr1ga626] {
    color: #6b7280;
}

.ampm-line.pm[b-5ezr1ga626] {
    color: #6b7280;
}

/* Action buttons */
.cm-action-btn[b-5ezr1ga626] {
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    margin-right: 2px;
    color: #9ca3af;
    transition: all 0.15s;
}

.cm-action-btn.edit:hover[b-5ezr1ga626] {
    border-color: #4f46e5;
    color: #4f46e5;
    background: #eef2ff;
}

.cm-action-btn.delete:hover[b-5ezr1ga626] {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

/* Empty row */
.cm-empty-row[b-5ezr1ga626] {
    text-align: center;
    padding: 3rem 1rem !important;
    color: #9ca3af;
    font-size: 0.85rem;
}

.cm-empty-row i[b-5ezr1ga626] {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

/* ========== MODAL BACKDROP ========== */
.cm-backdrop[b-5ezr1ga626] {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 40, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

/* ========== MODAL ========== */
.cm-modal[b-5ezr1ga626] {
    background: white;
    border-radius: 18px;
    width: 880px;
    max-width: 96vw;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    animation: modalIn-b-5ezr1ga626 0.18s ease;
}

@keyframes modalIn-b-5ezr1ga626 {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cm-modal-header[b-5ezr1ga626] {
    padding: 1.6rem 2.2rem 1.2rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cm-modal-title[b-5ezr1ga626] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
}

.cm-close-btn[b-5ezr1ga626] {
    background: transparent;
    border: none;
    color: #000000;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.cm-close-btn:hover[b-5ezr1ga626],
.cm-close-btn:active[b-5ezr1ga626] {
    color: #ef4444;
}

/* ========== MODAL BODY ========== */
.cm-modal-body[b-5ezr1ga626] {
    padding: 2rem 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Field group */
.cm-field-group[b-5ezr1ga626] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cm-label[b-5ezr1ga626] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-transform: none;
}

.cm-input[b-5ezr1ga626] {
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cm-input:focus[b-5ezr1ga626] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.cm-input[b-5ezr1ga626]::placeholder {
    color: #cbd5e1;
}

.cm-select[b-5ezr1ga626] {
    appearance: auto;
    cursor: pointer;
    background: #f8fafc;
}

/* Form rows */
.cm-form-row[b-5ezr1ga626] {
    display: grid;
    gap: 1.25rem;
}

.cm-form-row.three-cols[b-5ezr1ga626] {
    grid-template-columns: repeat(3, 1fr);
}

.cm-form-row.two-cols[b-5ezr1ga626] {
    grid-template-columns: 1fr 1fr;
}

.cm-form-row.full-width[b-5ezr1ga626] {
    grid-template-columns: 1fr;
}

/* ========== MODAL FOOTER ========== */
.cm-modal-footer[b-5ezr1ga626] {
    padding: 1.2rem 2.2rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cm-btn-delete[b-5ezr1ga626] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    padding: 0.4rem 0;
    transition: color 0.15s;
}

.cm-btn-delete:hover[b-5ezr1ga626] {
    color: #dc2626;
}

.cm-btn-cancel[b-5ezr1ga626] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #64748b;
    border-radius: 10px;
    padding: 0.7rem 2rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.cm-btn-cancel:hover[b-5ezr1ga626] {
    background: #f1f5f9;
    color: #334155;
    border-color: #94a3b8;
}

.cm-btn-save[b-5ezr1ga626] {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.7rem 2rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.cm-btn-save:hover[b-5ezr1ga626] {
    background: #4338ca;
}

/* Autocomplete Dropdown Overlay */
.cm-autocomplete-dropdown[b-5ezr1ga626] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1100;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-top: 4px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    max-height: 220px;
    overflow-y: auto;
}

.cm-dropdown-header[b-5ezr1ga626] {
    padding: 0.45rem 0.85rem;
    font-size: 0.68rem;
    font-weight: 800;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cm-dropdown-item[b-5ezr1ga626] {
    padding: 0.6rem 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.15s ease;
}

.cm-dropdown-item:last-child[b-5ezr1ga626] {
    border-bottom: none;
}

.cm-dropdown-item:hover[b-5ezr1ga626] {
    background: #eef2ff;
}

.cm-dropdown-item-main[b-5ezr1ga626] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.cm-dropdown-title[b-5ezr1ga626] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
}

.cm-dropdown-badge[b-5ezr1ga626] {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    background: #e0e7ff;
    color: #4f46e5;
}

.cm-dropdown-sub[b-5ezr1ga626] {
    font-size: 0.75rem;
    color: #64748b;
}

/* Area Master dashboard theme */
:global(html:has(.cm-page))[b-5ezr1ga626],
:global(body:has(.cm-page))[b-5ezr1ga626] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.cm-page))[b-5ezr1ga626],
:global(.app-main-wrapper:has(.cm-page))[b-5ezr1ga626] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.cm-page)[b-5ezr1ga626] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.cm-page[b-5ezr1ga626] {
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    padding: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.cm-header-card[b-5ezr1ga626] {
    flex: 0 0 auto !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.cm-title[b-5ezr1ga626] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}

.cm-subtitle[b-5ezr1ga626] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
}

.cm-header-right[b-5ezr1ga626] {
    gap: 0.65rem !important;
}

.cm-search-box[b-5ezr1ga626] {
    min-width: 260px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    padding: 0 1rem 0 2.2rem !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
}

.cm-search-input[b-5ezr1ga626] {
    font-size: 0.82rem !important;
}

.cm-search-box:focus-within[b-5ezr1ga626] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.cm-btn-new[b-5ezr1ga626] {
    height: 36px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
}

.cm-btn-new:hover[b-5ezr1ga626] {
    background: #05689b !important;
}

.cm-table-card[b-5ezr1ga626] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.cm-table-wrapper[b-5ezr1ga626] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
}

.cm-table[b-5ezr1ga626] {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
}

.cm-table thead[b-5ezr1ga626],
.cm-table thead tr[b-5ezr1ga626] {
    background: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
}

.cm-table th[b-5ezr1ga626] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.7rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
}

.cm-table th:last-child[b-5ezr1ga626] {
    border-right: none !important;
}

.cm-table tbody[b-5ezr1ga626] {
    background: #ffffff !important;
}

.cm-table tbody tr[b-5ezr1ga626] {
    height: 34px !important;
    min-height: 34px !important;
}

.cm-table tbody tr:nth-child(even)[b-5ezr1ga626] {
    background: #fbfdff !important;
}

.cm-table tbody tr:hover[b-5ezr1ga626] {
    background: #f0f8ff !important;
}

.cm-table td[b-5ezr1ga626] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.7rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    font-size: 0.76rem !important;
    color: #334155 !important;
    vertical-align: middle !important;
}

.col-orderno[b-5ezr1ga626] {
    color: #47627b !important;
    font-weight: 700 !important;
}

.col-shortname[b-5ezr1ga626] {
    color: #475569 !important;
    font-weight: 700 !important;
}

.counter-name-text[b-5ezr1ga626] {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.col-narration[b-5ezr1ga626] {
    color: #647b90 !important;
}

.date-line[b-5ezr1ga626] {
    color: #64748b !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
}

.col-action[b-5ezr1ga626] {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    height: 34px !important;
}

.cm-action-btn[b-5ezr1ga626] {
    width: 26px !important;
    height: 26px !important;
    margin-right: 2px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
}

.cm-action-btn.edit:hover[b-5ezr1ga626] {
    border-color: #bae6fd !important;
    color: #0369a1 !important;
    background: #f0f9ff !important;
}

.cm-action-btn.delete[b-5ezr1ga626] {
    color: #dc2626 !important;
}

.cm-action-btn.delete:hover[b-5ezr1ga626] {
    border-color: #fecaca !important;
    color: #dc2626 !important;
    background: #fef2f2 !important;
}

.cm-table-footer[b-5ezr1ga626] {
    flex: 0 0 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    box-sizing: border-box !important;
    padding: 0 1rem !important;
    background: #ffffff !important;
    border-top: 1px solid #e5edf5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.cm-pagination-info[b-5ezr1ga626] {
    font-size: 0.74rem !important;
}

.cm-pg-btn[b-5ezr1ga626] {
    min-width: 26px !important;
    height: 24px !important;
    padding: 0 0.5rem !important;
    border-radius: 6px !important;
    color: #526b82 !important;
    font-size: 0.72rem !important;
}

.cm-pg-btn:hover:not(:disabled)[b-5ezr1ga626] {
    background: #e4f4ff !important;
    color: #0876ad !important;
    border-color: #a9ddfa !important;
}

.cm-pg-btn.active[b-5ezr1ga626] {
    background: #0876ad !important;
    border-color: #0876ad !important;
}

.cm-modal-title[b-5ezr1ga626],
.cm-btn-save[b-5ezr1ga626] {
    color: #07547c !important;
}

.cm-btn-save[b-5ezr1ga626] {
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
}

.cm-btn-save:hover[b-5ezr1ga626] {
    background: #05689b !important;
}

.cm-input:focus[b-5ezr1ga626] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

@media (max-width: 900px) {
    .cm-header-card[b-5ezr1ga626] {
        align-items: flex-start !important;
        flex-direction: column !important;
        flex-basis: auto !important;
        gap: 0.7rem !important;
    }

    .cm-header-right[b-5ezr1ga626],
    .cm-search-box[b-5ezr1ga626] {
        width: 100% !important;
    }

    .cm-header-right[b-5ezr1ga626] {
        flex-wrap: wrap !important;
    }

    .cm-table-card[b-5ezr1ga626] {
        overflow: auto !important;
    }
}
/* /Components/Pages/AutoBillOpRequest.razor.rz.scp.css */
/* Auto Bill OP Request Stylesheet */

.autobill-page-wrapper[b-je5fj0fdxv] {
    padding: 0.85rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: calc(100vh - 65px);
    background: #f8fafc;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
}

/* 1. Header Card */
.autobill-header-card[b-je5fj0fdxv] {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 12px;
    padding: 0.45rem 1rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: nowrap;
    min-height: 52px;
}

.header-title-group[b-je5fj0fdxv] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.header-icon-box[b-je5fj0fdxv] {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    font-size: 1.15rem;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.08);
    flex-shrink: 0;
}

.header-title[b-je5fj0fdxv] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.2px;
    line-height: 1.1;
    white-space: nowrap;
}

.header-subtitle[b-je5fj0fdxv] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.74rem;
    color: #64748b;
    margin-top: 2px;
}

.status-pulse-dot[b-je5fj0fdxv] {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    display: inline-block;
}

/* Header Metrics */
.header-metrics-row[b-je5fj0fdxv] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: nowrap;
    margin-left: auto;
    flex-shrink: 0;
}

.metric-card[b-je5fj0fdxv] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    padding: 0.35rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.metric-card:hover[b-je5fj0fdxv] {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.metric-icon[b-je5fj0fdxv] {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.metric-card.total[b-je5fj0fdxv] { border-color: #bfdbfe; }
.metric-card.total .metric-icon[b-je5fj0fdxv] { background: #dbeafe; color: #2563eb; }
.metric-card.charges[b-je5fj0fdxv] { border-color: #fde68a; }
.metric-card.charges .metric-icon[b-je5fj0fdxv] { background: #fef3c7; color: #d97706; }
.metric-card.shift-open[b-je5fj0fdxv] { border-color: #bbf7d0; }
.metric-card.shift-open .metric-icon[b-je5fj0fdxv] { background: #dcfce7; color: #16a34a; }
.metric-card.shift-closed[b-je5fj0fdxv] { border-color: #fecaca; }
.metric-card.shift-closed .metric-icon[b-je5fj0fdxv] { background: #fee2e2; color: #dc2626; }

.metric-content[b-je5fj0fdxv] {
    display: flex;
    flex-direction: column;
}

.metric-label[b-je5fj0fdxv] {
    font-size: 0.56rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1;
    margin-bottom: 2px;
}

.metric-val[b-je5fj0fdxv] {
    font-size: 0.90rem;
    font-weight: 850;
    color: #0f172a;
    line-height: 1.1;
    margin-top: 0;
}

/* 2. Controls & Configuration Card */
.config-card[b-je5fj0fdxv] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.config-main-row[b-je5fj0fdxv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.config-left-group[b-je5fj0fdxv] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.config-right-group[b-je5fj0fdxv] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: nowrap;
    margin-left: auto;
}

.control-pill-group[b-je5fj0fdxv] {
    height: 36px;
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 0.65rem;
    gap: 0.4rem;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.control-pill-group:hover[b-je5fj0fdxv] {
    border-color: #94a3b8;
    background: #ffffff;
}

.control-pill-label[b-je5fj0fdxv] {
    font-size: 0.74rem;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.control-pill-select[b-je5fj0fdxv] {
    border: none;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
    outline: none;
    cursor: pointer;
    padding-right: 0.25rem;
}

.shift-status-badge[b-je5fj0fdxv] {
    height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0 0.85rem;
    border-radius: 8px;
    box-sizing: border-box;
    white-space: nowrap;
}

.shift-status-badge.open[b-je5fj0fdxv] {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.shift-status-badge.closed[b-je5fj0fdxv] {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.btn-quick-open[b-je5fj0fdxv] {
    height: 36px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
    white-space: nowrap;
}

.btn-quick-open:hover[b-je5fj0fdxv] {
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
    transform: translateY(-1px);
}

.btn-refresh[b-je5fj0fdxv] {
    height: 36px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    white-space: nowrap;
}

.btn-refresh:hover:not(:disabled)[b-je5fj0fdxv] {
    background: #f8fafc;
    border-color: #4f46e5;
    color: #4f46e5;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.12);
}

.btn-bulk-move[b-je5fj0fdxv] {
    height: 36px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 750;
    padding: 0 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-bulk-move:hover:not(:disabled)[b-je5fj0fdxv] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.btn-bulk-move:disabled[b-je5fj0fdxv] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Filter Row */
.filter-row[b-je5fj0fdxv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.65rem;
}

.search-box-wrap[b-je5fj0fdxv] {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    height: 36px;
}

.search-icon[b-je5fj0fdxv] {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.88rem;
    pointer-events: none;
}

.search-input[b-je5fj0fdxv] {
    width: 100%;
    height: 36px;
    padding: 0 2rem 0 2.2rem;
    font-size: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    background: #ffffff;
    color: #1e293b;
    transition: all 0.2s;
    box-sizing: border-box;
}

.search-input:focus[b-je5fj0fdxv] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-clear-btn[b-je5fj0fdxv] {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.filter-controls-group[b-je5fj0fdxv] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.date-pill-tabs[b-je5fj0fdxv] {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
    height: 36px;
    box-sizing: border-box;
}

.date-tab-btn[b-je5fj0fdxv] {
    border: none;
    background: transparent;
    font-size: 0.74rem;
    font-weight: 650;
    padding: 0 0.8rem;
    height: 28px;
    border-radius: 6px;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.date-tab-btn:hover[b-je5fj0fdxv] {
    color: #1e293b;
}

.date-tab-btn.active[b-je5fj0fdxv] {
    background: #ffffff;
    color: #4f46e5;
    font-weight: 750;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.custom-date-container[b-je5fj0fdxv] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 36px;
}

.custom-date-input[b-je5fj0fdxv] {
    height: 36px;
    font-size: 0.78rem;
    font-weight: 600;
    width: 125px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #1e293b;
    padding: 0 0.5rem;
}

.custom-date-sep[b-je5fj0fdxv] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
}

.doctor-filter-container[b-je5fj0fdxv] {
    height: 36px;
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 0.65rem;
    box-sizing: border-box;
    transition: all 0.15s;
    min-width: 170px;
}

.doctor-filter-container:hover[b-je5fj0fdxv] {
    border-color: #94a3b8;
}

.doctor-select[b-je5fj0fdxv] {
    border: none;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 650;
    color: #1e293b;
    outline: none;
    cursor: pointer;
    width: 100%;
}

/* 3. Table Card */
.table-card[b-je5fj0fdxv] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.table-header-info[b-je5fj0fdxv] {
    padding: 0.65rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #64748b;
}

.badge-records[b-je5fj0fdxv] {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    font-size: 0.72rem;
    font-weight: 750;
    border-radius: 6px;
    padding: 2px 7px;
}

.selected-count-badge[b-je5fj0fdxv] {
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
    font-weight: 750;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.target-counter-badge[b-je5fj0fdxv] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 3px 9px;
    font-size: 0.75rem;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.autobill-table[b-je5fj0fdxv] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.autobill-table th[b-je5fj0fdxv] {
    background: #f8fafc;
    color: #475569;
    font-weight: 750;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.7rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.autobill-table td[b-je5fj0fdxv] {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    vertical-align: middle;
}

.autobill-table tr:hover td[b-je5fj0fdxv] {
    background: #f8fafc;
}

.patient-cell[b-je5fj0fdxv] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.patient-name-text[b-je5fj0fdxv] {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.88rem;
}

.patient-sub-text[b-je5fj0fdxv] {
    font-size: 0.72rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.op-badge-pill[b-je5fj0fdxv] {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    display: inline-block;
}

.token-badge[b-je5fj0fdxv] {
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
}

.charges-chip[b-je5fj0fdxv] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    transition: all 0.15s;
}

.charges-chip:hover[b-je5fj0fdxv] {
    background: #fef3c7;
    border-color: #f59e0b;
}

.unbilled-status-pill[b-je5fj0fdxv] {
    background: #fef2f2;
    color: #dc2626;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    border: 1px solid #fee2e2;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Move to Cash Button */
.btn-move-cash[b-je5fj0fdxv] {
    height: 32px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(79, 70, 229, 0.2);
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-move-cash:hover:not(:disabled)[b-je5fj0fdxv] {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
}

.btn-move-cash:disabled[b-je5fj0fdxv] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Empty State */
.empty-state-box[b-je5fj0fdxv] {
    padding: 3.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #64748b;
    text-align: center;
}

.empty-icon-circle[b-je5fj0fdxv] {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1.5px solid #c7d2fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    color: #4f46e5;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.12);
    margin-bottom: 0.5rem;
}

.empty-title[b-je5fj0fdxv] {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.empty-desc[b-je5fj0fdxv] {
    font-size: 0.82rem;
    color: #64748b;
    max-width: 440px;
    margin: 0;
    line-height: 1.5;
}

.btn-check-again[b-je5fj0fdxv] {
    height: 36px;
    background: #ffffff;
    color: #4f46e5;
    border: 1.5px solid #818cf8;
    border-radius: 8px;
    font-weight: 700;
    padding: 0 1.15rem;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(79, 70, 229, 0.08);
    margin-top: 0.5rem;
}

.btn-check-again:hover[b-je5fj0fdxv] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    transform: translateY(-1px);
}

/* Loading Overlay */
.loading-box[b-je5fj0fdxv] {
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #0284c7;
}

/* Modal Backdrop & Dialog */
.modal-backdrop-custom[b-je5fj0fdxv] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1050;
}

.modal-dialog-custom[b-je5fj0fdxv] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 520px;
    z-index: 1051;
    overflow: hidden;
    animation: modalScaleIn-b-je5fj0fdxv 0.2s ease-out;
}

@keyframes modalScaleIn-b-je5fj0fdxv {
    from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.modal-header-custom[b-je5fj0fdxv] {
    padding: 1.15rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title-custom[b-je5fj0fdxv] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close-btn[b-je5fj0fdxv] {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: #94a3b8;
    cursor: pointer;
}

.modal-body-custom[b-je5fj0fdxv] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-footer-custom[b-je5fj0fdxv] {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn-modal-secondary[b-je5fj0fdxv] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    color: #475569;
    cursor: pointer;
}

.btn-modal-primary[b-je5fj0fdxv] {
    background: #0284c7;
    border: none;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-modal-primary:hover[b-je5fj0fdxv] {
    background: #0369a1;
}
/* /Components/Pages/AvailableBeds.razor.rz.scp.css */
/* Background Animation & Global styles */
.animated-background[b-3fsgkct9pd] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.floating-blob[b-3fsgkct9pd] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: float-b-3fsgkct9pd 20s infinite alternate;
}

.blob-1[b-3fsgkct9pd] {
    width: 450px;
    height: 450px;
    background: #e2f1ff;
    top: -5%;
    left: -5%;
}

.blob-2[b-3fsgkct9pd] {
    width: 450px;
    height: 450px;
    background: #f1f5f9;
    bottom: -10%;
    right: -5%;
}

@keyframes float-b-3fsgkct9pd {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

.dashboard-container[b-3fsgkct9pd] {
    max-width: 1300px;
    margin: 0.75rem auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

/* Dashboard Header & Stats Grid */
.dashboard-header[b-3fsgkct9pd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.dashboard-title h1[b-3fsgkct9pd] {
    font-size: 1.35rem;
    font-weight: 800;
    color: #034f75;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
}

.dashboard-title p[b-3fsgkct9pd] {
    color: #64748b;
    font-size: 0.9rem;
}

.btn-header-action[b-3fsgkct9pd] {
    background: #026aa7;
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(2, 106, 167, 0.15);
}

.btn-header-action:hover[b-3fsgkct9pd] {
    background: #025687;
    transform: translateY(-1px);
}

/* Glass Filters Control Board */
.filters-card[b-3fsgkct9pd] {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 16px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.filters-row[b-3fsgkct9pd] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.filter-group[b-3fsgkct9pd] {
    flex: 0 0 160px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.filter-group label[b-3fsgkct9pd] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
}

.filter-control[b-3fsgkct9pd] {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    background: #f8fafc;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.filter-control:hover[b-3fsgkct9pd] {
    background: #ffffff;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.filter-control:focus[b-3fsgkct9pd] {
    outline: none;
    background: #ffffff;
    border-color: #026aa7;
    box-shadow: 0 0 0 4px rgba(2, 106, 167, 0.15), 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

/* Layout Split */
.layout-main[b-3fsgkct9pd] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .layout-main[b-3fsgkct9pd] {
        grid-template-columns: 1fr;
    }
}

/* Legend Card */
.legend-card[b-3fsgkct9pd] {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.legend-title[b-3fsgkct9pd] {
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.legend-items[b-3fsgkct9pd] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.legend-item[b-3fsgkct9pd] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.legend-box[b-3fsgkct9pd] {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1.5px solid transparent;
}

.legend-box.available[b-3fsgkct9pd] {
    background-color: #f0fdf4;
    border-color: #86efac;
}

.legend-box.occupied[b-3fsgkct9pd] {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

.legend-box.selected[b-3fsgkct9pd] {
    background-color: #10b981;
    border-color: #047857;
}

.legend-box.dirty[b-3fsgkct9pd] {
    background-color: #fef3c7;
    border-color: #fde047;
}

/* Beds View Grid Card */
.beds-view-card[b-3fsgkct9pd] {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.view-header[b-3fsgkct9pd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.view-header h3[b-3fsgkct9pd] {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.selection-badge[b-3fsgkct9pd] {
    background-color: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
}

.beds-grid[b-3fsgkct9pd] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 1rem;
}

/* Ticket booking bed box styles */
.bed-box[b-3fsgkct9pd] {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 2px solid transparent;
    padding: 0.75rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.bed-box.available[b-3fsgkct9pd] {
    background-color: #f0fdf4;
    border-color: #86efac;
    color: #166534;
    cursor: pointer;
}

.bed-box.available:hover[b-3fsgkct9pd] {
    background-color: #dcfce7;
    border-color: #4ade80;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 12px rgba(22, 101, 52, 0.08);
}

.bed-box.occupied[b-3fsgkct9pd] {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
    cursor: pointer;
}

.bed-box.occupied:hover[b-3fsgkct9pd] {
    background-color: #e2e8f0;
    border-color: #94a3b8;
    transform: translateY(-2px) scale(1.03);
}

.bed-box.dirty[b-3fsgkct9pd] {
    background-color: #fef3c7;
    border-color: #fde047;
    color: #92400e;
    cursor: pointer;
}

.bed-box.dirty:hover[b-3fsgkct9pd] {
    background-color: #fef08a;
    border-color: #facc15;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 12px rgba(146, 64, 14, 0.08);
}

.bed-box.selected[b-3fsgkct9pd] {
    background-color: #10b981;
    border-color: #047857;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.25);
    transform: translateY(-3px);
}

.bed-box.selected .bed-icon i[b-3fsgkct9pd],
.bed-box.selected .bed-info[b-3fsgkct9pd] {
    color: rgba(255, 255, 255, 0.85);
}

.bed-icon[b-3fsgkct9pd] {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.bed-number[b-3fsgkct9pd] {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.bed-info[b-3fsgkct9pd] {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0.15rem;
    color: #64748b;
}

/* Loading & Empty State */
.loading-state[b-3fsgkct9pd],
.empty-state[b-3fsgkct9pd] {
    text-align: center;
    padding: 3rem 1rem;
    color: #64748b;
}

.empty-state i[b-3fsgkct9pd] {
    font-size: 2.5rem;
    color: #cbd5e1;
    margin-bottom: 0.75rem;
    display: block;
}

.empty-state h4[b-3fsgkct9pd] {
    font-size: 1rem;
    color: #334155;
    margin-bottom: 0.25rem;
}

/* Glassmorphic Modals */
.modal-backdrop[b-3fsgkct9pd] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.glass-modal[b-3fsgkct9pd] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #f8fafc !important;
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    width: 100%;
    max-width: 750px;
    max-height: 90vh;
    z-index: 1001;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header[b-3fsgkct9pd],
.modal-body[b-3fsgkct9pd],
.modal-footer[b-3fsgkct9pd] {
    background: #f8fafc !important;
}

.large-modal-custom[b-3fsgkct9pd] {
    max-width: 850px !important;
    width: 85vw !important;
}

.glass-modal .filter-control[b-3fsgkct9pd] {
    padding: 0.45rem 0.65rem;
    font-size: 0.80rem;
    border-radius: 6px;
}

.glass-modal .form-group label[b-3fsgkct9pd] {
    font-size: 0.80rem;
    font-weight: 700;
}

.um-grid-cols-4[b-3fsgkct9pd] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

.modal-header[b-3fsgkct9pd] {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3[b-3fsgkct9pd] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #026aa7;
    margin: 0;
}

.close-btn[b-3fsgkct9pd] {
    border: none;
    background: none;
    font-size: 1.75rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s ease;
}

.close-btn:hover[b-3fsgkct9pd],
.close-btn:focus[b-3fsgkct9pd] {
    color: #ef4444 !important;
}

.close-btn:active[b-3fsgkct9pd] {
    color: #dc2626 !important;
}

.modal-body[b-3fsgkct9pd] {
    padding: 1.75rem;
    flex: 1;
    overflow-y: auto;
}

.form-group[b-3fsgkct9pd] {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label[b-3fsgkct9pd] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.3px;
    margin: 0;
    display: block;
}

.modal-footer[b-3fsgkct9pd] {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn-modal[b-3fsgkct9pd] {
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-modal.cancel[b-3fsgkct9pd] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
}

.btn-modal.cancel:hover[b-3fsgkct9pd] {
    background: #f1f5f9;
}

.btn-modal.confirm[b-3fsgkct9pd] {
    background: #026aa7;
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(2, 106, 167, 0.15);
}

.btn-modal.confirm:hover[b-3fsgkct9pd] {
    background: #025687;
}

.badge-type[b-3fsgkct9pd] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.badge-type.online[b-3fsgkct9pd] {
    background: #eff6ff;
    color: #3b82f6;
    border: 1px solid #dbeafe;
}

.badge-type.walkin[b-3fsgkct9pd] {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fef3c7;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR AVAILABLE BEDS
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .dashboard-title h1[b-3fsgkct9pd],
[data-theme="dark"] .dashboard-title h1[b-3fsgkct9pd] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .dashboard-title p[b-3fsgkct9pd],
[data-theme="dark"] .dashboard-title p[b-3fsgkct9pd] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .filters-card[b-3fsgkct9pd],
[data-theme="dark"] .filters-card[b-3fsgkct9pd] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .filter-group label[b-3fsgkct9pd],
[data-theme="dark"] .filter-group label[b-3fsgkct9pd] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .filter-control[b-3fsgkct9pd],
[data-theme="dark"] .filter-control[b-3fsgkct9pd] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .filter-control option[b-3fsgkct9pd],
[data-theme="dark"] .filter-control option[b-3fsgkct9pd] {
    background: #0f172a !important;
    color: #f8fafc !important;
}

/* Legend in Dark Mode */
.top-legend[b-3fsgkct9pd] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    height: fit-content;
    margin-top: 8px;
}

.top-legend span[b-3fsgkct9pd] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

:host-context([data-theme="dark"]) .top-legend[b-3fsgkct9pd],
[data-theme="dark"] .top-legend[b-3fsgkct9pd] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .top-legend span[b-3fsgkct9pd],
[data-theme="dark"] .top-legend span[b-3fsgkct9pd] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .legend-card[b-3fsgkct9pd],
[data-theme="dark"] .legend-card[b-3fsgkct9pd] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .legend-item[b-3fsgkct9pd],
[data-theme="dark"] .legend-item[b-3fsgkct9pd] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .legend-box.available[b-3fsgkct9pd],
[data-theme="dark"] .legend-box.available[b-3fsgkct9pd] {
    background-color: rgba(16, 185, 129, 0.15) !important;
    border-color: #10b981 !important;
}

:host-context([data-theme="dark"]) .legend-box.occupied[b-3fsgkct9pd],
[data-theme="dark"] .legend-box.occupied[b-3fsgkct9pd] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .legend-box.dirty[b-3fsgkct9pd],
[data-theme="dark"] .legend-box.dirty[b-3fsgkct9pd] {
    background-color: rgba(245, 158, 11, 0.15) !important;
    border-color: #f59e0b !important;
}

/* Beds View Grid Card in Dark Mode */
:host-context([data-theme="dark"]) .beds-view-card[b-3fsgkct9pd],
[data-theme="dark"] .beds-view-card[b-3fsgkct9pd] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

:host-context([data-theme="dark"]) .view-header[b-3fsgkct9pd],
[data-theme="dark"] .view-header[b-3fsgkct9pd] {
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .view-header h3[b-3fsgkct9pd],
[data-theme="dark"] .view-header h3[b-3fsgkct9pd] {
    color: #f8fafc !important;
}

/* Bed Boxes in Dark Mode */
:host-context([data-theme="dark"]) .bed-box.occupied[b-3fsgkct9pd],
[data-theme="dark"] .bed-box.occupied[b-3fsgkct9pd] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .bed-box.occupied:hover[b-3fsgkct9pd],
[data-theme="dark"] .bed-box.occupied:hover[b-3fsgkct9pd] {
    background-color: #1e293b !important;
    border-color: #38bdf8 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .bed-box.occupied .bed-number[b-3fsgkct9pd],
[data-theme="dark"] .bed-box.occupied .bed-number[b-3fsgkct9pd] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .bed-box.occupied .bed-info[b-3fsgkct9pd],
[data-theme="dark"] .bed-box.occupied .bed-info[b-3fsgkct9pd] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .bed-box.available[b-3fsgkct9pd],
[data-theme="dark"] .bed-box.available[b-3fsgkct9pd] {
    background-color: rgba(16, 185, 129, 0.12) !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
    color: #34d399 !important;
}

:host-context([data-theme="dark"]) .bed-box.available .bed-number[b-3fsgkct9pd],
[data-theme="dark"] .bed-box.available .bed-number[b-3fsgkct9pd] {
    color: #6ee7b7 !important;
}

:host-context([data-theme="dark"]) .bed-box.available .bed-info[b-3fsgkct9pd],
[data-theme="dark"] .bed-box.available .bed-info[b-3fsgkct9pd] {
    color: #34d399 !important;
}

:host-context([data-theme="dark"]) .bed-box.dirty[b-3fsgkct9pd],
[data-theme="dark"] .bed-box.dirty[b-3fsgkct9pd] {
    background-color: rgba(245, 158, 11, 0.12) !important;
    border-color: rgba(245, 158, 11, 0.35) !important;
    color: #fbbf24 !important;
}

:host-context([data-theme="dark"]) .bed-box.dirty .bed-number[b-3fsgkct9pd],
[data-theme="dark"] .bed-box.dirty .bed-number[b-3fsgkct9pd] {
    color: #fde047 !important;
}

:host-context([data-theme="dark"]) .bed-box.dirty .bed-info[b-3fsgkct9pd],
[data-theme="dark"] .bed-box.dirty .bed-info[b-3fsgkct9pd] {
    color: #fbbf24 !important;
}

/* Modals in Dark Mode */
:host-context([data-theme="dark"]) .glass-modal[b-3fsgkct9pd],
[data-theme="dark"] .glass-modal[b-3fsgkct9pd] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-header[b-3fsgkct9pd],
:host-context([data-theme="dark"]) .modal-body[b-3fsgkct9pd],
:host-context([data-theme="dark"]) .modal-footer[b-3fsgkct9pd],
[data-theme="dark"] .modal-header[b-3fsgkct9pd],
[data-theme="dark"] .modal-body[b-3fsgkct9pd],
[data-theme="dark"] .modal-footer[b-3fsgkct9pd] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header h3[b-3fsgkct9pd],
[data-theme="dark"] .modal-header h3[b-3fsgkct9pd] {
    color: #38bdf8 !important;
}

/* Available Beds dashboard single-viewport theme */
:global(html:has(.available-beds-page))[b-3fsgkct9pd],
:global(body:has(.available-beds-page))[b-3fsgkct9pd] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.available-beds-page))[b-3fsgkct9pd],
:global(.app-main-wrapper:has(.available-beds-page))[b-3fsgkct9pd] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.available-beds-page)[b-3fsgkct9pd] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.dashboard-container.available-beds-page[b-3fsgkct9pd] {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.dashboard-container.available-beds-page .dashboard-header[b-3fsgkct9pd] {
    flex: 0 0 auto !important;
    margin-bottom: 0 !important;
    padding: 0.1rem 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.dashboard-container.available-beds-page .dashboard-title h1[b-3fsgkct9pd] {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #07547c !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 0.1rem !important;
}

.dashboard-container.available-beds-page .dashboard-title p[b-3fsgkct9pd] {
    color: #64748b !important;
    font-size: 0.74rem !important;
    margin: 0 !important;
}

.dashboard-container.available-beds-page .btn-header-action[b-3fsgkct9pd] {
    height: 32px !important;
    padding: 0.35rem 0.85rem !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
    gap: 0.35rem !important;
    display: inline-flex !important;
    align-items: center !important;
}

.dashboard-container.available-beds-page .filters-card[b-3fsgkct9pd] {
    flex: 0 0 auto !important;
    padding: 0.35rem 0.75rem !important;
    margin-bottom: 0 !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid #dfe7f1 !important;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.03) !important;
}

.dashboard-container.available-beds-page .filters-row[b-3fsgkct9pd] {
    gap: 0.65rem !important;
    align-items: center !important;
}

.dashboard-container.available-beds-page .filter-group[b-3fsgkct9pd] {
    flex: 0 0 140px !important;
    max-width: 140px !important;
    min-width: 120px !important;
    gap: 0.15rem !important;
}

.dashboard-container.available-beds-page .filter-group label[b-3fsgkct9pd] {
    font-size: 0.66rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-bottom: 1px !important;
}

.dashboard-container.available-beds-page .filter-control[b-3fsgkct9pd] {
    height: 32px !important;
    padding: 0.25rem 0.65rem !important;
    border-radius: 8px !important;
    font-size: 0.78rem !important;
}

.dashboard-container.available-beds-page .top-legend[b-3fsgkct9pd] {
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    font-size: 0.74rem !important;
}

.dashboard-container.available-beds-page .layout-main[b-3fsgkct9pd] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    gap: 0 !important;
}

.dashboard-container.available-beds-page .beds-view-card[b-3fsgkct9pd] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 14px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    padding: 0.75rem !important;
    margin: 0 !important;
}

.dashboard-container.available-beds-page .beds-grid[b-3fsgkct9pd] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0.25rem 0.35rem 0.5rem 0.25rem !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)) !important;
    gap: 0.75rem !important;
    align-content: start !important;
    -webkit-overflow-scrolling: touch !important;
}

.dashboard-container.available-beds-page .bed-box[b-3fsgkct9pd] {
    padding: 0.55rem 0.45rem !important;
    border-radius: 10px !important;
    aspect-ratio: 1.05 / 1 !important;
}

.dashboard-container.available-beds-page .bed-icon[b-3fsgkct9pd] {
    font-size: 1.15rem !important;
    margin-bottom: 0.2rem !important;
}

.dashboard-container.available-beds-page .bed-number[b-3fsgkct9pd] {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
}

.dashboard-container.available-beds-page .bed-info[b-3fsgkct9pd] {
    font-size: 0.65rem !important;
    letter-spacing: 0.02em !important;
}
/* /Components/Pages/AvailableTheaters.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════
   MEDICO AVAILABLE OPERATION THEATERS & DAILY SCHEDULE TIMELINE
   Standard Medico Header + Dedicated Shift Timing Toggle + Full Grid
   ═══════════════════════════════════════════════════════════════════ */

.available-theaters-page[b-uxwkjqv9zs] {
    padding: 1.25rem 1.75rem 1.5rem 1.75rem;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f8fafc;
    height: calc(100vh - 48px);
    max-height: calc(100vh - 48px);
    box-sizing: border-box;
    color: #1e293b;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    overflow: hidden;
}

@media (max-width: 768px) {
    .available-theaters-page[b-uxwkjqv9zs] {
        padding: 1rem 1rem;
        height: auto;
        max-height: none;
        overflow: visible;
    }
}

/* ─────────────────────────────────────────────────────────────────
   1. TOP HEADER (MEDICO DESIGN WITH THEATER SELECTOR & DATE NAV)
   ───────────────────────────────────────────────────────────────── */
.theater-page-header[b-uxwkjqv9zs] {
    background: linear-gradient(135deg, #f5f7ff 0%, #eef2ff 50%, #e0e7ff 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 14px -2px rgba(79, 70, 229, 0.08);
    padding: 0.65rem 1.15rem;
    min-height: auto;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.75rem;
    flex-shrink: 0;
    box-sizing: border-box;
}

.header-title-left[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.header-icon-box[b-uxwkjqv9zs] {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
    flex-shrink: 0;
}

.header-text-group[b-uxwkjqv9zs] {
    display: flex;
    flex-direction: column;
}

.page-main-title[b-uxwkjqv9zs] {
    color: #1e1b4b;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.15;
    white-space: nowrap;
}

.page-subtitle[b-uxwkjqv9zs] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.01em;
    margin: 1px 0 0 0;
    white-space: nowrap;
}

.header-controls-right[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

/* Header Single Dropdown Filter for OT Theater */
.header-filter-select-wrap[b-uxwkjqv9zs] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-filter-icon[b-uxwkjqv9zs] {
    position: absolute;
    left: 10px;
    font-size: 11px;
    color: #6366f1;
    pointer-events: none;
    z-index: 2;
}

.header-filter-chevron[b-uxwkjqv9zs] {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 9px;
    color: #94a3b8;
    z-index: 2;
}

.header-filter-select[b-uxwkjqv9zs] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    height: 32px;
    padding: 0 22px 0 26px;
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    outline: none;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    white-space: nowrap;
    max-width: 175px;
}

.header-filter-select:hover[b-uxwkjqv9zs] {
    border-color: #94a3b8;
    background: #f8fafc;
}

.header-filter-select:focus[b-uxwkjqv9zs] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

/* Date Navigator in Header (Date Only without Today button) */
.header-date-nav[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    height: 32px;
    padding: 1px 2px;
    gap: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.btn-nav-date[b-uxwkjqv9zs] {
    border: none;
    background: transparent;
    color: #64748b;
    width: 22px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.12s ease;
    flex-shrink: 0;
}

.btn-nav-date:hover[b-uxwkjqv9zs] {
    background: #f1f5f9;
    color: #1e293b;
}

.header-date-picker-box[b-uxwkjqv9zs] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    cursor: pointer;
}

.header-date-icon[b-uxwkjqv9zs] {
    font-size: 11px;
    color: #6366f1;
    margin-right: 3px;
    pointer-events: none;
    flex-shrink: 0;
}

.header-date-input[b-uxwkjqv9zs] {
    border: none;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    outline: none;
    cursor: pointer;
    width: 78px;
    height: 26px;
    text-align: center;
    padding: 0;
    margin: 0;
    font-family: inherit;
    position: relative;
}

.header-date-input[b-uxwkjqv9zs]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: -22px;
    right: 0;
    bottom: 0;
    width: calc(100% + 22px);
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.header-date-input[b-uxwkjqv9zs]::-webkit-inner-spin-button {
    display: none;
    -webkit-appearance: none;
}

/* Primary Schedule CTA Button */
.btn-schedule-primary[b-uxwkjqv9zs] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    height: 32px;
    padding: 0 0.95rem;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-schedule-primary:hover[b-uxwkjqv9zs] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.35);
    color: #ffffff;
}

/* ─────────────────────────────────────────────────────────────────
   WORKSPACE SCROLL AREA
   ───────────────────────────────────────────────────────────────── */
.theaters-workspace-scroll[b-uxwkjqv9zs] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding: 2px 2px 14px 2px;
}

.theaters-workspace-scroll[b-uxwkjqv9zs]::-webkit-scrollbar {
    width: 6px;
}

.theaters-workspace-scroll[b-uxwkjqv9zs]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* ─────────────────────────────────────────────────────────────────
   2. MAIN SECTION: FULL-WIDTH DAILY SCHEDULE TIMELINE GRID
   ───────────────────────────────────────────────────────────────── */
.daily-schedule-main-layout[b-uxwkjqv9zs] {
    display: flex;
    width: 100%;
    flex: 1;
    min-height: 480px;
}

.timeline-container-card[b-uxwkjqv9zs] {
    flex: 1;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.timeline-card-header[b-uxwkjqv9zs] {
    padding: 0.95rem 1.5rem;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.timeline-header-left[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.timeline-main-title[b-uxwkjqv9zs] {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.timeline-shift-badge[b-uxwkjqv9zs] {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
}

.shift-day[b-uxwkjqv9zs] {
    background: #ccfbf1;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

.shift-night[b-uxwkjqv9zs] {
    background: #e0e7ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
}

.procedures-count-pill[b-uxwkjqv9zs] {
    font-size: 11.5px;
    color: #4338ca;
    background: #eef2ff;
    padding: 3px 10px;
    border-radius: 9999px;
    border: 1px solid #e0e7ff;
    font-weight: 600;
}

.procedures-count-pill strong[b-uxwkjqv9zs] {
    font-weight: 800;
}

/* ─────────────────────────────────────────────────────────────────
   ENHANCED DAY / NIGHT SHIFT TOGGLE BUTTON (TEAL-EMERALD DAY / INDIGO NIGHT)
   ───────────────────────────────────────────────────────────────── */
.timeline-header-right[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
}

.shift-toggle-segmented[b-uxwkjqv9zs] {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    padding: 2px;
    gap: 2px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-shift-toggle[b-uxwkjqv9zs] {
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    height: 26px;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-shift-toggle:hover:not(.active-day):not(.active-night)[b-uxwkjqv9zs] {
    background: #e2e8f0;
    color: #1e293b;
}

.shift-icon[b-uxwkjqv9zs] {
    font-size: 11.5px;
    line-height: 1;
}

.shift-label[b-uxwkjqv9zs] {
    font-weight: 700;
    font-size: 11px;
}

.shift-time-tag[b-uxwkjqv9zs] {
    font-size: 9.5px;
    font-family: monospace;
    font-weight: 700;
    padding: 0.5px 5px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.05);
}

/* Active Day State (Enhanced Teal-Emerald Gradient) */
.btn-shift-toggle.active-day[b-uxwkjqv9zs] {
    background: linear-gradient(135deg, #0d9488 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(13, 148, 136, 0.3);
}

.btn-shift-toggle.active-day .shift-icon[b-uxwkjqv9zs] {
    color: #a7f3d0;
    filter: drop-shadow(0 0 2px rgba(167, 243, 208, 0.7));
}

.btn-shift-toggle.active-day .shift-time-tag[b-uxwkjqv9zs] {
    background: rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

/* Active Night State (Vivid Deep Indigo Gradient) */
.btn-shift-toggle.active-night[b-uxwkjqv9zs] {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
}

.btn-shift-toggle.active-night .shift-icon[b-uxwkjqv9zs] {
    color: #c7d2fe;
    filter: drop-shadow(0 0 2px rgba(199, 210, 254, 0.6));
}

.btn-shift-toggle.active-night .shift-time-tag[b-uxwkjqv9zs] {
    background: rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

/* ─────────────────────────────────────────────────────────────────
   TIMELINE VIEWPORT & SYNCHRONIZED 12-HOUR AXIS
   ───────────────────────────────────────────────────────────────── */
.timeline-scroll-viewport[b-uxwkjqv9zs] {
    overflow-x: auto;
    overflow-y: auto;
    flex: 1;
}

.timeline-scroll-viewport[b-uxwkjqv9zs]::-webkit-scrollbar {
    height: 7px;
    width: 6px;
}

.timeline-scroll-viewport[b-uxwkjqv9zs]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.timeline-grid-wrapper[b-uxwkjqv9zs] {
    min-width: 950px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.timeline-axis-header[b-uxwkjqv9zs] {
    display: grid;
    grid-template-columns: 160px 1fr;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    position: sticky;
    top: 0;
    z-index: 20;
}

.axis-theater-column[b-uxwkjqv9zs] {
    padding: 10px 16px;
    border-right: 1px solid #e2e8f0;
    background: #f8fafc;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 11px;
    color: #475569;
    display: flex;
    align-items: center;
}

.axis-time-slots-row[b-uxwkjqv9zs] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    text-align: center;
}

.axis-hour-cell[b-uxwkjqv9zs] {
    padding: 8px 0;
    border-left: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.axis-hour-cell:last-child[b-uxwkjqv9zs] {
    border-right: 1px solid #e2e8f0;
}

.hour-24[b-uxwkjqv9zs] {
    font-size: 11.5px;
    font-family: monospace;
    font-weight: 700;
    color: #334155;
}

.hour-12-sub[b-uxwkjqv9zs] {
    font-size: 9.5px;
    color: #94a3b8;
    font-weight: 600;
    margin-top: 1px;
}

/* Timeline Rows for Operation Theaters */
.timeline-body-rows[b-uxwkjqv9zs] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 360px;
}

.current-time-marker-line[b-uxwkjqv9zs] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ea580c;
    z-index: 25;
    pointer-events: none;
    box-shadow: 0 0 6px rgba(234, 88, 12, 0.4);
}

.current-time-diamond-head[b-uxwkjqv9zs] {
    width: 8px;
    height: 8px;
    background: #ea580c;
    transform: rotate(45deg);
    position: absolute;
    top: -4px;
    left: -3px;
}

.current-time-badge[b-uxwkjqv9zs] {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ea580c;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.35);
}

.timeline-theater-row[b-uxwkjqv9zs] {
    display: grid;
    grid-template-columns: 160px 1fr;
    border-bottom: 1px solid #f1f5f9;
    min-height: 104px;
    position: relative;
    transition: background 0.12s ease;
}

.timeline-theater-row:hover[b-uxwkjqv9zs] {
    background: #fdfdfd;
}

.timeline-theater-row.selected-row[b-uxwkjqv9zs] {
    background: #f5f7ff;
}

.row-theater-identity[b-uxwkjqv9zs] {
    padding: 12px 16px;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
    transition: background 0.12s ease;
}

.timeline-theater-row:hover .row-theater-identity[b-uxwkjqv9zs] {
    background: #fafafa;
}

.timeline-theater-row.selected-row .row-theater-identity[b-uxwkjqv9zs] {
    background: #f5f7ff;
}

.row-theater-name[b-uxwkjqv9zs] {
    font-size: 14px;
    font-weight: 800;
    color: #1e1b4b;
    line-height: 1.2;
}

.row-ops-count[b-uxwkjqv9zs] {
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
}

.row-timeline-track[b-uxwkjqv9zs] {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 6px 0;
}

.track-grid-columns[b-uxwkjqv9zs] {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    pointer-events: none;
}

.track-hour-col[b-uxwkjqv9zs] {
    border-left: 1px solid #f1f5f9;
    height: 100%;
}

.track-hour-col:last-child[b-uxwkjqv9zs] {
    border-right: 1px solid #f1f5f9;
}

/* Vacant Suite Visual Cue */
.track-vacant-indicator[b-uxwkjqv9zs] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.vacant-text[b-uxwkjqv9zs] {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(248, 250, 252, 0.75);
    padding: 4px 12px;
    border-radius: 9999px;
    border: 1px dashed #cbd5e1;
    transition: all 0.15s ease;
}

.track-vacant-indicator:hover .vacant-text[b-uxwkjqv9zs] {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

/* ─────────────────────────────────────────────────────────────────
   PROCEDURE EVENT BLOCKS (3-LINE CLEAR DISPLAY: SURGERY-PATIENT, DOCTOR, TIMING)
   ───────────────────────────────────────────────────────────────── */
.procedure-event-block[b-uxwkjqv9zs] {
    position: absolute;
    height: calc(100% - 14px);
    top: 7px;
    border-radius: 9px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    box-sizing: border-box;
}

.procedure-event-block:hover[b-uxwkjqv9zs] {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.09);
    z-index: 15;
}

/* ── COMPACT SLOT STYLING (DEFAULT VIEW: PROCEDURE NAME + VIEW DETAILS PILL) ── */
.procedure-event-block.compact-slot[b-uxwkjqv9zs] {
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: visible;
}

.compact-default-label[b-uxwkjqv9zs] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.compact-proc-title[b-uxwkjqv9zs] {
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    letter-spacing: -0.01em;
}

.btn-view-details-pill[b-uxwkjqv9zs] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9.5px;
    font-weight: 700;
    padding: 0;
    background: transparent;
    border: none;
    color: inherit;
    box-shadow: none;
    letter-spacing: 0.01em;
    white-space: nowrap;
    opacity: 0.85;
    transition: all 0.15s ease;
}

.procedure-event-block.compact-slot:hover .btn-view-details-pill[b-uxwkjqv9zs] {
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
}

.compact-hover-popup[b-uxwkjqv9zs] {
    display: none;
}

/* On hover of compact slot: expand to full view floating card */
.procedure-event-block.compact-slot:hover[b-uxwkjqv9zs] {
    min-width: 240px;
    width: max-content !important;
    max-width: 360px;
    z-index: 100;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    padding: 10px 14px;
    justify-content: center;
    text-align: left;
    overflow: visible;
}

/* For slots on the right half or ending near the right edge:
   Anchor to the end time / right edge of the slot and expand towards the LEFT so it never goes outside the page */
.procedure-event-block.compact-slot.align-pop-right:hover[b-uxwkjqv9zs] {
    left: auto !important;
    right: max(0%, var(--right-offset, 0%)) !important;
    transform-origin: right center;
}

.procedure-event-block.compact-slot.align-pop-left:hover[b-uxwkjqv9zs] {
    transform-origin: left center;
}

.procedure-event-block.compact-slot:hover .compact-default-label[b-uxwkjqv9zs] {
    display: none;
}

.procedure-event-block.compact-slot:hover .compact-hover-popup[b-uxwkjqv9zs] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

/* Line 1: Surgery name - Patient name */
.event-title-wrap[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.event-proc-and-patient[b-uxwkjqv9zs] {
    display: flex;
    align-items: baseline;
    gap: 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: 0;
}

.event-proc-name[b-uxwkjqv9zs] {
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-hyphen[b-uxwkjqv9zs] {
    font-weight: 700;
    opacity: 0.55;
    margin: 0 1px;
    flex-shrink: 0;
}

.event-patient-name[b-uxwkjqv9zs] {
    font-size: 11.5px;
    font-weight: 700;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-urgent-dot[b-uxwkjqv9zs] {
    background: #dc2626;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

/* Line 2: Doctor name */
.event-doc-row[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.event-row-icon[b-uxwkjqv9zs] {
    font-size: 10px;
    opacity: 0.75;
    flex-shrink: 0;
}

.event-doc-name[b-uxwkjqv9zs] {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.88;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Line 3: Timing */
.event-timing-row[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-time-text[b-uxwkjqv9zs] {
    font-size: 10px;
    font-family: monospace;
    font-weight: 700;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.6);
    padding: 1px 6px;
    border-radius: 4px;
    white-space: nowrap;
    width: fit-content;
}

/* Palette Variations */
.event-color-green[b-uxwkjqv9zs] {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: none;
    color: #14532d;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.16);
}

.event-color-green:hover[b-uxwkjqv9zs] {
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.24);
}

.event-color-green .compact-proc-title[b-uxwkjqv9zs] {
    color: #14532d;
    font-weight: 800;
}

.event-color-green .btn-view-details-pill[b-uxwkjqv9zs] {
    color: #15803d;
    font-weight: 700;
}

.event-color-green .event-time-text[b-uxwkjqv9zs] {
    background: #ffffff;
    color: #15803d;
    border: 1px solid #86efac;
}

.event-color-peach[b-uxwkjqv9zs] {
    background: #ffedd5;
    border: 1px solid #fdba74;
    color: #7c2d12;
}

.event-color-rose[b-uxwkjqv9zs] {
    background: #ffe4e6;
    border: 1px solid #fecdd3;
    color: #881337;
}

.event-color-blue[b-uxwkjqv9zs] {
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    color: #075985;
}

.event-color-purple[b-uxwkjqv9zs] {
    background: #ede9fe;
    border: 1px solid #ddd6fe;
    color: #4c1d95;
}

.event-color-amber[b-uxwkjqv9zs] {
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #78350f;
}

.event-color-teal[b-uxwkjqv9zs] {
    background: #ccfbf1;
    border: 1px solid #99f6e4;
    color: #134e4a;
}

/* ─────────────────────────────────────────────────────────────────
   2B & 2C. VIEW MODE SWITCHER, CARD VIEW & TABLE VIEW STYLING
   ───────────────────────────────────────────────────────────────── */
/* View Mode Segmented Controls in Header (Icon-only Compact Buttons) */
.view-mode-segmented[b-uxwkjqv9zs] {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    padding: 2px;
    gap: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    height: 32px;
    box-sizing: border-box;
}

.btn-view-mode[b-uxwkjqv9zs] {
    border: none;
    background: transparent;
    color: #64748b;
    width: 26px;
    height: 26px;
    padding: 0;
    border-radius: 50%;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-view-mode:hover[b-uxwkjqv9zs] {
    color: #1e293b;
    background: #f1f5f9;
}

.btn-view-mode.active[b-uxwkjqv9zs] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(79, 70, 229, 0.25);
}

.btn-view-mode.active i[b-uxwkjqv9zs] {
    color: #ffffff;
}

/* Subheader Bar */
.view-sub-header-bar[b-uxwkjqv9zs] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.sub-header-title-wrap[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-header-title[b-uxwkjqv9zs] {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.01em;
}

.badge-slot-count[b-uxwkjqv9zs] {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 9999px;
}

.sub-header-right[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.slot-search-input-box[b-uxwkjqv9zs] {
    position: relative;
    display: flex;
    align-items: center;
}

.slot-search-icon[b-uxwkjqv9zs] {
    position: absolute;
    left: 10px;
    font-size: 11px;
    color: #94a3b8;
    pointer-events: none;
}

.slot-search-input[b-uxwkjqv9zs] {
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    height: 32px;
    padding: 0 26px 0 28px;
    font-size: 11.5px;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    width: 220px;
    outline: none;
    transition: all 0.15s ease;
}

.slot-search-input:focus[b-uxwkjqv9zs] {
    background: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    width: 250px;
}

.btn-clear-slot-search[b-uxwkjqv9zs] {
    position: absolute;
    right: 8px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.status-filter-pills[b-uxwkjqv9zs] {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 2px;
    border-radius: 9999px;
    gap: 2px;
}

.btn-status-pill[b-uxwkjqv9zs] {
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.12s ease;
}

.btn-status-pill:hover[b-uxwkjqv9zs] {
    color: #1e293b;
}

.btn-status-pill.active[b-uxwkjqv9zs] {
    background: #ffffff;
    color: #4f46e5;
    font-weight: 800;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ─────────────────────────────────────────────────────────────────
   PILL BADGES (STATUS, PRIORITY, CATEGORY)
   ───────────────────────────────────────────────────────────────── */
.status-pill[b-uxwkjqv9zs] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 9999px;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
    white-space: nowrap;
}

.status-dot[b-uxwkjqv9zs] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-scheduled[b-uxwkjqv9zs] {
    background: #f0f9ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
}
.status-scheduled .status-dot[b-uxwkjqv9zs] {
    background: #0284c7;
}

.status-in-progress[b-uxwkjqv9zs] {
    background: #faf5ff;
    color: #7e22ce;
    border: 1px solid #e9d5ff;
}
.status-in-progress .status-dot[b-uxwkjqv9zs] {
    background: #a855f7;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.25);
    animation: statusDotPulse-b-uxwkjqv9zs 1.8s infinite ease-in-out;
}

.status-completed[b-uxwkjqv9zs] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
.status-completed .status-dot[b-uxwkjqv9zs] {
    background: #10b981;
}

.status-recovery[b-uxwkjqv9zs] {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
}
.status-recovery .status-dot[b-uxwkjqv9zs] {
    background: #0ea5e9;
}

.status-transferred[b-uxwkjqv9zs] {
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid #99f6e4;
}
.status-transferred .status-dot[b-uxwkjqv9zs] {
    background: #14b8a6;
}

.status-cancelled[b-uxwkjqv9zs] {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}
.status-cancelled .status-dot[b-uxwkjqv9zs] {
    background: #f43f5e;
}

.status-postponed[b-uxwkjqv9zs] {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}
.status-postponed .status-dot[b-uxwkjqv9zs] {
    background: #f59e0b;
}

.status-requested[b-uxwkjqv9zs] {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #cbd5e1;
}
.status-requested .status-dot[b-uxwkjqv9zs] {
    background: #94a3b8;
}

@keyframes statusDotPulse-b-uxwkjqv9zs {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.7; }
}

/* Priority Badges */
.priority-pill[b-uxwkjqv9zs] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2.5px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
    white-space: nowrap;
}

.priority-emergency[b-uxwkjqv9zs] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    box-shadow: 0 1px 3px rgba(220, 38, 38, 0.15);
}

.priority-urgent[b-uxwkjqv9zs] {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.priority-elective[b-uxwkjqv9zs] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* Category Chips */
.category-chip[b-uxwkjqv9zs] {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
    white-space: nowrap;
}

.chip-major[b-uxwkjqv9zs] {
    background: #f5f3ff;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

.chip-minor[b-uxwkjqv9zs] {
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

.chip-daycare[b-uxwkjqv9zs] {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.chip-default[b-uxwkjqv9zs] {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* ─────────────────────────────────────────────────────────────────
   BOOKED SLOTS CARD GRID VIEW
   ───────────────────────────────────────────────────────────────── */
.booked-slots-card-view-layout[b-uxwkjqv9zs] {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.booked-slots-card-grid[b-uxwkjqv9zs] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 16px;
    padding-bottom: 24px;
    align-items: stretch;
}

.slot-card-item[b-uxwkjqv9zs] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.slot-card-item:hover[b-uxwkjqv9zs] {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -4px rgba(79, 70, 229, 0.1), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
    border-color: #a5b4fc;
}

.slot-card-item.card-emergency-border[b-uxwkjqv9zs] {
    border-left: 4px solid #ef4444;
}

.slot-card-header[b-uxwkjqv9zs] {
    padding: 12px 16px;
    background: linear-gradient(180deg, #f8faff 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.slot-theater-badge[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.theater-icon-pill[b-uxwkjqv9zs] {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.theater-title-group[b-uxwkjqv9zs] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    overflow: hidden;
    white-space: nowrap;
}

.slot-theater-name[b-uxwkjqv9zs] {
    font-size: 13.5px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.01em;
}

.slot-theater-loc[b-uxwkjqv9zs] {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.slot-card-body[b-uxwkjqv9zs] {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

/* Workspace Scroll Area */
.theaters-workspace-scroll[b-uxwkjqv9zs] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    width: 100%;
}

/* Single-Line Scheduled Time & Duration (Guaranteed Single-Line with Mild Indigo/Slate Theme) */
.slot-time-banner-single[b-uxwkjqv9zs] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%) !important;
    border: 1px solid #e0e7ff !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    margin-bottom: 2px !important;
    white-space: nowrap !important;
    gap: 8px !important;
}

.time-range-group[b-uxwkjqv9zs] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    white-space: nowrap !important;
}

.time-icon-accent[b-uxwkjqv9zs] {
    color: #4f46e5 !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
}

.time-digits[b-uxwkjqv9zs] {
    font-family: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    color: #1e1b4b !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
}

.time-dur-pill[b-uxwkjqv9zs] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    color: #4338ca !important;
    border: 1px solid #c7d2fe !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 2px 9px !important;
    border-radius: 9999px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-shadow: 0 1px 2px rgba(79, 70, 229, 0.08) !important;
}

.slot-proc-header[b-uxwkjqv9zs] {
    min-height: 22px;
}

.slot-proc-name[b-uxwkjqv9zs] {
    font-size: 15.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.slot-meta-card-section[b-uxwkjqv9zs] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(180deg, #fbfcfe 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
}

.slot-meta-item[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-icon-avatar[b-uxwkjqv9zs] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    flex-shrink: 0;
}

.meta-icon-avatar.patient-avatar[b-uxwkjqv9zs] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.08);
}

.meta-icon-avatar.doctor-avatar[b-uxwkjqv9zs] {
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
    color: #0284c7;
    border: 1px solid #bae6fd;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.08);
}

.meta-content[b-uxwkjqv9zs] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.meta-label-text[b-uxwkjqv9zs] {
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    line-height: 1.2;
}

.meta-val-text[b-uxwkjqv9zs] {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
    display: flex;
    align-items: center;
}

.patient-id-tag[b-uxwkjqv9zs] {
    font-size: 10.5px;
    font-weight: 800;
    color: #4338ca;
    background: #ffffff;
    padding: 1.5px 6px;
    border-radius: 6px;
    border: 1px solid #c7d2fe;
    margin-left: 6px;
}

.slot-tags-row[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
}

.badge-postponed-pill[b-uxwkjqv9zs] {
    display: inline-flex;
    align-items: center;
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    width: fit-content;
    white-space: nowrap;
}

.slot-card-footer[b-uxwkjqv9zs] {
    padding: 10px 16px;
    background: linear-gradient(180deg, #fbfcfe 0%, #f8fafc 100%);
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.btn-card-action[b-uxwkjqv9zs] {
    border: none;
    font-size: 11.5px;
    font-weight: 700;
    height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-card-details[b-uxwkjqv9zs] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.btn-card-details:hover[b-uxwkjqv9zs] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.38);
    transform: translateY(-1px);
}

.btn-card-manage[b-uxwkjqv9zs] {
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.btn-card-manage:hover[b-uxwkjqv9zs] {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

/* ─────────────────────────────────────────────────────────────────
   BOOKED SLOTS TABLE VIEW
   ───────────────────────────────────────────────────────────────── */
.booked-slots-table-view-layout[b-uxwkjqv9zs] {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.table-container-card[b-uxwkjqv9zs] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
    width: 100%;
    overflow: hidden;
}

.table-responsive[b-uxwkjqv9zs] {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ot-availability-table[b-uxwkjqv9zs] {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    margin: 0;
}

.ot-availability-table thead th[b-uxwkjqv9zs] {
    background: #f8fafc;
    color: #475569;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
    vertical-align: middle;
}

.ot-availability-table tbody tr[b-uxwkjqv9zs] {
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f1f5f9;
}

.ot-availability-table tbody tr:hover[b-uxwkjqv9zs] {
    background-color: #f8fafc !important;
}

.ot-availability-table tbody tr:last-child[b-uxwkjqv9zs] {
    border-bottom: none;
}

.ot-availability-table tbody td[b-uxwkjqv9zs] {
    padding: 10px 12px;
    vertical-align: middle;
    font-size: 12px;
}

.row-emergency-accent[b-uxwkjqv9zs] {
    background: rgba(254, 226, 226, 0.25) !important;
}

/* Clean Scheduled Time Pill in Table (No Harsh Green Outline) */
.table-time-green-pill[b-uxwkjqv9zs] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    color: #1e293b;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-weight: 700;
    font-size: 11.5px;
    white-space: nowrap;
    box-shadow: none;
}

.table-time-green-pill i[b-uxwkjqv9zs] {
    color: #6366f1;
}

.table-dur-tag[b-uxwkjqv9zs] {
    background: #ffffff;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    margin-left: 2px;
}

.tbl-theater-cell[b-uxwkjqv9zs] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.tbl-theater-name[b-uxwkjqv9zs] {
    font-size: 12.5px;
    font-weight: 800;
    color: #0f172a;
}

.tbl-theater-loc[b-uxwkjqv9zs] {
    font-size: 10.5px;
    color: #64748b;
    font-weight: 600;
}

.tbl-proc-cell[b-uxwkjqv9zs] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    max-width: 260px;
}

.tbl-proc-title-row[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.tbl-proc-name[b-uxwkjqv9zs] {
    font-size: 12.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.tbl-note-alert[b-uxwkjqv9zs] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 10.5px;
    font-style: italic;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tbl-note-text[b-uxwkjqv9zs] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbl-patient-cell[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.patient-avatar-badge[b-uxwkjqv9zs] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ede9fe 0%, #e0e7ff 100%);
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    font-weight: 800;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tbl-patient-info[b-uxwkjqv9zs] {
    display: flex;
    flex-direction: column;
}

.tbl-patient-name[b-uxwkjqv9zs] {
    font-size: 12.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.tbl-patient-id[b-uxwkjqv9zs] {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
}

.tbl-surgeon-cell[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    gap: 7px;
}

.doc-avatar-badge[b-uxwkjqv9zs] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #bae6fd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.tbl-surgeon-info[b-uxwkjqv9zs] {
    display: flex;
    flex-direction: column;
}

.tbl-surgeon-name[b-uxwkjqv9zs] {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
}

.tbl-actions-wrap[b-uxwkjqv9zs] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-end;
}

.btn-tbl-action[b-uxwkjqv9zs] {
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-tbl-view[b-uxwkjqv9zs] {
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
}

.btn-tbl-view:hover[b-uxwkjqv9zs] {
    background: #4f46e5;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
    transform: translateY(-1px);
}

.btn-tbl-edit[b-uxwkjqv9zs] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.btn-tbl-edit:hover[b-uxwkjqv9zs] {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
    transform: translateY(-1px);
}

/* Empty State */
.empty-slots-card-box[b-uxwkjqv9zs] {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.empty-icon-wrap[b-uxwkjqv9zs] {
    font-size: 2.25rem;
    margin-bottom: 8px;
}

.empty-title[b-uxwkjqv9zs] {
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.empty-table-state-box[b-uxwkjqv9zs] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 36px 20px;
    width: 100%;
}

/* ─────────────────────────────────────────────────────────────────
   3. MODAL DIALOGS
   ───────────────────────────────────────────────────────────────── */
.modal-overlay[b-uxwkjqv9zs] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.5rem;
}

.modal-form-card[b-uxwkjqv9zs],
.team-modal-card[b-uxwkjqv9zs] {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalScaleIn-b-uxwkjqv9zs 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn-b-uxwkjqv9zs {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header-bar[b-uxwkjqv9zs] {
    padding: 1.25rem 1.85rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-left[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.modal-header-icon-box[b-uxwkjqv9zs] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.modal-title-text[b-uxwkjqv9zs] {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e1b4b;
    margin: 0;
}

.modal-subtitle-text[b-uxwkjqv9zs] {
    font-size: 0.76rem;
    font-weight: 600;
    color: #64748b;
    margin: 3px 0 0 0;
}

.modal-close-btn[b-uxwkjqv9zs] {
    border: none;
    background: transparent;
    font-size: 1.45rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.modal-close-btn:hover[b-uxwkjqv9zs] {
    color: #dc2626;
    background: #fee2e2;
}

.assign-modal-body[b-uxwkjqv9zs] {
    padding: 1.75rem 2rem;
    overflow-y: auto;
}

.modal-form-group[b-uxwkjqv9zs] {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 1.35rem;
}

.modal-form-row[b-uxwkjqv9zs] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
    width: 100%;
    margin-bottom: 1.35rem;
}

@media (max-width: 520px) {
    .modal-form-row[b-uxwkjqv9zs] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.modal-form-col[b-uxwkjqv9zs] {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.modal-field-label[b-uxwkjqv9zs] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.55rem;
    display: block;
}

.modal-input-control[b-uxwkjqv9zs],
.modal-select-control[b-uxwkjqv9zs] {
    display: block !important;
    width: 100% !important;
    height: 42px !important;
    font-size: 0.84rem !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 9px !important;
    padding: 0.5rem 0.95rem !important;
    color: #1e293b !important;
    background: #ffffff !important;
    transition: all 0.15s ease;
    box-sizing: border-box !important;
}

.modal-textarea-control[b-uxwkjqv9zs] {
    display: block !important;
    width: 100% !important;
    font-size: 0.84rem !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 9px !important;
    padding: 0.75rem 0.95rem !important;
    color: #1e293b !important;
    background: #ffffff !important;
    transition: all 0.15s ease;
    box-sizing: border-box !important;
    resize: vertical;
}

.modal-input-control:focus[b-uxwkjqv9zs],
.modal-select-control:focus[b-uxwkjqv9zs],
.modal-textarea-control:focus[b-uxwkjqv9zs] {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
    outline: none !important;
}

/* Autocomplete Typeahead Search Control */
.modal-search-autocomplete-wrapper[b-uxwkjqv9zs] {
    position: relative;
    width: 100%;
}

.modal-search-input-box[b-uxwkjqv9zs] {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.modal-search-icon[b-uxwkjqv9zs] {
    position: absolute;
    left: 0.95rem;
    font-size: 0.95rem;
    color: #94a3b8;
    pointer-events: none;
    z-index: 2;
}

.with-search-icon[b-uxwkjqv9zs] {
    padding-left: 2.6rem !important;
    padding-right: 2.5rem !important;
}

.with-search-icon.has-selection[b-uxwkjqv9zs] {
    font-weight: 600 !important;
    color: #0f172a !important;
    border-color: #818cf8 !important;
    background: #f8fafc !important;
}

.btn-clear-search[b-uxwkjqv9zs],
.btn-dropdown-arrow[b-uxwkjqv9zs] {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #94a3b8;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.15s ease;
    z-index: 2;
}

.btn-clear-search:hover[b-uxwkjqv9zs] {
    color: #dc2626;
    background: #fee2e2;
}

.btn-dropdown-arrow:hover[b-uxwkjqv9zs] {
    color: #4f46e5;
    background: #eef2ff;
}

.modal-typeahead-dropdown[b-uxwkjqv9zs] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 2100;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.modal-typeahead-dropdown[b-uxwkjqv9zs]::-webkit-scrollbar {
    width: 5px;
}

.modal-typeahead-dropdown[b-uxwkjqv9zs]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.typeahead-option-item[b-uxwkjqv9zs] {
    padding: 0.75rem 1.05rem;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.15s ease;
}

.typeahead-option-item:last-child[b-uxwkjqv9zs] {
    border-bottom: none;
}

.typeahead-option-item:hover[b-uxwkjqv9zs] {
    background: #f0f4ff;
}

.typeahead-option-item.selected[b-uxwkjqv9zs] {
    background: #e0e7ff;
}

.typeahead-item-layout[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.typeahead-item-icon[b-uxwkjqv9zs] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #e0e7ff;
    color: #4338ca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.typeahead-item-main[b-uxwkjqv9zs] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex-grow: 1;
}

.typeahead-proc-line[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.typeahead-proc-title[b-uxwkjqv9zs] {
    font-size: 0.84rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

.typeahead-emergency-badge[b-uxwkjqv9zs] {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 9999px;
    letter-spacing: 0.02em;
}

.typeahead-chip[b-uxwkjqv9zs] {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
}

.typeahead-meta-line[b-uxwkjqv9zs] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: 0.72rem;
    color: #64748b;
    flex-wrap: wrap;
}

.typeahead-meta-item[b-uxwkjqv9zs] {
    display: inline-flex;
    align-items: center;
}

.typeahead-dot[b-uxwkjqv9zs] {
    color: #cbd5e1;
    font-size: 0.75rem;
}

.typeahead-item-right[b-uxwkjqv9zs] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.typeahead-duration-pill[b-uxwkjqv9zs] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
}

.typeahead-empty-state[b-uxwkjqv9zs] {
    padding: 1.75rem 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.82rem;
}

/* Selected Case Preview Card */
.selected-case-preview-card[b-uxwkjqv9zs] {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border: 1px solid #e0e7ff;
    border-left: 4px solid #6366f1;
    border-radius: 10px;
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.95rem;
    margin-bottom: 1.35rem;
}

.case-preview-badge[b-uxwkjqv9zs] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #4f46e5;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.case-preview-details[b-uxwkjqv9zs] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.case-preview-title[b-uxwkjqv9zs] {
    font-size: 0.88rem;
    font-weight: 800;
    color: #1e1b4b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.case-preview-sub[b-uxwkjqv9zs] {
    font-size: 0.76rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3px;
    flex-wrap: wrap;
}

.preview-dot[b-uxwkjqv9zs] {
    color: #cbd5e1;
}

/* Slot Details Inspection Grid */
.slot-details-grid[b-uxwkjqv9zs] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    margin-top: 0.5rem;
}

.slot-detail-item[b-uxwkjqv9zs] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.slot-detail-item.full-width[b-uxwkjqv9zs] {
    grid-column: 1 / -1;
}

.slot-detail-label[b-uxwkjqv9zs] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.slot-detail-val[b-uxwkjqv9zs] {
    font-size: 0.85rem;
    color: #1e293b;
}

.modal-footer-bar[b-uxwkjqv9zs] {
    padding: 1.15rem 2rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
}

.btn-modal-cancel[b-uxwkjqv9zs] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 600;
    height: 40px;
    padding: 0 1.35rem;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-modal-cancel:hover[b-uxwkjqv9zs] {
    background: #f1f5f9;
    color: #1e293b;
}

.btn-modal-save[b-uxwkjqv9zs] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    border-radius: 9px;
    height: 40px;
    padding: 0 1.5rem;
    font-size: 0.84rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(79, 70, 229, 0.25);
    transition: all 0.15s ease;
}

.btn-modal-save:hover:not(:disabled)[b-uxwkjqv9zs] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.btn-modal-save:disabled[b-uxwkjqv9zs] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-assign-primary[b-uxwkjqv9zs] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    border-radius: 9px;
    height: 38px;
    padding: 0 1.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.btn-assign-primary.btn-sm[b-uxwkjqv9zs] {
    height: 32px;
    padding: 0 1rem;
    font-size: 11.5px;
}

/* ==========================================================================
   THEATER EMPTY STATE STYLING
   ========================================================================== */
.theater-empty-state-card[b-uxwkjqv9zs] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 56px 24px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03) !important;
    width: 100% !important;
    margin: 20px 0 !important;
    box-sizing: border-box !important;
    animation: fadeIn 0.25s ease-in-out;
}

.theater-empty-state-card .empty-state-icon-circle[b-uxwkjqv9zs] {
    width: 68px !important;
    height: 68px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    color: #4f46e5 !important;
    border: 1px solid #c7d2fe !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 30px !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.12) !important;
    margin-bottom: 16px !important;
    transition: transform 0.25s ease;
}

.theater-empty-state-card:hover .empty-state-icon-circle[b-uxwkjqv9zs] {
    transform: scale(1.06);
}

.theater-empty-state-card .empty-state-heading[b-uxwkjqv9zs] {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
    letter-spacing: -0.01em !important;
}

.theater-empty-state-card .empty-state-description[b-uxwkjqv9zs] {
    font-size: 12.5px !important;
    color: #64748b !important;
    margin: 0 !important;
    max-width: 420px !important;
    line-height: 1.45 !important;
}

[data-theme="dark"] .theater-empty-state-card[b-uxwkjqv9zs] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .theater-empty-state-card .empty-state-icon-circle[b-uxwkjqv9zs] {
    background: rgba(99, 102, 241, 0.15) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    color: #818cf8 !important;
}

[data-theme="dark"] .theater-empty-state-card .empty-state-heading[b-uxwkjqv9zs] {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .theater-empty-state-card .empty-state-description[b-uxwkjqv9zs] {
    color: #94a3b8 !important;
}



/* Available Operation Theaters single-viewport theme */
:global(html:has(.available-theaters-page))[b-uxwkjqv9zs],
:global(body:has(.available-theaters-page))[b-uxwkjqv9zs] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.available-theaters-page))[b-uxwkjqv9zs],
:global(.app-main-wrapper:has(.available-theaters-page))[b-uxwkjqv9zs] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.available-theaters-page)[b-uxwkjqv9zs] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.available-theaters-page[b-uxwkjqv9zs] {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.available-theaters-page .theater-page-header[b-uxwkjqv9zs] {
    flex: 0 0 auto !important;
    min-height: 48px !important;
    padding: 0.35rem 0.85rem !important;
    margin: 0 !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
}

.available-theaters-page .theaters-workspace-scroll[b-uxwkjqv9zs] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    -webkit-overflow-scrolling: touch !important;
}

.available-theaters-page .daily-schedule-main-layout[b-uxwkjqv9zs] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
}

.available-theaters-page .timeline-container-card[b-uxwkjqv9zs] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    border: 1px solid #dfe7f1 !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    background: #ffffff !important;
}

.available-theaters-page .timeline-card-header[b-uxwkjqv9zs] {
    flex: 0 0 auto !important;
    padding: 0.5rem 1rem !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.available-theaters-page .timeline-scroll-viewport[b-uxwkjqv9zs] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
}

.available-theaters-page .table-container-card[b-uxwkjqv9zs] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    border: 1px solid #dfe7f1 !important;
}

.available-theaters-page .table-responsive[b-uxwkjqv9zs] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
}

.available-theaters-page .ot-availability-table thead th[b-uxwkjqv9zs] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    padding: 0.45rem 0.65rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.available-theaters-page .ot-availability-table tbody tr[b-uxwkjqv9zs] {
    height: 34px !important;
    min-height: 34px !important;
}

.available-theaters-page .ot-availability-table tbody td[b-uxwkjqv9zs] {
    height: 34px !important;
    padding: 0.35rem 0.65rem !important;
    font-size: 0.76rem !important;
}
/* /Components/Pages/BedMaster.razor.rz.scp.css */
.referral-page[b-avnvlofbsp] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-avnvlofbsp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-avnvlofbsp] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-avnvlofbsp] {
    display: flex;
}

.align-center[b-avnvlofbsp] {
    align-items: center;
}

.flex-center[b-avnvlofbsp] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-avnvlofbsp] {
    gap: 8px;
}

.gap-12[b-avnvlofbsp] {
    gap: 12px;
}

.gap-16[b-avnvlofbsp] {
    gap: 16px;
}

.p-2[b-avnvlofbsp] {
    padding: 8px;
}

.p-4[b-avnvlofbsp] {
    padding: 16px;
}

.p-48[b-avnvlofbsp] {
    padding: 48px;
}

.rounded-lg[b-avnvlofbsp] {
    border-radius: 8px;
}

.shadow-sm[b-avnvlofbsp] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-avnvlofbsp] {
    margin: 0;
}

.mt-2px[b-avnvlofbsp] {
    margin-top: 2px;
}

.mb-0[b-avnvlofbsp] {
    margin-bottom: 0;
}

.mt-0[b-avnvlofbsp] {
    margin-top: 0;
}

.relative-positioned[b-avnvlofbsp] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-avnvlofbsp] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
}

.lab-title-text[b-avnvlofbsp] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-avnvlofbsp] {
    background-color: #eef2ff;
}

.text-indigo-600[b-avnvlofbsp] {
    color: #4f46e5;
}

.icon-lg[b-avnvlofbsp] {
    font-size: 24px;
}

.status-pulse-dot[b-avnvlofbsp] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-avnvlofbsp 2s infinite;
}

.status-text[b-avnvlofbsp] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-avnvlofbsp] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-avnvlofbsp] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-avnvlofbsp] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-avnvlofbsp] {
    width: 220px;
}

.btn-new-entry[b-avnvlofbsp] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-avnvlofbsp] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-avnvlofbsp] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.lc-table-container[b-avnvlofbsp] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-avnvlofbsp] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-avnvlofbsp] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-avnvlofbsp] {
    padding: 1rem 1.5rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lc-table td[b-avnvlofbsp] {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    vertical-align: middle;
}

.lc-table tbody tr:last-child td[b-avnvlofbsp] {
    border-bottom: none;
}

.lc-table-row:hover[b-avnvlofbsp] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-avnvlofbsp] {
    font-weight: 700;
}

.text-indigo-600[b-avnvlofbsp] {
    color: #4f46e5;
}

.lc-color-slate-500[b-avnvlofbsp] {
    color: #64748b;
}

.lc-font-mono[b-avnvlofbsp] {
    font-family: monospace;
}

.lc-font-700[b-avnvlofbsp] {
    font-weight: 700;
}

.lc-font-13[b-avnvlofbsp] {
    font-size: 13px;
}

.text-slate-800[b-avnvlofbsp] {
    color: #1e293b;
}

.text-slate-700[b-avnvlofbsp] {
    color: #334155;
}

.text-slate-600[b-avnvlofbsp] {
    color: #475569;
}

.text-slate-500[b-avnvlofbsp] {
    color: #64748b;
}

.text-slate-400[b-avnvlofbsp] {
    color: #94a3b8;
}

.font-12[b-avnvlofbsp] {
    font-size: 12px;
}

.font-18[b-avnvlofbsp] {
    font-size: 18px;
}

.italic[b-avnvlofbsp] {
    font-style: italic;
}

/* Action buttons */
.lc-btn[b-avnvlofbsp] {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-avnvlofbsp] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-avnvlofbsp] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-avnvlofbsp] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-avnvlofbsp] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-avnvlofbsp] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 800px;
    max-height: 95vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-avnvlofbsp 0.3s ease-out;
}

.modal-header-bar[b-avnvlofbsp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-avnvlofbsp] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-avnvlofbsp] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-avnvlofbsp] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-avnvlofbsp] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-section[b-avnvlofbsp] {
    margin-bottom: 0;
}

.form-group[b-avnvlofbsp] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-avnvlofbsp] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-input[b-avnvlofbsp] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
}

.lab-input:focus[b-avnvlofbsp] {
    outline: none;
    border-color: #4f46e5;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.um-grid-row[b-avnvlofbsp] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.um-grid-cols-4[b-avnvlofbsp] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-5[b-avnvlofbsp] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-3[b-avnvlofbsp] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-2[b-avnvlofbsp] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.modal-footer-bar[b-avnvlofbsp] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-avnvlofbsp] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-avnvlofbsp] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-avnvlofbsp] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-delete[b-avnvlofbsp] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.btn-delete:hover:not(:disabled)[b-avnvlofbsp] {
    text-decoration: underline;
}

.btn-delete:disabled[b-avnvlofbsp] {
    opacity: 0.4;
    cursor: not-allowed;
}

.text-danger[b-avnvlofbsp] {
    color: #ef4444;
}

/* Animations */
@keyframes lc-pulse-b-avnvlofbsp {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-avnvlofbsp] {
    animation: lc-fadeInUp-b-avnvlofbsp 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-avnvlofbsp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Delete Confirmation Modal */
.delete-confirm-card[b-avnvlofbsp] {
    max-width: 450px !important;
}

.delete-confirm-body[b-avnvlofbsp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem !important;
}

.delete-warning-icon[b-avnvlofbsp] {
    font-size: 48px !important;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.delete-message[b-avnvlofbsp] {
    font-size: 14px;
    color: #475569;
    font-weight: 600;
    margin: 0;
}

.delete-footer-bar[b-avnvlofbsp] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 1.25rem 2rem !important;
}

.btn-secondary-outline[b-avnvlofbsp] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-secondary-outline:hover[b-avnvlofbsp] {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

.btn-danger-filled[b-avnvlofbsp] {
    background: #ef4444;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 10px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
    transition: all 0.2s;
}

.btn-danger-filled:hover[b-avnvlofbsp] {
    background-color: #dc2626;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR BED MASTER
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .referral-page[b-avnvlofbsp],
[data-theme="dark"] .referral-page[b-avnvlofbsp] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-avnvlofbsp],
[data-theme="dark"] .lab-header-card[b-avnvlofbsp] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-avnvlofbsp],
[data-theme="dark"] .lab-title-text[b-avnvlofbsp] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .status-text[b-avnvlofbsp],
[data-theme="dark"] .status-text[b-avnvlofbsp] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input[b-avnvlofbsp],
[data-theme="dark"] .lc-rounded-pill-input[b-avnvlofbsp] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .search-icon i[b-avnvlofbsp],
:host-context([data-theme="dark"]) .search-icon span[b-avnvlofbsp],
[data-theme="dark"] .search-icon i[b-avnvlofbsp],
[data-theme="dark"] .search-icon span[b-avnvlofbsp] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .directory-section[b-avnvlofbsp],
[data-theme="dark"] .directory-section[b-avnvlofbsp] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lc-table thead tr[b-avnvlofbsp],
[data-theme="dark"] .lc-table thead tr[b-avnvlofbsp] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table th[b-avnvlofbsp],
[data-theme="dark"] .lc-table th[b-avnvlofbsp] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-table td[b-avnvlofbsp],
[data-theme="dark"] .lc-table td[b-avnvlofbsp] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .lc-table-row:hover td[b-avnvlofbsp],
[data-theme="dark"] .lc-table-row:hover td[b-avnvlofbsp] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .lc-btn[b-avnvlofbsp],
[data-theme="dark"] .lc-btn[b-avnvlofbsp] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-btn:hover[b-avnvlofbsp],
[data-theme="dark"] .lc-btn:hover[b-avnvlofbsp] {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #7dd3fc !important;
}

:host-context([data-theme="dark"]) .lc-btn span[b-avnvlofbsp],
[data-theme="dark"] .lc-btn span[b-avnvlofbsp] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .modal-form-card[b-avnvlofbsp],
[data-theme="dark"] .modal-form-card[b-avnvlofbsp] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-header-bar[b-avnvlofbsp],
:host-context([data-theme="dark"]) .modal-body[b-avnvlofbsp],
:host-context([data-theme="dark"]) .modal-footer-bar[b-avnvlofbsp],
[data-theme="dark"] .modal-header-bar[b-avnvlofbsp],
[data-theme="dark"] .modal-body[b-avnvlofbsp],
[data-theme="dark"] .modal-footer-bar[b-avnvlofbsp] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header-bar h3[b-avnvlofbsp],
[data-theme="dark"] .modal-header-bar h3[b-avnvlofbsp] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lab-input[b-avnvlofbsp],
[data-theme="dark"] .lab-input[b-avnvlofbsp] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .form-group label[b-avnvlofbsp],
[data-theme="dark"] .form-group label[b-avnvlofbsp] {
    color: #cbd5e1 !important;
}

/* Bed Master dashboard theme */
:global(html:has(.bed-master-page))[b-avnvlofbsp],
:global(body:has(.bed-master-page))[b-avnvlofbsp] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.bed-master-page))[b-avnvlofbsp],
:global(.app-main-wrapper:has(.bed-master-page))[b-avnvlofbsp] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.bed-master-page)[b-avnvlofbsp] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.referral-page.bed-master-page[b-avnvlofbsp] {
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.referral-page.bed-master-page .lab-header-card[b-avnvlofbsp] {
    flex: 0 0 auto !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.referral-page.bed-master-page .lab-title-text[b-avnvlofbsp] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
}

.referral-page.bed-master-page .status-text[b-avnvlofbsp] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.referral-page.bed-master-page .bg-indigo-50[b-avnvlofbsp] {
    background: #e0f2fe !important;
}

.referral-page.bed-master-page .lc-rounded-pill-input[b-avnvlofbsp] {
    width: 260px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    font-size: 0.82rem !important;
    padding: 0 1rem 0 2.2rem !important;
}

.referral-page.bed-master-page .lc-rounded-pill-input:focus[b-avnvlofbsp] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.referral-page.bed-master-page .btn-new-entry[b-avnvlofbsp] {
    height: 36px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

.referral-page.bed-master-page .btn-new-entry:hover[b-avnvlofbsp] {
    background: #05689b !important;
}

.referral-page.bed-master-page .directory-section[b-avnvlofbsp] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.referral-page.bed-master-page .lc-table-container[b-avnvlofbsp] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
}

.referral-page.bed-master-page .lc-table[b-avnvlofbsp] {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.referral-page.bed-master-page .lc-table thead tr th[b-avnvlofbsp],
.referral-page .lc-table th[b-avnvlofbsp] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.75rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.bed-master-page .lc-table thead tr th:last-child[b-avnvlofbsp],
.referral-page .lc-table th:last-child[b-avnvlofbsp] {
    border-right: none !important;
}

.referral-page.bed-master-page .lc-table tbody tr[b-avnvlofbsp] {
    height: 34px !important;
    min-height: 34px !important;
}

.referral-page.bed-master-page .lc-table tbody tr:nth-child(even)[b-avnvlofbsp] {
    background: #fbfdff !important;
}

.referral-page.bed-master-page .lc-table-row:hover[b-avnvlofbsp] {
    background: #f0f8ff !important;
}

.referral-page.bed-master-page .lc-table td[b-avnvlofbsp] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.75rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    color: #334155 !important;
    font-size: 0.76rem !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.bed-master-page .lc-btn[b-avnvlofbsp] {
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.referral-page.bed-master-page .lc-btn:hover[b-avnvlofbsp] {
    border-color: #bae6fd !important;
    background: #f0f9ff !important;
    color: #0369a1 !important;
}

.referral-page.bed-master-page .lc-table td:last-child > div[b-avnvlofbsp] {
    gap: 0.35rem !important;
}
/* /Components/Pages/BedTransferMaster.razor.rz.scp.css */
.referral-page[b-4vrlgndlbh] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-4vrlgndlbh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-4vrlgndlbh] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-4vrlgndlbh] {
    display: flex;
}

.align-center[b-4vrlgndlbh] {
    align-items: center;
}

.flex-center[b-4vrlgndlbh] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-4vrlgndlbh] {
    gap: 8px;
}

.gap-12[b-4vrlgndlbh] {
    gap: 12px;
}

.gap-16[b-4vrlgndlbh] {
    gap: 16px;
}

.p-2[b-4vrlgndlbh] {
    padding: 8px;
}

.p-4[b-4vrlgndlbh] {
    padding: 16px;
}

.p-48[b-4vrlgndlbh] {
    padding: 48px;
}

.rounded-lg[b-4vrlgndlbh] {
    border-radius: 8px;
}

.shadow-sm[b-4vrlgndlbh] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-4vrlgndlbh] {
    margin: 0;
}

.mt-2px[b-4vrlgndlbh] {
    margin-top: 2px;
}

.mb-0[b-4vrlgndlbh] {
    margin-bottom: 0;
}

.mt-0[b-4vrlgndlbh] {
    margin-top: 0;
}

.relative-positioned[b-4vrlgndlbh] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-4vrlgndlbh] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
}

.lab-title-text[b-4vrlgndlbh] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-4vrlgndlbh] {
    background-color: #eef2ff;
}

.text-indigo-600[b-4vrlgndlbh] {
    color: #4f46e5;
}

.icon-lg[b-4vrlgndlbh] {
    font-size: 24px;
}

.status-pulse-dot[b-4vrlgndlbh] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-4vrlgndlbh 2s infinite;
}

.status-text[b-4vrlgndlbh] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-4vrlgndlbh] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-4vrlgndlbh] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-4vrlgndlbh] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-4vrlgndlbh] {
    width: 220px;
}

.btn-new-entry[b-4vrlgndlbh] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-4vrlgndlbh] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-4vrlgndlbh] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.lc-table-container[b-4vrlgndlbh] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-4vrlgndlbh] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-4vrlgndlbh] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-4vrlgndlbh] {
    padding: 1rem 1.5rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.lc-table td[b-4vrlgndlbh] {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    vertical-align: middle;
    white-space: nowrap;
}

.lc-table tbody tr:last-child td[b-4vrlgndlbh] {
    border-bottom: none;
}

.lc-table-row:hover[b-4vrlgndlbh] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-4vrlgndlbh] {
    font-weight: 700;
}

.text-indigo-600[b-4vrlgndlbh] {
    color: #4f46e5;
}

.lc-color-slate-500[b-4vrlgndlbh] {
    color: #64748b;
}

.lc-font-mono[b-4vrlgndlbh] {
    font-family: monospace;
}

.lc-font-700[b-4vrlgndlbh] {
    font-weight: 700;
}

.lc-font-13[b-4vrlgndlbh] {
    font-size: 13px;
}

.text-slate-800[b-4vrlgndlbh] {
    color: #1e293b;
}

.text-slate-700[b-4vrlgndlbh] {
    color: #334155;
}

.text-slate-600[b-4vrlgndlbh] {
    color: #475569;
}

.text-slate-500[b-4vrlgndlbh] {
    color: #64748b;
}

.text-slate-400[b-4vrlgndlbh] {
    color: #94a3b8;
}

.font-12[b-4vrlgndlbh] {
    font-size: 12px;
}

.font-18[b-4vrlgndlbh] {
    font-size: 18px;
}

.italic[b-4vrlgndlbh] {
    font-style: italic;
}

/* Action buttons */
.lc-btn[b-4vrlgndlbh] {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-4vrlgndlbh] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-4vrlgndlbh] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-4vrlgndlbh] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-4vrlgndlbh] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-4vrlgndlbh] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 850px;
    max-height: 95vh;
    background: #f8fafc !important;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-4vrlgndlbh 0.3s ease-out;
}

.modal-header-bar[b-4vrlgndlbh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f8fafc !important;
}

.modal-header-bar h3[b-4vrlgndlbh] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #026aa7;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-4vrlgndlbh] {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-4vrlgndlbh], .modal-close-btn:focus[b-4vrlgndlbh] {
    color: #ef4444 !important;
}

.modal-close-btn:active[b-4vrlgndlbh] {
    color: #dc2626 !important;
}

.modal-body[b-4vrlgndlbh] {
    padding: 1.25rem;
    overflow-y: auto;
    flex: 1;
    background-color: #f8fafc !important;
}

.form-section[b-4vrlgndlbh] {
    margin-bottom: 0;
}

.form-group[b-4vrlgndlbh] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.form-group label[b-4vrlgndlbh] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-input[b-4vrlgndlbh] {
    width: 100%;
    padding: 0.45rem 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #ffffff;
    font-size: 0.76rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
}

.lab-input:focus[b-4vrlgndlbh] {
    outline: none;
    border-color: #4f46e5;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.um-grid-row[b-4vrlgndlbh] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.um-grid-cols-4[b-4vrlgndlbh] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

.um-grid-cols-5[b-4vrlgndlbh] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.85rem;
}

.um-grid-cols-3[b-4vrlgndlbh] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

.um-grid-cols-2[b-4vrlgndlbh] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.modal-footer-bar[b-4vrlgndlbh] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 0.85rem 1.25rem;
    width: 100%;
    box-sizing: border-box;
    background-color: #f8fafc !important;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-4vrlgndlbh] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-4vrlgndlbh] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-4vrlgndlbh] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-delete[b-4vrlgndlbh] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.btn-delete:hover:not(:disabled)[b-4vrlgndlbh] {
    text-decoration: underline;
}

.btn-delete:disabled[b-4vrlgndlbh] {
    opacity: 0.4;
    cursor: not-allowed;
}

.text-danger[b-4vrlgndlbh] {
    color: #ef4444;
}

/* Animations */
@keyframes lc-pulse-b-4vrlgndlbh {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-4vrlgndlbh] {
    animation: lc-fadeInUp-b-4vrlgndlbh 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-4vrlgndlbh {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Delete Confirmation Modal */
.delete-confirm-card[b-4vrlgndlbh] {
    max-width: 450px !important;
}

.delete-confirm-body[b-4vrlgndlbh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem !important;
}

.delete-warning-icon[b-4vrlgndlbh] {
    font-size: 48px !important;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.delete-message[b-4vrlgndlbh] {
    font-size: 14px;
    color: #475569;
    font-weight: 600;
    margin: 0;
}

.delete-footer-bar[b-4vrlgndlbh] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 1.25rem 2rem !important;
}

.btn-secondary-outline[b-4vrlgndlbh] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-secondary-outline:hover[b-4vrlgndlbh] {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

.btn-danger-filled[b-4vrlgndlbh] {
    background: #ef4444;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 10px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
    transition: all 0.2s;
}

.btn-danger-filled:hover[b-4vrlgndlbh] {
    background-color: #dc2626;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

.font-13[b-4vrlgndlbh] {
    font-size: 0.75rem !important;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR BED TRANSFER MASTER
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .referral-page[b-4vrlgndlbh],
[data-theme="dark"] .referral-page[b-4vrlgndlbh] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-4vrlgndlbh],
[data-theme="dark"] .lab-header-card[b-4vrlgndlbh] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-4vrlgndlbh],
[data-theme="dark"] .lab-title-text[b-4vrlgndlbh] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .status-text[b-4vrlgndlbh],
[data-theme="dark"] .status-text[b-4vrlgndlbh] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input[b-4vrlgndlbh],
[data-theme="dark"] .lc-rounded-pill-input[b-4vrlgndlbh] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .search-icon i[b-4vrlgndlbh],
[data-theme="dark"] .search-icon i[b-4vrlgndlbh] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .directory-section[b-4vrlgndlbh],
[data-theme="dark"] .directory-section[b-4vrlgndlbh] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lc-table thead tr[b-4vrlgndlbh],
[data-theme="dark"] .lc-table thead tr[b-4vrlgndlbh] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table th[b-4vrlgndlbh],
[data-theme="dark"] .lc-table th[b-4vrlgndlbh] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-table td[b-4vrlgndlbh],
[data-theme="dark"] .lc-table td[b-4vrlgndlbh] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lc-table-row:hover[b-4vrlgndlbh],
[data-theme="dark"] .lc-table-row:hover[b-4vrlgndlbh] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .text-slate-800[b-4vrlgndlbh],
:host-context([data-theme="dark"]) .text-slate-700[b-4vrlgndlbh],
:host-context([data-theme="dark"]) .text-slate-600[b-4vrlgndlbh],
[data-theme="dark"] .text-slate-800[b-4vrlgndlbh],
[data-theme="dark"] .text-slate-700[b-4vrlgndlbh],
[data-theme="dark"] .text-slate-600[b-4vrlgndlbh] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .text-slate-500[b-4vrlgndlbh],
:host-context([data-theme="dark"]) .text-slate-400[b-4vrlgndlbh],
[data-theme="dark"] .text-slate-500[b-4vrlgndlbh],
[data-theme="dark"] .text-slate-400[b-4vrlgndlbh] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .modal-form-card[b-4vrlgndlbh],
[data-theme="dark"] .modal-form-card[b-4vrlgndlbh] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-header-bar[b-4vrlgndlbh],
:host-context([data-theme="dark"]) .modal-body[b-4vrlgndlbh],
:host-context([data-theme="dark"]) .modal-footer-bar[b-4vrlgndlbh],
[data-theme="dark"] .modal-header-bar[b-4vrlgndlbh],
[data-theme="dark"] .modal-body[b-4vrlgndlbh],
[data-theme="dark"] .modal-footer-bar[b-4vrlgndlbh] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header-bar h3[b-4vrlgndlbh],
[data-theme="dark"] .modal-header-bar h3[b-4vrlgndlbh] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lab-input[b-4vrlgndlbh],
[data-theme="dark"] .lab-input[b-4vrlgndlbh] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .form-group label[b-4vrlgndlbh],
[data-theme="dark"] .form-group label[b-4vrlgndlbh] {
    color: #cbd5e1 !important;
}

/* Bed Transfer Master clean dashboard layout */
:global(html:has(.bed-transfer-page))[b-4vrlgndlbh],
:global(body:has(.bed-transfer-page))[b-4vrlgndlbh] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.bed-transfer-page))[b-4vrlgndlbh],
:global(.app-main-wrapper:has(.bed-transfer-page))[b-4vrlgndlbh] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.bed-transfer-page)[b-4vrlgndlbh] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.referral-page.bed-transfer-page[b-4vrlgndlbh] {
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.referral-page.bed-transfer-page .lab-header-card[b-4vrlgndlbh] {
    flex: 0 0 auto !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.referral-page.bed-transfer-page .lab-title-text[b-4vrlgndlbh] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
}

.referral-page.bed-transfer-page .status-text[b-4vrlgndlbh] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
}

.referral-page.bed-transfer-page .bg-indigo-50[b-4vrlgndlbh] {
    background: #e0f2fe !important;
}

.referral-page.bed-transfer-page .lc-rounded-pill-input[b-4vrlgndlbh] {
    width: 240px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    font-size: 0.82rem !important;
    padding: 0 1rem 0 2.2rem !important;
}

.referral-page.bed-transfer-page .lc-rounded-pill-input:focus[b-4vrlgndlbh] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.referral-page.bed-transfer-page .btn-new-entry[b-4vrlgndlbh] {
    height: 36px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

.referral-page.bed-transfer-page .btn-new-entry:hover[b-4vrlgndlbh] {
    background: #05689b !important;
}

.referral-page.bed-transfer-page .directory-section[b-4vrlgndlbh] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.referral-page.bed-transfer-page .lc-table-container[b-4vrlgndlbh] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
}

.referral-page.bed-transfer-page .lc-table[b-4vrlgndlbh] {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.referral-page.bed-transfer-page .lc-table thead tr th[b-4vrlgndlbh],
.referral-page .lc-table th[b-4vrlgndlbh] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.75rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.bed-transfer-page .lc-table thead tr th:last-child[b-4vrlgndlbh],
.referral-page .lc-table th:last-child[b-4vrlgndlbh] {
    border-right: none !important;
}

.referral-page.bed-transfer-page .lc-table tbody tr[b-4vrlgndlbh] {
    height: 34px !important;
    min-height: 34px !important;
}

.referral-page.bed-transfer-page .lc-table tbody tr:nth-child(even)[b-4vrlgndlbh] {
    background: #fbfdff !important;
}

.referral-page.bed-transfer-page .lc-table-row:hover[b-4vrlgndlbh] {
    background: #f0f8ff !important;
}

.referral-page.bed-transfer-page .lc-table td[b-4vrlgndlbh] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.75rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    color: #334155 !important;
    font-size: 0.76rem !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}
/* /Components/Pages/Billing.razor.rz.scp.css */
/* Billing Portal CSS styles */

.billing-wrapper[b-m2db6aaih1] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 2rem;
    margin-top: -1rem;
}

/* Header/Top Bar */
.billing-top-bar[b-m2db6aaih1] {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.top-bar-item[b-m2db6aaih1] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 140px;
}

.top-bar-item label[b-m2db6aaih1] {
    font-size: 0.65rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.top-bar-item select[b-m2db6aaih1],
.top-bar-item input[b-m2db6aaih1] {
    height: 38px;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    padding: 0.35rem 0.65rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    background-color: #f8fafc;
    outline: none;
    transition: all 0.15s ease-in-out;
}

.top-bar-item select:focus[b-m2db6aaih1],
.top-bar-item input:focus[b-m2db6aaih1] {
    border-color: #0284c7;
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.1);
}

.serial-no-badge[b-m2db6aaih1] {
    height: 38px;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}

/* Three-Column Grid Layout */
.billing-layout-grid[b-m2db6aaih1] {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 0.5rem;
    align-items: start;
}

.top-cards-grid[b-m2db6aaih1] {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 0.5rem;
    align-items: stretch;
}

@media (max-width: 1200px) {

    .billing-layout-grid[b-m2db6aaih1],
    .top-cards-grid[b-m2db6aaih1] {
        grid-template-columns: 1fr;
    }
}

/* Card Styling */
.billing-card[b-m2db6aaih1] {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.015);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.billing-card-header[b-m2db6aaih1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1.5px solid #f1f5f9;
    padding-bottom: 0.65rem;
    margin-bottom: 0.25rem;
}

.card-title-text[b-m2db6aaih1] {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title-text i[b-m2db6aaih1] {
    color: #0284c7;
    font-size: 1rem;
}

/* Forms and Inputs */
.billing-form-group[b-m2db6aaih1] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: relative;
}

.billing-form-group label[b-m2db6aaih1] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #475569;
}

.billing-form-group label span.required[b-m2db6aaih1] {
    color: #ef4444;
    margin-left: 2px;
}

.billing-input[b-m2db6aaih1] {
    width: 100%;
    height: 36px;
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background-color: #ffffff;
    font-weight: 500;
    color: #334155;
    transition: all 0.15s ease-in-out;
}

.billing-input:focus[b-m2db6aaih1] {
    border-color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.1);
}

.patient-details-list[b-m2db6aaih1] {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.5rem;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.patient-info-row[b-m2db6aaih1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 0.4rem;
}

.patient-info-row:last-child[b-m2db6aaih1] {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label[b-m2db6aaih1] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

.info-value[b-m2db6aaih1] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    text-align: right;
    max-width: 60%;
    word-wrap: break-word;
}

.patient-details-horizontal[b-m2db6aaih1] {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    align-items: center;
    overflow-x: auto;
}

.patient-info-item[b-m2db6aaih1] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1 1 auto;
}

.patient-info-item .info-label[b-m2db6aaih1] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    white-space: nowrap;
}

.patient-info-item .info-value[b-m2db6aaih1] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0f172a;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.patient-top-card[b-m2db6aaih1] {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
}

.patient-top-search[b-m2db6aaih1] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.patient-top-search>.billing-form-group[b-m2db6aaih1] {
    flex: 1;
    max-width: 250px;
}

.billing-select[b-m2db6aaih1] {
    width: 100%;
    height: 36px;
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background-color: #ffffff;
    font-weight: 500;
    color: #334155;
    outline: none;
    transition: all 0.15s ease-in-out;
}

.billing-select:focus[b-m2db6aaih1] {
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.1);
}

/* Patient Type Button Segment */
.patient-type-segment[b-m2db6aaih1] {
    display: flex;
    gap: 0.35rem;
    background: #f1f5f9;
    padding: 0.25rem;
    border-radius: 8px;
}

.patient-type-btn[b-m2db6aaih1] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.patient-type-btn.active[b-m2db6aaih1] {
    background: #ffffff;
    color: #026aa7;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* DOB Age Inputs Layout */
.age-grid[b-m2db6aaih1] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.age-input-wrapper[b-m2db6aaih1] {
    position: relative;
}

.age-input-wrapper input[b-m2db6aaih1] {
    padding-right: 1.5rem;
}

.age-unit-label[b-m2db6aaih1] {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
}

/* Care of Details Grid */
.careof-grid[b-m2db6aaih1] {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 0.5rem;
}

/* Collapsible More Info Drawer */
.more-info-toggle[b-m2db6aaih1] {
    background: transparent;
    border: none;
    color: #026aa7;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0;
    outline: none;
    align-self: flex-start;
}

.clear-patient-toggle[b-m2db6aaih1] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0;
    outline: none;
    align-self: flex-end;
    transition: color 0.15s ease;
}

.clear-patient-toggle:hover[b-m2db6aaih1] {
    color: #dc2626;
}

.more-info-box[b-m2db6aaih1] {
    border: 1.5px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 10px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

/* Autocomplete/Search Results list */
.autocomplete-search-wrapper[b-m2db6aaih1] {
    position: relative;
    width: 100%;
}

.autocomplete-dropdown[b-m2db6aaih1] {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    margin-top: 4px;
}

.autocomplete-item[b-m2db6aaih1] {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    color: #334155;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    border-left: 4px solid transparent;
    transition: background-color 0.15s ease, border-left-color 0.15s ease, color 0.15s ease;
}

.autocomplete-item:hover[b-m2db6aaih1],
.autocomplete-item.active-focused[b-m2db6aaih1] {
    background-color: #e0f2fe !important;
    color: #026aa7 !important;
    border-left-color: #0284c7 !important;
}

.autocomplete-item:hover .patient-search-title[b-m2db6aaih1],
.autocomplete-item.active-focused .patient-search-title[b-m2db6aaih1] {
    color: #0284c7 !important;
    font-weight: 700 !important;
}

.autocomplete-item:hover .autocomplete-code[b-m2db6aaih1],
.autocomplete-item.active-focused .autocomplete-code[b-m2db6aaih1] {
    background-color: #0284c7 !important;
    color: #ffffff !important;
}

.autocomplete-code[b-m2db6aaih1] {
    font-weight: 700;
    color: #64748b;
    font-size: 0.72rem;
    background: #f1f5f9;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

/* Test Selection and Services Grid */
.test-grid-card[b-m2db6aaih1] {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    padding: 0.85rem 1rem;
    gap: 0.5rem;
}

.test-count-badge[b-m2db6aaih1] {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
}

.table-scroll-container[b-m2db6aaih1] {
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    overflow-y: auto;
    max-height: 330px;
    min-height: 140px;
    margin-top: 0.35rem;
    background: #ffffff;
}

.charge-table[b-m2db6aaih1] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.charge-table th[b-m2db6aaih1] {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0.45rem 0.65rem;
    border: none;
    position: sticky;
    top: 0;
    z-index: 10;
}

.charge-table th:first-child[b-m2db6aaih1] {
    border-top-left-radius: 6px;
}

.charge-table th:last-child[b-m2db6aaih1] {
    border-top-right-radius: 6px;
}

.charge-table td[b-m2db6aaih1] {
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.charge-table tr[b-m2db6aaih1] {
    transition: background-color 0.15s ease;
}

.charge-table tr:hover[b-m2db6aaih1] {
    background-color: #f8fafc;
}

.charge-table tr:last-child td[b-m2db6aaih1] {
    border-bottom: none;
}

.col-sno-charge[b-m2db6aaih1] {
    width: 55px;
    text-align: center;
}

th.col-sno-charge[b-m2db6aaih1] {
    text-align: center;
}

.col-details-charge[b-m2db6aaih1] {
    min-width: 180px;
    text-align: left;
}

th.col-details-charge[b-m2db6aaih1] {
    text-align: left;
}

.col-qty-charge[b-m2db6aaih1] {
    width: 80px;
    text-align: center;
}

th.col-qty-charge[b-m2db6aaih1] {
    text-align: center;
}

.col-base-charge[b-m2db6aaih1] {
    width: 110px;
    text-align: right;
}

th.col-base-charge[b-m2db6aaih1] {
    text-align: right;
}

.col-discount-charge[b-m2db6aaih1] {
    width: 110px;
    text-align: right;
}

th.col-discount-charge[b-m2db6aaih1] {
    text-align: right;
}

.col-total-charge[b-m2db6aaih1] {
    width: 120px;
    text-align: right;
    font-weight: 700;
    color: #0f172a;
}

th.col-total-charge[b-m2db6aaih1] {
    text-align: right;
}

.col-action-charge[b-m2db6aaih1] {
    width: 60px;
    text-align: center;
}

th.col-action-charge[b-m2db6aaih1] {
    text-align: center;
}

.charge-input[b-m2db6aaih1] {
    width: 100%;
    height: 26px;
    padding: 0.15rem 0.4rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f172a;
    background-color: #ffffff;
    outline: none;
    transition: all 0.15s ease;
}

.charge-input:hover:not(:disabled)[b-m2db6aaih1] {
    border-color: #94a3b8;
    background-color: #ffffff;
}

.col-qty-charge .charge-input[b-m2db6aaih1] {
    text-align: center;
}

.col-base-charge .charge-input[b-m2db6aaih1],
.col-discount-charge .charge-input[b-m2db6aaih1] {
    text-align: right;
}

.charge-input:focus[b-m2db6aaih1] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.15);
    background-color: #ffffff;
}

.charge-input:disabled[b-m2db6aaih1] {
    background-color: #f1f5f9;
    color: #64748b;
    border-color: #cbd5e1;
    cursor: not-allowed;
    opacity: 0.8;
}

.btn-delete-charge[b-m2db6aaih1] {
    background: transparent;
    border: none;
    color: #f87171;
    padding: 0.2rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    outline: none;
}

.btn-delete-charge:hover[b-m2db6aaih1] {
    background-color: #fee2e2;
    color: #dc2626;
    transform: scale(1.08);
}

.btn-delete-charge:active[b-m2db6aaih1] {
    transform: scale(0.95);
}

/* Concession Grid */
.concession-row[b-m2db6aaih1] {
    display: grid;
    grid-template-columns: 1fr 60px 80px;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
}

.concession-label[b-m2db6aaih1] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.concession-input-group[b-m2db6aaih1] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.concession-input-group span[b-m2db6aaih1] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #94a3b8;
    text-align: center;
}

/* Financial Summary Net Payable */
.summary-net-payable[b-m2db6aaih1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px dashed #cbd5e1;
}

.net-payable-label[b-m2db6aaih1] {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.net-payable-amount[b-m2db6aaih1] {
    font-size: 1.35rem;
    font-weight: 900;
    color: #026aa7;
}

/* Payment Interface Box */
.payment-interface-card[b-m2db6aaih1] {
    background: #0f172a;
    color: #ffffff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-interface-card label[b-m2db6aaih1] {
    color: #94a3b8;
}

.payment-interface-title[b-m2db6aaih1] {
    font-size: 0.7rem;
    font-weight: 800;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #334155;
    padding-bottom: 0.5rem;
}

.payment-channel-row[b-m2db6aaih1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.payment-channel-row span[b-m2db6aaih1] {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.payment-channel-input[b-m2db6aaih1] {
    width: 100px;
    height: 28px;
    background: #1e293b;
    border: 1px solid #475569;
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: right;
    padding: 0 0.5rem;
    outline: none;
    transition: all 0.15s ease-in-out;
}

.payment-channel-input:focus[b-m2db6aaih1] {
    border-color: #38bdf8;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.15);
}

.payment-balance-due-row[b-m2db6aaih1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1.5px dashed #334155;
    padding-top: 0.75rem;
    margin-top: 0.25rem;
}

.balance-due-amount[b-m2db6aaih1] {
    font-size: 1.2rem;
    font-weight: 900;
    color: #ef4444;
}

.balance-due-amount.settled[b-m2db6aaih1] {
    color: #10b981;
}

.fully-settled-badge[b-m2db6aaih1] {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Section */
.billing-footer[b-m2db6aaih1] {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.5rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: none;
}

.footer-left-actions[b-m2db6aaih1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-right-actions[b-m2db6aaih1] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.btn-billing-footer[b-m2db6aaih1] {
    height: 38px;
    padding: 0 1.25rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease-in-out;
    border: none;
}

.btn-billing-footer.outline[b-m2db6aaih1] {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #475569;
}

.btn-billing-footer.outline:hover[b-m2db6aaih1] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
}

.btn-billing-footer.save[b-m2db6aaih1] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
}

.btn-billing-footer.save:hover[b-m2db6aaih1] {
    background: linear-gradient(135deg, #4338ca, #3730a3);
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.4);
    transform: translateY(-1px);
}

.btn-billing-footer.clear[b-m2db6aaih1] {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
}

.btn-billing-footer.clear:hover[b-m2db6aaih1] {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.35);
    transform: translateY(-1px);
}

.btn-billing-footer.preview[b-m2db6aaih1] {
    background: #8b5cf6;
    color: #ffffff;
}

.btn-billing-footer.preview:hover[b-m2db6aaih1] {
    background: #7c3aed;
}

.btn-billing-footer.print[b-m2db6aaih1] {
    background: #64748b;
    color: #ffffff;
}

.btn-billing-footer.print:hover[b-m2db6aaih1] {
    background: #475569;
}

.btn-billing-footer:disabled[b-m2db6aaih1] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Patient Search Box Result */
.patient-search-result-badge[b-m2db6aaih1] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Saved Bill Preview Screen Styling */
.saved-bill-container[b-m2db6aaih1] {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    animation: fadeIn-b-m2db6aaih1 0.4s ease-out;
}

@keyframes fadeIn-b-m2db6aaih1 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.saved-bill-header[b-m2db6aaih1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid #f1f5f9;
    padding-bottom: 1rem;
}

.saved-bill-title-area[b-m2db6aaih1] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.success-icon-box[b-m2db6aaih1] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #dcfce7;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.saved-bill-title[b-m2db6aaih1] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.saved-bill-subtitle[b-m2db6aaih1] {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.25rem;
    display: block;
}

.btn-new-bill[b-m2db6aaih1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(2, 132, 199, 0.2);
    transition: all 0.2s ease;
}

.btn-new-bill:hover[b-m2db6aaih1] {
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(2, 132, 199, 0.3);
}

.saved-bill-preview-body[b-m2db6aaih1] {
    background: #f8fafc;
    border-radius: 10px;
    border: 1px dashed #cbd5e1;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.preview-loading[b-m2db6aaih1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
}

.saved-bill-iframe[b-m2db6aaih1] {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
    background: #ffffff;
}

.saved-bill-footer-bar[b-m2db6aaih1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1.5px solid #f1f5f9;
    padding-top: 1.25rem;
    margin-top: 0.5rem;
}

.letterhead-toggle-container[b-m2db6aaih1] {
    display: flex;
    align-items: center;
}

.letterhead-toggle-label[b-m2db6aaih1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    user-select: none;
}

.letterhead-toggle-label input[type="checkbox"][b-m2db6aaih1] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #0284c7;
}

.saved-bill-actions[b-m2db6aaih1] {
    display: flex;
    gap: 0.75rem;
}

.btn-saved-action[b-m2db6aaih1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-saved-action.print[b-m2db6aaih1] {
    color: #ffffff;
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
}

.btn-saved-action.print:hover:not(:disabled)[b-m2db6aaih1] {
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(16, 185, 129, 0.3);
}

.btn-saved-action.close-btn[b-m2db6aaih1] {
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
}

.btn-saved-action.close-btn:hover[b-m2db6aaih1] {
    background: #e2e8f0;
}

.btn-saved-action:disabled[b-m2db6aaih1] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR BILLING PORTAL
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .billing-top-bar[b-m2db6aaih1],
[data-theme="dark"] .billing-top-bar[b-m2db6aaih1],
:host-context([data-theme="dark"]) .billing-card[b-m2db6aaih1],
[data-theme="dark"] .billing-card[b-m2db6aaih1],
:host-context([data-theme="dark"]) .saved-bill-container[b-m2db6aaih1],
[data-theme="dark"] .saved-bill-container[b-m2db6aaih1] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .billing-card-header[b-m2db6aaih1],
[data-theme="dark"] .billing-card-header[b-m2db6aaih1],
:host-context([data-theme="dark"]) .saved-bill-header[b-m2db6aaih1],
[data-theme="dark"] .saved-bill-header[b-m2db6aaih1],
:host-context([data-theme="dark"]) .saved-bill-footer-bar[b-m2db6aaih1],
[data-theme="dark"] .saved-bill-footer-bar[b-m2db6aaih1] {
    border-bottom-color: #334155 !important;
    border-top-color: #334155 !important;
}

:host-context([data-theme="dark"]) .card-title-text[b-m2db6aaih1],
[data-theme="dark"] .card-title-text[b-m2db6aaih1],
:host-context([data-theme="dark"]) .saved-bill-title[b-m2db6aaih1],
[data-theme="dark"] .saved-bill-title[b-m2db6aaih1],
:host-context([data-theme="dark"]) .net-payable-label[b-m2db6aaih1],
[data-theme="dark"] .net-payable-label[b-m2db6aaih1],
:host-context([data-theme="dark"]) .serial-no-badge[b-m2db6aaih1],
[data-theme="dark"] .serial-no-badge[b-m2db6aaih1] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .top-bar-item label[b-m2db6aaih1],
[data-theme="dark"] .top-bar-item label[b-m2db6aaih1],
:host-context([data-theme="dark"]) .billing-form-group label[b-m2db6aaih1],
[data-theme="dark"] .billing-form-group label[b-m2db6aaih1],
:host-context([data-theme="dark"]) .concession-label[b-m2db6aaih1],
[data-theme="dark"] .concession-label[b-m2db6aaih1],
:host-context([data-theme="dark"]) .info-label[b-m2db6aaih1],
[data-theme="dark"] .info-label[b-m2db6aaih1],
:host-context([data-theme="dark"]) .saved-bill-subtitle[b-m2db6aaih1],
[data-theme="dark"] .saved-bill-subtitle[b-m2db6aaih1],
:host-context([data-theme="dark"]) .letterhead-toggle-label[b-m2db6aaih1],
[data-theme="dark"] .letterhead-toggle-label[b-m2db6aaih1] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .top-bar-item select[b-m2db6aaih1],
:host-context([data-theme="dark"]) .top-bar-item input[b-m2db6aaih1],
:host-context([data-theme="dark"]) .billing-input[b-m2db6aaih1],
:host-context([data-theme="dark"]) .billing-select[b-m2db6aaih1],
:host-context([data-theme="dark"]) .charge-input[b-m2db6aaih1],
:host-context([data-theme="dark"]) .cm-input[b-m2db6aaih1],
[data-theme="dark"] .top-bar-item select[b-m2db6aaih1],
[data-theme="dark"] .top-bar-item input[b-m2db6aaih1],
[data-theme="dark"] .billing-input[b-m2db6aaih1],
[data-theme="dark"] .billing-select[b-m2db6aaih1],
[data-theme="dark"] .charge-input[b-m2db6aaih1],
[data-theme="dark"] .cm-input[b-m2db6aaih1] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .top-bar-item select:focus[b-m2db6aaih1],
:host-context([data-theme="dark"]) .top-bar-item input:focus[b-m2db6aaih1],
:host-context([data-theme="dark"]) .billing-input:focus[b-m2db6aaih1],
:host-context([data-theme="dark"]) .billing-select:focus[b-m2db6aaih1],
:host-context([data-theme="dark"]) .charge-input:focus[b-m2db6aaih1],
[data-theme="dark"] .top-bar-item select:focus[b-m2db6aaih1],
[data-theme="dark"] .top-bar-item input:focus[b-m2db6aaih1],
[data-theme="dark"] .billing-input:focus[b-m2db6aaih1],
[data-theme="dark"] .billing-select:focus[b-m2db6aaih1],
[data-theme="dark"] .charge-input:focus[b-m2db6aaih1] {
    background-color: #0f172a !important;
    border-color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .patient-details-list[b-m2db6aaih1],
:host-context([data-theme="dark"]) .patient-details-horizontal[b-m2db6aaih1],
:host-context([data-theme="dark"]) .more-info-box[b-m2db6aaih1],
:host-context([data-theme="dark"]) .saved-bill-preview-body[b-m2db6aaih1],
[data-theme="dark"] .patient-details-list[b-m2db6aaih1],
[data-theme="dark"] .patient-details-horizontal[b-m2db6aaih1],
[data-theme="dark"] .more-info-box[b-m2db6aaih1],
[data-theme="dark"] .saved-bill-preview-body[b-m2db6aaih1] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .patient-info-row[b-m2db6aaih1],
[data-theme="dark"] .patient-info-row[b-m2db6aaih1] {
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .info-value[b-m2db6aaih1],
:host-context([data-theme="dark"]) .patient-info-item .info-value[b-m2db6aaih1],
[data-theme="dark"] .info-value[b-m2db6aaih1],
[data-theme="dark"] .patient-info-item .info-value[b-m2db6aaih1] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .patient-type-segment[b-m2db6aaih1],
[data-theme="dark"] .patient-type-segment[b-m2db6aaih1] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .patient-type-btn[b-m2db6aaih1],
[data-theme="dark"] .patient-type-btn[b-m2db6aaih1] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .patient-type-btn.active[b-m2db6aaih1],
[data-theme="dark"] .patient-type-btn.active[b-m2db6aaih1] {
    background: #1e293b !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .autocomplete-dropdown[b-m2db6aaih1],
[data-theme="dark"] .autocomplete-dropdown[b-m2db6aaih1] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .autocomplete-item[b-m2db6aaih1],
[data-theme="dark"] .autocomplete-item[b-m2db6aaih1] {
    color: #f8fafc !important;
    border-bottom-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .autocomplete-item:hover[b-m2db6aaih1],
[data-theme="dark"] .autocomplete-item:hover[b-m2db6aaih1],
:host-context([data-theme="dark"]) .autocomplete-item.active-focused[b-m2db6aaih1],
[data-theme="dark"] .autocomplete-item.active-focused[b-m2db6aaih1] {
    background-color: #1e293b !important;
    color: #38bdf8 !important;
    border-left-color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .autocomplete-item:hover .patient-search-title[b-m2db6aaih1],
[data-theme="dark"] .autocomplete-item:hover .patient-search-title[b-m2db6aaih1],
:host-context([data-theme="dark"]) .autocomplete-item.active-focused .patient-search-title[b-m2db6aaih1],
[data-theme="dark"] .autocomplete-item.active-focused .patient-search-title[b-m2db6aaih1] {
    color: #38bdf8 !important;
    font-weight: 700 !important;
}

:host-context([data-theme="dark"]) .autocomplete-item:hover .autocomplete-code[b-m2db6aaih1],
[data-theme="dark"] .autocomplete-item:hover .autocomplete-code[b-m2db6aaih1],
:host-context([data-theme="dark"]) .autocomplete-item.active-focused .autocomplete-code[b-m2db6aaih1],
[data-theme="dark"] .autocomplete-item.active-focused .autocomplete-code[b-m2db6aaih1] {
    background-color: #38bdf8 !important;
    color: #0f172a !important;
}

:host-context([data-theme="dark"]) .autocomplete-code[b-m2db6aaih1],
[data-theme="dark"] .autocomplete-code[b-m2db6aaih1] {
    background: #1e293b !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .charge-table td[b-m2db6aaih1],
[data-theme="dark"] .charge-table td[b-m2db6aaih1] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .charge-table tr:hover td[b-m2db6aaih1],
[data-theme="dark"] .charge-table tr:hover td[b-m2db6aaih1] {
    background-color: #0f172a !important;
}

:host-context([data-theme="dark"]) .col-total-charge[b-m2db6aaih1],
[data-theme="dark"] .col-total-charge[b-m2db6aaih1] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .summary-net-payable[b-m2db6aaih1],
[data-theme="dark"] .summary-net-payable[b-m2db6aaih1] {
    border-top-color: #334155 !important;
}

:host-context([data-theme="dark"]) .net-payable-amount[b-m2db6aaih1],
[data-theme="dark"] .net-payable-amount[b-m2db6aaih1] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .btn-billing-footer.outline[b-m2db6aaih1],
[data-theme="dark"] .btn-billing-footer.outline[b-m2db6aaih1] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .btn-billing-footer.outline:hover[b-m2db6aaih1],
[data-theme="dark"] .btn-billing-footer.outline:hover[b-m2db6aaih1] {
    background: #1e293b !important;
    color: #f8fafc !important;
}

/* ═══════════════════════════════════════════════════════════════
   SUMMARY CARD RIGHT & SEARCH DROPDOWN STYLES
   ═══════════════════════════════════════════════════════════════ */
.patient-search-title[b-m2db6aaih1] {
    font-weight: 600;
    color: #0f172a;
}

.patient-search-sub[b-m2db6aaih1] {
    font-size: 0.8em;
    color: #64748b;
}

.summary-card-right[b-m2db6aaih1] {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.015);
    display: flex;
    flex-direction: column;
    padding: 0.65rem 0.75rem 0 0.75rem;
    gap: 0.15rem;
    overflow: hidden;
}

.summary-card-row[b-m2db6aaih1] {
    padding: 0.35rem 0.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-label-main[b-m2db6aaih1] {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.8rem;
}

.summary-val-main[b-m2db6aaih1] {
    font-weight: 800;
    color: #4f46e5;
    font-size: 0.95rem;
}

.summary-label-sub[b-m2db6aaih1] {
    font-weight: 700;
    color: #64748b;
    font-size: 0.63rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.concession-inputs-wrapper[b-m2db6aaih1] {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    font-size: 0.63rem;
    font-weight: 700;
    color: #64748b;
}

.concession-num-input[b-m2db6aaih1] {
    width: 40px;
    text-align: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.1rem;
    height: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f172a;
    background: #ffffff;
}

.referral-concession-reason-field[b-m2db6aaih1] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: 0.15rem 0.4rem 0.45rem;
}

.referral-concession-reason-input[b-m2db6aaih1] {
    width: 100%;
    min-width: 0;
    height: 30px;
    box-sizing: border-box;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.25rem 0.45rem;
    color: #0f172a;
    background: #ffffff;
    font-size: 0.72rem;
}

.referral-concession-reason-input:focus[b-m2db6aaih1] {
    border-color: #6366f1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.12);
}

.referral-concession-reason-input:disabled[b-m2db6aaih1] {
    color: #64748b;
    background: #f8fafc;
}

.summary-separator-dashed[b-m2db6aaih1] {
    margin: 0.15rem 0.4rem;
    border-bottom: 1px dashed #cbd5e1;
}

.summary-separator-solid[b-m2db6aaih1] {
    margin: 0.2rem 0.4rem;
    border-bottom: 1.5px solid #cbd5e1;
}

.summary-label-net[b-m2db6aaih1] {
    font-weight: 800;
    color: #0f172a;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.summary-val-net[b-m2db6aaih1] {
    font-weight: 800;
    color: #4f46e5;
    font-size: 1.05rem;
}

.paymode-box-inner[b-m2db6aaih1] {
    margin: 0.25rem 0.2rem 0.4rem 0.2rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.paymode-row-item[b-m2db6aaih1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
}

.paymode-select-sm[b-m2db6aaih1] {
    flex: 1;
    height: 28px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #0f172a;
}

.paymode-amt-input[b-m2db6aaih1] {
    width: 75px;
    text-align: right;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.2rem 0.4rem;
    height: 28px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f172a;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.btn-clear-pm[b-m2db6aaih1] {
    border: none;
    background: #fef2f2;
    color: #ef4444;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
}

.btn-add-pm[b-m2db6aaih1] {
    background: #e0e7ff;
    color: #4f46e5;
    border: none;
    border-radius: 6px;
    padding: 0.25rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    margin-top: 0.1rem;
}

.balance-due-row[b-m2db6aaih1] {
    padding: 0.35rem 0.4rem 0.45rem 0.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
}

.label-balance-due[b-m2db6aaih1] {
    font-weight: 700;
    color: #475569;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.val-balance-due[b-m2db6aaih1] {
    font-weight: 800;
    font-size: 0.95rem;
}

.badge-balance-sub[b-m2db6aaih1] {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.total-paid-banner[b-m2db6aaih1] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    padding: 0.55rem 0.75rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin: 0.25rem -0.75rem 0 -0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-paid-lbl[b-m2db6aaih1] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.4px;
}

.total-paid-val[b-m2db6aaih1] {
    font-size: 0.9rem;
    font-weight: 800;
    color: #ffffff;
}

.info-icon-indigo[b-m2db6aaih1] {
    color: #6366f1;
    font-size: 0.75rem;
}

/* Dark Mode Overrides for Summary Card */
:host-context([data-theme="dark"]) .patient-search-title[b-m2db6aaih1],
[data-theme="dark"] .patient-search-title[b-m2db6aaih1] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .patient-search-sub[b-m2db6aaih1],
[data-theme="dark"] .patient-search-sub[b-m2db6aaih1] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .summary-card-right[b-m2db6aaih1],
[data-theme="dark"] .summary-card-right[b-m2db6aaih1] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .summary-label-main[b-m2db6aaih1],
:host-context([data-theme="dark"]) .summary-label-net[b-m2db6aaih1],
:host-context([data-theme="dark"]) .label-balance-due[b-m2db6aaih1],
[data-theme="dark"] .summary-label-main[b-m2db6aaih1],
[data-theme="dark"] .summary-label-net[b-m2db6aaih1],
[data-theme="dark"] .label-balance-due[b-m2db6aaih1] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .summary-val-main[b-m2db6aaih1],
:host-context([data-theme="dark"]) .summary-val-net[b-m2db6aaih1],
:host-context([data-theme="dark"]) .info-icon-indigo[b-m2db6aaih1],
[data-theme="dark"] .summary-val-main[b-m2db6aaih1],
[data-theme="dark"] .summary-val-net[b-m2db6aaih1],
[data-theme="dark"] .info-icon-indigo[b-m2db6aaih1] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .summary-label-sub[b-m2db6aaih1],
:host-context([data-theme="dark"]) .concession-inputs-wrapper[b-m2db6aaih1],
[data-theme="dark"] .summary-label-sub[b-m2db6aaih1],
[data-theme="dark"] .concession-inputs-wrapper[b-m2db6aaih1] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .concession-num-input[b-m2db6aaih1],
:host-context([data-theme="dark"]) .paymode-select-sm[b-m2db6aaih1],
:host-context([data-theme="dark"]) .paymode-amt-input[b-m2db6aaih1],
[data-theme="dark"] .concession-num-input[b-m2db6aaih1],
[data-theme="dark"] .paymode-select-sm[b-m2db6aaih1],
[data-theme="dark"] .paymode-amt-input[b-m2db6aaih1] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .summary-separator-dashed[b-m2db6aaih1],
:host-context([data-theme="dark"]) .summary-separator-solid[b-m2db6aaih1],
:host-context([data-theme="dark"]) .balance-due-row[b-m2db6aaih1],
[data-theme="dark"] .summary-separator-dashed[b-m2db6aaih1],
[data-theme="dark"] .summary-separator-solid[b-m2db6aaih1],
[data-theme="dark"] .balance-due-row[b-m2db6aaih1] {
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .paymode-box-inner[b-m2db6aaih1],
[data-theme="dark"] .paymode-box-inner[b-m2db6aaih1] {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .btn-add-pm[b-m2db6aaih1],
[data-theme="dark"] .btn-add-pm[b-m2db6aaih1] {
    background: #1e293b !important;
    color: #38bdf8 !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .total-paid-banner[b-m2db6aaih1],
[data-theme="dark"] .total-paid-banner[b-m2db6aaih1] {
    background: #0284c7 !important;
}

/* End Shift Button Header */
.btn-end-shift-top[b-m2db6aaih1] {
    height: 36px;
    padding: 0 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ef4444;
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    align-self: flex-end;
    transition: all 0.15s ease-in-out;
}

.btn-end-shift-top:hover:not(:disabled)[b-m2db6aaih1] {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
}

.btn-end-shift-top:disabled[b-m2db6aaih1] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Confirm Card Modal UI */
.confirm-card-modal[b-m2db6aaih1] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    animation: confirmModalPop-b-m2db6aaih1 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes confirmModalPop-b-m2db6aaih1 {
    from {
        opacity: 0;
        transform: translate(-50%, -46%) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.confirm-card-header[b-m2db6aaih1] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    position: relative;
}

.confirm-card-icon[b-m2db6aaih1] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.confirm-card-icon.red[b-m2db6aaih1] {
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fee2e2;
}

.confirm-card-title[b-m2db6aaih1] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.confirm-card-subtitle[b-m2db6aaih1] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.confirm-card-close[b-m2db6aaih1] {
    position: absolute;
    top: -4px;
    right: -4px;
    background: transparent;
    border: none;
    font-size: 1.35rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.confirm-card-close:hover[b-m2db6aaih1] {
    color: #0f172a;
    background: #f1f5f9;
}

.confirm-card-body[b-m2db6aaih1] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.confirm-card-body p[b-m2db6aaih1] {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.5;
}

.confirm-card-warning[b-m2db6aaih1] {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #856404;
    font-weight: 600;
}

.confirm-card-warning i[b-m2db6aaih1] {
    font-size: 0.95rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.confirm-card-footer[b-m2db6aaih1] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.btn-confirm-cancel[b-m2db6aaih1] {
    height: 38px;
    padding: 0 1.15rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-confirm-cancel:hover[b-m2db6aaih1] {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-confirm-action[b-m2db6aaih1] {
    height: 38px;
    padding: 0 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.15s ease;
}

.btn-confirm-action.red[b-m2db6aaih1] {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
}

.btn-confirm-action.red:hover:not(:disabled)[b-m2db6aaih1] {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 6px 14px rgba(220, 38, 38, 0.3);
}

.btn-confirm-action:disabled[b-m2db6aaih1] {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Dark Mode Confirmation Card */
[data-theme="dark"] .confirm-card-modal[b-m2db6aaih1] {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .confirm-card-title[b-m2db6aaih1] {
    color: #f8fafc !important;
}

[data-theme="dark"] .confirm-card-subtitle[b-m2db6aaih1] {
    color: #94a3b8 !important;
}

[data-theme="dark"] .confirm-card-body p[b-m2db6aaih1] {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .confirm-card-body p strong[b-m2db6aaih1] {
    color: #f8fafc !important;
}

[data-theme="dark"] .confirm-card-warning[b-m2db6aaih1] {
    background: rgba(234, 179, 8, 0.12) !important;
    border-color: rgba(234, 179, 8, 0.3) !important;
    color: #fde047 !important;
}

[data-theme="dark"] .btn-confirm-cancel[b-m2db6aaih1] {
    background: #334155 !important;
    color: #cbd5e1 !important;
    border-color: #475569 !important;
}

[data-theme="dark"] .btn-confirm-cancel:hover[b-m2db6aaih1] {
    background: #475569 !important;
    color: #ffffff !important;
}

/* Compact Quick Add Patient Icon Button in Billing Header */
.btn-new-patient-icon[b-m2db6aaih1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, #4f46e5, #3730a3);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.25);
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
}

.btn-new-patient-icon:hover[b-m2db6aaih1] {
    background: linear-gradient(135deg, #4338ca, #312e81);
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
}

.btn-new-patient-icon:active[b-m2db6aaih1] {
    transform: translateY(0);
}

/* ==========================================================================
   Unbilled / Unpaid Toggle Checkbox Component
   ========================================================================== */
.unpaid-unbilled-toggle-box[b-m2db6aaih1] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: 36px;
    cursor: pointer;
    user-select: none;
    align-self: flex-end;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.unpaid-unbilled-toggle-box input[type="checkbox"][b-m2db6aaih1] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #2563eb;
    margin: 0;
}

.unpaid-unbilled-toggle-box label[b-m2db6aaih1] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    margin: 0;
    line-height: 1;
    display: inline-block;
    letter-spacing: 0;
    user-select: none;
    white-space: nowrap;
}

.unpaid-unbilled-toggle-box label:hover[b-m2db6aaih1] {
    color: #1e293b;
}

:host-context([data-theme="dark"]) .unpaid-unbilled-toggle-box label[b-m2db6aaih1],
[data-theme="dark"] .unpaid-unbilled-toggle-box label[b-m2db6aaih1] {
    color: #cbd5e1;
}

:host-context([data-theme="dark"]) .unpaid-unbilled-toggle-box label:hover[b-m2db6aaih1],
[data-theme="dark"] .unpaid-unbilled-toggle-box label:hover[b-m2db6aaih1] {
    color: #f8fafc;
}

.split-modal-close-btn[b-m2db6aaih1] {
    font-size: 1.35rem;
    line-height: 1;
    padding: 0.2rem 0.5rem;
    color: #94a3b8;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.split-modal-close-btn:hover[b-m2db6aaih1] {
    color: #ef4444 !important;
    background-color: #fee2e2 !important;
}

/* Active Shift Badge (Top-Right) */
.active-shift-badge-top-right[b-m2db6aaih1] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.35);
    color: #065f46;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12);
    white-space: nowrap;
}

.shift-live-pulse[b-m2db6aaih1] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: shiftPulse-b-m2db6aaih1 2s infinite;
}

@keyframes shiftPulse-b-m2db6aaih1 {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.shift-badge-icon[b-m2db6aaih1] {
    font-size: 0.95rem;
    color: #059669;
}

.shift-badge-branch[b-m2db6aaih1] {
    color: #0f172a;
    font-weight: 700;
}

.shift-badge-sep[b-m2db6aaih1] {
    color: #94a3b8;
    margin: 0 2px;
}

.shift-badge-counter[b-m2db6aaih1] {
    color: #0284c7;
    font-weight: 700;
}

[data-theme="dark"] .active-shift-badge-top-right[b-m2db6aaih1] {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
}

[data-theme="dark"] .shift-badge-branch[b-m2db6aaih1] {
    color: #f1f5f9;
}

[data-theme="dark"] .shift-badge-counter[b-m2db6aaih1] {
    color: #38bdf8;
}
/* /Components/Pages/BillingSummary.razor.rz.scp.css */
.bills-wrapper[b-sea6wxuh0b] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 2rem;
    font-family: var(--font-main);
    width: 100%;
}

/* Lab header card */
.lab-header-card[b-sea6wxuh0b] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
}

.lab-title-text[b-sea6wxuh0b] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.lab-header-card.flex-between[b-sea6wxuh0b] {
    justify-content: space-between;
    margin-bottom: 12px;
}

.bg-indigo-50[b-sea6wxuh0b] {
    background-color: #eef2ff;
}

.text-indigo-600[b-sea6wxuh0b] {
    color: #4f46e5;
}

.icon-lg[b-sea6wxuh0b] {
    font-size: 24px;
}

.status-pulse-dot[b-sea6wxuh0b] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-sea6wxuh0b 2s infinite;
}

.status-text[b-sea6wxuh0b] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes lc-pulse-b-sea6wxuh0b {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.gap-16[b-sea6wxuh0b] { gap: 16px; }
.gap-8[b-sea6wxuh0b] { gap: 8px; }
.mt-2px[b-sea6wxuh0b] { margin-top: 2px; }
.display-flex[b-sea6wxuh0b] { display: flex; }
.align-center[b-sea6wxuh0b] { align-items: center; }
.flex-start[b-sea6wxuh0b] { justify-content: flex-start; }
.flex-between[b-sea6wxuh0b] { justify-content: space-between; }
.flex-center[b-sea6wxuh0b] { justify-content: center; }
.rounded-lg[b-sea6wxuh0b] { border-radius: 8px; }
.shadow-sm[b-sea6wxuh0b] { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.p-2[b-sea6wxuh0b] { padding: 8px; }

.icon-box-container[b-sea6wxuh0b] {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header summary cards */
.header-summary-cards[b-sea6wxuh0b] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.summary-card[b-sea6wxuh0b] {
    background: #ffffff;
    border-radius: 10px;
    padding: 0.5rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    min-width: 140px;
    border: 1px solid #e2e8f0;
}

.summary-icon[b-sea6wxuh0b] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.net-card .summary-icon[b-sea6wxuh0b] {
    background: #eff6ff;
    color: #2563eb;
}

.paid-card .summary-icon[b-sea6wxuh0b] {
    background: #ecfdf5;
    color: #059669;
}

.balance-card .summary-icon[b-sea6wxuh0b] {
    background: #fff7ed;
    color: #ea580c;
}

.summary-content[b-sea6wxuh0b] {
    display: flex;
    flex-direction: column;
}

.summary-label[b-sea6wxuh0b] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}

.summary-value[b-sea6wxuh0b] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}

/* Filters Card Wrapper */
.filters-card[b-sea6wxuh0b] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Filters Body Grid */
.bills-filters-body[b-sea6wxuh0b] {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 0.8fr 1.2fr;
    gap: 1rem;
    align-items: flex-start;
}

.filter-column-item[b-sea6wxuh0b] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
}

.filter-column-title[b-sea6wxuh0b] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
}

.filter-column-title i[b-sea6wxuh0b] {
    font-size: 0.9rem;
    color: #4f46e5 !important;
}

/* Search input with left icon */
.search-input-box-wrapper[b-sea6wxuh0b] {
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    height: 34px;
    padding: 0 0.6rem;
    gap: 0.4rem;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input-box-wrapper:focus-within[b-sea6wxuh0b] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.search-box-icon[b-sea6wxuh0b] {
    color: #94a3b8;
    font-size: 0.8rem;
}

.form-control-search[b-sea6wxuh0b] {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1e293b;
    width: 100%;
    height: 100%;
    padding: 0 !important;
    box-shadow: none !important;
}

.form-control-search[b-sea6wxuh0b]::placeholder {
    color: #94a3b8;
}

/* Autocomplete suggestions dropdown */
.autocomplete-dropdown[b-sea6wxuh0b] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    max-height: 220px;
    overflow-y: auto;
    z-index: 1000;
}

.autocomplete-item[b-sea6wxuh0b] {
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.8rem;
    transition: background 0.15s ease;
}

.autocomplete-item:last-child[b-sea6wxuh0b] {
    border-bottom: none;
}

.autocomplete-item:hover[b-sea6wxuh0b] {
    background: #f8fafc;
}

.autocomplete-name[b-sea6wxuh0b] {
    font-weight: 700;
    color: #1e293b;
}

.autocomplete-sub[b-sea6wxuh0b] {
    font-size: 0.72rem;
    color: #64748b;
}

.autocomplete-badge[b-sea6wxuh0b] {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
}

.autocomplete-badge.op[b-sea6wxuh0b] {
    background: #eef2ff;
    color: #4f46e5;
}

.autocomplete-badge.ip[b-sea6wxuh0b] {
    background: #faf5ff;
    color: #9333ea;
}

/* Filter Chips Styling */
.chips-container[b-sea6wxuh0b] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    width: 100%;
}

.filter-chip[b-sea6wxuh0b] {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid #d1d5db;
    background: #ffffff;
    color: #1e293b;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    white-space: nowrap;
    outline: none;
    box-sizing: border-box;
}

.filter-chip:hover:not(.active)[b-sea6wxuh0b] {
    border-color: #9ca3af;
    background: #f9fafb;
}

.filter-chip.active[b-sea6wxuh0b] {
    background: #eef2ff;
    border-color: #4f46e5;
    color: #4f46e5;
}

.filter-chip i[b-sea6wxuh0b] {
    font-size: 0.85rem;
    font-weight: 900;
    color: #4f46e5;
}

/* Enhanced Actions Row below Filters */
.filter-actions-inline[b-sea6wxuh0b] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

/* Status Chips Group (Segmented Pill Switcher) */
.status-chips-group[b-sea6wxuh0b] {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    gap: 2px;
}

.filter-chip-sm[b-sea6wxuh0b] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 30px;
    padding: 0 0.75rem;
    border-radius: 9999px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    white-space: nowrap;
    outline: none;
}

.filter-chip-sm:hover:not(.active)[b-sea6wxuh0b] {
    color: #1e293b;
    background: rgba(255, 255, 255, 0.6);
}

.filter-chip-sm.active[b-sea6wxuh0b] {
    background: #ffffff;
    color: #312e81;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.filter-chip-sm i[b-sea6wxuh0b] {
    font-size: 0.8rem;
}

/* Category Counts Container */
.category-count-container[b-sea6wxuh0b] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cat-count-pill[b-sea6wxuh0b] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    height: 32px;
    padding: 0 0.75rem;
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    user-select: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.pill-op[b-sea6wxuh0b] {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid rgba(79, 70, 229, 0.18);
}

.pill-ip[b-sea6wxuh0b] {
    background: #faf5ff;
    color: #7e22ce;
    border: 1px solid rgba(147, 51, 234, 0.18);
}

.pill-unbilled[b-sea6wxuh0b] {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid rgba(234, 88, 12, 0.18);
}

.pill-billed[b-sea6wxuh0b] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid rgba(5, 150, 105, 0.18);
}

.cat-count-badge[b-sea6wxuh0b] {
    background: #ffffff;
    padding: 1px 7px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.filter-actions-right[b-sea6wxuh0b] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn[b-sea6wxuh0b] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    height: 34px;
    padding: 0 1.1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    outline: none;
}

.btn-primary-action[b-sea6wxuh0b] {
    background: #4f46e5;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
}

.btn-primary-action:hover:not(:disabled)[b-sea6wxuh0b] {
    background: #4338ca;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.3);
}

.btn-refresh[b-sea6wxuh0b] {
    background: #ffffff;
    color: #475569;
    border: 1.5px solid #cbd5e1;
}

.btn-refresh:hover:not(:disabled)[b-sea6wxuh0b] {
    background: #f8fafc;
    color: #1e293b;
    border-color: #94a3b8;
}

/* Patient Header Strip */
.patient-info-strip[b-sea6wxuh0b] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    gap: 1rem;
    flex-wrap: wrap;
}

.patient-profile-block[b-sea6wxuh0b] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.patient-avatar[b-sea6wxuh0b] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5 0%, #818cf8 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.patient-meta-name[b-sea6wxuh0b] {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
}

.patient-meta-sub[b-sea6wxuh0b] {
    font-size: 0.78rem;
    color: #64748b;
    display: flex;
    gap: 0.75rem;
}

.patient-meta-item[b-sea6wxuh0b] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.patient-visit-pills[b-sea6wxuh0b] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.visit-badge[b-sea6wxuh0b] {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.visit-badge.op-badge[b-sea6wxuh0b] {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.visit-badge.ip-badge[b-sea6wxuh0b] {
    background: #faf5ff;
    color: #7e22ce;
    border: 1px solid rgba(147, 51, 234, 0.2);
}

/* Category Counts Container */
.category-count-container[b-sea6wxuh0b] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.cat-count-pill[b-sea6wxuh0b] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 34px;
    padding: 0 0.65rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    user-select: none;
}

.pill-op[b-sea6wxuh0b] {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.pill-ip[b-sea6wxuh0b] {
    background: #faf5ff;
    color: #7e22ce;
    border: 1px solid rgba(147, 51, 234, 0.15);
}

.pill-unbilled[b-sea6wxuh0b] {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid rgba(234, 88, 12, 0.15);
}

.pill-billed[b-sea6wxuh0b] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid rgba(5, 150, 105, 0.15);
}

.cat-count-badge[b-sea6wxuh0b] {
    background: #ffffff;
    padding: 1px 6px;
    border-radius: 9999px;
    font-size: 0.7rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Table Card */
.table-card[b-sea6wxuh0b] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.table-responsive[b-sea6wxuh0b] {
    overflow-x: auto;
    width: 100%;
}

.bills-table[b-sea6wxuh0b] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.8rem;
}

.bills-table th[b-sea6wxuh0b] {
    background: #f8fafc;
    padding: 0.75rem 1rem;
    font-weight: 800;
    color: #475569;
    border-bottom: 1.5px solid #e2e8f0;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.bills-table td[b-sea6wxuh0b] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.bills-table tbody tr:hover[b-sea6wxuh0b] {
    background-color: #f8fafc;
}

.sno-cell[b-sea6wxuh0b] {
    font-weight: 700;
    color: #94a3b8;
    text-align: center;
    width: 50px;
}

.type-pill[b-sea6wxuh0b] {
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.7rem;
    display: inline-block;
}

.type-pill.op[b-sea6wxuh0b] {
    background: #eef2ff;
    color: #4338ca;
}

.type-pill.ip[b-sea6wxuh0b] {
    background: #faf5ff;
    color: #7e22ce;
}

.category-tag[b-sea6wxuh0b] {
    font-weight: 700;
    font-size: 0.72rem;
    color: #475569;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

.status-pill[b-sea6wxuh0b] {
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.status-pill.unbilled[b-sea6wxuh0b] {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.status-pill.billed[b-sea6wxuh0b] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.btn-icon-action[b-sea6wxuh0b] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-icon-action:hover[b-sea6wxuh0b] {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
}

/* Pagination Area */
.pagination-area[b-sea6wxuh0b] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

.pagination-info[b-sea6wxuh0b] {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

.pagination-controls[b-sea6wxuh0b] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.page-btn[b-sea6wxuh0b] {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.page-btn:hover:not(:disabled)[b-sea6wxuh0b] {
    background: #f1f5f9;
}

.page-btn.active[b-sea6wxuh0b] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
}

.page-btn:disabled[b-sea6wxuh0b] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Modal for Statement & Details */
.modal-backdrop[b-sea6wxuh0b] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content-lg[b-sea6wxuh0b] {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 750px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: modal-fade-in-b-sea6wxuh0b 0.2s ease-out;
}

@keyframes modal-fade-in-b-sea6wxuh0b {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header[b-sea6wxuh0b] {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
}

.btn-close-custom[b-sea6wxuh0b] {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.btn-close-custom:hover[b-sea6wxuh0b] {
    color: #0f172a;
    background: #e2e8f0;
}

.modal-body[b-sea6wxuh0b] {
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-footer[b-sea6wxuh0b] {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Receipt Branding within Modal */
.receipt-header-card[b-sea6wxuh0b] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px dashed #cbd5e1;
}

.receipt-brand-logo[b-sea6wxuh0b] {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #4f46e5;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.receipt-brand-info h3[b-sea6wxuh0b] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
}

.receipt-brand-addr[b-sea6wxuh0b] {
    margin: 0;
    font-size: 0.75rem;
    color: #64748b;
}

.receipt-meta-grid[b-sea6wxuh0b] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    background: #f8fafc;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.receipt-meta-column[b-sea6wxuh0b] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.meta-row[b-sea6wxuh0b] {
    display: flex;
    align-items: center;
    font-size: 0.78rem;
}

.meta-label[b-sea6wxuh0b] {
    width: 90px;
    color: #64748b;
    font-weight: 600;
}

.meta-value[b-sea6wxuh0b] {
    color: #1e293b;
    font-weight: 700;
}

.text-highlight[b-sea6wxuh0b] {
    color: #4f46e5;
}

.text-mono[b-sea6wxuh0b] {
    font-family: monospace;
}

.receipt-table-wrapper[b-sea6wxuh0b] {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.receipt-table[b-sea6wxuh0b] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.receipt-table th[b-sea6wxuh0b] {
    background: #f1f5f9;
    padding: 0.5rem 0.75rem;
    font-weight: 700;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
}

.receipt-table td[b-sea6wxuh0b] {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.receipt-summary-section[b-sea6wxuh0b] {
    display: flex;
    justify-content: flex-end;
}

.receipt-summary-card[b-sea6wxuh0b] {
    width: 260px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.summary-item-row[b-sea6wxuh0b] {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #475569;
}

.summary-item-row.highlight-row[b-sea6wxuh0b] {
    font-weight: 800;
    color: #1e293b;
    padding-top: 0.3rem;
    border-top: 1px solid #e2e8f0;
}

.summary-item-row.balance-row[b-sea6wxuh0b] {
    font-weight: 800;
    font-size: 0.85rem;
    color: #c2410c;
    padding-top: 0.3rem;
    border-top: 1px dashed #cbd5e1;
}

.btn-detail-close[b-sea6wxuh0b] {
    padding: 0.4rem 1rem;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
}

.btn-detail-print[b-sea6wxuh0b] {
    padding: 0.4rem 1.1rem;
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

@media print {
    body *[b-sea6wxuh0b] {
        visibility: hidden;
    }
    .print-area[b-sea6wxuh0b], .print-area *[b-sea6wxuh0b] {
        visibility: visible;
    }
    .print-area[b-sea6wxuh0b] {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
}
/* /Components/Pages/BillItems.razor.rz.scp.css */
.tm-bill-container[b-jwu14moit7] {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #f8fafc;
    height: calc(100vh - 50px);
    max-height: calc(100vh - 50px);
    box-sizing: border-box;
    overflow: hidden !important;
    overflow-y: hidden !important;
}

.tm-bill-header[b-jwu14moit7] {
    background: white;
    padding: 6px 14px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.tm-bill-title[b-jwu14moit7] {
    font-size: 13.5px;
    font-weight: 800;
    margin: 0;
    color: #1e293b;
    letter-spacing: 0.03em;
}

.tm-bill-content[b-jwu14moit7] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.tm-forms-row[b-jwu14moit7] {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.flex-1[b-jwu14moit7] {
    flex: 1;
    min-width: 0;
}

/* Card Styling */
.tm-compact-card[b-jwu14moit7] {
    background: white;
    border-radius: 8px;
    padding: 6px 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.tm-card-header[b-jwu14moit7] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 3px;
}

.tm-card-icon[b-jwu14moit7] {
    background: #eef2ff;
    padding: 2px 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
}

.tm-card-icon i[b-jwu14moit7] {
    font-size: 14px;
}

.tm-card-title-text[b-jwu14moit7] {
    font-size: 10px;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tm-form-row[b-jwu14moit7] {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}

.tm-form-col[b-jwu14moit7] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.w-100[b-jwu14moit7] {
    width: 100%;
}

.tm-elite-label[b-jwu14moit7] {
    font-size: 8.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 2px;
}

[b-jwu14moit7] .tm-elite-input {
    width: 100%;
    height: 24px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    padding: 0 6px;
    font-size: 10.5px;
    color: #334155;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

[b-jwu14moit7] select.tm-elite-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.4rem center;
    background-size: 0.75rem;
    padding-right: 1.5rem;
    cursor: pointer;
}

[b-jwu14moit7] .tm-elite-input:focus {
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

/* Time inputs */
.bl-age-box[b-jwu14moit7] {
    height: 24px;
    flex: 1;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #f8fafc;
    padding: 0 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bl-age-input[b-jwu14moit7] {
    width: 100%;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 10.5px;
    font-weight: 700;
    color: #334155;
    outline: none;
}

.bl-age-lbl[b-jwu14moit7] {
    font-size: 7px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    margin-top: -3px;
}

/* Checkboxes */
.tm-elite-checkbox-group[b-jwu14moit7] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
}

.tm-elite-checkbox-item[b-jwu14moit7] {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 2px 6px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    background: #f8fafc;
    transition: all 0.2s;
}

.tm-elite-checkbox-item:hover[b-jwu14moit7] {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.tm-elite-checkbox-box[b-jwu14moit7] {
    width: 12px;
    height: 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.2s;
}

.tm-elite-checkbox-box i[b-jwu14moit7] {
    color: white;
    font-size: 9px;
    display: none;
}

.tm-elite-checkbox-item.active[b-jwu14moit7] {
    background: #eef2ff;
    border-color: #a5b4fc;
}

.tm-elite-checkbox-item.active .tm-elite-checkbox-box[b-jwu14moit7] {
    background: #4f46e5;
    border-color: #4f46e5;
}

.tm-elite-checkbox-item.active .tm-elite-checkbox-box i[b-jwu14moit7] {
    display: block;
}

.tm-elite-checkbox-label[b-jwu14moit7] {
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
}

.tm-elite-checkbox-item.active .tm-elite-checkbox-label[b-jwu14moit7] {
    color: #4338ca;
}

/* Buttons */
.tm-btn-primary[b-jwu14moit7] {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 10.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.15);
}

.tm-btn-primary:hover[b-jwu14moit7] {
    background: #4338ca;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.25);
    transform: translateY(-1px);
}

.tm-btn-outline[b-jwu14moit7] {
    background: white;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    padding: 4px 10px;
    font-size: 10.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.tm-btn-outline:hover[b-jwu14moit7] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
}

/* Configured items list */
.tm-list-pane[b-jwu14moit7] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-top: 0 !important;
}

.tm-list-card[b-jwu14moit7] {
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.tm-list-header[b-jwu14moit7] {
    padding: 6px 12px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.tm-list-title[b-jwu14moit7] {
    font-size: 10.5px;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tm-search-input[b-jwu14moit7] {
    height: 24px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    padding: 0 10px;
    font-size: 10.5px;
    outline: none;
    width: 180px;
    background: white;
    transition: all 0.2s;
}

.tm-search-input:focus[b-jwu14moit7] {
    width: 220px;
    border-color: #6366f1;
}

.table-wrapper[b-jwu14moit7] {
    flex: 1;
    min-height: 0;
    overflow-x: auto;
    overflow-y: auto !important;
    max-height: none;
}

.tm-bill-table[b-jwu14moit7] {
    width: 100%;
    border-collapse: collapse;
    font-size: 10.5px;
}

.tm-bill-table tbody[b-jwu14moit7] {
    overflow-y: auto;
}

.tm-bill-table th[b-jwu14moit7] {
    background: #f1f5f9;
    color: #475569;
    font-weight: 700;
    padding: 5px 10px;
    text-align: left;
    border-bottom: 1.5px solid #cbd5e1;
    position: sticky;
    top: 0;
    z-index: 10;
    font-size: 10.5px;
}

.tm-bill-table td[b-jwu14moit7] {
    padding: 4px 10px;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
    font-size: 10.5px;
}

.tm-bill-table tr:hover[b-jwu14moit7] {
    background: #f8fafc;
}

.tm-bill-table tr.selected-row[b-jwu14moit7] {
    background: #f5f3ff;
}

.tm-bill-table tr.selected-row td[b-jwu14moit7] {
    border-bottom-color: #c7d2fe;
}

/* Badges / Pills */
.code-pill[b-jwu14moit7] {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 700;
    font-size: 10.5px;
}

.specimen-pill[b-jwu14moit7] {
    background: #f0fdf4;
    color: #166534;
    padding: 1px 6px;
    border-radius: 12px;
    font-size: 9.5px;
    font-weight: 700;
    border: 1px solid #bbf7d0;
}

.icd-pill[b-jwu14moit7] {
    background: #f1f5f9;
    color: #475569;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 600;
    font-size: 10.5px;
}

.time-label[b-jwu14moit7] {
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.badges-row[b-jwu14moit7] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.opt-badge[b-jwu14moit7] {
    background: #eff6ff;
    color: #2563eb;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    border: 1px solid #bfdbfe;
    text-transform: uppercase;
}

/* Dark Mode support */
:host-context([data-theme="dark"]) .tm-bill-container[b-jwu14moit7] {
    background: #0f172a;
}

:host-context([data-theme="dark"]) .tm-bill-header[b-jwu14moit7],
:host-context([data-theme="dark"]) .tm-compact-card[b-jwu14moit7],
:host-context([data-theme="dark"]) .tm-list-card[b-jwu14moit7],
:host-context([data-theme="dark"]) .tm-search-input[b-jwu14moit7] {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

:host-context([data-theme="dark"]) .tm-bill-title[b-jwu14moit7],
:host-context([data-theme="dark"]) .tm-card-title-text[b-jwu14moit7] {
    color: #f1f5f9;
}

:host-context([data-theme="dark"]) .tm-list-header[b-jwu14moit7] {
    background: #1e293b;
    border-bottom-color: #334155;
}

:host-context([data-theme="dark"]) .tm-list-title[b-jwu14moit7] {
    color: #cbd5e1;
}

:host-context([data-theme="dark"]) .tm-bill-table th[b-jwu14moit7] {
    background: #1e293b;
    color: #94a3b8;
    border-bottom-color: #334155;
}

:host-context([data-theme="dark"]) .tm-bill-table td[b-jwu14moit7] {
    color: #e2e8f0;
    border-bottom-color: #334155;
}

:host-context([data-theme="dark"]) .tm-bill-table tr:hover[b-jwu14moit7] {
    background: #334155;
}

:host-context([data-theme="dark"]) .tm-bill-table tr.selected-row[b-jwu14moit7] {
    background: #1e1b4b;
}

:host-context([data-theme="dark"]) .tm-bill-table tr.selected-row td[b-jwu14moit7] {
    border-bottom-color: #312e81;
}

:host-context([data-theme="dark"])[b-jwu14moit7]  .tm-elite-input,
:host-context([data-theme="dark"]) .bl-age-box[b-jwu14moit7] {
    background: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}

:host-context([data-theme="dark"]) .bl-age-input[b-jwu14moit7] {
    color: #f1f5f9;
}

:host-context([data-theme="dark"]) .tm-elite-checkbox-item[b-jwu14moit7] {
    background: #1e293b;
    border-color: #334155;
}

:host-context([data-theme="dark"]) .tm-elite-checkbox-item.active[b-jwu14moit7] {
    background: #312e81;
    border-color: #4f46e5;
}

:host-context([data-theme="dark"]) .tm-elite-checkbox-item.active .tm-elite-checkbox-label[b-jwu14moit7] {
    color: #c7d2fe;
}

:host-context([data-theme="dark"])[b-jwu14moit7]  select.tm-elite-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
}

:host-context([data-theme="dark"]) .opt-badge[b-jwu14moit7] {
    background: #1e3a8a;
    color: #93c5fd;
    border-color: #1e40af;
}

:host-context([data-theme="dark"]) .icd-pill[b-jwu14moit7] {
    background: #334155;
    color: #cbd5e1;
}

:host-context([data-theme="dark"]) .tm-btn-outline[b-jwu14moit7] {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

:host-context([data-theme="dark"]) .tm-btn-outline:hover[b-jwu14moit7] {
    background: #334155;
    color: #f1f5f9;
}

/* Input group & icon button styles */
.tm-input-group[b-jwu14moit7] {
    display: flex;
    gap: 4px;
    align-items: center;
}

.tm-icon-btn-blue[b-jwu14moit7] {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.15s ease;
}

.tm-icon-btn-blue:hover[b-jwu14moit7] {
    background: #4338ca;
    transform: translateY(-1px);
}

.tm-icon-btn-blue .material-symbols-outlined[b-jwu14moit7] {
    font-size: 16px;
}

/* Master Data Modal */
.tm-modal-overlay[b-jwu14moit7] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.tm-modal-content[b-jwu14moit7] {
    background: white;
    border-radius: 16px;
    padding: 24px;
    max-width: 1200px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.tm-modal-header[b-jwu14moit7] {
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
}

.tm-modal-close[b-jwu14moit7] {
    background: #f1f5f9;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #64748b;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.tm-modal-close:hover[b-jwu14moit7] {
    background: #e2e8f0;
    color: #0f172a;
}

:host-context([data-theme="dark"]) .tm-modal-content[b-jwu14moit7] {
    background: #1e293b;
    color: #f1f5f9;
    border: 1px solid #334155;
}

:host-context([data-theme="dark"]) .tm-modal-header[b-jwu14moit7] {
    color: #f1f5f9;
    border-bottom-color: #334155;
}

:host-context([data-theme="dark"]) .tm-modal-close[b-jwu14moit7] {
    background: #334155;
    color: #94a3b8;
}

:host-context([data-theme="dark"]) .tm-modal-close:hover[b-jwu14moit7] {
    background: #475569;
    color: #f1f5f9;
}

/* Premium ADD BILL ITEM / SAVE CHANGES Button */
.tm-btn-save-billitem[b-jwu14moit7] {
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 22px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tm-btn-save-billitem[b-jwu14moit7]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.tm-btn-save-billitem:hover[b-jwu14moit7]::before {
    left: 100%;
}

.tm-btn-save-billitem:hover[b-jwu14moit7] {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
    transform: translateY(-2px);
}

.tm-btn-save-billitem:active[b-jwu14moit7] {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.tm-btn-save-billitem i[b-jwu14moit7] {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.tm-btn-save-billitem:hover i[b-jwu14moit7] {
    transform: scale(1.15);
}

:host-context([data-theme="dark"]) .tm-btn-save-billitem[b-jwu14moit7] {
    background: linear-gradient(135deg, #4f46e5 0%, #312e81 100%);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
}

:host-context([data-theme="dark"]) .tm-btn-save-billitem:hover[b-jwu14moit7] {
    background: linear-gradient(135deg, #6366f1 0%, #3730a3 100%);
    box-shadow: 0 6px 22px rgba(99, 102, 241, 0.55);
}


/* /Components/Pages/BillNoSequence.razor.rz.scp.css */
.referral-page[b-2ep2lr2dtd] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-2ep2lr2dtd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-2ep2lr2dtd] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-2ep2lr2dtd] {
    display: flex;
}

.align-center[b-2ep2lr2dtd] {
    align-items: center;
}

.flex-center[b-2ep2lr2dtd] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-2ep2lr2dtd] {
    gap: 8px;
}

.gap-12[b-2ep2lr2dtd] {
    gap: 12px;
}

.gap-16[b-2ep2lr2dtd] {
    gap: 16px;
}

.p-2[b-2ep2lr2dtd] {
    padding: 8px;
}

.p-4[b-2ep2lr2dtd] {
    padding: 16px;
}

.p-48[b-2ep2lr2dtd] {
    padding: 48px;
}

.rounded-lg[b-2ep2lr2dtd] {
    border-radius: 8px;
}

.shadow-sm[b-2ep2lr2dtd] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-2ep2lr2dtd] {
    margin: 0;
}

.mt-2px[b-2ep2lr2dtd] {
    margin-top: 2px;
}

.mb-0[b-2ep2lr2dtd] {
    margin-bottom: 0;
}

.mt-0[b-2ep2lr2dtd] {
    margin-top: 0;
}

.relative-positioned[b-2ep2lr2dtd] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-2ep2lr2dtd] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
}

.lab-title-text[b-2ep2lr2dtd] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-2ep2lr2dtd] {
    background-color: #eef2ff;
}

.text-indigo-600[b-2ep2lr2dtd] {
    color: #4f46e5;
}

.icon-lg[b-2ep2lr2dtd] {
    font-size: 24px;
}

.status-pulse-dot[b-2ep2lr2dtd] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-2ep2lr2dtd 2s infinite;
}

.status-text[b-2ep2lr2dtd] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-new-entry[b-2ep2lr2dtd] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-2ep2lr2dtd] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-2ep2lr2dtd] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.lc-table-container[b-2ep2lr2dtd] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-2ep2lr2dtd] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-2ep2lr2dtd] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-2ep2lr2dtd] {
    padding: 1rem 1.5rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lc-table td[b-2ep2lr2dtd] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    vertical-align: middle;
}

.lc-table tbody tr:last-child td[b-2ep2lr2dtd] {
    border-bottom: none;
}

.lc-table-row:hover[b-2ep2lr2dtd] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-2ep2lr2dtd] {
    font-weight: 700;
}

.text-slate-800[b-2ep2lr2dtd] {
    color: #1e293b;
}

.text-slate-500[b-2ep2lr2dtd] {
    color: #64748b;
}

.text-slate-400[b-2ep2lr2dtd] {
    color: #94a3b8;
}

.font-12[b-2ep2lr2dtd] {
    font-size: 12px;
}

.font-18[b-2ep2lr2dtd] {
    font-size: 18px;
}

.italic[b-2ep2lr2dtd] {
    font-style: italic;
}

/* Badges */
.badge-custom[b-2ep2lr2dtd] {
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: inline-block;
}

.badge-purple[b-2ep2lr2dtd] {
    background-color: #faf5ff;
    color: #7c3aed;
    border: 1px solid #f3e8ff;
}

.badge-green[b-2ep2lr2dtd] {
    background-color: #f0fdf4;
    color: #16a34a;
    border: 1px solid #dcfce7;
}

.badge-gray[b-2ep2lr2dtd] {
    background-color: #f8fafc;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

/* Action buttons */
.lc-btn[b-2ep2lr2dtd] {
    padding: 8px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-2ep2lr2dtd] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-2ep2lr2dtd] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-2ep2lr2dtd] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-2ep2lr2dtd] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-2ep2lr2dtd] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 720px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-2ep2lr2dtd 0.3s ease-out;
}

.modal-header-bar[b-2ep2lr2dtd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-2ep2lr2dtd] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-2ep2lr2dtd] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-2ep2lr2dtd] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-2ep2lr2dtd] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-group[b-2ep2lr2dtd] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-2ep2lr2dtd] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-input[b-2ep2lr2dtd] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
}

.lab-input:focus[b-2ep2lr2dtd] {
    outline: none;
    border-color: #4f46e5;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lab-input:disabled[b-2ep2lr2dtd] {
    opacity: 0.6;
    background-color: #e2e8f0;
    cursor: not-allowed;
}

.um-grid-cols-2[b-2ep2lr2dtd] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.checkbox-box-container[b-2ep2lr2dtd] {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 1.25rem;
}

.checkbox-pills-grid[b-2ep2lr2dtd] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.checkbox-pill[b-2ep2lr2dtd] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    user-select: none;
    transition: all 0.2s;
}

.checkbox-pill:hover[b-2ep2lr2dtd] {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.checkbox-pill.checked[b-2ep2lr2dtd] {
    background-color: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
}

.checkbox-pill input[type="checkbox"][b-2ep2lr2dtd] {
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
    cursor: pointer;
}

.modal-footer-bar[b-2ep2lr2dtd] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-2ep2lr2dtd] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover:not(:disabled)[b-2ep2lr2dtd] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-2ep2lr2dtd] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-delete[b-2ep2lr2dtd] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.btn-delete:hover:not(:disabled)[b-2ep2lr2dtd] {
    text-decoration: underline;
}

.btn-delete:disabled[b-2ep2lr2dtd] {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-area[b-2ep2lr2dtd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: #fafbfc;
}

.pagination-info[b-2ep2lr2dtd] {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.pagination-controls[b-2ep2lr2dtd] {
    display: flex;
    gap: 8px;
}

.page-btn[b-2ep2lr2dtd] {
    padding: 6px 12px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 13px;
    transition: all 0.2s;
}

.page-btn:hover:not(:disabled)[b-2ep2lr2dtd] {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #1e293b;
}

.page-btn:disabled[b-2ep2lr2dtd] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Animations */
@keyframes lc-pulse-b-2ep2lr2dtd {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.lc-fadeInUp[b-2ep2lr2dtd] {
    animation: lc-fadeInUp-b-2ep2lr2dtd 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-2ep2lr2dtd {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR BILL NO SEQUENCE
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .referral-page[b-2ep2lr2dtd],
[data-theme="dark"] .referral-page[b-2ep2lr2dtd] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-2ep2lr2dtd],
[data-theme="dark"] .lab-header-card[b-2ep2lr2dtd] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-2ep2lr2dtd],
:host-context([data-theme="dark"]) .modal-header-bar h3[b-2ep2lr2dtd],
:host-context([data-theme="dark"]) .text-slate-800[b-2ep2lr2dtd],
:host-context([data-theme="dark"]) .text-slate-600[b-2ep2lr2dtd],
[data-theme="dark"] .lab-title-text[b-2ep2lr2dtd],
[data-theme="dark"] .modal-header-bar h3[b-2ep2lr2dtd],
[data-theme="dark"] .text-slate-800[b-2ep2lr2dtd],
[data-theme="dark"] .text-slate-600[b-2ep2lr2dtd] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .bg-indigo-50[b-2ep2lr2dtd],
[data-theme="dark"] .bg-indigo-50[b-2ep2lr2dtd] {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .text-indigo-600[b-2ep2lr2dtd],
[data-theme="dark"] .text-indigo-600[b-2ep2lr2dtd] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .status-text[b-2ep2lr2dtd],
:host-context([data-theme="dark"]) .text-slate-500[b-2ep2lr2dtd],
:host-context([data-theme="dark"]) .text-slate-400[b-2ep2lr2dtd],
:host-context([data-theme="dark"]) .pagination-info[b-2ep2lr2dtd],
:host-context([data-theme="dark"]) .form-group label[b-2ep2lr2dtd],
[data-theme="dark"] .status-text[b-2ep2lr2dtd],
[data-theme="dark"] .text-slate-500[b-2ep2lr2dtd],
[data-theme="dark"] .text-slate-400[b-2ep2lr2dtd],
[data-theme="dark"] .pagination-info[b-2ep2lr2dtd],
[data-theme="dark"] .form-group label[b-2ep2lr2dtd] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .directory-section[b-2ep2lr2dtd],
:host-context([data-theme="dark"]) .modal-form-card[b-2ep2lr2dtd],
[data-theme="dark"] .directory-section[b-2ep2lr2dtd],
[data-theme="dark"] .modal-form-card[b-2ep2lr2dtd] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lc-table thead tr[b-2ep2lr2dtd],
:host-context([data-theme="dark"]) .lc-table th[b-2ep2lr2dtd],
[data-theme="dark"] .lc-table thead tr[b-2ep2lr2dtd],
[data-theme="dark"] .lc-table th[b-2ep2lr2dtd] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-table td[b-2ep2lr2dtd],
[data-theme="dark"] .lc-table td[b-2ep2lr2dtd] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .lc-table-row:hover td[b-2ep2lr2dtd],
[data-theme="dark"] .lc-table-row:hover td[b-2ep2lr2dtd] {
    background-color: #0f172a !important;
}

:host-context([data-theme="dark"]) .badge-purple[b-2ep2lr2dtd],
[data-theme="dark"] .badge-purple[b-2ep2lr2dtd] {
    background-color: #0f172a !important;
    color: #38bdf8 !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .badge-green[b-2ep2lr2dtd],
[data-theme="dark"] .badge-green[b-2ep2lr2dtd] {
    background-color: rgba(16, 185, 129, 0.15) !important;
    color: #6ee7b7 !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

:host-context([data-theme="dark"]) .badge-gray[b-2ep2lr2dtd],
[data-theme="dark"] .badge-gray[b-2ep2lr2dtd] {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .lc-btn[b-2ep2lr2dtd],
:host-context([data-theme="dark"]) .page-btn[b-2ep2lr2dtd],
[data-theme="dark"] .lc-btn[b-2ep2lr2dtd],
[data-theme="dark"] .page-btn[b-2ep2lr2dtd] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .lc-btn:hover[b-2ep2lr2dtd],
:host-context([data-theme="dark"]) .page-btn:hover:not(:disabled)[b-2ep2lr2dtd],
[data-theme="dark"] .lc-btn:hover[b-2ep2lr2dtd],
[data-theme="dark"] .page-btn:hover:not(:disabled)[b-2ep2lr2dtd] {
    background: #1e293b !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .pagination-area[b-2ep2lr2dtd],
:host-context([data-theme="dark"]) .modal-header-bar[b-2ep2lr2dtd],
:host-context([data-theme="dark"]) .modal-body[b-2ep2lr2dtd],
:host-context([data-theme="dark"]) .modal-footer-bar[b-2ep2lr2dtd],
[data-theme="dark"] .pagination-area[b-2ep2lr2dtd],
[data-theme="dark"] .modal-header-bar[b-2ep2lr2dtd],
[data-theme="dark"] .modal-body[b-2ep2lr2dtd],
[data-theme="dark"] .modal-footer-bar[b-2ep2lr2dtd] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-input[b-2ep2lr2dtd],
[data-theme="dark"] .lab-input[b-2ep2lr2dtd] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

/* Master dashboard theme */
:global(.main-content):has(.referral-page)[b-2ep2lr2dtd] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.referral-page[b-2ep2lr2dtd] { height: calc(100vh - 1.5rem) !important; min-height: 0 !important; padding: 0 !important; gap: .6rem !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.lab-header-card[b-2ep2lr2dtd] { flex: 0 0 78px !important; padding: .15rem 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.lab-title-text[b-2ep2lr2dtd] { color: #07547c !important; font-size: 1.85rem !important; font-weight: 800 !important; }
.status-text[b-2ep2lr2dtd] { color: #647b90 !important; font-size: .78rem !important; text-transform: none !important; letter-spacing: 0 !important; }
.btn-new-entry[b-2ep2lr2dtd] { height: 40px !important; padding: 0 1.15rem !important; border-radius: 10px !important; background: #087bb5 !important; box-shadow: 0 3px 8px rgba(8,123,181,.2) !important; }
.directory-section[b-2ep2lr2dtd] { flex: 1 1 auto !important; min-height: 0 !important; margin: 0 !important; border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; background: #fff !important; }
.lc-table-container[b-2ep2lr2dtd] { max-height: none !important; overflow: auto !important; }
.lc-table thead tr[b-2ep2lr2dtd] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.lc-table th[b-2ep2lr2dtd] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.lc-table td[b-2ep2lr2dtd] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.lc-table tbody tr[b-2ep2lr2dtd] { height: 44px !important; background: #fff !important; }
.lc-table tbody tr:nth-child(even)[b-2ep2lr2dtd] { background: #f8fbfe !important; }
.lc-table-row:hover[b-2ep2lr2dtd] { background: #f0f8ff !important; }
.text-indigo-600[b-2ep2lr2dtd] { color: #0876ad !important; }
.text-slate-800[b-2ep2lr2dtd] { color: #1e293b !important; }
.badge-purple[b-2ep2lr2dtd] { background: #e4f4ff !important; color: #0876ad !important; }
.badge-green[b-2ep2lr2dtd] { background: #e7f8ef !important; color: #16834d !important; }
.lc-btn[b-2ep2lr2dtd], .lc-circle-btn-32[b-2ep2lr2dtd] { width: 28px !important; height: 28px !important; padding: 0 !important; border: 1px solid #dbe8f3 !important; border-radius: 8px !important; background: #f8fbff !important; color: #0876ad !important; }
/* /Components/Pages/BillsList.razor.rz.scp.css */
.bills-wrapper[b-uos376p9sa] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 2rem;
    font-family: var(--font-main);
    width: 100%;
}

/* Lab header card */
.lab-header-card[b-uos376p9sa] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
}

.lab-title-text[b-uos376p9sa] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.lab-header-card.flex-between[b-uos376p9sa] {
    justify-content: space-between;
    margin-bottom: 12px;
}

.bg-indigo-50[b-uos376p9sa] {
    background-color: #eef2ff;
}

.text-indigo-600[b-uos376p9sa] {
    color: #4f46e5;
}

.icon-lg[b-uos376p9sa] {
    font-size: 24px;
}

.status-pulse-dot[b-uos376p9sa] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-uos376p9sa 2s infinite;
}

.status-text[b-uos376p9sa] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes lc-pulse-b-uos376p9sa {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.gap-16[b-uos376p9sa] {
    gap: 16px;
}

.gap-8[b-uos376p9sa] {
    gap: 8px;
}

.mt-2px[b-uos376p9sa] {
    margin-top: 2px;
}

.display-flex[b-uos376p9sa] {
    display: flex;
}

.align-center[b-uos376p9sa] {
    align-items: center;
}

.flex-start[b-uos376p9sa] {
    justify-content: flex-start;
}

.flex-between[b-uos376p9sa] {
    justify-content: space-between;
}

.flex-center[b-uos376p9sa] {
    justify-content: center;
}

.rounded-lg[b-uos376p9sa] {
    border-radius: 8px;
}

.shadow-sm[b-uos376p9sa] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.p-2[b-uos376p9sa] {
    padding: 8px;
}

.icon-box-container[b-uos376p9sa] {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Filters Card Wrapper */
.filters-card[b-uos376p9sa] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Filters Card Header */
.filters-card-header[b-uos376p9sa] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.filters-card-title-area[b-uos376p9sa] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filters-card-icon-box[b-uos376p9sa] {
    background: #f8fafc;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.filters-card-title[b-uos376p9sa] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
}

.filters-card-subtitle[b-uos376p9sa] {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

/* Collapse Toggle Button */
.btn-collapse[b-uos376p9sa] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-collapse:hover[b-uos376p9sa] {
    background: #f8fafc;
    border-color: #94a3b8;
}

/* Filters Body Grid */
.bills-filters-body[b-uos376p9sa] {
    display: grid;
    grid-template-columns: 1.4fr 1.1fr 1.1fr 1.2fr 1.2fr;
    gap: 1rem;
    align-items: flex-start;
}

.filter-column-item[b-uos376p9sa] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.filter-column-title[b-uos376p9sa] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
}

.filter-column-title i[b-uos376p9sa] {
    font-size: 0.9rem;
    color: #7c3aed !important;
}

.filter-column-subtitle[b-uos376p9sa] {
    font-size: 0.68rem;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 1px;
}

/* Custom Date Range Picker Container */
.date-range-input-wrapper[b-uos376p9sa] {
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    height: 34px;
    padding: 0 0.6rem;
    gap: 0.35rem;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.date-range-input-wrapper:focus-within[b-uos376p9sa] {
    border-color: #0284c7;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.date-icon[b-uos376p9sa] {
    color: #94a3b8;
    font-size: 0.9rem;
}

.date-range-field[b-uos376p9sa] {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e293b;
    padding: 0 !important;
    width: 95px !important;
    height: 100% !important;
    box-shadow: none !important;
}

.date-range-field[b-uos376p9sa]::-webkit-calendar-picker-indicator {
    background: transparent;
    cursor: pointer;
}

.date-separator[b-uos376p9sa] {
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.75rem;
    user-select: none;
    padding: 0 2px;
}

/* Search input with left icon */
.search-input-box-wrapper[b-uos376p9sa] {
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    height: 34px;
    padding: 0 0.6rem;
    gap: 0.4rem;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input-box-wrapper:focus-within[b-uos376p9sa] {
    border-color: #0284c7;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.search-box-icon[b-uos376p9sa] {
    color: #94a3b8;
    font-size: 0.8rem;
}

.form-control-search[b-uos376p9sa] {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1e293b;
    width: 100%;
    height: 100%;
    padding: 0 !important;
    box-shadow: none !important;
}

.form-control-search[b-uos376p9sa]::placeholder {
    color: #94a3b8;
}

.form-control[b-uos376p9sa],
.form-select[b-uos376p9sa] {
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    background: #ffffff;
    color: #1e293b;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    height: 34px;
    box-sizing: border-box;
}

.form-control:focus[b-uos376p9sa],
.form-select:focus[b-uos376p9sa] {
    border-color: #0284c7;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

/* Filter Chips Styling */
.chips-container[b-uos376p9sa] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.25rem;
    height: 100%;
    width: 100%;
}

.filter-chip[b-uos376p9sa] {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    height: 34px;
    border-radius: 9999px;
    border: 1.5px solid #d1d5db;
    background: #ffffff;
    color: #1e293b;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    white-space: nowrap;
    outline: none;
    box-sizing: border-box;
}

.filter-chip:hover:not(.active)[b-uos376p9sa] {
    border-color: #9ca3af;
    background: #f9fafb;
    color: #000000;
}

.filter-chip.active[b-uos376p9sa] {
    background: #f0f9ff;
    border-color: var(--primary);
    color: var(--primary);
}

.filter-chip i[b-uos376p9sa] {
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--primary);
    display: inline-block;
}

/* Actions Row below Filters - Compact Single Line */
.filter-actions-inline[b-uos376p9sa] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    margin-top: 0.4rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f1f5f9;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-actions-inline[b-uos376p9sa]::-webkit-scrollbar {
    display: none;
}

.filter-actions-left[b-uos376p9sa] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

/* Service Category & IP Counts Container */
.category-count-container[b-uos376p9sa] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.cat-count-pill[b-uos376p9sa] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    height: 30px;
    padding: 0 0.5rem;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    user-select: none;
    white-space: nowrap;
}

/* OP Pill */
.cat-count-pill.pill-op[b-uos376p9sa] {
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    color: #15803d;
}

.cat-count-pill.pill-op i[b-uos376p9sa] {
    color: #16a34a;
    font-size: 0.8rem;
}

/* Dressing Pill */
.cat-count-pill.pill-dressing[b-uos376p9sa] {
    background: #f0f9ff;
    border: 1.5px solid #bae6fd;
    color: #0369a1;
}

.cat-count-pill.pill-dressing i[b-uos376p9sa] {
    color: #0284c7;
    font-size: 0.8rem;
}

/* Other Services Pill */
.cat-count-pill.pill-others[b-uos376p9sa] {
    background: #faf5ff;
    border: 1.5px solid #e9d5ff;
    color: #7e22ce;
}

.cat-count-pill.pill-others i[b-uos376p9sa] {
    color: #9333ea;
    font-size: 0.8rem;
}

/* IP Pill */
.cat-count-pill.pill-ip[b-uos376p9sa] {
    background: #fff7ed;
    border: 1.5px solid #fed7aa;
    color: #c2410c;
}

.cat-count-pill.pill-ip i[b-uos376p9sa] {
    color: #ea580c;
    font-size: 0.8rem;
}

.cat-count-badge[b-uos376p9sa] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 800;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pill-op .cat-count-badge[b-uos376p9sa] {
    color: #16a34a;
    border: 1px solid #86efac;
}

.pill-dressing .cat-count-badge[b-uos376p9sa] {
    color: #0284c7;
    border: 1px solid #7dd3fc;
}

.pill-others .cat-count-badge[b-uos376p9sa] {
    color: #9333ea;
    border: 1px solid #d8b4fe;
}

.pill-ip .cat-count-badge[b-uos376p9sa] {
    color: #ea580c;
    border: 1px solid #fdba74;
}

.filter-actions-right[b-uos376p9sa] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-refresh[b-uos376p9sa] {
    background: #f0f9ff;
    border: 1.5px solid #e0f2fe;
    border-radius: 6px;
    padding: 0 0.65rem;
    height: 30px;
    font-weight: 700;
    font-size: 0.74rem;
    color: #0284c7;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    white-space: nowrap;
}

.btn-refresh:hover:not(:disabled)[b-uos376p9sa] {
    background: #e0f2fe;
    border-color: #bae6fd;
    color: #026aa7;
    transform: translateY(-1px);
}

.btn-primary-action[b-uos376p9sa] {
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0 0.85rem;
    height: 30px;
    font-weight: 700;
    font-size: 0.74rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.2);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    white-space: nowrap;
}

.btn-primary-action:hover:not(:disabled)[b-uos376p9sa] {
    background: #026aa7;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.btn-outline[b-uos376p9sa] {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    padding: 0 0.6rem;
    height: 30px;
    font-weight: 700;
    font-size: 0.74rem;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-outline:hover:not(:disabled)[b-uos376p9sa] {
    border-color: #0284c7;
    background: #f0f9ff;
    color: #0284c7;
    transform: translateY(-1px);
}

.btn-outline .bi-printer[b-uos376p9sa] {
    color: #10b981 !important;
}

.btn-outline .bi-wallet2[b-uos376p9sa] {
    color: #3b82f6 !important;
}

.btn-outline .bi-bank[b-uos376p9sa] {
    color: #0891b2 !important;
}

.btn-outline .bi-file-earmark-bar-graph[b-uos376p9sa] {
    color: #f59e0b !important;
}

.btn-outline:hover:not(:disabled) i[b-uos376p9sa] {
    color: #0284c7 !important;
}

.btn-primary-action:disabled[b-uos376p9sa],
.btn-outline:disabled[b-uos376p9sa] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Table Area */
.table-card[b-uos376p9sa] {
    background: #ffffff;
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 30px rgba(0, 75, 113, 0.02);
}

.table-responsive[b-uos376p9sa] {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.bills-table[b-uos376p9sa] {
    width: 100%;
    border-collapse: collapse;
}

.bills-table th[b-uos376p9sa] {
    background: #f8fafc;
    color: #64748b;
    font-weight: 700;
    font-size: 0.64rem;
    padding: 0.45rem 0.5rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1.5px solid #e2e8f0;
}

.bills-table td[b-uos376p9sa] {
    padding: 0.4rem 0.5rem;
    font-size: 0.7rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
    font-weight: 500;
}

.bills-table tr:hover td[b-uos376p9sa] {
    background: #f8fafc;
}

.bills-table tr:last-child td[b-uos376p9sa] {
    border-bottom: none;
}

/* Table data elements formatting */
.sample-id-badge[b-uos376p9sa] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #026aa7;
}

.balance-due[b-uos376p9sa] {
    color: #b91c1c !important;
    background: #fef2f2;
    padding: 0.18rem 0.35rem;
    border-radius: 6px;
    border: 1px solid #fee2e2;
    display: inline-block;
    font-size: 0.68rem;
}

.balance-settled[b-uos376p9sa] {
    color: #15803d !important;
    background: #f0fdf4;
    padding: 0.18rem 0.35rem;
    border-radius: 6px;
    border: 1px solid #dcfce7;
    display: inline-block;
    font-weight: 700;
    font-size: 0.68rem;
}

.paid-amount[b-uos376p9sa] {
    color: #15803d !important;
}

.paid-zero[b-uos376p9sa] {
    color: #64748b;
}

.user-badge[b-uos376p9sa] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: #334155;
    background: #f1f5f9;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    white-space: nowrap;
    line-height: 1.2;
}

/* Action Buttons & Dropdown inside cells */
.action-cell[b-uos376p9sa] {
    position: relative;
    overflow: visible !important;
    text-align: center;
    width: 60px;
}

.actions-dropdown-container[b-uos376p9sa] {
    position: relative;
    display: inline-block;
}

.btn-actions-dropdown[b-uos376p9sa] {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    padding: 0;
    box-sizing: border-box;
}

.btn-actions-dropdown i[b-uos376p9sa] {
    font-size: 1.05rem;
    line-height: 1;
    display: block;
}

.btn-actions-dropdown:hover[b-uos376p9sa] {
    border-color: #0284c7;
    color: #0284c7;
    background: #f0f9ff;
}

.actions-dropdown-menu[b-uos376p9sa] {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 11px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
    min-width: 172px;
    z-index: 1001;
    padding: 0.35rem;
    display: flex;
    flex-direction: column;
    animation: actions-menu-enter-b-uos376p9sa 140ms ease-out;
}

.actions-dropdown-menu-over-table[b-uos376p9sa] {
    position: fixed;
    bottom: auto;
    left: auto;
    z-index: 3000;
    max-height: calc(100vh - 16px);
    overflow-y: auto;
    transform: translateY(calc(-100% - 6px));
    animation: actions-menu-enter-fixed-b-uos376p9sa 140ms ease-out;
}

.dropdown-item[b-uos376p9sa] {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 0.5rem 0.65rem;
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.15s, color 0.15s;
    outline: none;
}

.dropdown-item i[b-uos376p9sa] {
    width: 16px;
    text-align: center;
}

.dropdown-item:hover:not(:disabled)[b-uos376p9sa] {
    background: #f1f5f9;
    color: #000000;
}

@keyframes actions-menu-enter-b-uos376p9sa {
    from {
        opacity: 0;
        transform: translateY(4px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes actions-menu-enter-fixed-b-uos376p9sa {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.dropdown-item:disabled[b-uos376p9sa] {
    opacity: 0.5;
    cursor: not-allowed;
}

.dropdown-item i[b-uos376p9sa] {
    font-size: 0.85rem;
}

.sno-cell[b-uos376p9sa] {
    color: #4f46e5 !important;
    font-weight: 700 !important;
}

.avatar-circle[b-uos376p9sa] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.7rem;
    background: #e0f7fa;
    color: #006064;
    flex-shrink: 0;
}

/* Pagination */
.pagination-area[b-uos376p9sa] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.pagination-info[b-uos376p9sa] {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.pagination-controls[b-uos376p9sa] {
    display: flex;
    gap: 0.35rem;
}

.page-btn[b-uos376p9sa] {
    width: 34px;
    height: 34px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:not(:disabled):hover[b-uos376p9sa] {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.page-btn.active[b-uos376p9sa] {
    background: #026aa7;
    color: #ffffff;
    border-color: #026aa7;
    box-shadow: 0 4px 8px rgba(2, 106, 167, 0.25);
}

.page-btn:disabled[b-uos376p9sa] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Header Summary Cards */
.header-summary-cards[b-uos376p9sa] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.header-summary-cards .summary-card[b-uos376p9sa] {
    border-radius: 12px;
    padding: 0.55rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid transparent;
    transition: transform 0.2s ease;
}

.header-summary-cards .summary-card:hover[b-uos376p9sa] {
    transform: translateY(-1px);
}

.header-summary-cards .summary-icon[b-uos376p9sa] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.header-summary-cards .summary-label[b-uos376p9sa] {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-summary-cards .summary-value[b-uos376p9sa] {
    font-size: 1.2rem;
    font-weight: 900;
    margin-top: 0;
    letter-spacing: -0.3px;
}

/* Summary Cards Area */
.summary-cards-container[b-uos376p9sa] {
    display: flex;
    gap: 1.5rem;
    position: relative;
    margin-top: 0.5rem;
}

.summary-card[b-uos376p9sa] {
    flex: 1;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.summary-card:hover[b-uos376p9sa] {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.summary-icon[b-uos376p9sa] {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.summary-content[b-uos376p9sa] {
    display: flex;
    flex-direction: column;
}

.summary-label[b-uos376p9sa] {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.summary-value[b-uos376p9sa] {
    font-size: 1.65rem;
    font-weight: 900;
    margin-top: 0.15rem;
    letter-spacing: -0.5px;
}

.net-card[b-uos376p9sa] {
    background: #f0fdf4;
    border-color: #dcfce7;
}

.net-card .summary-icon[b-uos376p9sa] {
    color: #16a34a;
}

.net-card .summary-label[b-uos376p9sa] {
    color: #15803d;
}

.net-card .summary-value[b-uos376p9sa] {
    color: #14532d;
}

.paid-card[b-uos376p9sa] {
    background: #f0fdfa;
    border-color: #ccfbf1;
}

.paid-card .summary-icon[b-uos376p9sa] {
    color: #0d9488;
}

.paid-card .summary-label[b-uos376p9sa] {
    color: #0f766e;
}

.paid-card .summary-value[b-uos376p9sa] {
    color: #115e59;
}

.balance-card[b-uos376p9sa] {
    background: #fef2f2;
    border-color: #fee2e2;
}

.balance-card .summary-icon[b-uos376p9sa] {
    color: #ea580c;
}

.balance-card .summary-label[b-uos376p9sa] {
    color: #c2410c;
}

.balance-card .summary-value[b-uos376p9sa] {
    color: #7c2d12;
}

/* Floating Stats/Chart Button */
.floating-chart-btn[b-uos376p9sa] {
    position: absolute;
    right: -10px;
    bottom: -5px;
    background: linear-gradient(135deg, #026aa7 0%, #0078b1 100%);
    color: #ffffff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 10px 20px rgba(2, 106, 167, 0.35);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-chart-btn:hover[b-uos376p9sa] {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 12px 25px rgba(2, 106, 167, 0.45);
}

/* Glassmorphic Modal Backdrop & Content styling */
.modal-content-lg[b-uos376p9sa] {
    background: #ffffff;
    width: 92%;
    max-width: 820px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    max-height: 92vh;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.modal-header h5[b-uos376p9sa] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #034f75;
}

.reports-modal-content[b-uos376p9sa] {
    background: #ffffff;
    width: 92%;
    max-width: 680px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    border: 1px solid #e2e8f0;
    animation: modalSlideUp-b-uos376p9sa 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reports-modal-header[b-uos376p9sa] {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reports-header-icon[b-uos376p9sa] {
    font-size: 2rem;
    color: #0284c7;
    background: #f0f9ff;
    padding: 0.5rem;
    border-radius: 12px;
}

.reports-modal-title[b-uos376p9sa] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #034f75;
}

.reports-modal-subtitle[b-uos376p9sa] {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 3px;
    font-weight: 500;
}

.reports-modal-body[b-uos376p9sa] {
    padding: 1.5rem;
}

.reports-grid[b-uos376p9sa] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.reports-column[b-uos376p9sa] {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1.5px solid #e2e8f0;
}

.column-title[b-uos376p9sa] {
    font-size: 0.9rem;
    font-weight: 800;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.65rem;
}

.icon-summary[b-uos376p9sa] {
    color: #0284c7;
}

.icon-statement[b-uos376p9sa] {
    color: #16a34a;
}

.report-item-btn[b-uos376p9sa] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    font-size: 0.85rem;
    height: 42px;
    padding: 0 1.1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    color: #475569;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.report-item-btn:hover:not(:disabled)[b-uos376p9sa] {
    background: #f0f9ff;
    border-color: #0284c7;
    color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.1);
}

.report-item-btn:disabled[b-uos376p9sa] {
    opacity: 0.5;
    cursor: not-allowed;
}

.icon-report[b-uos376p9sa] {
    font-size: 1.25rem;
}

@media (max-width: 1024px) {
    .bills-filters[b-uos376p9sa] {
        grid-template-columns: repeat(3, 1fr);
    }

    .filter-actions-inline[b-uos376p9sa] {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .bills-filters[b-uos376p9sa] {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-actions-inline[b-uos376p9sa] {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .bills-filters[b-uos376p9sa] {
        grid-template-columns: 1fr;
    }

    .filter-actions-inline[b-uos376p9sa] {
        grid-column: span 1;
    }
}

/* Glassmorphic Modal Centering Backdrop */
.modal-backdrop[b-uos376p9sa] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2000 !important;
}

/* Custom Sleek Close Button in Header */
.btn-close-custom[b-uos376p9sa] {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.btn-close-custom:hover[b-uos376p9sa] {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

/* Reports Modal Footer Styling */
.reports-modal-footer[b-uos376p9sa] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
    background: #f8fafc;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.reports-modal-footer .btn-secondary[b-uos376p9sa] {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.55rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.reports-modal-footer .btn-secondary:hover[b-uos376p9sa] {
    background: #f8fafc;
    color: #1e293b;
    border-color: #94a3b8;
}

/* Slide Up Entry Animation for Modals */
@keyframes modalSlideUp-b-uos376p9sa {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bill Details Modal Redesign styling */
.receipt-header-card[b-uos376p9sa] {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid #e2e8f0;
}

.receipt-brand-logo[b-uos376p9sa] {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.receipt-brand-info h3[b-uos376p9sa] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.receipt-brand-addr[b-uos376p9sa] {
    margin: 2px 0 0 0;
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}

.receipt-meta-grid[b-uos376p9sa] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
}

.receipt-meta-column[b-uos376p9sa] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-row[b-uos376p9sa] {
    display: flex;
    font-size: 0.82rem;
    line-height: 1.4;
}

.meta-label[b-uos376p9sa] {
    width: 100px;
    color: #64748b;
    font-weight: 600;
}

.meta-value[b-uos376p9sa] {
    color: #1e293b;
    font-weight: 700;
}

.meta-value.text-highlight[b-uos376p9sa] {
    color: #026aa7;
}

.meta-value.text-mono[b-uos376p9sa] {
    font-family: monospace;
    font-size: 0.85rem;
}

.receipt-table-wrapper[b-uos376p9sa] {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.receipt-table[b-uos376p9sa] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.receipt-table th[b-uos376p9sa] {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    padding: 0.65rem 0.85rem;
    text-align: left;
    border-bottom: 1.5px solid #e2e8f0;
}

.receipt-table td[b-uos376p9sa] {
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.receipt-table tbody tr:last-child td[b-uos376p9sa] {
    border-bottom: none;
}

.receipt-summary-section[b-uos376p9sa] {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.receipt-summary-card[b-uos376p9sa] {
    width: 320px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.summary-item-row[b-uos376p9sa] {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #475569;
    font-weight: 600;
}

.summary-item-row.highlight-row[b-uos376p9sa] {
    border-top: 1.5px dashed #cbd5e1;
    border-bottom: 1.5px dashed #cbd5e1;
    padding: 0.4rem 0;
    margin: 0.15rem 0;
    font-size: 0.85rem;
    color: #0f172a;
    font-weight: 800;
}

.summary-item-row.balance-row[b-uos376p9sa] {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f172a;
}

.due-highlight[b-uos376p9sa] {
    color: #b91c1c;
}

.settled-highlight[b-uos376p9sa] {
    color: #15803d;
}

/* Detail modal action buttons */
.btn-detail-close[b-uos376p9sa] {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.btn-detail-close:hover[b-uos376p9sa] {
    background: #f8fafc;
    color: #1e293b;
    border-color: #94a3b8;
}

.btn-detail-print[b-uos376p9sa] {
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
    outline: none;
}

.btn-detail-print:hover:not(:disabled)[b-uos376p9sa] {
    background: #026aa7;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(2, 132, 199, 0.25);
}

.btn-detail-print:disabled[b-uos376p9sa] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR BILLS LIST
   ═══════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR BILLS LIST
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .bills-wrapper[b-uos376p9sa],
[data-theme="dark"] .bills-wrapper[b-uos376p9sa] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-uos376p9sa],
[data-theme="dark"] .lab-header-card[b-uos376p9sa] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-uos376p9sa],
[data-theme="dark"] .lab-title-text[b-uos376p9sa] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .bg-indigo-50[b-uos376p9sa],
[data-theme="dark"] .bg-indigo-50[b-uos376p9sa] {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .text-indigo-600[b-uos376p9sa],
[data-theme="dark"] .text-indigo-600[b-uos376p9sa] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .status-text[b-uos376p9sa],
[data-theme="dark"] .status-text[b-uos376p9sa] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .filters-card[b-uos376p9sa],
[data-theme="dark"] .filters-card[b-uos376p9sa],
:host-context([data-theme="dark"]) .bills-filters-card[b-uos376p9sa],
[data-theme="dark"] .bills-filters-card[b-uos376p9sa],
:host-context([data-theme="dark"]) .table-card[b-uos376p9sa],
[data-theme="dark"] .table-card[b-uos376p9sa],
:host-context([data-theme="dark"]) .modal-content-lg[b-uos376p9sa],
[data-theme="dark"] .modal-content-lg[b-uos376p9sa],
:host-context([data-theme="dark"]) .reports-modal-content[b-uos376p9sa],
[data-theme="dark"] .reports-modal-content[b-uos376p9sa] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .filters-card-icon-box[b-uos376p9sa],
[data-theme="dark"] .filters-card-icon-box[b-uos376p9sa] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .filter-column-title[b-uos376p9sa],
:host-context([data-theme="dark"]) .filters-card-title[b-uos376p9sa],
:host-context([data-theme="dark"]) .bills-header-title[b-uos376p9sa],
:host-context([data-theme="dark"]) .modal-header h5[b-uos376p9sa],
:host-context([data-theme="dark"]) .reports-modal-title[b-uos376p9sa],
:host-context([data-theme="dark"]) .column-title[b-uos376p9sa],
:host-context([data-theme="dark"]) .text-slate-800[b-uos376p9sa],
[data-theme="dark"] .filter-column-title[b-uos376p9sa],
[data-theme="dark"] .filters-card-title[b-uos376p9sa],
[data-theme="dark"] .bills-header-title[b-uos376p9sa],
[data-theme="dark"] .modal-header h5[b-uos376p9sa],
[data-theme="dark"] .reports-modal-title[b-uos376p9sa],
[data-theme="dark"] .column-title[b-uos376p9sa],
[data-theme="dark"] .text-slate-800[b-uos376p9sa] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .date-range-input-wrapper[b-uos376p9sa],
:host-context([data-theme="dark"]) .search-input-box-wrapper[b-uos376p9sa],
:host-context([data-theme="dark"]) .form-control[b-uos376p9sa],
:host-context([data-theme="dark"]) .form-control-search[b-uos376p9sa],
:host-context([data-theme="dark"]) .form-select[b-uos376p9sa],
[data-theme="dark"] .date-range-input-wrapper[b-uos376p9sa],
[data-theme="dark"] .search-input-box-wrapper[b-uos376p9sa],
[data-theme="dark"] .form-control[b-uos376p9sa],
[data-theme="dark"] .form-control-search[b-uos376p9sa],
[data-theme="dark"] .form-select[b-uos376p9sa] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .date-range-field[b-uos376p9sa],
[data-theme="dark"] .date-range-field[b-uos376p9sa] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .filter-chip[b-uos376p9sa],
[data-theme="dark"] .filter-chip[b-uos376p9sa] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .filter-chip.active[b-uos376p9sa],
[data-theme="dark"] .filter-chip.active[b-uos376p9sa] {
    background: #1e293b !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .table-responsive[b-uos376p9sa],
:host-context([data-theme="dark"]) .bills-table[b-uos376p9sa],
[data-theme="dark"] .table-responsive[b-uos376p9sa],
[data-theme="dark"] .bills-table[b-uos376p9sa] {
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .bills-table th[b-uos376p9sa],
[data-theme="dark"] .bills-table th[b-uos376p9sa] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .bills-table td[b-uos376p9sa],
[data-theme="dark"] .bills-table td[b-uos376p9sa] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .bills-table tr:hover td[b-uos376p9sa],
[data-theme="dark"] .bills-table tr:hover td[b-uos376p9sa] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .avatar-circle[b-uos376p9sa],
[data-theme="dark"] .avatar-circle[b-uos376p9sa] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .sample-id-badge[b-uos376p9sa],
[data-theme="dark"] .sample-id-badge[b-uos376p9sa] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .balance-due[b-uos376p9sa],
[data-theme="dark"] .balance-due[b-uos376p9sa] {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #fca5a5 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

:host-context([data-theme="dark"]) .balance-settled[b-uos376p9sa],
[data-theme="dark"] .balance-settled[b-uos376p9sa] {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #6ee7b7 !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

:host-context([data-theme="dark"]) .user-badge[b-uos376p9sa],
[data-theme="dark"] .user-badge[b-uos376p9sa] {
    background: #0f172a !important;
    color: #cbd5e1 !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .btn-actions-dropdown[b-uos376p9sa],
[data-theme="dark"] .btn-actions-dropdown[b-uos376p9sa] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .btn-actions-dropdown:hover[b-uos376p9sa],
[data-theme="dark"] .btn-actions-dropdown:hover[b-uos376p9sa] {
    background: #1e293b !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .btn-outline[b-uos376p9sa],
:host-context([data-theme="dark"]) .btn-refresh[b-uos376p9sa],
[data-theme="dark"] .btn-outline[b-uos376p9sa],
[data-theme="dark"] .btn-refresh[b-uos376p9sa] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .btn-outline:hover[b-uos376p9sa],
:host-context([data-theme="dark"]) .btn-refresh:hover[b-uos376p9sa],
[data-theme="dark"] .btn-outline:hover[b-uos376p9sa],
[data-theme="dark"] .btn-refresh:hover[b-uos376p9sa] {
    background: #1e293b !important;
    border-color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .actions-dropdown-menu[b-uos376p9sa],
[data-theme="dark"] .actions-dropdown-menu[b-uos376p9sa] {
    background: #0f172a !important;
    border-color: #334155 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
}

:host-context([data-theme="dark"]) .dropdown-item[b-uos376p9sa],
[data-theme="dark"] .dropdown-item[b-uos376p9sa] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .dropdown-item:hover[b-uos376p9sa],
[data-theme="dark"] .dropdown-item:hover[b-uos376p9sa] {
    background: #1e293b !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .summary-card[b-uos376p9sa],
[data-theme="dark"] .summary-card[b-uos376p9sa] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .summary-label[b-uos376p9sa],
[data-theme="dark"] .summary-label[b-uos376p9sa] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .summary-value[b-uos376p9sa],
[data-theme="dark"] .summary-value[b-uos376p9sa] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .pagination-area[b-uos376p9sa],
[data-theme="dark"] .pagination-area[b-uos376p9sa] {
    border-top-color: #334155 !important;
}

:host-context([data-theme="dark"]) .pagination-info[b-uos376p9sa],
[data-theme="dark"] .pagination-info[b-uos376p9sa] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .page-btn[b-uos376p9sa],
[data-theme="dark"] .page-btn[b-uos376p9sa] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .page-btn.active[b-uos376p9sa],
[data-theme="dark"] .page-btn.active[b-uos376p9sa] {
    background: #38bdf8 !important;
    color: #0f172a !important;
    border-color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .reports-column[b-uos376p9sa],
:host-context([data-theme="dark"]) .receipt-summary-card[b-uos376p9sa],
:host-context([data-theme="dark"]) .report-item-btn[b-uos376p9sa],
[data-theme="dark"] .reports-column[b-uos376p9sa],
[data-theme="dark"] .receipt-summary-card[b-uos376p9sa],
[data-theme="dark"] .report-item-btn[b-uos376p9sa] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .report-item-btn:hover[b-uos376p9sa],
[data-theme="dark"] .report-item-btn:hover[b-uos376p9sa] {
    background: #1e293b !important;
    color: #38bdf8 !important;
}
/* /Components/Pages/BlockMaster.razor.rz.scp.css */
.referral-page[b-vwf9ow92vz] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-vwf9ow92vz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-vwf9ow92vz] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-vwf9ow92vz] {
    display: flex;
}

.align-center[b-vwf9ow92vz] {
    align-items: center;
}

.flex-center[b-vwf9ow92vz] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-vwf9ow92vz] {
    gap: 8px;
}

.gap-12[b-vwf9ow92vz] {
    gap: 12px;
}

.gap-16[b-vwf9ow92vz] {
    gap: 16px;
}

.p-2[b-vwf9ow92vz] {
    padding: 8px;
}

.p-4[b-vwf9ow92vz] {
    padding: 16px;
}

.p-48[b-vwf9ow92vz] {
    padding: 48px;
}

.rounded-lg[b-vwf9ow92vz] {
    border-radius: 8px;
}

.shadow-sm[b-vwf9ow92vz] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-vwf9ow92vz] {
    margin: 0;
}

.mt-2px[b-vwf9ow92vz] {
    margin-top: 2px;
}

.mb-0[b-vwf9ow92vz] {
    margin-bottom: 0;
}

.mt-0[b-vwf9ow92vz] {
    margin-top: 0;
}

.relative-positioned[b-vwf9ow92vz] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-vwf9ow92vz] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
}

.lab-title-text[b-vwf9ow92vz] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-vwf9ow92vz] {
    background-color: #eef2ff;
}

.text-indigo-600[b-vwf9ow92vz] {
    color: #4f46e5;
}

.icon-lg[b-vwf9ow92vz] {
    font-size: 24px;
}

.status-pulse-dot[b-vwf9ow92vz] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-vwf9ow92vz 2s infinite;
}

.status-text[b-vwf9ow92vz] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-vwf9ow92vz] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-vwf9ow92vz] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-vwf9ow92vz] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-vwf9ow92vz] {
    width: 220px;
}

.btn-new-entry[b-vwf9ow92vz] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-vwf9ow92vz] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-vwf9ow92vz] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.lc-table-container[b-vwf9ow92vz] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-vwf9ow92vz] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-vwf9ow92vz] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-vwf9ow92vz] {
    padding: 1rem 1.5rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lc-table td[b-vwf9ow92vz] {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    vertical-align: middle;
}

.lc-table tbody tr:last-child td[b-vwf9ow92vz] {
    border-bottom: none;
}

.lc-table-row:hover[b-vwf9ow92vz] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-vwf9ow92vz] {
    font-weight: 700;
}

.text-indigo-600[b-vwf9ow92vz] {
    color: #4f46e5;
}

.lc-color-slate-500[b-vwf9ow92vz] {
    color: #64748b;
}

.lc-font-mono[b-vwf9ow92vz] {
    font-family: monospace;
}

.lc-font-700[b-vwf9ow92vz] {
    font-weight: 700;
}

.lc-font-13[b-vwf9ow92vz] {
    font-size: 13px;
}

.text-slate-800[b-vwf9ow92vz] {
    color: #1e293b;
}

.text-slate-700[b-vwf9ow92vz] {
    color: #334155;
}

.text-slate-600[b-vwf9ow92vz] {
    color: #475569;
}

.text-slate-500[b-vwf9ow92vz] {
    color: #64748b;
}

.text-slate-400[b-vwf9ow92vz] {
    color: #94a3b8;
}

.font-12[b-vwf9ow92vz] {
    font-size: 12px;
}

.font-18[b-vwf9ow92vz] {
    font-size: 18px;
}

.italic[b-vwf9ow92vz] {
    font-style: italic;
}

/* Action buttons */
.lc-btn[b-vwf9ow92vz] {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-vwf9ow92vz] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-vwf9ow92vz] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-vwf9ow92vz] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-vwf9ow92vz] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-vwf9ow92vz] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 800px;
    max-height: 95vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-vwf9ow92vz 0.3s ease-out;
}

.modal-header-bar[b-vwf9ow92vz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-vwf9ow92vz] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-vwf9ow92vz] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-vwf9ow92vz] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-vwf9ow92vz] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-section[b-vwf9ow92vz] {
    margin-bottom: 0;
}

.form-group[b-vwf9ow92vz] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-vwf9ow92vz] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-input[b-vwf9ow92vz] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
}

.lab-input:focus[b-vwf9ow92vz] {
    outline: none;
    border-color: #4f46e5;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.um-grid-row[b-vwf9ow92vz] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.um-grid-cols-4[b-vwf9ow92vz] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-5[b-vwf9ow92vz] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-3[b-vwf9ow92vz] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-2[b-vwf9ow92vz] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.modal-footer-bar[b-vwf9ow92vz] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-vwf9ow92vz] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-vwf9ow92vz] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-vwf9ow92vz] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-delete[b-vwf9ow92vz] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.btn-delete:hover:not(:disabled)[b-vwf9ow92vz] {
    text-decoration: underline;
}

.btn-delete:disabled[b-vwf9ow92vz] {
    opacity: 0.4;
    cursor: not-allowed;
}

.text-danger[b-vwf9ow92vz] {
    color: #ef4444;
}

/* Animations */
@keyframes lc-pulse-b-vwf9ow92vz {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-vwf9ow92vz] {
    animation: lc-fadeInUp-b-vwf9ow92vz 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-vwf9ow92vz {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Delete Confirmation Modal */
.delete-confirm-card[b-vwf9ow92vz] {
    max-width: 450px !important;
}

.delete-confirm-body[b-vwf9ow92vz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem !important;
}

.delete-warning-icon[b-vwf9ow92vz] {
    font-size: 48px !important;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.delete-message[b-vwf9ow92vz] {
    font-size: 14px;
    color: #475569;
    font-weight: 600;
    margin: 0;
}

.delete-footer-bar[b-vwf9ow92vz] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 1.25rem 2rem !important;
}

.btn-secondary-outline[b-vwf9ow92vz] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-secondary-outline:hover[b-vwf9ow92vz] {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

.btn-danger-filled[b-vwf9ow92vz] {
    background: #ef4444;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 10px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
    transition: all 0.2s;
}

.btn-danger-filled:hover[b-vwf9ow92vz] {
    background-color: #dc2626;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR BLOCK MASTER
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .referral-page[b-vwf9ow92vz],
[data-theme="dark"] .referral-page[b-vwf9ow92vz] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-vwf9ow92vz],
[data-theme="dark"] .lab-header-card[b-vwf9ow92vz] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-vwf9ow92vz],
[data-theme="dark"] .lab-title-text[b-vwf9ow92vz] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .status-text[b-vwf9ow92vz],
[data-theme="dark"] .status-text[b-vwf9ow92vz] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input[b-vwf9ow92vz],
[data-theme="dark"] .lc-rounded-pill-input[b-vwf9ow92vz] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .search-icon i[b-vwf9ow92vz],
:host-context([data-theme="dark"]) .search-icon span[b-vwf9ow92vz],
[data-theme="dark"] .search-icon i[b-vwf9ow92vz],
[data-theme="dark"] .search-icon span[b-vwf9ow92vz] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .directory-section[b-vwf9ow92vz],
[data-theme="dark"] .directory-section[b-vwf9ow92vz] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lc-table thead tr[b-vwf9ow92vz],
[data-theme="dark"] .lc-table thead tr[b-vwf9ow92vz] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table th[b-vwf9ow92vz],
[data-theme="dark"] .lc-table th[b-vwf9ow92vz] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-table td[b-vwf9ow92vz],
[data-theme="dark"] .lc-table td[b-vwf9ow92vz] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .lc-table-row:hover td[b-vwf9ow92vz],
[data-theme="dark"] .lc-table-row:hover td[b-vwf9ow92vz] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .lc-btn[b-vwf9ow92vz],
[data-theme="dark"] .lc-btn[b-vwf9ow92vz] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-btn:hover[b-vwf9ow92vz],
[data-theme="dark"] .lc-btn:hover[b-vwf9ow92vz] {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #7dd3fc !important;
}

:host-context([data-theme="dark"]) .lc-btn span[b-vwf9ow92vz],
[data-theme="dark"] .lc-btn span[b-vwf9ow92vz] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .modal-form-card[b-vwf9ow92vz],
[data-theme="dark"] .modal-form-card[b-vwf9ow92vz] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-header-bar[b-vwf9ow92vz],
:host-context([data-theme="dark"]) .modal-body[b-vwf9ow92vz],
:host-context([data-theme="dark"]) .modal-footer-bar[b-vwf9ow92vz],
[data-theme="dark"] .modal-header-bar[b-vwf9ow92vz],
[data-theme="dark"] .modal-body[b-vwf9ow92vz],
[data-theme="dark"] .modal-footer-bar[b-vwf9ow92vz] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header-bar h3[b-vwf9ow92vz],
[data-theme="dark"] .modal-header-bar h3[b-vwf9ow92vz] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lab-input[b-vwf9ow92vz],
[data-theme="dark"] .lab-input[b-vwf9ow92vz] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .form-group label[b-vwf9ow92vz],
[data-theme="dark"] .form-group label[b-vwf9ow92vz] {
    color: #cbd5e1 !important;
}
/* Block Master dashboard theme */
:global(html:has(.block-master-page))[b-vwf9ow92vz],
:global(body:has(.block-master-page))[b-vwf9ow92vz] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.block-master-page))[b-vwf9ow92vz],
:global(.app-main-wrapper:has(.block-master-page))[b-vwf9ow92vz] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.block-master-page)[b-vwf9ow92vz] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.referral-page.block-master-page[b-vwf9ow92vz] {
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.referral-page.block-master-page .lab-header-card[b-vwf9ow92vz] {
    flex: 0 0 auto !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.referral-page.block-master-page .lab-title-text[b-vwf9ow92vz] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
}

.referral-page.block-master-page .status-text[b-vwf9ow92vz] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.referral-page.block-master-page .bg-indigo-50[b-vwf9ow92vz] {
    background: #e0f2fe !important;
}

.referral-page.block-master-page .lc-rounded-pill-input[b-vwf9ow92vz] {
    width: 260px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    font-size: 0.82rem !important;
    padding: 0 1rem 0 2.2rem !important;
}

.referral-page.block-master-page .lc-rounded-pill-input:focus[b-vwf9ow92vz] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.referral-page.block-master-page .btn-new-entry[b-vwf9ow92vz] {
    height: 36px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

.referral-page.block-master-page .btn-new-entry:hover[b-vwf9ow92vz] {
    background: #05689b !important;
}

.referral-page.block-master-page .directory-section[b-vwf9ow92vz] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.referral-page.block-master-page .lc-table-container[b-vwf9ow92vz] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
}

.referral-page.block-master-page .lc-table[b-vwf9ow92vz] {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.referral-page.block-master-page .lc-table thead tr th[b-vwf9ow92vz],
.referral-page .lc-table th[b-vwf9ow92vz] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.75rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.block-master-page .lc-table thead tr th:last-child[b-vwf9ow92vz],
.referral-page .lc-table th:last-child[b-vwf9ow92vz] {
    border-right: none !important;
}

.referral-page.block-master-page .lc-table tbody tr[b-vwf9ow92vz] {
    height: 34px !important;
    min-height: 34px !important;
}

.referral-page.block-master-page .lc-table tbody tr:nth-child(even)[b-vwf9ow92vz] {
    background: #fbfdff !important;
}

.referral-page.block-master-page .lc-table-row:hover[b-vwf9ow92vz] {
    background: #f0f8ff !important;
}

.referral-page.block-master-page .lc-table td[b-vwf9ow92vz] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.75rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    color: #334155 !important;
    font-size: 0.76rem !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.block-master-page .lc-btn[b-vwf9ow92vz],
.referral-page.block-master-page .lc-circle-btn-32[b-vwf9ow92vz] {
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.referral-page.block-master-page .lc-btn:hover[b-vwf9ow92vz],
.referral-page.block-master-page .lc-circle-btn-32:hover[b-vwf9ow92vz] {
    border-color: #bae6fd !important;
    background: #f0f9ff !important;
    color: #0369a1 !important;
}

.referral-page.block-master-page .lc-table td:last-child > div[b-vwf9ow92vz] {
    gap: 0.35rem !important;
}
/* /Components/Pages/BranchMaster.razor.rz.scp.css */
/* ============================================================
   LABCARE ELITE — PAGE-SPECIFIC STYLES (page.css)
   ============================================================
   All page-level and component-level styles live here.
   The shared design system (lc-*) lives in app.css.
   ============================================================ */

/* ============================================================
   1. MAIN LAYOUT
   ============================================================ */
.page[b-w0fwurlrh4] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-w0fwurlrh4] {
    flex: 1;
}

.content[b-w0fwurlrh4] {
    padding: 24px 32px !important;
    background-color: #f8fafc !important;
    display: block;
}

.custom-layout-wrapper[b-w0fwurlrh4] {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 641px) {
    .page[b-w0fwurlrh4] {
        flex-direction: row;
    }

    .sidebar[b-w0fwurlrh4] {
        width: 220px;
        height: 100vh;
        position: sticky;
        top: 0;
    }
}


/* ============================================================
   2. SIDEBAR / NAV MENU
   ============================================================ */

/* ── Sidebar toggle button — absolute at sidebar's right edge, half-protruding ── */
.sidebar-wrapper[b-w0fwurlrh4] {
    position: relative;
    overflow: visible !important;
    /* allow button to peek out on the right */
}

.sidebar-toggle-btn[b-w0fwurlrh4] {
    position: absolute;
    top: 40px;
    /* just below the branding bar */
    right: -29px;
    /* moved further right */
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0e7ff;
    border: 2px solid #a5b4fc;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    z-index: 200;
}

.sidebar-toggle-btn:hover[b-w0fwurlrh4] {
    background: #c7d2fe;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    transform: scale(1.12);
}

.sidebar-toggle-btn:active[b-w0fwurlrh4] {
    transform: scale(0.92);
}

/* Collapsed state: button automatically moves with sidebar — no extra needed */
.nav-collapsed .sidebar-toggle-btn[b-w0fwurlrh4] {
    right: -29px;
}

/* ══════════════════════════════════════════════════
   ✦ PREMIUM TOOLTIP — Collapsed Nav (Ultra Modern)
   ══════════════════════════════════════════════════ */

#sidebar.nav-collapsed .v-nav-link[b-w0fwurlrh4],
#sidebar.nav-collapsed .logout-btn[b-w0fwurlrh4] {
    position: relative;
    overflow: visible;
}

.logout-btn-proper[b-w0fwurlrh4] {
    border: none !important;
    outline: none !important;
    color: #ef4444 !important;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
}

.logout-btn-proper:hover[b-w0fwurlrh4] {
    background-color: rgba(239, 68, 68, 0.08) !important;
    color: #dc2626 !important;
}

.logout-btn-proper span[b-w0fwurlrh4] {
    color: inherit !important;
}

/* ── Main tooltip bubble ── */
#sidebar.nav-collapsed .v-nav-link[b-w0fwurlrh4]::after,
#sidebar.nav-collapsed .logout-btn[b-w0fwurlrh4]::after {
    content: attr(data-title);
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(-8px) scale(0.9);

    /* Soft light gradient */
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    box-shadow:
        0 10px 25px -5px rgba(99, 102, 241, 0.2),
        0 8px 10px -6px rgba(99, 102, 241, 0.1),
        0 0 0 1px rgba(165, 180, 252, 0.5),
        /* inner top highlight for 3D effect */
        inset 0 1px 1px rgba(255, 255, 255, 0.4);

    color: #312e81;
    /* Deep indigo instead of black */
    padding: 8px 16px;
    border-radius: 8px;
    /* sharp but smooth corners */
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    white-space: nowrap;

    opacity: 0;
    pointer-events: none;

    /* Spring-like transition for a premium feel */
    transition:
        opacity 0.25s ease-out,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
}

/* ── Glowing left arrow ── */
#sidebar.nav-collapsed .v-nav-link[b-w0fwurlrh4]::before,
#sidebar.nav-collapsed .logout-btn[b-w0fwurlrh4]::before {
    content: '';
    position: absolute;
    left: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    border-style: solid;
    border-width: 6px 6px 6px 0;
    /* Match the gradient's start color */
    border-color: transparent #e0e7ff transparent transparent;
    filter: drop-shadow(-1px 0px 1px rgba(165, 180, 252, 0.5));
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.25s ease-out,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
}

/* ── Hover: show tooltip with bounce ── */
#sidebar.nav-collapsed .v-nav-link:hover[b-w0fwurlrh4]::after,
#sidebar.nav-collapsed .logout-btn:hover[b-w0fwurlrh4]::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
}

#sidebar.nav-collapsed .v-nav-link:hover[b-w0fwurlrh4]::before,
#sidebar.nav-collapsed .logout-btn:hover[b-w0fwurlrh4]::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ── Active link tooltip: vibrant indigo accent ── */
#sidebar.nav-collapsed .v-nav-link.active[b-w0fwurlrh4]::after {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    box-shadow:
        0 10px 25px -5px rgba(79, 70, 229, 0.5),
        0 0 0 1px rgba(129, 140, 248, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

#sidebar.nav-collapsed .v-nav-link.active[b-w0fwurlrh4]::before {
    border-right-color: #4f46e5;
    filter: drop-shadow(-1px 0px 1px rgba(129, 140, 248, 0.6));
}


.sidebar[b-w0fwurlrh4] {
    background-color: #000000;
    padding: 0 !important;
    background: transparent !important;
}

.sidebar-wrapper[b-w0fwurlrh4] {
    width: 220px;
    height: 100vh;
    background-color: #f1f5f9;
    /* soft slate instead of white */
    color: #334155;
    /* slate 700 instead of black */
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(148, 163, 184, 0.15);
    border-right: 1px solid #cbd5e1;
    z-index: 100;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* overflow:visible lets the toggle button peek outside the sidebar edge */
}

/* ── Collapsed state ── */
.sidebar-wrapper.nav-collapsed[b-w0fwurlrh4] {
    width: 68px;
}

/* Hide text/labels when collapsed */
.nav-collapsed .nav-link-text[b-w0fwurlrh4],
.nav-collapsed .nav-text-fade[b-w0fwurlrh4],
.nav-collapsed .nav-user-text[b-w0fwurlrh4] {
    opacity: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 0.15s ease, width 0.3s ease;
}

.nav-link-text[b-w0fwurlrh4],
.nav-text-fade[b-w0fwurlrh4],
.nav-user-text[b-w0fwurlrh4] {
    opacity: 1;
    transition: opacity 0.2s ease 0.05s, width 0.3s ease;
}

/* Center icons when collapsed */
.nav-collapsed .v-nav-link[b-w0fwurlrh4] {
    justify-content: center;
    padding: 12px;
}

.nav-collapsed .v-nav-link .mr-3[b-w0fwurlrh4] {
    margin-right: 0;
}

.nav-collapsed .menu-scroll[b-w0fwurlrh4] {
    padding: 24px 8px;
}

/* Collapsed user avatar centering */
.nav-collapsed .px-4.mb-4[b-w0fwurlrh4] {
    padding: 0 8px 16px;
}

.nav-collapsed .px-4.mb-4 .p-4[b-w0fwurlrh4] {
    padding: 8px;
}

.nav-collapsed .px-4.mb-4 .flex.items-center.gap-3[b-w0fwurlrh4] {
    justify-content: center;
}

/* Logout button collapsed */
.nav-collapsed .mt-auto.p-4 button[b-w0fwurlrh4] {
    justify-content: center;
    padding: 10px;
}

/* ── Toggle Button ── */
.nav-toggle-btn[b-w0fwurlrh4] {
    margin-left: auto;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid rgba(148, 163, 184, 0.25);
    background: rgba(241, 245, 249, 0.10);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.nav-toggle-btn:hover[b-w0fwurlrh4] {
    background: rgba(99, 102, 241, 0.18);
    border-color: #6366f1;
    color: #a5b4fc;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.nav-toggle-btn:active[b-w0fwurlrh4] {
    transform: scale(0.93);
}

.nav-toggle-icon[b-w0fwurlrh4] {
    font-size: 20px !important;
    transition: transform 0.3s ease;
}

/* Collapsed sidebar branding: center logo */
.nav-collapsed .sidebar-branding[b-w0fwurlrh4] {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    padding: 16px 8px;
}

.nav-collapsed .logo-box[b-w0fwurlrh4] {
    flex-shrink: 0;
}

.sidebar-branding[b-w0fwurlrh4] {
    padding: 20px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #cbd5e1;
    position: relative;
}

.logo-box[b-w0fwurlrh4] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box .material-symbols-outlined[b-w0fwurlrh4] {
    color: white;
    font-size: 24px;
}

.logo-text[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
}

.main-title[b-w0fwurlrh4] {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #1e293b;
}

.main-title .highlight[b-w0fwurlrh4] {
    color: #4f46e5;
}

.sub-title[b-w0fwurlrh4] {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    font-weight: 600;
}

.sidebar-branch-badge[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 16px 4px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(124, 58, 237, 0.15) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    animation: badgeFadeIn 0.4s ease;
}

.branch-badge-icon[b-w0fwurlrh4] {
    font-size: 14px !important;
    color: #818cf8;
    flex-shrink: 0;
}

.branch-badge-text[b-w0fwurlrh4] {
    font-size: 11px;
    font-weight: 700;
    color: #c7d2fe;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-scroll[b-w0fwurlrh4] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 16px;
}

.menu-group[b-w0fwurlrh4] {
    margin-bottom: 32px;
}

.group-label[b-w0fwurlrh4] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    margin-bottom: 8px;
    padding-left: 10px;
}

.v-nav[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.v-nav-link[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 8px;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 12.5px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.v-nav-link:hover[b-w0fwurlrh4] {
    background-color: rgba(99, 102, 241, 0.08);
    color: #1e293b !important;
}

.v-nav-link.active[b-w0fwurlrh4] {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), transparent) !important;
    color: #4338ca !important;
    border-left: 3px solid #4f46e5;
    padding-left: 13px !important;
}

.v-nav-link .material-symbols-outlined[b-w0fwurlrh4] {
    font-size: 18px;
}

.mr-3[b-w0fwurlrh4] {
    margin-right: 0.75rem;
}

.user-profile-section[b-w0fwurlrh4] {
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid #232635;
    margin-top: auto;
}

.user-avatar[b-w0fwurlrh4] {
    width: 38px;
    height: 38px;
    background-color: #2D334A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-size: 18px;
}

.user-details[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
}

.user-name[b-w0fwurlrh4] {
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.user-terminal[b-w0fwurlrh4] {
    font-size: 10px;
    color: #64748B;
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.navbar-toggler[b-w0fwurlrh4] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-w0fwurlrh4] {
    background-color: rgba(255, 255, 255, 0.5);
}

.nav-scrollable[b-w0fwurlrh4] {
    display: none;
}

.navbar-toggler:checked~.nav-scrollable[b-w0fwurlrh4] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-w0fwurlrh4] {
        display: none;
    }

    .nav-scrollable[b-w0fwurlrh4] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

.no-scrollbar[b-w0fwurlrh4]::-webkit-scrollbar {
    display: none !important;
}

.no-scrollbar[b-w0fwurlrh4] {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.menu-scroll[b-w0fwurlrh4]::-webkit-scrollbar {
    width: 6px;
}

.menu-scroll[b-w0fwurlrh4]::-webkit-scrollbar-track {
    background: transparent;
}

.menu-scroll[b-w0fwurlrh4]::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

.menu-scroll[b-w0fwurlrh4]::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

/* ============================================================
   4. REGISTER PAGE (Commented out to prevent conflict with SharedComponents.Rcl)
   ============================================================
.register-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    padding: 2rem;
    font-family: 'Inter', sans-serif;
}

.register-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    border: none;
    animation: fadeInUp 0.6s ease-out;
}

.register-card .card-header {
    padding: 2.5rem 3rem 1rem;
    background: transparent;
    border-bottom: none;
}

.register-card .card-body {
    padding: 0 3rem 1.5rem;
}

.register-card .card-footer {
    padding: 1.5rem 3rem 3rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    background: transparent;
    border: none;
}

.register-card .login-prompt {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}


.register-card .progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.register-card .step-badge {
    background-color: #eef2ff;
    color: #4f46e5;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.register-card .step-text {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.register-card .progress-bar {
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.register-card .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.register-card .page-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.register-card .page-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 32px;
}

.register-card .section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.register-card .section-title h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.register-card .section-title .material-icons-outlined {
    color: #4f46e5;
    font-size: 20px;
}

.register-card .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
}

.register-card .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.register-card .form-label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.register-card .form-label .optional {
    color: #94a3b8;
    font-weight: 400;
    font-size: 11px;
}

.register-card .form-control {
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.2s ease;
    width: 100%;
}

.register-card .input-icon-wrapper .form-control {
    padding-left: 44px;
    padding-right: 44px;
}


.register-card .form-control:focus {
    background: white;
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.register-card .btn-text {
    background: transparent;
    border: none;
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.register-card .btn-primary {
    background: #4f46e5;
    color: white;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    transition: all 0.2s;
    width: auto;
    min-width: 160px;
}

.register-success-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #f8fafc;
    text-align: center;
    padding: 24px;
}

.success-illustration {
    width: 350px;
    max-width: 90%;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.success-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.success-subtitle {
    color: #64748b;
    font-size: 18px;
    font-weight: 500;
}
*/





.form-section-card[b-w0fwurlrh4] {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    max-width: 500px;
    margin: 40px auto;
}

.progress-header[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.step-badge[b-w0fwurlrh4] {
    padding: 0.25rem 0.75rem;
    background-color: #EFF6FF;
    color: #2563EB;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.step-text[b-w0fwurlrh4] {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
}

.progress-bar[b-w0fwurlrh4] {
    height: 0.375rem;
    background-color: #F1F5F9;
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.progress-fill[b-w0fwurlrh4] {
    height: 100%;
    background-color: var(--lc-primary);
    transition: width 0.3s ease;
}

.page-title[b-w0fwurlrh4] {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.page-subtitle[b-w0fwurlrh4] {
    color: #94a3b8;
    margin: 0 0 2rem;
}

.security-reqs[b-w0fwurlrh4] {
    background-color: #F8FAFC;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--lc-border);
    margin-top: 1.5rem;
}

.security-reqs h4[b-w0fwurlrh4] {
    font-size: 0.625rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1rem 0;
}

.req-grid[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
}

.req-item[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.req-icon[b-w0fwurlrh4] {
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    border: 1px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.req-item.valid .req-icon[b-w0fwurlrh4] {
    border-color: var(--lc-success);
    background-color: #ECFDF5;
}

.req-item.valid .req-icon span[b-w0fwurlrh4] {
    font-size: 0.625rem;
    color: var(--lc-success);
    font-weight: 700;
}

.req-item:not(.valid) .req-icon span[b-w0fwurlrh4] {
    display: none;
}

.input-icon-wrapper[b-w0fwurlrh4] {
    position: relative;
}

.input-icon-wrapper input[b-w0fwurlrh4] {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.input-icon-left[b-w0fwurlrh4] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
}

.input-icon-right[b-w0fwurlrh4] {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.input-icon-right:hover[b-w0fwurlrh4] {
    color: #64748b;
}

.bg-decorator[b-w0fwurlrh4] {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    opacity: 0.1;
    pointer-events: none;
}

.password-step-container[b-w0fwurlrh4] {
    max-width: 28rem;
    margin: 2rem auto 0;
}

.password-group[b-w0fwurlrh4] {
    margin-bottom: 1.5rem;
}


/* ============================================================
   5. FORGOT PASSWORD PAGE
   ============================================================ */
.auth-page-wrapper[b-w0fwurlrh4] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.background-mesh[b-w0fwurlrh4] {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 0.1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0.1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0.1) 0, transparent 50%);
    z-index: 0;
}

.auth-container[b-w0fwurlrh4] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.auth-card[b-w0fwurlrh4] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.brand-section[b-w0fwurlrh4] {
    padding: 40px 40px 20px;
    text-align: center;
}

.logo-circle[b-w0fwurlrh4] {
    width: 64px;
    height: 64px;
    background: #4F46E5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.brand-section h2[b-w0fwurlrh4] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.brand-section p[b-w0fwurlrh4] {
    color: #64748b;
    font-size: 0.875rem;
}

.auth-form-content[b-w0fwurlrh4] {
    padding: 0 40px 40px;
}

.form-title[b-w0fwurlrh4] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-subtitle[b-w0fwurlrh4] {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.auth-form-content .form-group[b-w0fwurlrh4] {
    margin-bottom: 20px;
}

.auth-form-content .form-group label[b-w0fwurlrh4] {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
}

.auth-form-content .input-container[b-w0fwurlrh4] {
    position: relative;
}

.auth-form-content .input-container i[b-w0fwurlrh4] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.auth-form-content .form-control[b-w0fwurlrh4] {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.auth-form-content .form-control:focus[b-w0fwurlrh4] {
    background: #fff;
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.btn-primary[b-w0fwurlrh4] {
    width: 100%;
    padding: 12px;
    background: #4F46E5;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-primary:hover:not(:disabled)[b-w0fwurlrh4] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.2);
}

.btn-primary:active[b-w0fwurlrh4] {
    transform: translateY(0);
}

.btn-link[b-w0fwurlrh4] {
    background: none;
    border: none;
    color: #4F46E5;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    cursor: pointer;
}

.auth-form-content .alert[b-w0fwurlrh4] {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-form-content .alert-danger[b-w0fwurlrh4] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.auth-form-content .alert-success[b-w0fwurlrh4] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #dcfce7;
}

.auth-footer[b-w0fwurlrh4] {
    margin-top: 32px;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.auth-footer a[b-w0fwurlrh4] {
    color: #4F46E5;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover[b-w0fwurlrh4] {
    text-decoration: underline;
}

.reset-account-info[b-w0fwurlrh4] {
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #4F46E5;
}

.reset-account-info i[b-w0fwurlrh4] {
    font-size: 1.1rem;
}


/* ============================================================
   6. REFERRAL / MASTER PAGES
   ============================================================ */
.referral-page[b-w0fwurlrh4] {
    padding: 24px 32px;
    background-color: #f8fafc;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.referral-header[b-w0fwurlrh4] {
    margin-bottom: 24px;
}

.referral-header h2[b-w0fwurlrh4] {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.referral-header p[b-w0fwurlrh4] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.referral-header .branch-label[b-w0fwurlrh4],
.referral-header .header-counter[b-w0fwurlrh4] {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.referral-header .branch-pill[b-w0fwurlrh4] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
    vertical-align: middle;
    min-width: 30px;
    justify-content: center;
}

.header-actions[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-search-input[b-w0fwurlrh4] {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    outline: none;
    width: 250px;
    background-color: #f8fafc;
    transition: width 0.3s, border-color 0.2s;
}

.header-search-input:focus[b-w0fwurlrh4] {
    width: 300px;
    border-color: var(--lc-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.add-referral-section[b-w0fwurlrh4] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.add-referral-section:hover[b-w0fwurlrh4] {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.section-header[b-w0fwurlrh4] {
    display: flex;
    gap: 16px;
    align-items: center;
}

.section-icon-large[b-w0fwurlrh4] {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

.section-header h3[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
}

.section-header p[b-w0fwurlrh4] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    margin-left: 64px;
}

.referral-content[b-w0fwurlrh4] {
    background-color: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 32px;
}

.btn-new-entry[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-new-entry:hover[b-w0fwurlrh4] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.search-controls[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* ============================================================
   7. MASTER FORM MODAL
   ============================================================ */
.modal-overlay[b-w0fwurlrh4] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

/* Modal container (form-card inside overlay) */
.modal-form-card[b-w0fwurlrh4] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: slideDownFade 0.3s ease-out;
}

/* Lab Test Master Table Styles */
.tm-table-input[b-w0fwurlrh4],
.tm-table-select[b-w0fwurlrh4] {
    width: 100%;
    height: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 11px;
    background-color: #fff;
    color: #1e293b;
    outline: none;
    transition: all 0.2s;
}

.tm-table-input:focus[b-w0fwurlrh4],
.tm-table-select:focus[b-w0fwurlrh4] {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.tm-btn-icon-red[b-w0fwurlrh4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 4px;
    background-color: #fef2f2;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-icon-red:hover[b-w0fwurlrh4] {
    background-color: #fee2e2;
    color: #dc2626;
    transform: scale(1.05);
}

.tm-param-input[b-w0fwurlrh4] {
    width: 100%;
    height: 24px;
    border: none;
    background: transparent;
    font-size: 11px;
    color: #1e293b;
    outline: none;
    padding: 0 4px;
}

.modal-form-card form[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

/* Modal header bar */
.modal-header-bar[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-w0fwurlrh4] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-w0fwurlrh4] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-w0fwurlrh4] {
    color: #ef4444;
    background: #fef2f2;
}

/* Master Autocomplete Dropdown */
.master-search-dropdown[b-w0fwurlrh4] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    padding: 0;
    margin-top: 4px;
}

.master-search-item[b-w0fwurlrh4] {
    width: 100%;
    text-align: left;
    padding: 10px 16px;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    color: #475569;
    transition: background 0.2s;
}

.master-search-item:hover[b-w0fwurlrh4] {
    background: #f8fafc;
    color: #4f46e5;
}

.master-search-item:last-child[b-w0fwurlrh4] {
    border-bottom: none;
}

/* Modal scrollable body */
.modal-body[b-w0fwurlrh4] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

/* Modal footer / action bar */
.modal-footer-bar[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

/* Billing Patient Search Dropdown */
.customer-search-dropdown[b-w0fwurlrh4] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    max-height: 280px;
    overflow-y: auto;
    margin-top: 8px;
    padding: 8px;
}

.customer-search-item[b-w0fwurlrh4] {
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8fafc;
}

.customer-search-item:last-child[b-w0fwurlrh4] {
    border-bottom: none;
}

.customer-search-item:hover[b-w0fwurlrh4] {
    background-color: #f1f5f9;
}

.cs-name[b-w0fwurlrh4] {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.cs-details[b-w0fwurlrh4] {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Test Search Dropdown */
.test-search-dropdown[b-w0fwurlrh4] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1060;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    margin-top: 8px;
    padding: 8px;
}

.test-search-item[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8fafc;
}

.test-search-item:last-child[b-w0fwurlrh4] {
    border-bottom: none;
}

.test-search-item:hover[b-w0fwurlrh4] {
    background-color: #f1f5f9;
}

.ts-info[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ts-name[b-w0fwurlrh4] {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.ts-code[b-w0fwurlrh4] {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
}

.ts-price[b-w0fwurlrh4] {
    font-size: 14px;
    font-weight: 800;
    color: #4f46e5;
}


/* ============================================================
   8. FORM CARD (inline, non-modal)
   ============================================================ */
.form-card[b-w0fwurlrh4] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    animation: slideDownFade 0.4s ease-out;
}

.form-section[b-w0fwurlrh4] {
    margin-bottom: 32px;
}

.form-section:last-child[b-w0fwurlrh4] {
    margin-bottom: 0;
}

.section-title[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.section-icon[b-w0fwurlrh4] {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

.section-icon svg[b-w0fwurlrh4] {
    width: 14px;
    height: 14px;
}

.form-row[b-w0fwurlrh4] {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.form-row:last-child[b-w0fwurlrh4] {
    margin-bottom: 0;
}

.form-group[b-w0fwurlrh4] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width[b-w0fwurlrh4] {
    flex: 1 1 100%;
}

.form-group label[b-w0fwurlrh4] {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

/* Form control (legacy) */
.form-control[b-w0fwurlrh4] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    width: 100%;
}

.form-control:focus[b-w0fwurlrh4] {
    background: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-control[b-w0fwurlrh4]::placeholder {
    color: #94a3b8;
}

select.form-control[b-w0fwurlrh4] {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    color: #1e293b !important;
    background-color: #ffffff !important;
    height: 40px !important;
    font-size: 14px !important;
    padding: 0 40px 0 16px !important;
    line-height: 40px !important;
}

select.form-control option[b-w0fwurlrh4] {
    color: #1e293b !important;
    background-color: #ffffff !important;
    padding: 8px !important;
}

textarea.form-control[b-w0fwurlrh4] {
    min-height: 80px;
    resize: vertical;
}

/* Form column layouts */
.form-cols-4[b-w0fwurlrh4] {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.form-cols-5[b-w0fwurlrh4] {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.form-cols-4-area[b-w0fwurlrh4] {
    grid-template-columns: 120px 1.5fr 1.5fr 2fr;
}

.form-cols-3-city[b-w0fwurlrh4] {
    grid-template-columns: 1fr 1fr;
}

/* ============================================================
   17. BRANCH MASTER - REFACTORED
   ============================================================ */
.branch-master-container[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 5rem);
    /* Adjust based on MainLayout header if any */
    background-color: #f8fafc;
}

.branch-master-header[b-w0fwurlrh4] {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.branch-master-content[b-w0fwurlrh4] {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ============================================================
   17. TEST MASTER REDESIGN (Dynamic Dashboard)
   ============================================================ */
.tm-container[b-w0fwurlrh4] {
    padding: 24px;
    background-color: #f8fafc;
    min-height: 100vh;
}

.tm-dashboard-card[b-w0fwurlrh4] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.tm-grid-row-1[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.tm-grid-row-2[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.tm-grid-row-3[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 32px;
}

.tm-label-upper[b-w0fwurlrh4] {
    font-size: 10px;
    font-weight: 800;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.tm-input-premium[b-w0fwurlrh4] {
    height: 44px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    padding: 0 16px !important;
    transition: all 0.2s ease;
}

.tm-input-premium:focus[b-w0fwurlrh4] {
    background: #ffffff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}

.tm-radio-tile-group[b-w0fwurlrh4] {
    display: flex;
    gap: 24px;
    align-items: center;
}

.tm-radio-item[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.tm-radio-dot[b-w0fwurlrh4] {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.tm-radio-item:hover .tm-radio-dot[b-w0fwurlrh4] {
    border-color: #6366f1;
}

input[type="radio"]:checked+.tm-radio-dot[b-w0fwurlrh4] {
    border-color: #6366f1;
    background-color: #ffffff;
}

input[type="radio"]:checked+.tm-radio-dot[b-w0fwurlrh4]::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #6366f1;
    border-radius: 50%;
}

/* Split Layout */
.tm-split-layout[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

.tm-left-panel[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tm-panel-card[b-w0fwurlrh4] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.tm-panel-header[b-w0fwurlrh4] {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.tm-param-list-premium[b-w0fwurlrh4] {
    padding: 8px 0;
}

.tm-param-row[b-w0fwurlrh4] {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.2s;
}

.tm-param-row:hover[b-w0fwurlrh4] {
    background: #f8fafc;
}

.tm-check-circle[b-w0fwurlrh4] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.tm-check-circle.checked[b-w0fwurlrh4] {
    background: #6366f1;
    border-color: #6366f1;
}

.tm-check-circle.checked span[b-w0fwurlrh4] {
    font-size: 14px;
}

.tm-panel-footer[b-w0fwurlrh4] {
    padding: 16px 20px;
    background: #fdfdfd;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Settings Card (Right Side) */
.tm-settings-card[b-w0fwurlrh4] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.tm-settings-top[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.tm-tabs-row[b-w0fwurlrh4] {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 24px;
    padding: 0 8px;
}

.tm-tab-item[b-w0fwurlrh4] {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    padding: 12px 0;
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
}

.tm-tab-item.active[b-w0fwurlrh4] {
    color: #6366f1;
}

.tm-tab-item.active[b-w0fwurlrh4]::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #6366f1;
    border-radius: 3px 3px 0 0;
}

.tm-template-box[b-w0fwurlrh4] {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 24px;
}

.tm-editor-toolbar[b-w0fwurlrh4] {
    padding: 8px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-editor-textarea[b-w0fwurlrh4] {
    width: 100%;
    min-height: 140px;
    padding: 20px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    color: #475569;
    resize: none;
    background: #ffffff;
}

.tm-settings-footer[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.btn-update-premium[b-w0fwurlrh4] {
    padding: 12px 32px;
    background: #ffffff;
    border: 1px solid #ffedd5;
    color: #f97316;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-update-premium:hover[b-w0fwurlrh4] {
    background: #fff7ed;
    border-color: #fdba74;
}

.btn-profile-black[b-w0fwurlrh4] {
    background: #1e293b;
    color: white;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s;
}

.btn-profile-black:hover[b-w0fwurlrh4] {
    background: var(--lc-secondary);
    transform: translateY(-1px);
}

.branch-master-footer[b-w0fwurlrh4] {
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-cols-branch-1[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.form-cols-branch-2[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.btn-branch-save[b-w0fwurlrh4] {
    background-color: #4C51BF !important;
    color: white !important;
}

.btn-branch-delete[b-w0fwurlrh4] {
    background-color: #E53E3E !important;
    color: white !important;
}

.btn-branch-close[b-w0fwurlrh4] {
    background-color: #4A5568 !important;
    color: white !important;
}

.branch-alert[b-w0fwurlrh4] {
    background-color: #FFF5F5 !important;
    border: 1px solid #FED7D7 !important;
    color: #C53030 !important;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.header-search-icon[b-w0fwurlrh4] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lc-slate-400);
}

.branch-color-preview[b-w0fwurlrh4] {
    width: 38px;
    height: 38px;
    padding: 2px;
    border-radius: 8px;
    border: 1px solid var(--lc-border);
    background: white;
    cursor: pointer;
}

.form-group-span-2[b-w0fwurlrh4] {
    grid-column: span 2;
}

.branch-table-wrapper[b-w0fwurlrh4] {
    max-height: 400px;
    overflow-y: auto;
}

.btn-table-action[b-w0fwurlrh4] {
    min-width: 32px;
}

.form-cols-counter-1[b-w0fwurlrh4] {
    grid-template-columns: 2fr 1fr 2fr 1fr;
}

.form-cols-counter-2[b-w0fwurlrh4] {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.form-cols-counter-3[b-w0fwurlrh4] {
    grid-template-columns: 1fr 3fr;
}

.custom-grid-general-1[b-w0fwurlrh4] {
    grid-template-columns: 80px 1.2fr 1.2fr 1fr 1.2fr 1fr;
}

.custom-grid-general-2[b-w0fwurlrh4] {
    grid-template-columns: 1fr 1fr 2fr;
}

.custom-grid-billing-1[b-w0fwurlrh4] {
    grid-template-columns: 1.2fr 1.5fr 1fr 1fr;
}

.custom-grid-billing-2[b-w0fwurlrh4] {
    grid-template-columns: 1fr 1fr 2fr;
}

.custom-grid-comm-1[b-w0fwurlrh4],
.custom-grid-comm-2[b-w0fwurlrh4],
.custom-grid-comm-3[b-w0fwurlrh4] {
    grid-template-columns: repeat(4, 1fr);
}

.custom-grid-comm-4[b-w0fwurlrh4] {
    grid-template-columns: 2fr 1fr 1fr;
}

/* Pay type buttons */
.pay-type-buttons[b-w0fwurlrh4] {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
    box-sizing: border-box;
}

.pay-btn[b-w0fwurlrh4] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.pay-btn:hover[b-w0fwurlrh4] {
    color: #1e293b;
}

.pay-btn.active[b-w0fwurlrh4] {
    background: #ffffff;
    color: #6366f1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.sms-alert[b-w0fwurlrh4] {
    color: #ef4444;
    font-size: 10px;
    margin-top: 6px;
}

/* Form actions bar */
.form-actions[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.running-total[b-w0fwurlrh4] {
    margin-right: auto;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.total-label[b-w0fwurlrh4] {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
}

.total-amount[b-w0fwurlrh4] {
    font-size: 20px;
    font-weight: 700;
    color: #6366f1;
}

.btn-delete[b-w0fwurlrh4] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-close[b-w0fwurlrh4] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    transition: all 0.2s;
}

.btn-close:hover[b-w0fwurlrh4] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-save[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-w0fwurlrh4] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.error-input[b-w0fwurlrh4] {
    border-color: #ef4444 !important;
    background-color: #ffffff !important;
}

.error-text[b-w0fwurlrh4] {
    color: #ef4444 !important;
}


/* ============================================================
   9. DIRECTORY TABLE
   ============================================================ */
.directory-section[b-w0fwurlrh4] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.directory-header[b-w0fwurlrh4] {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.directory-header h3[b-w0fwurlrh4] {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.directory-controls[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-controls[b-w0fwurlrh4] {
    display: flex;
    gap: 12px;
}

.show-entries[b-w0fwurlrh4] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 13px;
    color: #475569;
    outline: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-filter[b-w0fwurlrh4],
.btn-export[b-w0fwurlrh4] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-filter:hover[b-w0fwurlrh4],
.btn-export:hover[b-w0fwurlrh4] {
    background: #f1f5f9;
}

.table-wrapper[b-w0fwurlrh4] {
    overflow-x: auto;
}

.directory-table[b-w0fwurlrh4] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.directory-table th[b-w0fwurlrh4] {
    background: #6366f1;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 24px;
}

.directory-table td[b-w0fwurlrh4] {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
    color: #475569;
    vertical-align: middle;
}

.directory-table tbody tr:hover[b-w0fwurlrh4] {
    background: #f8fafc;
}

/* Directory table cell helpers */
.td-order-no[b-w0fwurlrh4] {
    color: #6366f1;
    font-weight: 700;
}

.td-name[b-w0fwurlrh4] {
    font-weight: 600;
    color: #1e293b;
}

.td-narration[b-w0fwurlrh4] {
    color: #94a3b8;
    font-size: 13px;
}

.code-link[b-w0fwurlrh4] {
    color: #6366f1;
    font-weight: 700;
    cursor: pointer;
}

.doctor-name[b-w0fwurlrh4] {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.doctor-email[b-w0fwurlrh4] {
    font-size: 12px;
    color: #94a3b8;
}

/* Status badges */
.status-badge[b-w0fwurlrh4] {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-active[b-w0fwurlrh4] {
    background: #dcfce7;
    color: #16a34a;
}

.status-inactive[b-w0fwurlrh4] {
    background: #fee2e2;
    color: #dc2626;
}

.status-progress[b-w0fwurlrh4] {
    background: #fef3c7;
    color: #d97706;
}

/* Table action buttons */
.btn-action[b-w0fwurlrh4] {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 14px;
    padding: 4px 8px;
    transition: color 0.2s;
}

.btn-edit:hover[b-w0fwurlrh4] {
    color: #6366f1;
}

.btn-delete-action:hover[b-w0fwurlrh4] {
    color: #ef4444;
}


/* ============================================================
   10. CUSTOM CARD (Counter / Branch inline layout)
   ============================================================ */
.custom-card[b-w0fwurlrh4] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.custom-card .form-control[b-w0fwurlrh4] {
    height: 32px;
    padding: 0.25rem 0.5rem;
    font-size: 13px;
    border-radius: 6px;
}

.custom-card .form-label[b-w0fwurlrh4] {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.custom-card select.form-control[b-w0fwurlrh4] {
    height: 40px !important;
    line-height: normal !important;
}

/* Lab header card */
.lab-header-card[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
}

.lab-title-text[b-w0fwurlrh4] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

/* Lab Header Variations */
.lab-header-card.flex-between[b-w0fwurlrh4] {
    justify-content: space-between;
    margin-bottom: 24px;
}

/* Lab header sub-elements */
.lab-header-ops-badge[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.lab-header-ops-label[b-w0fwurlrh4] {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
}

.lab-header-ops-value[b-w0fwurlrh4] {
    color: var(--lc-secondary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.lab-header-ops-placeholder[b-w0fwurlrh4] {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
}

.lab-header-tenant-pill[b-w0fwurlrh4] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.lab-header-active-pill[b-w0fwurlrh4] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

/* Lab input (shared) */
.lab-input[b-w0fwurlrh4] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lab-input:focus[b-w0fwurlrh4] {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lab-input-lg[b-w0fwurlrh4] {
    padding: 1rem 1rem;
    font-size: 1rem;
    min-height: 48px;
}

.lab-input-lg:focus[b-w0fwurlrh4] {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Tab buttons */
.btn-tab[b-w0fwurlrh4] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-right: none;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    outline: none;
}

.btn-tab:last-child[b-w0fwurlrh4] {
    border-right: 1px solid #e2e8f0;
}

.active-tab[b-w0fwurlrh4] {
    background: white;
    color: #1e293b;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid white;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
}

.active-tab+.btn-tab[b-w0fwurlrh4] {
    border-left: none;
}


/* ============================================================
   11. BRANCH / COUNTER PAGE — SECTION CARDS
   ============================================================ */
.page-section-card[b-w0fwurlrh4] {
    background: white;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-section-card-header[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    background: #f8fafc;
}

.page-section-card-header h3[b-w0fwurlrh4] {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #1e293b;
    margin: 0;
}

.page-section-card-count[b-w0fwurlrh4] {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary, #4f46e5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Global Spacing Utilities */
.mb-0[b-w0fwurlrh4] {
    margin-bottom: 0 !important;
}

.mb-6[b-w0fwurlrh4] {
    margin-bottom: 24px !important;
}

.mt-6[b-w0fwurlrh4] {
    margin-top: 24px !important;
}

.text-center[b-w0fwurlrh4] {
    text-align: center !important;
}

.p-24[b-w0fwurlrh4] {
    padding: 24px !important;
}

/* Color dot used in branch/counter lists */
.color-dot[b-w0fwurlrh4] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Branch / counter table scrollable wrapper */
.scrollable-table-wrapper[b-w0fwurlrh4] {
    max-height: 400px;
    overflow-y: auto;
}

/* Branch form sub-heading */
.form-section-heading[b-w0fwurlrh4] {
    margin: 0 0 1.5rem 0;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #1e293b;
}

/* Branch Type checkbox row */
.branch-type-row[b-w0fwurlrh4] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    height: 40px;
    padding-left: 4px;
}

.branch-type-label[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
}

/* Card footer actions */
.card-footer-actions[b-w0fwurlrh4] {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color, #e2e8f0);
    background: white;
    border-radius: 1rem;
}

.footer-left-controls[b-w0fwurlrh4] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-right-controls[b-w0fwurlrh4] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.display-active-label[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
}

.btn-footer-cancel[b-w0fwurlrh4] {
    background: transparent;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    cursor: pointer;
}

.btn-footer-delete[b-w0fwurlrh4] {
    background: #ef4444;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn-footer-save[b-w0fwurlrh4] {
    background: var(--primary, #4f46e5);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn-footer-close[b-w0fwurlrh4] {
    background: #64748b;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn-footer-delete:disabled[b-w0fwurlrh4],
.btn-footer-save:disabled[b-w0fwurlrh4] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Alert messages (branch / counter inline) */
.alert[b-w0fwurlrh4] {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.alert-error[b-w0fwurlrh4] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.alert-success[b-w0fwurlrh4] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #dcfce7;
}


/* ============================================================
   12. COUNTER PAGE — CARD HEADER / BODY
   ============================================================ */
.card-header-bar[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    padding: 1.5rem;
    background: white;
}

.card-header-left[b-w0fwurlrh4] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.card-header-title[b-w0fwurlrh4] {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.card-header-subtitle[b-w0fwurlrh4] {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.card-header-right[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-input-wrapper[b-w0fwurlrh4] {
    position: relative;
    width: 250px;
}

.search-input-wrapper .search-icon[b-w0fwurlrh4] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted, #64748b);
    font-size: 1.25rem;
    pointer-events: none;
}

/* Color input row */
.color-input-row[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 40px;
}

.color-input-value[b-w0fwurlrh4] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
}

.active-checkbox-label[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.active-checkbox-label span[b-w0fwurlrh4] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary, #4f46e5);
}


/* ============================================================
   13. BADGES (legacy support)
   ============================================================ */
.badge[b-w0fwurlrh4] {
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-success[b-w0fwurlrh4] {
    background-color: #dcfce7;
    color: #15803d;
}

.badge-warning[b-w0fwurlrh4] {
    background-color: #fef3c7;
    color: #b45309;
}

.badge-danger[b-w0fwurlrh4] {
    background-color: #fee2e2;
    color: #b91c1c;
}



/* ============================================================
   14. FORGOT PASSWORD PAGE
   ============================================================ */
.auth-page-wrapper[b-w0fwurlrh4] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.background-mesh[b-w0fwurlrh4] {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 0.1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0.1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0.1) 0, transparent 50%);
    z-index: 0;
}

.auth-container[b-w0fwurlrh4] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.auth-card[b-w0fwurlrh4] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.brand-section[b-w0fwurlrh4] {
    padding: 40px 40px 20px;
    text-align: center;
}

.logo-circle[b-w0fwurlrh4] {
    width: 64px;
    height: 64px;
    background: #4F46E5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.brand-section h2[b-w0fwurlrh4] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.brand-section p[b-w0fwurlrh4] {
    color: #64748b;
    font-size: 0.875rem;
}

.auth-form-content[b-w0fwurlrh4] {
    padding: 0 40px 40px;
}

.form-title[b-w0fwurlrh4] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-subtitle[b-w0fwurlrh4] {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.auth-page-wrapper .form-group[b-w0fwurlrh4] {
    margin-bottom: 20px;
}

.auth-page-wrapper .form-group label[b-w0fwurlrh4] {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
}

.input-container[b-w0fwurlrh4] {
    position: relative;
}

.input-container i[b-w0fwurlrh4] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.auth-page-wrapper .form-control[b-w0fwurlrh4] {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.auth-page-wrapper .form-control:focus[b-w0fwurlrh4] {
    background: #fff;
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.auth-page-wrapper .btn-primary[b-w0fwurlrh4] {
    width: 100%;
    padding: 12px;
    background: #4F46E5;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    transition: all 0.2s;
    margin-top: 10px;
}

.auth-page-wrapper .btn-primary:hover:not(:disabled)[b-w0fwurlrh4] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.2);
}

.auth-page-wrapper .btn-primary:active[b-w0fwurlrh4] {
    transform: translateY(0);
}

.btn-link[b-w0fwurlrh4] {
    background: none;
    border: none;
    color: #4F46E5;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    cursor: pointer;
}

.alert-danger[b-w0fwurlrh4] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.auth-footer[b-w0fwurlrh4] {
    margin-top: 32px;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.auth-footer a[b-w0fwurlrh4] {
    color: #4F46E5;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover[b-w0fwurlrh4] {
    text-decoration: underline;
}

.reset-account-info[b-w0fwurlrh4] {
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #4F46E5;
}

.reset-account-info i[b-w0fwurlrh4] {
    font-size: 1.1rem;
}


/* ============================================================
   15. LOGIN PAGE
   ============================================================ */
.login-page-wrapper[b-w0fwurlrh4] {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--lc-secondary) 0%, #1e1b4b 50%, var(--lc-secondary) 100%);
}

.login-bg-pattern[b-w0fwurlrh4] {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 60% at 10% 20%, rgba(99, 102, 241, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 90% 80%, rgba(124, 58, 237, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    z-index: 0;
    animation: bgShift-b-w0fwurlrh4 12s ease-in-out infinite alternate;
}

@keyframes bgShift-b-w0fwurlrh4 {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.7;
    }
}

.login-container[b-w0fwurlrh4] {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    min-height: 100vh;
}

.login-content[b-w0fwurlrh4] {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-card[b-w0fwurlrh4] {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 44px 40px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.5s ease-out;
}

.brand-logo[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.brand-logo-rect[b-w0fwurlrh4] {
    fill: #6366f1;
}

.brand-logo-path[b-w0fwurlrh4] {
    fill: white;
}

.brand-name[b-w0fwurlrh4] {
    font-size: 1.375rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.brand-subtitle[b-w0fwurlrh4] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #818cf8;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.login-title[b-w0fwurlrh4] {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: -0.75px;
}

.login-subtitle[b-w0fwurlrh4] {
    color: rgba(148, 163, 184, 0.9);
    font-size: 0.825rem;
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.6;
}

.login-form-group[b-w0fwurlrh4] {
    margin-bottom: 14px;
}

.input-wrapper[b-w0fwurlrh4] {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon[b-w0fwurlrh4] {
    position: absolute;
    left: 14px;
    color: rgba(148, 163, 184, 0.7);
    pointer-events: none;
    display: flex;
    align-items: center;
    z-index: 1;
}

.login-input[b-w0fwurlrh4] {
    width: 100%;
    padding: 14px 16px 14px 46px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    font-size: 0.875rem;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.25s ease;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.login-input:focus[b-w0fwurlrh4] {
    background: rgba(255, 255, 255, 0.12);
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.login-input[b-w0fwurlrh4]::placeholder {
    color: rgba(148, 163, 184, 0.6);
    font-weight: 400;
}

.password-toggle[b-w0fwurlrh4] {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(148, 163, 184, 0.7);
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.password-toggle:hover[b-w0fwurlrh4] {
    color: #a5b4fc;
}

.status-message[b-w0fwurlrh4] {
    color: #fca5a5;
    font-size: 0.8rem;
    text-align: center;
    padding: 10px 14px;
    margin-bottom: 8px;
    font-weight: 500;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
}

.btn-login[b-w0fwurlrh4] {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 60%, #4338ca 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-login[b-w0fwurlrh4]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover:not(:disabled)[b-w0fwurlrh4]::before {
    left: 100%;
}

.btn-login:hover:not(:disabled)[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 60%, #4f46e5 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

.btn-login:active[b-w0fwurlrh4] {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
}

.btn-login:disabled[b-w0fwurlrh4] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.forgot-password[b-w0fwurlrh4] {
    text-align: right;
    margin: 14px 0 0;
}

.forgot-password a[b-w0fwurlrh4] {
    color: rgba(148, 163, 184, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password a:hover[b-w0fwurlrh4] {
    color: #a5b4fc;
}

.login-footer-text[b-w0fwurlrh4] {
    text-align: center;
    margin-top: 28px;
    font-size: 0.825rem;
    color: rgba(148, 163, 184, 0.7);
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.register-link[b-w0fwurlrh4] {
    color: #a5b4fc;
    font-weight: 700;
    text-decoration: none;
}

.register-link:hover[b-w0fwurlrh4] {
    color: #818cf8;
    text-decoration: underline;
}

.login-bottom-footer[b-w0fwurlrh4] {
    text-align: center;
    padding: 24px 0 8px;
}

.footer-link[b-w0fwurlrh4] {
    color: rgba(100, 116, 139, 0.7);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover[b-w0fwurlrh4] {
    color: #818cf8;
}

.footer-separator[b-w0fwurlrh4] {
    color: rgba(203, 213, 225, 0.3);
    margin: 0 12px;
    font-size: 0.5rem;
}

/* Branch color input */
.branch-color-input[b-w0fwurlrh4] {
    width: 42px;
    height: 42px;
    padding: 2px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.branch-color-input:hover[b-w0fwurlrh4] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Table status indicator dot (replaces color-dot) */
.table-status-indicator[b-w0fwurlrh4] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}


/* ============================================================
   16. REFERRAL MASTER PAGE
   ============================================================ */
.referral-header-details[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
}

.referral-subtitle[b-w0fwurlrh4] {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 600;
    margin: 0;
}

.search-wrapper[b-w0fwurlrh4] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-icon-inline[b-w0fwurlrh4] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.search-input-pill[b-w0fwurlrh4] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    color: #1e293b;
    outline: none;
    width: 200px;
    transition: all 0.2s;
}

.search-input-pill:focus[b-w0fwurlrh4] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.doctor-detail-cell[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.doctor-avatar[b-w0fwurlrh4] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e7ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.tm-dropdown-item[b-w0fwurlrh4] {
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-dropdown-item:hover[b-w0fwurlrh4] {
    background: #f1f5f9;
}

.tm-dropdown-name[b-w0fwurlrh4] {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
}

.tm-dropdown-shortname[b-w0fwurlrh4] {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.tm-input-accent[b-w0fwurlrh4] {
    border: 1.5px solid #cbd5e1 !important;
    background: white !important;
    font-weight: 500 !important;
}

.tm-input-accent:focus[b-w0fwurlrh4] {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

.doctor-info-text[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
}

/* ============================================================
   12. TEST MASTER PANEL ACTIONS
   ============================================================ */
.tm-panel-header[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-center: items-center;
    padding: 16px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.tm-panel-badge[b-w0fwurlrh4] {
    padding: 4px 12px;
    background: #eef2ff;
    color: #4f46e5;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.tm-panel-title[b-w0fwurlrh4] {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.tm-btn-outline[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-outline:hover[b-w0fwurlrh4] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.tm-btn-primary[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #4f46e5;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    transition: all 0.2s;
}

.tm-btn-primary:hover[b-w0fwurlrh4] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.tm-btn-danger[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff1f2;
    border: 1.5px solid #fecdd3;
    border-radius: 12px;
    color: #e11d48;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-danger:hover[b-w0fwurlrh4] {
    background: #ffe4e6;
    border-color: #fda4af;
    color: #be123c;
}

.doctor-name-text[b-w0fwurlrh4] {
    font-weight: 600;
    color: #1e293b;
}

.doctor-email-text[b-w0fwurlrh4] {
    font-size: 11px;
    color: #64748b;
}

.form-grid-prefix[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
}

.form-grid-doctor-details[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.form-grid-two-cols[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pay-type-buttons[b-w0fwurlrh4] {
    display: flex;
    gap: 8px;
}

.pay-btn[b-w0fwurlrh4] {
    flex: 1;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    color: #64748b;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.pay-btn.active[b-w0fwurlrh4] {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}

/* Directory Section & Table */
.directory-section[b-w0fwurlrh4] {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-top: 24px;
}

.directory-header[b-w0fwurlrh4] {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.directory-header h3[b-w0fwurlrh4] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.table-wrapper[b-w0fwurlrh4] {
    overflow-x: auto;
    padding: 0;
}

.directory-table[b-w0fwurlrh4] {
    width: 100%;
    border-collapse: collapse;
}

.directory-table th[b-w0fwurlrh4] {
    background-color: #f8fafc;
    padding: 12px 24px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #f1f5f9;
}

.directory-table td[b-w0fwurlrh4] {
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #475569;
}

.directory-table tr:hover[b-w0fwurlrh4] {
    background-color: #f8fafc;
}

.code-link[b-w0fwurlrh4] {
    font-weight: 700;
    color: #4f46e5;
}

.btn-action[b-w0fwurlrh4] {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0 2px;
}

.btn-edit:hover:not(:disabled)[b-w0fwurlrh4] {
    border-color: #6366f1;
    color: #6366f1;
}

.btn-delete-action:hover:not(:disabled)[b-w0fwurlrh4] {
    border-color: #ef4444;
    color: #ef4444;
}

.btn-action:disabled[b-w0fwurlrh4] {
    opacity: 0.5;
    cursor: not-allowed;
}

.doctor-name[b-w0fwurlrh4] {
    font-weight: 700;
    color: #1e293b;
}

.doctor-email[b-w0fwurlrh4] {
    font-size: 12px;
    color: #64748b;
}

.pagination-footer[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid #f1f5f9;
    background-color: #fff;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.pagination-info[b-w0fwurlrh4] {
    font-size: 13px;
    color: #64748b;
}

.pagination-info-highlight[b-w0fwurlrh4] {
    font-weight: 600;
    color: #334155;
}

.pagination-btns[b-w0fwurlrh4] {
    display: flex;
    gap: 6px;
}

.page-btn[b-w0fwurlrh4] {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    font-weight: 500;
}

.page-btn:hover:not(:disabled)[b-w0fwurlrh4] {
    border-color: #6366f1;
    color: #6366f1;
}

.page-btn:disabled[b-w0fwurlrh4] {
    cursor: not-allowed;
    opacity: 0.5;
}

.page-btn.active[b-w0fwurlrh4] {
    border-color: #6366f1;
    background: #6366f1;
    color: #fff;
    cursor: default;
    font-weight: 600;
}

.page-btn-icon[b-w0fwurlrh4] {
    width: 32px;
}

/* ============================================================
   17. BRANCH MASTER PAGE
   ============================================================ */
.branch-ops-tag[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.branch-ops-label[b-w0fwurlrh4] {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
}

.branch-ops-value[b-w0fwurlrh4] {
    color: var(--lc-secondary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.branch-ops-placeholder[b-w0fwurlrh4] {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
}

.tenant-pill[b-w0fwurlrh4] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.form-cols-branch-1[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.form-cols-branch-2[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.color-input-container[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.branch-color-input[b-w0fwurlrh4] {
    width: 3rem;
    height: 2.25rem;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 0.5rem;
    padding: 2px;
    background: white;
    cursor: pointer;
}

.branch-type-group[b-w0fwurlrh4] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    height: 40px;
    padding-left: 4px;
}

.branch-type-label[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
}

.table-status-indicator[b-w0fwurlrh4] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.btn-delete-solid[b-w0fwurlrh4] {
    background: #ef4444;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

.btn-save-solid[b-w0fwurlrh4] {
    background: var(--primary, #4f46e5);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

.btn-close-solid[b-w0fwurlrh4] {
    background: #64748b;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

/* ============================================================
   18. MODIFY TEST MASTER PAGE
   ============================================================ */
.test-master-actions[b-w0fwurlrh4] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.test-master-action-item[b-w0fwurlrh4] {
    color: var(--primary, #4f46e5);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.8125rem;
    text-transform: uppercase;
}

.test-master-grid-1[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.5fr 2fr 2fr 1fr;
    gap: 1rem;
}

.test-master-grid-2[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.test-master-grid-settings[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.test-dropdown-overlay[b-w0fwurlrh4] {
    position: absolute;
    background: #ffffff;
    border: 1px solid var(--primary, #4f46e5);
    border-top: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    top: 100%;
    left: 0;
    right: -150%;
    z-index: 100;
    max-height: 15rem;
    overflow-y: auto;
}

.test-dropdown-item[b-w0fwurlrh4] {
    display: flex;
    cursor: pointer;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.875rem;
}

.test-dropdown-name[b-w0fwurlrh4] {
    flex-grow: 1;
    padding: 0.5rem 0.75rem;
    border-right: 1px solid #e2e8f0;
    color: #1e293b;
}

.test-dropdown-group[b-w0fwurlrh4] {
    padding: 0.5rem 0.75rem;
    color: #64748b;
    width: 150px;
}

.param-list-card[b-w0fwurlrh4] {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 0.75rem;
    overflow: hidden;
    width: 320px;
}

.param-header[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.param-circle[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
}

.template-editor-header[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color, #e2e8f0);
    border-bottom: 0;
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 0.5rem 0.75rem;
    background-color: #f8fafc;
}

.template-editor-toolbar[b-w0fwurlrh4] {
    display: flex;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    color: #1e293b;
}

.template-editor-textarea[b-w0fwurlrh4] {
    border-color: var(--border-color, #e2e8f0);
    border-top: 0;
    border-radius: 0 0 0.5rem 0.5rem;
    resize: none;
    box-shadow: none;
}

.graph-toggle[b-w0fwurlrh4] {
    position: relative;
    display: inline-block;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    width: 28px;
    height: 16px;
    background-color: #f1f5f9;
}

.graph-toggle-thumb[b-w0fwurlrh4] {
    position: absolute;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    width: 12px;
    height: 12px;
    left: 1px;
    top: 1px;
}

.btn-update-orange[b-w0fwurlrh4] {
    background: transparent;
    border: 1px solid #f97316;
    color: #f97316;
    font-weight: 600;
    padding: 0.25rem 1.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    height: 32px;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-update-orange:hover[b-w0fwurlrh4] {
    background: #f97316;
    color: #ffffff;
}

/* ============================================================
   20. COUNTER MASTER PAGE
   ============================================================ */
.form-cols-counter-1[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 1fr;
    gap: 1.5rem;
}

.form-cols-counter-2[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.form-cols-counter-3[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 1.5rem;
}

.counter-color-preview[b-w0fwurlrh4] {
    width: 3rem;
    height: 2.25rem;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 0.5rem;
    padding: 2px;
    background: #ffffff;
    cursor: pointer;
}

.counter-dot[b-w0fwurlrh4] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

/* ============================================================
   21. RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1200px) {
    .custom-grid-general-1[b-w0fwurlrh4] {
        grid-template-columns: 80px 1fr 1.2fr 1fr;
    }

    .custom-grid-general-2[b-w0fwurlrh4] {
        grid-template-columns: 1fr 1fr;
    }

    .custom-grid-billing-1[b-w0fwurlrh4] {
        grid-template-columns: 1fr 1fr;
    }

    .custom-grid-comm-1[b-w0fwurlrh4],
    .custom-grid-comm-2[b-w0fwurlrh4],
    .custom-grid-comm-3[b-w0fwurlrh4] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .referral-page[b-w0fwurlrh4] {
        padding: 16px;
    }

    .referral-header[b-w0fwurlrh4] {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .header-actions[b-w0fwurlrh4] {
        width: 100%;
        flex-wrap: wrap;
    }

    .header-search-input[b-w0fwurlrh4] {
        width: 100% !important;
    }

    .form-row[b-w0fwurlrh4] {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .form-cols-4[b-w0fwurlrh4],
    .form-cols-4-area[b-w0fwurlrh4],
    .form-cols-3-city[b-w0fwurlrh4],
    .form-cols-branch-1[b-w0fwurlrh4],
    .form-cols-branch-2[b-w0fwurlrh4],
    .form-cols-branch-3[b-w0fwurlrh4],
    .form-cols-counter-1[b-w0fwurlrh4],
    .form-cols-counter-2[b-w0fwurlrh4],
    .form-cols-counter-3[b-w0fwurlrh4],
    .custom-grid-general-1[b-w0fwurlrh4],
    .custom-grid-general-2[b-w0fwurlrh4],
    .custom-grid-billing-1[b-w0fwurlrh4],
    .custom-grid-billing-2[b-w0fwurlrh4],
    .custom-grid-comm-1[b-w0fwurlrh4],
    .custom-grid-comm-2[b-w0fwurlrh4],
    .custom-grid-comm-3[b-w0fwurlrh4],
    .custom-grid-comm-4[b-w0fwurlrh4] {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   22. MASTER DATA COMMON STYLES (Area, City, State, Country)
   ============================================================ */
.form-cols-4-area[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.form-cols-3-city[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: repeat(2, 1fr) 2fr;
    gap: 1.5rem;
}

.master-search-dropdown[b-w0fwurlrh4] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 50;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.master-search-dropdown.show[b-w0fwurlrh4] {
    display: block;
}

.master-search-item[b-w0fwurlrh4] {
    width: 100%;
    padding: 10px 16px;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid var(--lc-slate-100);
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.master-search-item:hover[b-w0fwurlrh4] {
    background: var(--lc-slate-50);
}

.master-search-item:last-child[b-w0fwurlrh4] {
    border-bottom: none;
}

/* ============================================================
   23. MODIFY TEST MASTER - TABS CONTENT
   ============================================================ */
.tab-scroller[b-w0fwurlrh4] {
    margin-bottom: -1px;
}

.ref-table-wrapper[b-w0fwurlrh4] {
    height: 15rem;
    overflow: auto;
    border: 1px solid var(--lc-border);
}

.ref-table[b-w0fwurlrh4] {
    width: 100%;
    font-size: 0.75rem;
    border-collapse: collapse;
}

.ref-table th[b-w0fwurlrh4],
.ref-table td[b-w0fwurlrh4] {
    border: 1px solid var(--lc-border);
    padding: 0.25rem;
}

.ref-table .col-icon[b-w0fwurlrh4] {
    width: 2rem;
}

.ref-table .col-sex[b-w0fwurlrh4] {
    width: 25%;
}

.ref-table .star-big[b-w0fwurlrh4] {
    font-size: 1rem;
}

.lab-checkbox-sm[b-w0fwurlrh4] {
    width: 13px !important;
    height: 13px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    cursor: pointer !important;
}

.lab-radio-sm[b-w0fwurlrh4] {
    margin: 0 !important;
    cursor: pointer !important;
}

.lab-textarea-bordered[b-w0fwurlrh4] {
    border: 1px solid #a1a1aa !important;
    resize: none !important;
    border-radius: 0 !important;
    background: white;
}

.specimen-table-container[b-w0fwurlrh4] {
    border: 1px solid var(--lc-border);
    margin-bottom: 1.25rem;
    width: 100%;
    max-width: 500px;
}

.bg-specimen-active[b-w0fwurlrh4] {
    background: #0ea5e9 !important;
    color: white !important;
}

.btn-row-action[b-w0fwurlrh4] {
    width: 100%;
    background: #e2e8f0;
    height: 1.25rem;
    border: 1px solid var(--lc-slate-400);
    outline: none;
    cursor: pointer;
}

.text-update-orange[b-w0fwurlrh4] {
    color: #f97316 !important;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ============================================================
   24. MODIFY TEST MASTER - CONSOLE STYLES
   ============================================================ */
.custom-card[b-w0fwurlrh4] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    height: 100%;
}

.test-master-actions[b-w0fwurlrh4] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.test-master-action-item[b-w0fwurlrh4] {
    color: var(--lc-primary);
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.test-master-action-item:hover[b-w0fwurlrh4] {
    opacity: 0.8;
}

.avatar-pink[b-w0fwurlrh4] {
    background: #FFD1DC;
    color: #E83F6F;
}

.test-master-grid-1[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.5fr 2fr 2fr 1fr;
    gap: 1rem;
}

.test-master-grid-2[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.test-master-grid-settings[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.test-dropdown-overlay[b-w0fwurlrh4] {
    position: absolute;
    background: white;
    border: 1px solid var(--lc-primary);
    border-top: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    top: 100%;
    left: 0;
    right: -150%;
    z-index: 100;
    max-height: 15rem;
    overflow-y: auto;
}

.test-dropdown-item[b-w0fwurlrh4] {
    display: flex;
    cursor: pointer;
    border-bottom: 1px solid var(--lc-border);
    font-size: 13px;
    transition: background 0.2s;
}

.test-dropdown-item:hover[b-w0fwurlrh4] {
    background: var(--lc-slate-50);
}

.test-dropdown-name[b-w0fwurlrh4] {
    flex-grow: 1;
    padding: 8px 16px;
    border-right: 1px solid var(--lc-border);
    color: var(--lc-slate-900);
}

.test-dropdown-group[b-w0fwurlrh4] {
    padding: 8px 16px;
    color: var(--lc-slate-500);
    width: 150px;
}

.param-list-card[b-w0fwurlrh4] {
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 12px;
    overflow: hidden;
}

.param-header[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lc-border);
}

.param-circle[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    border: 1px solid var(--lc-border);
}

.template-editor-header[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--lc-border);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 8px 12px;
    background-color: #f8fafc;
}

.template-editor-toolbar[b-w0fwurlrh4] {
    display: flex;
    gap: 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    color: var(--lc-slate-900);
}

.template-editor-textarea[b-w0fwurlrh4] {
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: none !important;
    resize: none !important;
    height: 100px;
}

.graph-toggle[b-w0fwurlrh4] {
    position: relative;
    display: inline-block;
    border-radius: 9999px;
    border: 1px solid var(--lc-border);
    width: 28px;
    height: 16px;
    background-color: #f1f5f9;
}

.graph-toggle-thumb[b-w0fwurlrh4] {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    width: 12px;
    height: 12px;
    left: 1px;
    top: 1px;
}

.btn-update-orange[b-w0fwurlrh4] {
    background: transparent;
    font-weight: 600;
    border: 1px solid #f97316;
    color: #f97316 !important;
    padding: 4px 24px;
    border-radius: 4px;
    font-size: 12px;
    height: 32px;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-update-orange:hover[b-w0fwurlrh4] {
    background: #f97316;
    color: white !important;
}

.btn-tab[b-w0fwurlrh4] {
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    color: var(--lc-slate-400);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-tab:hover[b-w0fwurlrh4] {
    color: var(--lc-primary);
}

.btn-tab.active-tab[b-w0fwurlrh4] {
    color: var(--lc-primary);
    border-bottom-color: var(--lc-primary);
    background: rgba(79, 70, 229, 0.05);
}

.hover-primary:hover[b-w0fwurlrh4] {
    color: var(--lc-primary) !important;
}

.right-1[b-w0fwurlrh4] {
    right: 1px !important;
    left: auto !important;
}

.left-1[b-w0fwurlrh4] {
    left: 1px !important;
    right: auto !important;
}

.bg-specimen-active[b-w0fwurlrh4] {
    background-color: #f0fdf4 !important;
    color: #166534 !important;
    font-weight: 700;
}

.ref-table[b-w0fwurlrh4] {
    width: 100%;
    border-collapse: collapse;
}

.ref-table th[b-w0fwurlrh4] {
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--lc-slate-400);
    text-transform: uppercase;
    border-bottom: 1px solid var(--lc-border);
}

.ref-table td[b-w0fwurlrh4] {
    padding: 8px 12px;
    font-size: 13px;
    border-bottom: 1px solid var(--lc-slate-100);
}

.hover-slate-50:hover[b-w0fwurlrh4] {
    background-color: var(--lc-slate-50);
}

.col-icon[b-w0fwurlrh4] {
    width: 40px;
    text-align: center;
}

.col-sex[b-w0fwurlrh4] {
    width: 100px;
}

/* ============================================================
   24.1 DIRECT MAPPING - TEST MASTER REFACTOR
   ============================================================ */
.tm-page-container[b-w0fwurlrh4] {
    padding: 1.5rem;
    background: #f1f5f9;
    min-height: 100vh;
}

.tm-main-card[b-w0fwurlrh4] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.tm-header-bar[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--lc-border);
    padding: 1.5rem;
}

.tm-actions-row[b-w0fwurlrh4] {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.875rem;
}

.tm-action-label[b-w0fwurlrh4] {
    font-weight: 600;
    color: var(--lc-slate-500);
    text-transform: uppercase;
}

.tm-action-item[b-w0fwurlrh4] {
    color: var(--lc-primary);
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.tm-action-item:hover[b-w0fwurlrh4] {
    opacity: 0.8;
}

.tm-profile-section[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tm-user-info[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.tm-user-details[b-w0fwurlrh4] {
    text-align: right;
}

.tm-user-name[b-w0fwurlrh4] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lc-slate-900);
}

.tm-user-role[b-w0fwurlrh4] {
    font-size: 0.625rem;
    color: var(--lc-slate-500);
    text-transform: uppercase;
}

.tm-avatar-circle[b-w0fwurlrh4] {
    width: 2.5rem;
    height: 2.5rem;
    background: #FFD1DC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #E83F6F;
    font-weight: 600;
}

.tm-section-inner[b-w0fwurlrh4] {
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.tm-grid-layout-1[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.5fr 2fr 2fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tm-form-label-small[b-w0fwurlrh4] {
    font-size: 0.65rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tm-input-accent[b-w0fwurlrh4] {
    background-color: white !important;
    border: 1px solid var(--lc-primary) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    color: var(--lc-primary) !important;
    font-weight: 700;
    height: 48px !important;
}

.tm-input-muted[b-w0fwurlrh4] {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    height: 48px !important;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

textarea.tm-input-muted[b-w0fwurlrh4] {
    height: auto !important;
    min-height: 80px !important;
    padding: 12px 16px !important;
    line-height: 1.5;
}

.tm-grid-layout-2[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.tm-special-ops[b-w0fwurlrh4] {
    background: #fdfdfd;
    border: 1px dashed #e2e8f0;
    padding: 1rem;
    border-radius: 12px;
}

.tm-dropdown-box[b-w0fwurlrh4] {
    position: absolute;
    top: 100%;
    left: 0;
    right: -150%;
    background: white;
    border: 1px solid var(--lc-primary);
    border-top: none;
    z-index: 100;
    max-height: 15rem;
    overflow-y: auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.tm-dropdown-row[b-w0fwurlrh4] {
    display: flex;
    cursor: pointer;
    border-bottom: 1px solid var(--lc-border);
    font-size: 0.875rem;
}

.tm-dropdown-cell-primary[b-w0fwurlrh4] {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border-right: 1px solid var(--lc-border);
    color: var(--lc-slate-900);
}

.tm-dropdown-cell-secondary[b-w0fwurlrh4] {
    width: 150px;
    padding: 0.5rem 0.75rem;
    color: var(--lc-slate-500);
}

.tm-split-panel[b-w0fwurlrh4] {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.tm-side-panel[b-w0fwurlrh4] {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tm-content-panel[b-w0fwurlrh4] {
    flex: 1;
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 1rem;
    padding: 1.5rem;
}

.tm-settings-hdr[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tm-footer-bar[b-w0fwurlrh4] {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--lc-border);
}

.tm-btn-row[b-w0fwurlrh4] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.tm-btn-row .lc-btn[b-w0fwurlrh4] {
    height: 44px !important;
    padding: 0 24px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.tm-grid-layout-2[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.tm-special-ops[b-w0fwurlrh4] {
    background: #fdfdfd;
    border: 1px dashed #e2e8f0;
    padding: 1.25rem;
    border-radius: 12px;
}

.tm-param-card[b-w0fwurlrh4] {
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 12px;
    overflow: hidden;
}

.tm-param-header[b-w0fwurlrh4] {
    background: #f8fafc;
    border-bottom: 1px solid var(--lc-border);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-param-list[b-w0fwurlrh4] {
    padding: 0.5rem 0;
}

.tm-param-item[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.tm-param-check[b-w0fwurlrh4] {
    width: 1.25rem;
    height: 1.25rem;
    background: var(--lc-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.tm-param-circle[b-w0fwurlrh4] {
    width: 1.25rem;
    height: 1.25rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
}

.tm-tab-btn[b-w0fwurlrh4] {
    background: transparent;
    border: none;
    padding: 0.75rem 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

.tm-tab-btn:hover[b-w0fwurlrh4] {
    color: var(--lc-primary);
}

.tm-tab-btn.active-tab[b-w0fwurlrh4] {
    color: var(--lc-primary);
    border-bottom-color: var(--lc-primary);
}

/* LC Section Dividers */
.lc-section-divider[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lc-divider-label[b-w0fwurlrh4] {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.lc-divider-line[b-w0fwurlrh4] {
    height: 1px;
    background: linear-gradient(to right, #e2e8f0, transparent);
    flex-grow: 1;
}

/* Input with Prefix Icons */
.input-with-icon[b-w0fwurlrh4] {
    position: relative;
    display: flex;
    align-items: center;
}

.prefix-icon[b-w0fwurlrh4] {
    position: absolute;
    left: 12px;
    font-size: 18px !important;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s;
}

.lab-input:focus+.prefix-icon[b-w0fwurlrh4] {
    color: var(--lc-primary);
}

.pl-36[b-w0fwurlrh4] {
    padding-left: 36px !important;
}

/* Select Wrapper Customization */
.lc-select-wrapper[b-w0fwurlrh4] {
    position: relative;
}

.lc-select-wrapper[b-w0fwurlrh4]::after {
    content: 'expand_more';
    font-family: 'Material Symbols Rounded';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 18px;
}

.lc-select-wrapper .lab-input[b-w0fwurlrh4] {
    appearance: none;
    background-image: none !important;
    padding-right: 36px;
}

.h-40[b-w0fwurlrh4] {
    height: 40px !important;
}

/* Container Master Image Specific Styles */
.image-preview-mt[b-w0fwurlrh4] {
    margin-top: 8px;
    border-radius: 8px;
    overflow: hidden;
    width: 64px;
    height: 64px;
    border: 1px solid var(--lc-border);
}

.container-img-thumb[b-w0fwurlrh4] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container-img-small[b-w0fwurlrh4] {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--lc-border);
    background-color: white;
}

/* ============================================================
   BILLING PAGE STYLES
   ============================================================ */
.billing-page-wrapper[b-w0fwurlrh4] {
    background-color: #f1f5f9;
    min-height: calc(100vh - 60px);
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    position: relative;
    padding-bottom: 80px;
    /* Space for bottom bar */
}

/* TOP HEADER */
.bl-header-bar[b-w0fwurlrh4] {
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 6px 20px;
    /* Reduced vertical padding (header width) */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    gap: 20px;
    max-width: 100%;
}

.bl-header-item[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bl-label[b-w0fwurlrh4] {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bl-value[b-w0fwurlrh4] {
    font-size: 12px;
    color: #1e293b;
}

.bl-header-divider[b-w0fwurlrh4] {
    width: 1px;
    height: 20px;
    background: #e2e8f0;
}

.bl-header-spacer[b-w0fwurlrh4] {
    flex: 1;
}

.bl-system-status[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #059669;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.bl-status-dot[b-w0fwurlrh4] {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 4px #10b981;
}

/* MAIN GRID */
.bl-main-grid[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 360px 1fr 280px;
    gap: 16px;
    padding: 16px 0;
    align-items: start;
}

/* CARDS COMMON */
.bl-card[b-w0fwurlrh4] {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
}

.bl-card-title[b-w0fwurlrh4] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.bl-card-title .material-symbols-outlined[b-w0fwurlrh4] {
    font-size: 16px;
}

.text-blue[b-w0fwurlrh4] {
    color: #4f46e5 !important;
}

.text-gray[b-w0fwurlrh4] {
    color: #64748b !important;
}

.text-green[b-w0fwurlrh4] {
    color: #059669 !important;
}

.text-red[b-w0fwurlrh4] {
    color: #ef4444 !important;
}

.text-white[b-w0fwurlrh4] {
    color: #ffffff !important;
}

.fw-600[b-w0fwurlrh4] {
    font-weight: 600 !important;
}

.fw-700[b-w0fwurlrh4] {
    font-weight: 700 !important;
}

.mt-12[b-w0fwurlrh4] {
    margin-top: 10px !important;
}

.mt-16[b-w0fwurlrh4] {
    margin-top: 14px !important;
}

.mb-16[b-w0fwurlrh4] {
    margin-bottom: 14px !important;
}

.mb-20[b-w0fwurlrh4] {
    margin-bottom: 16px !important;
}

.ml-16[b-w0fwurlrh4] {
    margin-left: 12px !important;
}

.ml-24[b-w0fwurlrh4] {
    margin-left: 18px !important;
}

.ml-32[b-w0fwurlrh4] {
    margin-left: 24px !important;
}

.ml-auto[b-w0fwurlrh4] {
    margin-left: auto !important;
}

.m-0[b-w0fwurlrh4] {
    margin: 0 !important;
}

.py-4[b-w0fwurlrh4] {
    padding-top: 12px;
    padding-bottom: 12px;
}

.flex-1[b-w0fwurlrh4] {
    flex: 1;
}

.flex-2[b-w0fwurlrh4] {
    flex: 2;
}

.text-center[b-w0fwurlrh4] {
    text-align: center;
}

.text-right[b-w0fwurlrh4] {
    text-align: right;
}

.text-sm[b-w0fwurlrh4] {
    font-size: 11px !important;
}

.no-underline[b-w0fwurlrh4] {
    text-decoration: none;
}

/* FORMS & INPUTS */
.bl-form-group[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bl-input-label[b-w0fwurlrh4] {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bl-input[b-w0fwurlrh4] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 11px;
    color: #1e293b;
    font-weight: 500;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
}

.bl-input:focus[b-w0fwurlrh4] {
    border-color: #4f46e5;
    background: #ffffff;
}

.bl-input-with-icon[b-w0fwurlrh4] {
    position: relative;
    display: flex;
    align-items: center;
}

.bl-input-with-icon .search-icon[b-w0fwurlrh4] {
    position: absolute;
    left: 10px;
    font-size: 16px;
    color: #94a3b8;
    pointer-events: none;
}

.bl-input-with-icon .bl-input[b-w0fwurlrh4] {
    padding-left: 30px;
}

.bl-select-wrapper[b-w0fwurlrh4] {
    position: relative;
    width: 100%;
}

.bl-select-wrapper[b-w0fwurlrh4]::after {
    content: 'expand_more';
    font-family: 'Material Symbols Outlined';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 16px;
}

.bl-select[b-w0fwurlrh4] {
    appearance: none;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 30px 8px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #1e293b;
    width: 100%;
    outline: none;
}

.bl-select:focus[b-w0fwurlrh4] {
    border-color: #4f46e5;
    background: #ffffff;
}

.bl-select.small[b-w0fwurlrh4] {
    padding: 4px 30px 4px 10px;
}

/* PATIENT CARD SPECIFIC */
.bl-patient-badges[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.bl-segmented-control[b-w0fwurlrh4] {
    display: inline-flex;
    background: #e2e8f0;
    border-radius: 6px;
    padding: 2px;
    gap: 2px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.bl-segment-btn[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 2px 8px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    height: 20px;
    line-height: 1;
}

.bl-segment-btn:hover[b-w0fwurlrh4] {
    color: #0f172a;
}

.bl-segment-btn.active[b-w0fwurlrh4] {
    background: #ffffff;
    color: #4f46e5;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.bl-segment-btn .material-symbols-outlined[b-w0fwurlrh4] {
    font-size: 12px !important;
}

.bl-badge-paid[b-w0fwurlrh4] {
    background: #10b981;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.bl-badge-uid[b-w0fwurlrh4] {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.bl-gender-age-row[b-w0fwurlrh4] {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.bl-gender-age-row>div:first-child[b-w0fwurlrh4] {
    flex: 1 1 30% !important;
}

.bl-gender-age-row>div:last-child[b-w0fwurlrh4] {
    flex: 2 1 70% !important;
}

.bl-gender-age-row .bl-select[b-w0fwurlrh4] {
    height: 36px;
    box-sizing: border-box;
}

.bl-age-group[b-w0fwurlrh4] {
    display: flex;
    gap: 8px;
}

.bl-age-box[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    height: 36px;
    padding: 0 8px;
    flex: 1;
    transition: all 0.2s;
}

.bl-age-box:focus-within[b-w0fwurlrh4] {
    border-color: #4f46e5;
    background: #ffffff;
}

.bl-age-input[b-w0fwurlrh4] {
    border: none;
    background: transparent;
    width: 24px;
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    outline: none;
    height: 100%;
    padding: 0;
}

.bl-age-lbl[b-w0fwurlrh4] {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 2px;
}

.bl-patient-info-row[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bl-id-type-combo[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.bl-id-type-header[b-w0fwurlrh4] {
    background: #4f46e5;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
    width: 60px;
    height: 28px;
    box-sizing: border-box;
}

.bl-id-type-header .bl-id-type-select[b-w0fwurlrh4] {
    font-size: 10px;
    padding: 0 4px;
}

.bl-id-type-header .material-symbols-outlined[b-w0fwurlrh4] {
    font-size: 14px !important;
    color: #ffffff;
}

.bl-id-label[b-w0fwurlrh4] {
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.bl-id-input[b-w0fwurlrh4] {
    border: none;
    background: #f8fafc;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #1e293b;
    outline: none;
}

.bl-more-info[b-w0fwurlrh4] {
    font-size: 11px;
    color: #4f46e5;
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 2px;
}

/* REFERRAL CARD */
.bl-grid-2[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bl-grid-3[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.bl-hospital-combo[b-w0fwurlrh4] {
    display: flex;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    height: 36px;
    box-sizing: border-box;
}

.bl-hospital-sel[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    border-right: 1px solid #e2e8f0;
    cursor: pointer;
    background: #f8fafc;
}

.bl-hospital-sel .material-symbols-outlined[b-w0fwurlrh4] {
    font-size: 14px;
}

.bl-hospital-input[b-w0fwurlrh4] {
    border: none;
    background: transparent;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 500;
    color: #1e293b;
    width: 100%;
    outline: none;
    height: 100%;
}

/* TESTS SELECTION CARD */
.bl-tests-header[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed #e2e8f0;
    padding-bottom: 12px;
}

.bl-tests-stats[b-w0fwurlrh4] {
    display: flex;
    gap: 20px;
}

.stat-item[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-lbl[b-w0fwurlrh4] {
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}

.stat-val[b-w0fwurlrh4] {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
}

.bl-search-test-row[b-w0fwurlrh4] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bl-input-with-icon.full-width[b-w0fwurlrh4] {
    flex: 1;
}

.bl-btn-add[b-w0fwurlrh4] {
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.bl-sample-grid-header[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 4px;
    border-bottom: 1px solid #e2e8f0;
}

.sg-title[b-w0fwurlrh4] {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
}

.sg-action[b-w0fwurlrh4] {
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

/* TABLE */
.bl-table-container[b-w0fwurlrh4] {
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 6px 6px;
    overflow-y: auto;
    min-height: 280px;
    background: #ffffff;
}

.bl-table[b-w0fwurlrh4] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.bl-table thead[b-w0fwurlrh4] {
    background: #4f46e5;
    color: #ffffff;
}

.bl-table th[b-w0fwurlrh4] {
    padding: 8px 10px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.5px;
}

.bl-table th:last-child[b-w0fwurlrh4],
.bl-table td:last-child[b-w0fwurlrh4] {
    text-align: center;
}

.bl-table td[b-w0fwurlrh4] {
    padding: 8px 10px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.test-name[b-w0fwurlrh4] {
    font-weight: 600;
    color: #1e293b;
}

.comm-text[b-w0fwurlrh4] {
    font-weight: 600;
}

.hover-delete[b-w0fwurlrh4] {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.hover-delete:hover[b-w0fwurlrh4] {
    opacity: 1;
}

.bl-remarks-row[b-w0fwurlrh4] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bl-report-date[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0 10px;
    height: 36px;
}

.bl-report-date .lbl[b-w0fwurlrh4] {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    margin-right: 6px;
}

.bl-report-date .small-input[b-w0fwurlrh4] {
    border: none;
    background: transparent;
    width: 70px;
    font-size: 11px;
    font-weight: 600;
    padding: 0;
    outline: none;
}

.bl-report-date .icon[b-w0fwurlrh4] {
    color: #94a3b8;
    font-size: 16px;
    margin-left: 6px;
}

/* RIGHT COLUMN: Collection */
.c-header-row[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bl-toggle[b-w0fwurlrh4] {
    position: relative;
    width: 36px;
    height: 20px;
}

.bl-toggle input[b-w0fwurlrh4] {
    opacity: 0;
    width: 0;
    height: 0;
}

.bl-toggle label[b-w0fwurlrh4] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.bl-toggle label[b-w0fwurlrh4]:before {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bl-toggle input:checked+label[b-w0fwurlrh4] {
    background: #4f46e5;
}

.bl-toggle input:checked+label[b-w0fwurlrh4]:before {
    transform: translateX(16px);
}

.bl-area-row[b-w0fwurlrh4] {
    display: flex;
    gap: 6px;
}

/* FINANCIAL SUMMARY */
.fin-title[b-w0fwurlrh4] {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.fin-row[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #1e293b;
}

.fin-concession[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.conc-header[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
}

.conc-labels span[b-w0fwurlrh4] {
    display: inline-block;
    width: 50px;
    text-align: center;
    background: #f1f5f9;
    border-radius: 4px;
    padding: 2px 0;
    margin-left: 6px;
}

.conc-inputs[b-w0fwurlrh4] {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.conc-inputs .bl-input[b-w0fwurlrh4] {
    width: 50px;
}

.fin-discount[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
}

.fin-net[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
}

.net-val[b-w0fwurlrh4] {
    font-size: 16px;
    color: #4f46e5;
}

/* PAYMENT INTERFACE */
.payment-card[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    position: relative;
    overflow: hidden;
    border: none;
}

.pay-bg-pattern[b-w0fwurlrh4] {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 10.01%);
    background-size: 16px 16px;
    opacity: 0.5;
    pointer-events: none;
}

.pay-title-row[b-w0fwurlrh4] {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #c7d2fe;
    position: relative;
    z-index: 1;
}

.pay-split-row[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    font-weight: 600;
    color: #e0e7ff;
}

.pay-add-btn[b-w0fwurlrh4] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pay-mode-row[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 10px;
}

.pay-mode-lbl[b-w0fwurlrh4] {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
}

.pay-input-wrap[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pay-input[b-w0fwurlrh4] {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    width: 80px;
    text-align: right;
    outline: none;
}

.pay-check[b-w0fwurlrh4] {
    font-size: 16px;
}

.pay-due-row[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 20px;
}

.due-title[b-w0fwurlrh4] {
    font-size: 11px;
    font-weight: 700;
    color: #c7d2fe;
}

.due-sub[b-w0fwurlrh4] {
    font-size: 9px;
    color: #818cf8;
}

.due-val[b-w0fwurlrh4] {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

/* BOTTOM BAR */
.bl-bottom-bar[b-w0fwurlrh4] {
    position: fixed;
    bottom: 0;
    left: 220px;
    /* offset by sidebar */
    right: 0;
    background: #ffffff;
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.03);
    z-index: 100;
}

.nav-collapsed~main .bl-bottom-bar[b-w0fwurlrh4] {
    left: 68px;
    /* if sidebar matches this class structure */
}

.bbar-stats[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
}

.bbar-stat-item[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bbar-lbl[b-w0fwurlrh4] {
    font-size: 8px;
    font-weight: 700;
    color: #94a3b8;
    line-height: 1.2;
}

.bbar-val[b-w0fwurlrh4] {
    font-size: 16px;
    font-weight: 800;
}

.text-black[b-w0fwurlrh4] {
    color: var(--lc-secondary) !important;
}

.bbar-printer[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 180px;
}

.bbar-printer label[b-w0fwurlrh4] {
    font-size: 8px;
    font-weight: 700;
    color: #94a3b8;
}

.bbar-links[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
}

.bbar-actions[b-w0fwurlrh4] {
    display: flex;
    gap: 8px;
}

/* ── LabCare Design System: Action Buttons ── */
.bl-btn[b-w0fwurlrh4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 18px;
    height: 36px;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    user-select: none;
    -webkit-font-smoothing: antialiased;
}

.bl-btn:active[b-w0fwurlrh4] {
    transform: scale(0.96);
}

.bl-btn:disabled[b-w0fwurlrh4],
.bl-btn[disabled][b-w0fwurlrh4] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

/* SAVE — indigo primary */
.bl-btn-save[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35),
                inset 0 1px 0 rgba(255,255,255,0.15);
}

.bl-btn-save:hover:not(:disabled)[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.45);
    transform: translateY(-1px);
}

/* CLEAR — rose danger */
.bl-btn-clear[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.30),
                inset 0 1px 0 rgba(255,255,255,0.12);
}

.bl-btn-clear:hover:not(:disabled)[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.40);
    transform: translateY(-1px);
}

/* PRINT — slate neutral */
.bl-btn-print[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(71, 85, 105, 0.25),
                inset 0 1px 0 rgba(255,255,255,0.10);
}

.bl-btn-print:hover:not(:disabled)[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    box-shadow: 0 4px 14px rgba(71, 85, 105, 0.35);
    transform: translateY(-1px);
}

/* ============================================================
   X. RATE PAGE
   ============================================================ */
.rate-container[b-w0fwurlrh4] {
    background-color: #f8fafc;
    min-height: 100vh;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rate-header[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
}

.rate-header-title[b-w0fwurlrh4] {
    color: #1e293b;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rate-header-radios[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
}

.rate-radio-label[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 11px;
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rate-radio-input[b-w0fwurlrh4] {
    width: 12px;
    height: 12px;
    accent-color: #4f46e5;
}

.rate-main-card[b-w0fwurlrh4] {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
}

.rate-form-grid[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.rate-form-col[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rate-form-group[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
}

.rate-form-group-gap[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rate-label[b-w0fwurlrh4] {
    width: 8rem;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rate-label-small[b-w0fwurlrh4] {
    width: 6rem;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rate-input[b-w0fwurlrh4] {
    flex: 1;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    color: #1e293b;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
}

.rate-input:focus[b-w0fwurlrh4] {
    background: white;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.rate-input-small[b-w0fwurlrh4] {
    width: 4rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    color: #1e293b;
    font-weight: 600;
    outline: none;
    text-align: right;
    transition: all 0.2s ease;
}

.rate-input-small:focus[b-w0fwurlrh4] {
    background: white;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.rate-radio-group[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.rate-radio-item[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 11px;
    color: #475569;
    font-weight: 600;
}

.rate-radio-item-input[b-w0fwurlrh4] {
    width: 12px;
    height: 12px;
    accent-color: #4f46e5;
}

.rate-btn-default[b-w0fwurlrh4] {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 16px;
    background: #f8fafc;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-btn-default:hover[b-w0fwurlrh4] {
    background: #e2e8f0;
    color: #1e293b;
}

.rate-btn-set[b-w0fwurlrh4] {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 16px;
    background: #ffffff;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-btn-set:hover[b-w0fwurlrh4] {
    background: #f8fafc;
}

.rate-btn-set-blue[b-w0fwurlrh4] {
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    background: #eff6ff;
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-btn-set-blue:hover[b-w0fwurlrh4] {
    background: #dbeafe;
}

.rate-right-action-group[b-w0fwurlrh4] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 8px;
}

.rate-nested-group[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.rate-btn-big[b-w0fwurlrh4] {
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.rate-btn-big:hover[b-w0fwurlrh4] {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.4);
}

.rate-grid-container[b-w0fwurlrh4] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rate-grid-scroll[b-w0fwurlrh4] {
    overflow: auto;
    max-height: calc(100vh - 340px);
}

.rate-grid-scroll[b-w0fwurlrh4]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.rate-grid-scroll[b-w0fwurlrh4]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.rate-grid-scroll[b-w0fwurlrh4]::-webkit-scrollbar-track {
    background: transparent;
}

.rate-table[b-w0fwurlrh4] {
    width: 100%;
    text-align: left;
    border-collapse: separate;
    border-spacing: 0;
    min-width: max-content;
}

.rate-table thead[b-w0fwurlrh4] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f8fafc;
}

.rate-table th[b-w0fwurlrh4] {
    padding: 10px 12px;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px dashed #e2e8f0;
}

.rate-table th:last-child[b-w0fwurlrh4] {
    border-right: none;
}

.rate-table th.col-w-10[b-w0fwurlrh4] {
    width: 3rem;
}

.rate-table th.col-w-12[b-w0fwurlrh4] {
    width: 4rem;
}

.rate-table th.col-w-16[b-w0fwurlrh4] {
    width: 4.5rem;
}

.rate-table th.col-w-24[b-w0fwurlrh4] {
    width: 6rem;
}

.rate-table th.col-w-32[b-w0fwurlrh4] {
    width: 8rem;
}

.rate-table th.text-center[b-w0fwurlrh4] {
    text-align: center;
}

.rate-table th.text-right[b-w0fwurlrh4] {
    text-align: right;
}

.rate-table tbody tr[b-w0fwurlrh4] {
    transition: background-color 0.2s ease;
}

.rate-table td[b-w0fwurlrh4] {
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
    border-right: 1px dashed #f1f5f9;
    color: #1e293b;
}

.rate-table td:last-child[b-w0fwurlrh4] {
    border-right: none;
}

.rate-table tbody tr:hover:not(.rate-row-active)[b-w0fwurlrh4] {
    background-color: #f8fafc;
}

.rate-table tbody tr.rate-row-active td[b-w0fwurlrh4] {
    background: #eff6ff;
    color: #1e293b;
    border-bottom: 1px solid #bfdbfe;
    border-right: 1px dashed #bfdbfe;
}

.rate-table tbody tr.rate-row-active td:last-child[b-w0fwurlrh4] {
    border-right: none;
}

.rate-table td.text-center[b-w0fwurlrh4] {
    text-align: center;
}

.rate-table td.text-right[b-w0fwurlrh4] {
    text-align: right;
}

.rate-table td.col-sno[b-w0fwurlrh4] {
    font-weight: 700;
    color: #64748b;
    position: relative;
}

.rate-row-pointer[b-w0fwurlrh4] {
    position: absolute;
    left: 4px;
    color: #4f46e5;
    font-size: 10px;
}

.rate-table td.col-group-name[b-w0fwurlrh4],
.rate-table td.col-margin-type[b-w0fwurlrh4] {
    color: #64748b;
    font-weight: 500;
}

.rate-table td.col-patient-rate[b-w0fwurlrh4],
.rate-table td.col-special-amount[b-w0fwurlrh4] {
    color: #4f46e5;
    font-weight: 700;
}

.rate-footer-actions[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 8px 0;
}

.rate-btn-footer[b-w0fwurlrh4] {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 16px;
    background: white;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.rate-btn-footer:hover[b-w0fwurlrh4] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.rate-btn-footer.wide[b-w0fwurlrh4] {
    padding-left: 24px;
    padding-right: 24px;
}

.rate-btn-footer.primary[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.rate-btn-footer.primary:hover[b-w0fwurlrh4] {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.4);
    color: white;
}

.rate-btn-footer.danger[b-w0fwurlrh4] {
    background: #ef4444;
    color: white;
    border: none;
}

.rate-btn-footer.danger:hover[b-w0fwurlrh4] {
    background: #dc2626;
    color: white;
}

.cm-container[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    padding: 1rem 0;
}

.cm-col-2[b-w0fwurlrh4] {
    grid-column: span 2;
}

.cm-col-3[b-w0fwurlrh4] {
    grid-column: span 3;
}

.cm-col-4[b-w0fwurlrh4] {
    grid-column: span 4;
}

.cm-col-6[b-w0fwurlrh4] {
    grid-column: span 6;
}

.cm-col-10[b-w0fwurlrh4] {
    grid-column: span 10;
}

.cm-col-12[b-w0fwurlrh4] {
    grid-column: span 12;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.cm-field[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cm-field-inline[b-w0fwurlrh4] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.cm-label-top[b-w0fwurlrh4] {
    font-size: 0.75rem;
    /* 12px for smaller labels like screenshot */
    font-weight: 600;
    color: #7c8fa3;
    /* slate-500 - matches screenshot exactly */
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.cm-input[b-w0fwurlrh4] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: #334155;
    width: 100%;
    outline: none;
    transition: all 0.2s ease;
    height: 2.5rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.cm-input[b-w0fwurlrh4]::placeholder {
    color: #cbd5e1;
}

.cm-input:focus[b-w0fwurlrh4] {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 0 0 2px rgba(200, 213, 225, 0.15);
}

/* Date input styling */
input[type="date"].cm-input[b-w0fwurlrh4] {
    padding: 0.5rem 0.75rem;
}

input[type="date"].cm-input[b-w0fwurlrh4]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    filter: invert(0.2);
}

select.cm-input[b-w0fwurlrh4] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23cbd5e1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

.cm-flex-1[b-w0fwurlrh4] {
    flex: 1;
}

/* Width utilities for different field sizes */
.cm-w-prefix[b-w0fwurlrh4] {
    flex: 0 0 auto;
    width: 5.5rem;
}

.cm-w-initial[b-w0fwurlrh4] {
    flex: 0 0 auto;
    width: 4.5rem;
}

.cm-w-age[b-w0fwurlrh4] {
    flex: 0 0 auto;
    width: 2.75rem;
    /* 44px */
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
    text-align: center;
}

.cm-w-custcode[b-w0fwurlrh4] {
    flex: 0 0 auto;
    width: 100px;
}

.cm-w-cardno[b-w0fwurlrh4] {
    flex: 0 0 auto;
    width: 120px;
}

.cm-w-dob[b-w0fwurlrh4] {
    flex: 0 0 auto;
    width: 100px;
}

.cm-w-gender[b-w0fwurlrh4] {
    flex: 1 1 auto;
    min-width: 120px;
}

.cm-field-small[b-w0fwurlrh4] {
    flex: 0 0 auto;
    width: 110px;
}

.cm-field-medium[b-w0fwurlrh4] {
    flex: 1 1 auto;
    min-width: 150px;
    max-width: 200px;
}

.cm-field-large[b-w0fwurlrh4] {
    flex: 2 1 auto;
    min-width: 250px;
}

.cm-file-upload[b-w0fwurlrh4] {
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    padding: 1.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    background: #fafbfc;
    transition: all 0.2s ease;
}

.cm-file-upload:hover[b-w0fwurlrh4] {
    background: #f3f4f6;
    border-color: #cbd5e1;
    color: #6b7280;
}

.cm-checkbox-label[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.cm-checkbox[b-w0fwurlrh4] {
    width: 1.125rem;
    height: 1.125rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 0.375rem;
    cursor: pointer;
    accent-color: #4f46e5;
}

/* ============================================================
   9. SEARCH & FILTER INPUTS
   ============================================================ */
.search-input[b-w0fwurlrh4] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    color: #1e293b;
    outline: none;
    width: 220px;
    transition: all 0.2s;
}

.search-input:focus[b-w0fwurlrh4] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* ============================================================
   10. ALERT MESSAGES
   ============================================================ */
.alert-message[b-w0fwurlrh4] {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
}

/* ============================================================
   11. CUSTOMER MASTER FORM - WIDTH UTILITIES
   ============================================================ */
.cm-w-custcode[b-w0fwurlrh4] {
    width: 120px !important;
}

.cm-w-cardno[b-w0fwurlrh4] {
    width: 200px !important;
}

.cm-w-dob[b-w0fwurlrh4] {
    width: 100%;
}

.cm-w-gender[b-w0fwurlrh4] {
    width: 100%;
}

/* ============================================================
   12. DIRECTORY SECTION
   ============================================================ */
.directory-section-form[b-w0fwurlrh4] {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: -4px;
}

/* ============================================================
   13. TABLE HEADERS
   ============================================================ */
.th-custcode[b-w0fwurlrh4] {
    width: 64px;
}

.th-actions[b-w0fwurlrh4] {
    width: 128px;
}

/* ============================================================
   14. MODAL FOOTER BUTTON ICONS
   ============================================================ */
.btn-icon-save[b-w0fwurlrh4] {
    margin-right: 8px;
}

/* ============================================================
   15. CHECKBOX ROW SPACING
   ============================================================ */
.cm-checkbox-row[b-w0fwurlrh4] {
    margin-top: 0.5rem;
}

/* ============================================================
   16. UNIT MASTER STYLES
   ============================================================ */
.um-grid-row[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.um-grid-cols-2[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.um-grid-cols-3[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

/* ============================================================
   25. IMAGE UPLOAD STYLES (CONTAINER MASTER)
   ============================================================ */
.image-upload-section[b-w0fwurlrh4] {
    grid-column: 1 / -1;
}

.image-upload-empty[b-w0fwurlrh4] {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 48px 24px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.image-upload-icon[b-w0fwurlrh4] {
    width: 40px;
    height: 40px;
    color: #94a3b8;
    position: relative;
    z-index: 1;
}

.image-upload-text[b-w0fwurlrh4] {
    text-align: center;
    position: relative;
    z-index: 1;
}

.image-upload-title[b-w0fwurlrh4] {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 0;
}

.image-upload-subtitle[b-w0fwurlrh4] {
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 0;
    display: none;
}

.image-upload-hint[b-w0fwurlrh4] {
    font-size: 12px;
    color: #cbd5e1;
    display: none;
}

.image-upload-input[b-w0fwurlrh4] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.image-upload-success[b-w0fwurlrh4] {
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 24px;
    background: #f0fdf4;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}

.image-upload-status[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.image-upload-status-header[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.image-upload-status-icon[b-w0fwurlrh4] {
    width: 18px;
    height: 18px;
    color: #10b981;
}

.image-upload-status-text[b-w0fwurlrh4] {
    font-size: 13px;
    font-weight: 600;
    color: #10b981;
}

.image-upload-status-subtext[b-w0fwurlrh4] {
    font-size: 11px;
    color: #059669;
}

.image-upload-preview[b-w0fwurlrh4] {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #dcfce7;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.image-upload-actions[b-w0fwurlrh4] {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}

.btn-remove-image[b-w0fwurlrh4] {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-remove-image:hover[b-w0fwurlrh4] {
    background-color: #fecaca;
    color: #991b1b;
}

.btn-remove-image-icon[b-w0fwurlrh4] {
    width: 12px;
    height: 12px;
}

.sym-container[b-w0fwurlrh4] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.sym-btn[b-w0fwurlrh4] {
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sym-btn:hover[b-w0fwurlrh4] {
    background-color: #6366f1;
    color: white;
    border-color: #6366f1;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.2);
}

.sym-btn:active[b-w0fwurlrh4] {
    transform: translateY(0);
}

/* Unit Master specific styles extracted from inline css */
.um-label-row[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.um-label[b-w0fwurlrh4] {
    margin-bottom: 0;
}

.um-error-text[b-w0fwurlrh4] {
    font-size: 11px;
    font-weight: 500;
}

.symbol-helper-section[b-w0fwurlrh4] {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.symbol-helper-header[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.symbol-title[b-w0fwurlrh4] {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

.symbol-subtitle[b-w0fwurlrh4] {
    font-size: 12px;
    color: #94a3b8;
    font-style: italic;
    margin-left: 8px;
}

.sym-btn-new[b-w0fwurlrh4] {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.sym-btn-new:hover[b-w0fwurlrh4] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: var(--lc-secondary);
}

/* ============================================================
   26. BILLING SEARCH DROPDOWN
   ============================================================ */
.bl-search-dropdown[b-w0fwurlrh4] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 4px;
    animation: slideDownFade 0.2s ease-out;
}

.bl-search-item[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bl-search-item:hover[b-w0fwurlrh4] {
    background: #f8fafc;
    padding-left: 20px;
}

.bl-search-item:last-child[b-w0fwurlrh4] {
    border-bottom: none;
}

.bl-item-info[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bl-item-name[b-w0fwurlrh4] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bl-item-meta[b-w0fwurlrh4] {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.bl-item-date[b-w0fwurlrh4] {
    font-size: 10px;
    font-weight: 700;
    color: #6366f1;
    background: #eef2ff;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
}

.bl-search-no-results[b-w0fwurlrh4] {
    padding: 24px 16px;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- DUE COLLECTION SCREEN --- */
.dc-top-section[b-w0fwurlrh4] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dc-type-header[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dc-type-radios[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dc-type-radios label[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
}

.dc-type-radios input[type="radio"][b-w0fwurlrh4] {
    width: 18px;
    height: 18px;
    accent-color: #4f46e5;
    cursor: pointer;
}

.dc-filter-btn[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.dc-panels-wrapper[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.dc-panel[b-w0fwurlrh4] {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.dc-panel-row[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.dc-panel-row.cols-2[b-w0fwurlrh4] {
    grid-template-columns: 1fr 1fr;
}

.dc-panel-row.cols-3[b-w0fwurlrh4] {
    grid-template-columns: 1fr 1fr 1fr;
}

.dc-form-group[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
}

.dc-form-group label[b-w0fwurlrh4] {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dc-input[b-w0fwurlrh4] {
    width: 100%;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dc-input:focus[b-w0fwurlrh4] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

select.dc-input[b-w0fwurlrh4] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.dc-search-btn-wrapper[b-w0fwurlrh4] {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.dc-btn-search[b-w0fwurlrh4] {
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    height: 40px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dc-btn-search:hover[b-w0fwurlrh4] {
    background-color: #4338ca;
}

/* Bottom Card */
.dc-bottom-section[b-w0fwurlrh4] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dc-actions-bar[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    width: 100%;
}

.dc-actions-left-group[b-w0fwurlrh4] {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    flex: 1;
    min-width: 280px;
}

.dc-actions-right-group[b-w0fwurlrh4] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.dc-search-input-container[b-w0fwurlrh4] {
    position: relative;
    width: 240px;
}

.dc-search-input-container svg[b-w0fwurlrh4] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.dc-search-input-container input[b-w0fwurlrh4] {
    width: 100%;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px 0 36px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
}

.dc-search-input-container input:focus[b-w0fwurlrh4] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.dc-filter-circle-btn[b-w0fwurlrh4] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dc-filter-circle-btn:hover[b-w0fwurlrh4] {
    background: #f8fafc;
    color: #4f46e5;
    border-color: #cbd5e1;
}

.dc-btn-auto-select[b-w0fwurlrh4] {
    color: #4f46e5;
    font-weight: 700;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 8px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.dc-btn-auto-select:hover:not(:disabled)[b-w0fwurlrh4] {
    color: #312e81;
}

.dc-btn-auto-select:disabled[b-w0fwurlrh4] {
    color: #cbd5e1;
    cursor: not-allowed;
}

.dc-btn-save[b-w0fwurlrh4] {
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.15);
}

.dc-btn-save:hover:not(:disabled)[b-w0fwurlrh4] {
    background-color: #4338ca;
}

.dc-btn-save:disabled[b-w0fwurlrh4] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Table */
.dc-table-wrapper[b-w0fwurlrh4] {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 24px;
}

.dc-table[b-w0fwurlrh4] {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.dc-table th[b-w0fwurlrh4] {
    background: #f8fafc;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.dc-table td[b-w0fwurlrh4] {
    padding: 12px 16px;
    font-size: 13px;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.dc-table tr:last-child td[b-w0fwurlrh4] {
    border-bottom: none;
}

.dc-table input[type="text"][b-w0fwurlrh4],
.dc-table input[type="number"][b-w0fwurlrh4] {
    width: 80px;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 13px;
    text-align: right;
}

.dc-table input[type="checkbox"][b-w0fwurlrh4] {
    width: 16px;
    height: 16px;
    accent-color: #4f46e5;
    cursor: pointer;
}

.text-red[b-w0fwurlrh4] {
    color: #ef4444;
    font-weight: 600;
}

.font-bold[b-w0fwurlrh4] {
    font-weight: 700;
}

.text-slate[b-w0fwurlrh4] {
    color: #64748b;
}

/* Footers */
.dc-footers[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.dc-footer-card[b-w0fwurlrh4] {
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.dc-footer-icon[b-w0fwurlrh4] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dc-footer-icon.red[b-w0fwurlrh4] {
    background: #fee2e2;
    color: #ef4444;
}

.dc-footer-icon.blue[b-w0fwurlrh4] {
    background: #e0e7ff;
    color: #3b82f6;
}

.dc-footer-icon.green[b-w0fwurlrh4] {
    background: #dcfce3;
    color: #22c55e;
}

.dc-footer-icon.gray[b-w0fwurlrh4] {
    background: #f1f5f9;
    color: #64748b;
}

.dc-footer-info label[b-w0fwurlrh4] {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.dc-footer-info .value[b-w0fwurlrh4] {
    font-size: 20px;
    font-weight: 700;
    color: var(--lc-secondary);
}

/* ============================================================
   DUE COLLECTION HISTORY
   ============================================================ */
.filter-body-anim[b-w0fwurlrh4] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.filter-body-anim.open[b-w0fwurlrh4] {
    grid-template-rows: 1fr;
    opacity: 1;
}

.filter-body-anim.closed[b-w0fwurlrh4] {
    grid-template-rows: 0fr;
    opacity: 0;
}

.filter-body-inner[b-w0fwurlrh4] {
    overflow: hidden;
}

.dch-filter-card[b-w0fwurlrh4] {
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dch-row[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    align-items: flex-end;
}

.dch-row-2[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dch-form-group[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dch-label[b-w0fwurlrh4] {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.dch-input[b-w0fwurlrh4] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    background: #f8fafc;
    outline: none;
    color: #334155;
    transition: border-color 0.2s, background-color 0.2s;
}

.dch-input:focus[b-w0fwurlrh4] {
    border-color: #4f46e5;
    background: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.dch-actions[b-w0fwurlrh4] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

/* ── LabCare Design System: Page-level Buttons (dch) ── */
.dch-btn-search[b-w0fwurlrh4] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 20px;
    background: #ffffff;
    color: #334155;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    user-select: none;
}

.dch-btn-search:hover[b-w0fwurlrh4] {
    background: #f8fafc;
    border-color: #94a3b8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.dch-btn-search:active[b-w0fwurlrh4] {
    transform: scale(0.97);
}

.dch-btn-print[b-w0fwurlrh4] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 20px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.30),
                inset 0 1px 0 rgba(255,255,255,0.15);
    cursor: pointer;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    user-select: none;
}

.dch-btn-print:hover[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.40);
    transform: translateY(-1px);
}

.dch-btn-print:active[b-w0fwurlrh4] {
    transform: scale(0.97);
}

.master-search-item-title[b-w0fwurlrh4] {
    font-weight: 600;
    font-size: 13px;
    color: #1e293b;
}

.master-search-item-subtitle[b-w0fwurlrh4] {
    font-size: 11px;
    color: #64748b;
}

/* Extra classes for DueCollectionHistory UI */
.dch-page-container[b-w0fwurlrh4] {
    padding: 32px;
    background-color: #f8fafc;
    min-height: calc(100vh - 64px);
}

.dch-header-margin[b-w0fwurlrh4] {
    margin-bottom: 24px;
}

.dch-filter-toggle-container[b-w0fwurlrh4] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.dch-btn-filter-toggle[b-w0fwurlrh4] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 16px;
    background: #ffffff;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    user-select: none;
}

.dch-btn-filter-toggle:hover[b-w0fwurlrh4] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

.dch-btn-filter-toggle:active[b-w0fwurlrh4] {
    transform: scale(0.97);
}

.dch-grid-2-cols[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dch-table-wrapper[b-w0fwurlrh4] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    padding: 24px;
    margin-bottom: 24px;
}

.dch-table-inner[b-w0fwurlrh4] {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.dch-table[b-w0fwurlrh4] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 11.5px;
}

.dch-table-thead[b-w0fwurlrh4] {
    background: #4169e1;
    border-bottom: 1px solid #2e4cad;
}

.dch-table-th[b-w0fwurlrh4] {
    padding: 8px 10px;
    font-size: 10.5px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.dch-table-th-center[b-w0fwurlrh4] {
    padding: 8px 10px;
    font-size: 10.5px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    text-align: center;
}

.dch-table-tr[b-w0fwurlrh4] {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.dch-table-td[b-w0fwurlrh4] {
    padding: 8px 10px;
    color: #64748b;
}

.dch-table-td-bold[b-w0fwurlrh4] {
    padding: 8px 10px;
    font-weight: 600;
    color: #334155;
}

.dch-table-td-blue[b-w0fwurlrh4] {
    padding: 8px 10px;
    font-weight: 700;
    color: #2563eb;
}

.dch-table-td-dark[b-w0fwurlrh4] {
    padding: 8px 10px;
    font-weight: 700;
    color: #1e293b;
}

.dch-table-td-center[b-w0fwurlrh4] {
    padding: 8px 10px;
    text-align: center;
}

.dch-btn-tr-icon[b-w0fwurlrh4],
.dch-btn-tr-icon-danger[b-w0fwurlrh4] {
    background: none;
    border: none;
    color: #4f46e5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    outline: none;
    transition: all 0.2s;
    padding: 4px;
    border-radius: 4px;
}

.dch-btn-tr-icon:hover[b-w0fwurlrh4] {
    background: #f1f5f9;
    color: #312e81;
}

.dch-btn-tr-icon-danger[b-w0fwurlrh4] {
    color: #ef4444;
}

.dch-btn-tr-icon-danger:hover[b-w0fwurlrh4] {
    background: #fee2e2;
    color: #991b1b;
}

.dch-btn-tr-icon .material-symbols-outlined[b-w0fwurlrh4],
.dch-btn-tr-icon-danger .material-symbols-outlined[b-w0fwurlrh4] {
    font-size: 18px !important;
}

.dch-table-empty[b-w0fwurlrh4] {
    text-align: center;
    padding: 32px;
    color: #64748b;
    font-size: 14px;
}

.dch-footer-summary[b-w0fwurlrh4] {
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.dch-summary-card[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: #f0fdf4;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #dcfce3;
    min-width: 250px;
}

.dch-summary-icon[b-w0fwurlrh4] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: white;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(22, 163, 74, 0.1);
}

.dch-summary-content[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dch-summary-label[b-w0fwurlrh4] {
    font-size: 11px;
    font-weight: 800;
    color: #14532d;
    text-transform: uppercase;
}

.dch-summary-value[b-w0fwurlrh4] {
    font-size: 24px;
    font-weight: 800;
    color: #052e16;
}

/* ============================================================
   DUE COLLECTION
   ============================================================ */
.filter-types-anim[b-w0fwurlrh4] {
    transition: max-width 0.4s ease-in-out, opacity 0.3s ease-in-out, margin 0.4s ease-in-out;
    overflow: hidden;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.filter-types-anim.open[b-w0fwurlrh4] {
    max-width: 600px;
    opacity: 1;
}

.filter-types-anim.closed[b-w0fwurlrh4] {
    max-width: 0;
    opacity: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
}

.dc-pagination-footer[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    padding-top: 16px;
    margin-bottom: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   27. NAVIGATION MENU (SUBMENUS)
   ============================================================ */
.nav-submenu-btn[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    color: #475569;
    background: transparent;
    border: none;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    justify-content: space-between;
}

.nav-submenu-btn:hover[b-w0fwurlrh4] {
    background-color: rgba(99, 102, 241, 0.08);
    color: #1e293b;
}

.nav-submenu-icon[b-w0fwurlrh4] {
    font-size: 16px !important;
    transition: transform 0.3s ease;
}

.nav-submenu-icon.is-expanded[b-w0fwurlrh4] {
    transform: rotate(90deg);
}

.nav-submenu-items[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
    padding-left: 28px;
    border-left: 1px solid #e2e8f0;
    margin-left: 20px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-submenu-items.is-expanded[b-w0fwurlrh4] {
    max-height: 800px;
}

.v-nav-link.submenu-item[b-w0fwurlrh4] {
    font-size: 11.5px;
    padding: 7px 12px;
}

.nav-collapsed .nav-submenu-btn[b-w0fwurlrh4] {
    justify-content: center;
    padding: 12px;
}

.nav-collapsed .nav-submenu-icon[b-w0fwurlrh4] {
    display: none;
}

.nav-collapsed .nav-submenu-items[b-w0fwurlrh4] {
    display: none;
}

/* ============================================================
   28. BILLING PAGE
   ============================================================ */
.billing-page-wrapper[b-w0fwurlrh4] {
    padding: 24px;
    background-color: #f8fafc;
    min-height: 100vh;
}

.bl-header-bar[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    background: white;
    padding: 12px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    max-width: 100%;
}

.bl-header-item[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.bl-label[b-w0fwurlrh4] {
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.bl-select[b-w0fwurlrh4] {
    border: none;
    font-weight: 700;
    color: #1e293b;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    outline: none;
}

.bl-card[b-w0fwurlrh4] {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.bl-card:hover[b-w0fwurlrh4] {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.bl-card-title[b-w0fwurlrh4] {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.bl-input[b-w0fwurlrh4] {
    width: 100%;
    height: 42px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 16px;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.2s;
}

.bl-input:focus[b-w0fwurlrh4] {
    background: white;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* bl-btn-save override for finance section — inherits from .bl-btn above */
.bl-btn-save[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 0 28px;
    height: 38px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35),
                inset 0 1px 0 rgba(255,255,255,0.15);
}

.bl-btn-save:hover[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.45);
    transform: translateY(-1px);
}

.finance-card[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.pay-val[b-w0fwurlrh4] {
    font-size: 24px;
    font-weight: 900;
    color: #1e293b;
}

.payment-card[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #1e293b 0%, var(--lc-secondary) 100%);
    color: white;
}

/* ============================================================
   29. MODIFY TEST MASTER
   ============================================================ */
.tm-page-container[b-w0fwurlrh4] {
    padding: 32px;
    background: #f1f5f9;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.tm-main-card[b-w0fwurlrh4] {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.tm-header-grid[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 0.5fr 2fr 1.2fr 1fr 1fr 0.8fr 0.5fr 0.8fr;
    gap: 16px;
    margin-bottom: 24px;
}

.tm-flags-container[b-w0fwurlrh4] {
    background: #f8fafc;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.tm-flags-grid[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tm-split-panel[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 32px;
}

.tm-param-card[b-w0fwurlrh4] {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tm-param-header[b-w0fwurlrh4] {
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-param-item[b-w0fwurlrh4] {
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.active-param[b-w0fwurlrh4] {
    background: #eff6ff !important;
    border-left: 4px solid #2563eb;
}

.tm-red-header[b-w0fwurlrh4] {
    background: #ef4444;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.tm-tab-btn[b-w0fwurlrh4] {
    background: none;
    border: none;
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.1em;
    padding-bottom: 12px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    margin-right: 32px;
}

.active-tab[b-w0fwurlrh4] {
    color: #6366f1;
    border-bottom-color: #6366f1;
}

.tm-footer-bar[b-w0fwurlrh4] {
    padding: 20px 32px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-form-label-tiny[b-w0fwurlrh4] {
    font-size: 9px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
    display: block;
}

.tm-subtab-bar[b-w0fwurlrh4] {
    padding: 0 32px;
    border-top: 1px solid #e2e8f0;
}

/* ============================================================
   30. CUSTOMER MASTER
   ============================================================ */
.cm-input option[b-w0fwurlrh4] {
    color: #1e293b !important;
    background: #ffffff !important;
}

/* ============================================================
   31. RECONNECT MODAL
   ============================================================ */
#components-reconnect-modal[b-w0fwurlrh4] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-w0fwurlrh4 0.5s both;
}

#components-reconnect-modal[open][b-w0fwurlrh4] {
    animation: components-reconnect-modal-slideUp-b-w0fwurlrh4 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-w0fwurlrh4 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-w0fwurlrh4]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-w0fwurlrh4 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-w0fwurlrh4 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-w0fwurlrh4 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-w0fwurlrh4 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-w0fwurlrh4] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-w0fwurlrh4] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

#components-reconnect-modal button:hover[b-w0fwurlrh4] {
    background-color: #3b6ea2;
}

.components-rejoining-animation[b-w0fwurlrh4] {
    position: relative;
    width: 80px;
    height: 80px;
}

.components-rejoining-animation div[b-w0fwurlrh4] {
    position: absolute;
    border: 3px solid #0087ff;
    opacity: 1;
    border-radius: 50%;
    animation: components-rejoining-animation-b-w0fwurlrh4 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-w0fwurlrh4] {
    animation-delay: -0.5s;
}

@keyframes components-rejoining-animation-b-w0fwurlrh4 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}


.dc-type-label[b-w0fwurlrh4] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.dc-type-radio-label[b-w0fwurlrh4] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
}

.dc-type-radio-input[b-w0fwurlrh4] {
    width: 16px;
    height: 16px;
    accent-color: #4f46e5;
    margin: 0;
    cursor: pointer;
}

.dc-panel-inner[b-w0fwurlrh4] {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    margin-bottom: 20px;
}

.dc-panel-type-container[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 20px;
}

.dc-actions-group[b-w0fwurlrh4] {
    display: flex;
    gap: 16px;
    min-width: 300px;
}

.dc-actions-select[b-w0fwurlrh4] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    background: white;
    outline: none;
}

.dc-actions-input[b-w0fwurlrh4] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    background: white;
    outline: none;
}

.dc-table-thead[b-w0fwurlrh4] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.dc-table-tr[b-w0fwurlrh4] {
    border-bottom: 1px solid #f1f5f9;
}

.dc-table-th-checkbox[b-w0fwurlrh4] {
    width: 48px;
    padding: 12px 16px;
}

.dc-table-checkbox[b-w0fwurlrh4] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
}

.dc-table-td[b-w0fwurlrh4] {
    padding: 12px 16px;
}

.dc-table-td-bold[b-w0fwurlrh4] {
    padding: 12px 16px;
    font-weight: 700;
}

.dc-table-td-number[b-w0fwurlrh4] {
    width: 80px;
    text-align: right;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 4px 8px;
}

.dc-search-input[b-w0fwurlrh4] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 36px 8px 12px;
    font-size: 14px;
    background: white;
    outline: none;
}



.dc-footers-container[b-w0fwurlrh4] {
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.dc-footer-card-inner[b-w0fwurlrh4] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.dc-empty-row[b-w0fwurlrh4] {
    text-align: center;
    padding: 20px;
    color: #64748b;
}

/* ============================================================
   32. GLOBAL UTILITY CLASSES (LC-*)
   ============================================================ */
.lc-flex-between-center[b-w0fwurlrh4] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.lc-mb-0[b-w0fwurlrh4] {
    margin-bottom: 0 !important;
}

.lc-mb-4[b-w0fwurlrh4] {
    margin-bottom: 4px !important;
}

.lc-font-11[b-w0fwurlrh4] {
    font-size: 11px !important;
}

.lc-font-14[b-w0fwurlrh4] {
    font-size: 14px !important;
}

.lc-font-16[b-w0fwurlrh4] {
    font-size: 16px !important;
}

.lc-font-500[b-w0fwurlrh4] {
    font-weight: 500 !important;
}

.lc-font-700[b-w0fwurlrh4] {
    font-weight: 700 !important;
}

.lc-cursor-pointer[b-w0fwurlrh4] {
    cursor: pointer !important;
}

.lc-grid-span-2[b-w0fwurlrh4] {
    grid-column: span 2 !important;
}

.lc-overflow-auto-max-480[b-w0fwurlrh4] {
    max-height: 480px !important;
    overflow-y: auto !important;
}

.lc-text-uppercase[b-w0fwurlrh4] {
    text-transform: uppercase !important;
}

.lc-letter-spacing-05[b-w0fwurlrh4] {
    letter-spacing: 0.5px !important;
}

.lc-bg-none[b-w0fwurlrh4] {
    background: none !important;
}

.lc-border-slate[b-w0fwurlrh4] {
    border: 1px solid #e2e8f0 !important;
}

.lc-width-100[b-w0fwurlrh4] {
    width: 100px !important;
}

.lc-position-relative[b-w0fwurlrh4] {
    position: relative !important;
}

.lc-top-100[b-w0fwurlrh4] {
    top: 100% !important;
}

.lc-left-0[b-w0fwurlrh4] {
    left: 0 !important;
}

.lc-right-0[b-w0fwurlrh4] {
    right: 0 !important;
}

.lc-bg-success-light[b-w0fwurlrh4] {
    background: rgba(34, 197, 94, 0.1) !important;
}

.lc-bg-danger-light[b-w0fwurlrh4] {
    background: rgba(239, 68, 68, 0.1) !important;
}

.lc-status-pill[b-w0fwurlrh4] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 10px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
}

.lc-status-pill-success[b-w0fwurlrh4] {
    background: #ecfdf5 !important;
    color: #059669 !important;
}

.lc-status-pill-danger[b-w0fwurlrh4] {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

.lc-dot[b-w0fwurlrh4] {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

.lc-dot-success[b-w0fwurlrh4] {
    background: #059669 !important;
}

.lc-dot-danger[b-w0fwurlrh4] {
    background: #dc2626 !important;
}

.lc-font-13[b-w0fwurlrh4] {
    font-size: 13px !important;
}

.lc-color-slate-500[b-w0fwurlrh4] {
    color: #64748b !important;
}

.lc-text-blue[b-w0fwurlrh4] {
    color: #2563eb !important;
}

.lc-text-white[b-w0fwurlrh4] {
    color: white !important;
}

.lc-text-red[b-w0fwurlrh4] {
    color: #ef4444 !important;
}

.lc-search-input[b-w0fwurlrh4] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 8px 16px 8px 36px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    outline: none !important;
    width: 220px !important;
}

.lc-alert[b-w0fwurlrh4] {
    margin: 20px 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-textarea[b-w0fwurlrh4] {
    height: auto !important;
    min-height: 80px !important;
}

.lc-mr-8[b-w0fwurlrh4] {
    margin-right: 8px !important;
}

.lc-mr-4[b-w0fwurlrh4] {
    margin-right: 4px !important;
}

.lc-font-10[b-w0fwurlrh4] {
    font-size: 10px !important;
}

.lc-font-12[b-w0fwurlrh4] {
    font-size: 12px !important;
}

.lc-mt-neg-4[b-w0fwurlrh4] {
    margin-top: -4px !important;
}

.lc-initials-avatar[b-w0fwurlrh4] {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #eef2ff !important;
    color: #4f46e5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 11px !important;
}

.lc-m-0[b-w0fwurlrh4] {
    margin: 0 !important;
}

.lc-mt-3[b-w0fwurlrh4] {
    margin-top: 3px !important;
}

.lc-mt-2[b-w0fwurlrh4] {
    margin-top: 2px !important;
}

.lc-max-width-150-ellipsis[b-w0fwurlrh4] {
    max-width: 150px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.lc-pt-0[b-w0fwurlrh4] {
    padding-top: 0 !important;
}

.lc-shadow-none[b-w0fwurlrh4] {
    box-shadow: none !important;
}

.lc-border-none[b-w0fwurlrh4] {
    border: none !important;
}

.lc-flex-start[b-w0fwurlrh4] {
    display: flex !important;
    justify-content: flex-start !important;
}

.lc-gap-16[b-w0fwurlrh4] {
    gap: 16px !important;
}

.lc-flex-center-inline[b-w0fwurlrh4] {
    display: inline-flex !important;
    align-items: center !important;
}

.lc-gap-6[b-w0fwurlrh4] {
    gap: 6px !important;
}

.lc-bg-slate-50[b-w0fwurlrh4] {
    background: #f8fafc !important;
}

.lc-rounded-8[b-w0fwurlrh4] {
    border-radius: 8px !important;
}

.lc-color-slate-800[b-w0fwurlrh4] {
    color: #1e293b !important;
}

.lc-mb-12[b-w0fwurlrh4] {
    margin-bottom: 12px !important;
}

.lc-gap-8[b-w0fwurlrh4] {
    gap: 8px !important;
}

.lc-marker-icon-purple[b-w0fwurlrh4] {
    font-size: 18px !important;
    color: #4f46e5 !important;
}

.lc-alert-info[b-w0fwurlrh4] {
    background: #eff6ff !important;
    border: 1px solid #3b82f6 !important;
    color: #1e40af !important;
    border-left-width: 4px !important;
    border-radius: 8px !important;
}

.lc-text-blue-500[b-w0fwurlrh4] {
    color: #3b82f6 !important;
}

.lc-color-indigo-900[b-w0fwurlrh4] {
    color: #1e3a8a !important;
}

.lc-alert-warning[b-w0fwurlrh4] {
    background: #fffbeb !important;
    border: 1px solid #f59e0b !important;
    color: #92400e !important;
    border-left-width: 4px !important;
    border-radius: 8px !important;
}

.lc-text-orange-500[b-w0fwurlrh4] {
    color: #f59e0b !important;
}

.lc-color-orange-900[b-w0fwurlrh4] {
    color: #78350f !important;
}

.lc-color-slate-400[b-w0fwurlrh4] {
    color: #94a3b8 !important;
}

.lc-p-10[b-w0fwurlrh4] {
    padding: 10px !important;
}

.lc-checkbox-scroll-container[b-w0fwurlrh4] {
    max-height: 100px !important;
    overflow-y: auto !important;
    border: 1px solid #e2e8f0 !important;
    padding: 6px !important;
    border-radius: 4px !important;
    background: white !important;
}

.lc-btn-indigo-sm[b-w0fwurlrh4] {
    padding: 4px 12px !important;
    height: auto !important;
    font-size: 12px !important;
    background: #4f46e5 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}

.lc-bg-indigo-50[b-w0fwurlrh4] {
    background: #eef2ff !important;
}

.lc-border-indigo-200[b-w0fwurlrh4] {
    border: 1px solid #c7d2fe !important;
}

.lc-mx-neg-5[b-w0fwurlrh4] {
    margin-left: -5px !important;
    margin-right: -5px !important;
}

.lc-color-indigo-700[b-w0fwurlrh4] {
    color: #4338ca !important;
}

.lc-font-800[b-w0fwurlrh4] {
    font-weight: 800 !important;
}

.lc-color-indigo-800[b-w0fwurlrh4] {
    color: #1e40af !important;
}

.lc-block[b-w0fwurlrh4] {
    display: block !important;
}

.lc-grid-auto-fill-180[b-w0fwurlrh4] {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
}

.lc-overflow-auto-max-150[b-w0fwurlrh4] {
    max-height: 150px !important;
    overflow-y: auto !important;
}

.lc-mapping-tag[b-w0fwurlrh4] {
    background: #eef2ff !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.lc-gap-2[b-w0fwurlrh4] {
    gap: 2px !important;
}

.lc-color-blue-400[b-w0fwurlrh4] {
    color: #60a5fa !important;
}

.lc-btn-cancel-icon[b-w0fwurlrh4] {
    color: #f87171 !important;
    border: none !important;
    background: transparent !important;
    padding: 0 4px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
}

.lc-pt-16[b-w0fwurlrh4] {
    padding-top: 16px !important;
}

.lc-rounded-t-0[b-w0fwurlrh4] {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.lc-width-80[b-w0fwurlrh4] {
    width: 80px !important;
}

.lc-color-slate-600[b-w0fwurlrh4] {
    color: #475569 !important;
}

.lc-search-input-field-custom[b-w0fwurlrh4] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 8px 16px 8px 36px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    outline: none !important;
    width: 220px !important;
}

.lc-role-filter-select[b-w0fwurlrh4] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    outline: none !important;
}

.lc-alert-danger-custom[b-w0fwurlrh4] {
    margin: 20px 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-modal-max-700[b-w0fwurlrh4] {
    max-width: 700px !important;
}

.lc-alert-danger-sm[b-w0fwurlrh4] {
    padding: 10px 15px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
}

.lc-text-danger[b-w0fwurlrh4] {
    color: #ef4444 !important;
}

.lc-relative[b-w0fwurlrh4] {
    position: relative !important;
}

.lc-pr-40[b-w0fwurlrh4] {
    padding-right: 40px !important;
}

.lc-pwd-toggle-btn[b-w0fwurlrh4] {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
}

.lc-width-fit[b-w0fwurlrh4] {
    width: fit-content !important;
}

.lc-mt-0[b-w0fwurlrh4] {
    margin-top: 0 !important;
}

.lc-mt-16[b-w0fwurlrh4] {
    margin-top: 16px !important;
}

.lc-mt-8[b-w0fwurlrh4] {
    margin-top: 8px !important;
}

.lc-p-8-18[b-w0fwurlrh4] {
    padding: 8px 18px !important;
}

.lc-vertical-middle[b-w0fwurlrh4] {
    vertical-align: middle !important;
}

.lc-mr-4[b-w0fwurlrh4] {
    margin-right: 4px !important;
}

.lc-color-green-500[b-w0fwurlrh4] {
    color: #22c55e !important;
}

.lc-mr-6[b-w0fwurlrh4] {
    margin-right: 6px !important;
}

.lc-animate-spin[b-w0fwurlrh4] {
    animation: spin 1s linear infinite !important;
}

.lc-avatar-initials-mini[b-w0fwurlrh4] {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #e0e7ff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #4f46e5 !important;
    flex-shrink: 0 !important;
}

.lc-color-orange-500[b-w0fwurlrh4] {
    color: #f59e0b !important;
}

.lc-width-120[b-w0fwurlrh4] {
    width: 120px !important;
}

.lc-role-badge[b-w0fwurlrh4] {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    display: inline-block !important;
}

.lc-role-badge-admin[b-w0fwurlrh4] {
    background: #ede9fe !important;
    color: #7c3aed !important;
}

.lc-role-badge-staff[b-w0fwurlrh4] {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
}

.lc-role-badge-labtech[b-w0fwurlrh4] {
    background: #dcfce7 !important;
    color: #15803d !important;
}

.lc-role-badge-receptionist[b-w0fwurlrh4] {
    background: #fef9c3 !important;
    color: #b45309 !important;
}

.lc-role-badge-unknown[b-w0fwurlrh4] {
    background: #f1f5f9 !important;
    color: #64748b !important;
}

.lc-status-pill-gray[b-w0fwurlrh4] {
    background: rgba(15, 23, 42, 0.05) !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    cursor: pointer !important;
    gap: 10px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
}

.lc-status-dot-green[b-w0fwurlrh4] {
    background: #10b981 !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
}

.lc-dropdown-pos-top-100[b-w0fwurlrh4] {
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
}

.lc-toast-success[b-w0fwurlrh4] {
    border: 1px solid #16a34a !important;
    padding: 6px 8px !important;
    display: block !important;
    border-radius: 6px !important;
    background: #f0fdf4 !important;
}

.lc-gap-10[b-w0fwurlrh4] {
    gap: 10px !important;
}

.lc-height-40[b-w0fwurlrh4] {
    height: 40px !important;
}

.lc-width-64[b-w0fwurlrh4] {
    width: 64px !important;
}

.lc-width-128[b-w0fwurlrh4] {
    width: 128px !important;
}

.lc-p-48[b-w0fwurlrh4] {
    padding: 48px !important;
}

.lc-italic[b-w0fwurlrh4] {
    font-style: italic !important;
}

.lc-font-mono[b-w0fwurlrh4] {
    font-family: monospace !important;
}

.lc-color-slate-900[b-w0fwurlrh4] {
    color: #1e293b !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   VIEW BILLS PAGE STYLES
   ───────────────────────────────────────────────────────────────────────── */
.view-bills-page[b-w0fwurlrh4] {
    padding: 24px;
    background: #f8fafc;
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.view-bills-page .header-section[b-w0fwurlrh4] {
    margin-bottom: 24px;
}

.view-bills-page .page-title[b-w0fwurlrh4] {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.view-bills-page .page-subtitle[b-w0fwurlrh4] {
    font-size: 14px;
    color: #64748b;
    margin-top: 4px;
}

.view-bills-page .filter-card[b-w0fwurlrh4] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin-bottom: 24px;
}

.view-bills-page .filter-grid[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 20px;
}

.view-bills-page .filter-item label[b-w0fwurlrh4] {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.view-bills-page .form-control[b-w0fwurlrh4],
.view-bills-page .form-select[b-w0fwurlrh4] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 13px;
    color: #1e293b;
}

.view-bills-page .btn-refresh[b-w0fwurlrh4],
.view-bills-page .btn-close-counter[b-w0fwurlrh4] {
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 12px;
    text-transform: uppercase;
}

.view-bills-page .btn-refresh[b-w0fwurlrh4] {
    background: #2563eb;
}

.view-bills-page .btn-refresh:hover[b-w0fwurlrh4] {
    background: #1d4ed8;
}

.view-bills-page .btn-close-counter[b-w0fwurlrh4] {
    background: #475569;
}

.view-bills-page .btn-close-counter:hover[b-w0fwurlrh4] {
    background: #334155;
}

.view-bills-page .filter-action[b-w0fwurlrh4] {
    display: flex;
    gap: 12px;
}

.view-bills-page .search-grid[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.view-bills-page .search-item[b-w0fwurlrh4] {
    position: relative;
}

.view-bills-page .search-icon[b-w0fwurlrh4] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 20px;
}

.view-bills-page .search-input[b-w0fwurlrh4] {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    font-size: 13px;
    transition: 0.2s;
}

.view-bills-page .table-container[b-w0fwurlrh4] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    max-width: 100%;
}

.view-bills-page .premium-table[b-w0fwurlrh4] {
    width: 100%;
    min-width: 1200px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.view-bills-page .premium-table th[b-w0fwurlrh4] {
    background: #ffffff;
    border-bottom: 2px solid #f1f5f9;
    padding: 16px;
    text-align: left;
    font-weight: 700;
    color: #475569;
    font-size: 11px;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    z-index: 5;
}

.view-bills-page .premium-table td[b-w0fwurlrh4] {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.view-bills-page .sid-text[b-w0fwurlrh4] {
    font-weight: 700;
    color: #2563eb;
}

.view-bills-page .pat-id[b-w0fwurlrh4] {
    font-weight: 600;
    color: #1e293b;
}

.view-bills-page .pat-name[b-w0fwurlrh4] {
    font-weight: 700;
    color: var(--lc-secondary);
}

.view-bills-page .mobile-text[b-w0fwurlrh4] {
    color: #64748b;
    font-size: 12px;
}

.view-bills-page .action-icons[b-w0fwurlrh4] {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.view-bills-page .icon-btn[b-w0fwurlrh4] {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    transition: 0.2s;
    padding: 4px;
    border-radius: 4px;
}

.view-bills-page .icon-btn:hover[b-w0fwurlrh4] {
    background: #f1f5f9;
    color: #1e293b;
}

.view-bills-page .icon-btn.text-danger:hover[b-w0fwurlrh4] {
    background: #fee2e2;
    color: #ef4444;
}

.view-bills-page .footer-section[b-w0fwurlrh4] {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-bills-page .results-info[b-w0fwurlrh4] {
    font-size: 13px;
    color: #64748b;
}

.view-bills-page .pagination[b-w0fwurlrh4] {
    display: flex;
    gap: 4px;
}

.view-bills-page .pg-btn[b-w0fwurlrh4] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: 0.2s;
}

.view-bills-page .pg-btn:hover[b-w0fwurlrh4] {
    border-color: #2563eb;
    color: #2563eb;
}

.view-bills-page .pg-btn.active[b-w0fwurlrh4] {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.view-bills-page .loader-overlay[b-w0fwurlrh4] {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.view-bills-page .loader[b-w0fwurlrh4] {
    width: 32px;
    height: 32px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.view-bills-page .settled-row[b-w0fwurlrh4] {
    border-left: 4px solid #10b981;
}

.view-bills-page .pending-row[b-w0fwurlrh4] {
    border-left: 4px solid #f59e0b;
}

.lc-text-center[b-w0fwurlrh4] {
    text-align: center !important;
}

.lc-text-right[b-w0fwurlrh4] {
    text-align: right !important;
}

.lc-text-left[b-w0fwurlrh4] {
    text-align: left !important;
}

.lc-font-700[b-w0fwurlrh4] {
    font-weight: 700 !important;
}

.lc-font-600[b-w0fwurlrh4] {
    font-weight: 600 !important;
}

.lc-font-800[b-w0fwurlrh4] {
    font-weight: 800 !important;
}

.lc-color-green-500[b-w0fwurlrh4] {
    color: #10b981 !important;
}

.lc-color-red-500[b-w0fwurlrh4] {
    color: #ef4444 !important;
}

.lc-color-orange-500[b-w0fwurlrh4] {
    color: #f97316 !important;
}

.lc-cursor-pointer[b-w0fwurlrh4] {
    cursor: pointer !important;
}

.lc-rounded-pill-input[b-w0fwurlrh4] {
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    padding: 10px 18px !important;
    transition: all 0.2s ease !important;
}

.lc-rounded-pill-input:focus[b-w0fwurlrh4] {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    background: white !important;
    outline: none !important;
}

.lc-modal-close-btn-effect[b-w0fwurlrh4] {
    transition: transform 0.2s !important;
}

.lc-modal-close-btn-effect:hover[b-w0fwurlrh4] {
    transform: scale(1.1) !important;
    color: #ef4444 !important;
}

.lc-fadeInUp[b-w0fwurlrh4] {
    animation: fadeInUp 0.4s ease-out !important;
}

.lc-width-100[b-w0fwurlrh4] {
    width: 100px !important;
}

.lc-width-150[b-w0fwurlrh4] {
    width: 150px !important;
}

.lc-width-180[b-w0fwurlrh4] {
    width: 180px !important;
}

.lc-w-220[b-w0fwurlrh4] {
    width: 220px !important;
}

.lc-circle-btn-32[b-w0fwurlrh4] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    background: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   RATE MASTER PAGE STYLES
   ───────────────────────────────────────────────────────────────────────── */
.rate-container[b-w0fwurlrh4] {
    background: #f8fafc;
    padding: 24px;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.rate-header[b-w0fwurlrh4] {
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: white;
    background: white;
}

.rate-header-radios[b-w0fwurlrh4] {
    display: flex;
    gap: 24px;
}

.rate-radio-label[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
}

.rate-radio-input[b-w0fwurlrh4] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    outline: none;
    transition: 0.2s;
}

.rate-radio-input:checked[b-w0fwurlrh4] {
    background: #4f46e5;
    border-color: #4f46e5;
    box-shadow: inset 0 0 0 3px white;
}

.rate-main-card[b-w0fwurlrh4] {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px #00000010;
    border: 1px solid #e2e8f0;
}

.rate-form-grid[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 48px;
}

.rate-form-col[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rate-form-group[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.rate-label[b-w0fwurlrh4] {
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    color: #475569;
    width: 100px;
}

.rate-input[b-w0fwurlrh4] {
    flex: 1;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 12px;
    outline: none;
}

.rate-input:focus[b-w0fwurlrh4] {
    border-color: #4f46e5;
}

.rate-radio-group[b-w0fwurlrh4] {
    display: flex;
    gap: 16px;
    flex: 1;
}

.rate-radio-item[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 11px;
}

.rate-radio-item-input[b-w0fwurlrh4] {
    cursor: pointer;
    width: 14px;
    height: 14px;
}

.rate-form-group-gap[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
}

.rate-label-small[b-w0fwurlrh4] {
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    color: #475569;
    width: 100px;
}

.rate-btn-default[b-w0fwurlrh4] {
    height: 36px;
    padding: 0 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.rate-right-action-group[b-w0fwurlrh4] {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.rate-nested-group[b-w0fwurlrh4] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rate-input-small[b-w0fwurlrh4] {
    width: 60px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    text-align: center;
}

.rate-btn-set[b-w0fwurlrh4] {
    height: 36px;
    padding: 0 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
}

.rate-btn-set-blue[b-w0fwurlrh4] {
    height: 36px;
    padding: 0 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
}

.rate-btn-big[b-w0fwurlrh4] {
    width: 140px;
    height: 84px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rate-grid-container[b-w0fwurlrh4] {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px #00000010;
}

.rate-grid-scroll[b-w0fwurlrh4] {
    max-height: 500px;
    overflow-y: auto;
}

.rate-table[b-w0fwurlrh4] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.rate-table th[b-w0fwurlrh4] {
    padding: 12px 16px;
    text-align: left;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 800;
    white-space: nowrap;
}

.rate-table td[b-w0fwurlrh4] {
    padding: 8px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
    white-space: nowrap;
}

.rate-row-active[b-w0fwurlrh4] {
    background: #f1f5f9;
}

.rate-row-pointer[b-w0fwurlrh4] {
    color: #555;
    margin-right: 4px;
}

.rate-footer-actions[b-w0fwurlrh4] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.rate-btn-footer[b-w0fwurlrh4] {
    height: 40px;
    padding: 0 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    cursor: pointer;
}

.rate-btn-footer.wide[b-w0fwurlrh4] {
    min-width: 100px;
}

.rate-btn-footer.primary[b-w0fwurlrh4] {
    background: #4f46e5;
    color: white;
    border: none;
}

.cm-input option[b-w0fwurlrh4],
.form-control option[b-w0fwurlrh4] {
    color: #1e293b !important;
    background: #ffffff !important;
}

.lc-width-25p[b-w0fwurlrh4] {
    width: 25% !important;
}

.lc-width-15p[b-w0fwurlrh4] {
    width: 15% !important;
}

.lc-width-20p[b-w0fwurlrh4] {
    width: 20% !important;
}

.lc-width-140[b-w0fwurlrh4] {
    width: 140px !important;
}

.lc-p-40[b-w0fwurlrh4] {
    padding: 40px !important;
}

.lc-mb-0[b-w0fwurlrh4] {
    margin-bottom: 0px !important;
}

.lc-mb-20[b-w0fwurlrh4] {
    margin-bottom: 20px !important;
}

.lc-mt-2px[b-w0fwurlrh4] {
    margin-top: 2px !important;
}

.lc-mt-neg-4[b-w0fwurlrh4] {
    margin-top: -4px !important;
}

.lc-mr-8[b-w0fwurlrh4] {
    margin-right: 8px !important;
}

.lc-gap-16[b-w0fwurlrh4] {
    gap: 16px !important;
}

.lc-gap-12[b-w0fwurlrh4] {
    gap: 12px !important;
}

.lc-gap-8[b-w0fwurlrh4] {
    gap: 8px !important;
}

.lc-rounded-lg[b-w0fwurlrh4] {
    border-radius: 8px !important;
}

.lc-rounded-12[b-w0fwurlrh4] {
    border-radius: 12px !important;
}

.lc-rounded-20[b-w0fwurlrh4] {
    border-radius: 20px !important;
}

.lc-rounded-full[b-w0fwurlrh4] {
    border-radius: 50% !important;
}

.lc-rounded-t-0[b-w0fwurlrh4] {
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
}

.lc-shadow-sm[b-w0fwurlrh4] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.lc-icon-24[b-w0fwurlrh4] {
    font-size: 24px !important;
}

.lc-icon-18[b-w0fwurlrh4] {
    font-size: 18px !important;
}

.lc-text-10[b-w0fwurlrh4] {
    font-size: 10px !important;
}

.lc-text-11[b-w0fwurlrh4] {
    font-size: 11px !important;
}

.lc-text-12[b-w0fwurlrh4] {
    font-size: 12px !important;
}

.lc-text-13[b-w0fwurlrh4] {
    font-size: 13px !important;
}

.lc-text-18[b-w0fwurlrh4] {
    font-size: 18px !important;
}

.lc-uppercase[b-w0fwurlrh4] {
    text-transform: uppercase !important;
}

.lc-ls-05[b-w0fwurlrh4] {
    letter-spacing: 0.5px !important;
}

.lc-w-40[b-w0fwurlrh4] {
    width: 40px !important;
}

.lc-h-40[b-w0fwurlrh4] {
    height: 40px !important;
}

.lc-w-6[b-w0fwurlrh4] {
    width: 6px !important;
}

.lc-h-6[b-w0fwurlrh4] {
    height: 6px !important;
}

.lc-w-200[b-w0fwurlrh4] {
    width: 200px !important;
}

.lc-w-220[b-w0fwurlrh4] {
    width: 220px !important;
}

.lc-text-white[b-w0fwurlrh4] {
    color: #ffffff !important;
}

.lc-animate-pulse[b-w0fwurlrh4] {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

.lc-alert-danger-custom[b-w0fwurlrh4] {
    margin: 20px 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-alert-danger-sm[b-w0fwurlrh4] {
    padding: 10px 15px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
}

.lc-alert-success-custom[b-w0fwurlrh4] {
    margin-bottom: 20px !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-bg-danger-light[b-w0fwurlrh4] {
    background-color: #fef2f2 !important;
}

.lc-bg-success-light[b-w0fwurlrh4] {
    background-color: #f0fdf4 !important;
}

.lc-abs-center-y[b-w0fwurlrh4] {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.lc-left-12[b-w0fwurlrh4] {
    left: 12px !important;
}

.lc-right-12[b-w0fwurlrh4] {
    right: 12px !important;
}

.lc-p-8-16-8-36[b-w0fwurlrh4] {
    padding: 8px 16px 8px 36px !important;
}

.lc-grid[b-w0fwurlrh4] {
    display: grid !important;
}

.lc-grid-cols-80-1fr[b-w0fwurlrh4] {
    grid-template-columns: 80px 1fr !important;
}

.lc-grid-cols-3[b-w0fwurlrh4] {
    grid-template-columns: repeat(3, 1fr) !important;
}

.lc-grid-cols-4[b-w0fwurlrh4] {
    grid-template-columns: repeat(4, 1fr) !important;
}

.lc-grid-cols-5[b-w0fwurlrh4] {
    grid-template-columns: repeat(5, 1fr) !important;
}

.lc-flex-between[b-w0fwurlrh4] {
    justify-content: space-between !important;
}

.lc-mb-4px[b-w0fwurlrh4] {
    margin-bottom: 4px !important;
}

.lc-font-500[b-w0fwurlrh4] {
    font-weight: 500 !important;
}





/* Styles from Billing.razor */
.no-spin[b-w0fwurlrh4]::-webkit-inner-spin-button,
.no-spin[b-w0fwurlrh4]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spin[b-w0fwurlrh4] {
    -moz-appearance: textfield;
}

.pay-input.no-spin[b-w0fwurlrh4] {
    appearance: textfield;
}

.bl-id-type-select[b-w0fwurlrh4] {
    background: transparent;
    color: white;
    border: none;
    width: 100%;
    height: 100%;
    padding: 0 8px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    outline: none;
}

.bl-id-type-select option[b-w0fwurlrh4] {
    color: #1e293b !important;
    background: #ffffff !important;
    text-transform: none;
}



.bl-id-input[b-w0fwurlrh4] {
    flex: 1;
    border: none;
    padding: 10px 12px;
    font-size: 13px;
    outline: none;
}

.lc-bg-white[b-w0fwurlrh4] {
    background-color: #ffffff !important;
}

.lc-border-slate-200[b-w0fwurlrh4] {
    border: 1px solid #e2e8f0 !important;
}

.lc-outline-none[b-w0fwurlrh4] {
    outline: none !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   TOAST NOTIFICATION STYLES
   ───────────────────────────────────────────────────────────────────────── */
.toast-container[b-w0fwurlrh4] {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-item[b-w0fwurlrh4] {
    min-width: 300px;
    max-width: 450px;
    padding: 16px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
    animation: toast-in-b-w0fwurlrh4 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 6px solid #ccc;
}

.toast-item.show[b-w0fwurlrh4] {
    opacity: 1;
    transform: translateX(0);
}

.toast-item.hide[b-w0fwurlrh4] {
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast-item.success[b-w0fwurlrh4] {
    border-left-color: #22c55e;
}

.toast-item.error[b-w0fwurlrh4] {
    border-left-color: #ef4444;
}

.toast-item.warning[b-w0fwurlrh4] {
    border-left-color: #f59e0b;
}

.toast-item.info[b-w0fwurlrh4] {
    border-left-color: #3b82f6;
}

.toast-item.success .icon[b-w0fwurlrh4] {
    color: #22c55e;
}

.toast-item.error .icon[b-w0fwurlrh4] {
    color: #ef4444;
}

.toast-item.warning .icon[b-w0fwurlrh4] {
    color: #f59e0b;
}

.toast-item.info .icon[b-w0fwurlrh4] {
    color: #3b82f6;
}

.toast-content[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-content .icon[b-w0fwurlrh4] {
    font-variation-settings: 'FILL' 1;
}

.toast-content .message[b-w0fwurlrh4] {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.toast-item .close-btn[b-w0fwurlrh4] {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.toast-item .close-btn:hover[b-w0fwurlrh4] {
    color: #475569;
}

@keyframes toast-in-b-w0fwurlrh4 {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   PREMIUM BILLING SHARED STYLES
   ───────────────────────────────────────────────────────────────────────── */
:root[b-w0fwurlrh4] {
    --premium-blue: #2563eb;
    --premium-blue-light: #eff6ff;
    --premium-blue-dark: #1e40af;
    --premium-green: #10b981;
    --premium-green-light: #ecfdf5;
    --premium-red: #ef4444;
    --premium-red-light: #fef2f2;
    --premium-gray-text: #64748b;
    --premium-dark-text: #1e293b;
    --premium-border: #e2e8f0;
    --premium-bg: #f8fafc;
    --premium-card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --premium-card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.premium-page-container[b-w0fwurlrh4] {
    padding: 24px;
    background-color: var(--premium-bg);
    min-height: 100vh;
    font-family: 'Public Sans', sans-serif;
}

.premium-header[b-w0fwurlrh4] {
    margin-bottom: 32px;
}

.premium-title[b-w0fwurlrh4] {
    font-size: 28px;
    font-weight: 800;
    color: var(--premium-dark-text);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.premium-subtitle[b-w0fwurlrh4] {
    font-size: 14px;
    color: var(--premium-gray-text);
    font-weight: 500;
}

.premium-filter-card[b-w0fwurlrh4] {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--premium-card-shadow);
    border: 1px solid var(--premium-border);
    margin-bottom: 24px;
}

.premium-filter-grid[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    align-items: flex-end;
}

.premium-form-group[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.premium-label[b-w0fwurlrh4] {
    font-size: 11px;
    font-weight: 700;
    color: var(--premium-gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-input[b-w0fwurlrh4],
.premium-select[b-w0fwurlrh4] {
    height: 44px;
    border-radius: 8px;
    border: 1.5px solid var(--premium-border);
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--premium-dark-text);
    background-color: #fff;
    transition: all 0.2s;
    outline: none;
}

.premium-input:focus[b-w0fwurlrh4],
.premium-select:focus[b-w0fwurlrh4] {
    border-color: var(--premium-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.premium-search-wrapper[b-w0fwurlrh4] {
    position: relative;
    display: flex;
    align-items: center;
}

.premium-search-icon[b-w0fwurlrh4] {
    position: absolute;
    left: 12px;
    color: var(--premium-gray-text);
    font-size: 18px;
}

.premium-search-input[b-w0fwurlrh4] {
    padding-left: 40px !important;
}

.premium-btn-refresh[b-w0fwurlrh4] {
    height: 44px;
    background: var(--premium-blue);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-btn-refresh:hover[b-w0fwurlrh4] {
    background: var(--premium-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.premium-search-bar-row[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.premium-table-card[b-w0fwurlrh4] {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--premium-card-shadow);
    border: 1px solid var(--premium-border);
}

.premium-table[b-w0fwurlrh4] {
    width: 100%;
    border-collapse: collapse;
}

.premium-table th[b-w0fwurlrh4] {
    background: #f8fafc;
    padding: 16px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: var(--premium-gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--premium-border);
}

.premium-table td[b-w0fwurlrh4] {
    padding: 16px 12px;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--premium-dark-text);
    vertical-align: middle;
}

.premium-table tbody tr:hover[b-w0fwurlrh4] {
    background-color: #f8fafc;
}

.sid-text[b-w0fwurlrh4] {
    font-weight: 700;
    color: #475569;
}

.patient-id[b-w0fwurlrh4] {
    font-weight: 800;
    color: #1e293b;
}

.patient-name[b-w0fwurlrh4] {
    font-weight: 700;
    display: block;
}

.mobile-text[b-w0fwurlrh4] {
    font-size: 12px;
    color: var(--premium-gray-text);
    font-weight: 500;
}

.amount-text[b-w0fwurlrh4] {
    font-weight: 700;
}

.discount-text[b-w0fwurlrh4] {
    color: var(--premium-red);
    font-weight: 600;
}

.total-text[b-w0fwurlrh4] {
    font-weight: 800;
    color: var(--premium-dark-text);
}

.paid-text[b-w0fwurlrh4] {
    font-weight: 700;
    color: var(--premium-green);
}

.balance-text[b-w0fwurlrh4] {
    font-weight: 700;
}

.action-buttons[b-w0fwurlrh4] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.action-btn[b-w0fwurlrh4] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--premium-border);
    background: white;
    color: var(--premium-gray-text);
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover[b-w0fwurlrh4] {
    background: var(--premium-blue-light);
    color: var(--premium-blue);
    border-color: var(--premium-blue);
}

.premium-footer[b-w0fwurlrh4] {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-top: 1px solid var(--premium-border);
}

.pagination-info[b-w0fwurlrh4] {
    font-size: 13px;
    color: var(--premium-gray-text);
    font-weight: 500;
}

.pagination-controls[b-w0fwurlrh4] {
    display: flex;
    gap: 4px;
}

.page-btn[b-w0fwurlrh4] {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--premium-border);
    background: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.page-btn.active[b-w0fwurlrh4] {
    background: var(--premium-blue);
    color: white;
    border-color: var(--premium-blue);
}

.page-btn:hover:not(.active)[b-w0fwurlrh4] {
    background: #f1f5f9;
}

.totals-row[b-w0fwurlrh4] {
    background: #f8fafc !important;
}

.totals-label[b-w0fwurlrh4] {
    font-weight: 800;
    text-transform: uppercase;
    text-align: right;
    padding-right: 24px !important;
}

.total-val[b-w0fwurlrh4] {
    font-weight: 800;
    font-size: 15px;
}

.bl-datetime-inline[b-w0fwurlrh4] {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    cursor: pointer !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   TEST MASTER (MODIFY TEST) UI STYLES
   ───────────────────────────────────────────────────────────────────────── */
.tm-page-wrapper[b-w0fwurlrh4] {
    padding: 20px;
    background: #f8fafc;
    min-height: 100vh;
    font-family: 'Public Sans', sans-serif;
}

.tm-top-actions[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tm-action-links[b-w0fwurlrh4] {
    display: flex;
    gap: 20px;
}

.tm-action-link[b-w0fwurlrh4] {
    font-size: 11px;
    font-weight: 700;
    color: #4f46e5;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.tm-action-link:hover[b-w0fwurlrh4] {
    text-decoration: underline;
}

.tm-user-profile[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tm-user-info[b-w0fwurlrh4] {
    text-align: right;
}

.tm-user-name[b-w0fwurlrh4] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    display: block;
}

.tm-user-role[b-w0fwurlrh4] {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

.tm-user-avatar[b-w0fwurlrh4] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tm-main-grid[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
}

.tm-card[b-w0fwurlrh4] {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 24px;
    position: relative;
}

/* Test Details Header Section */
.tm-test-details-card[b-w0fwurlrh4] {
    grid-column: 1 / span 2;
    margin-bottom: 20px;
}

.tm-test-row[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 8px;
}

.tm-form-group[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tm-label[b-w0fwurlrh4] {
    font-size: 10px;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tm-input[b-w0fwurlrh4] {
    height: 36px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.2s;
    background: #f8fafc;
}

.tm-input:focus[b-w0fwurlrh4] {
    border-color: #4f46e5;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

.tm-input-accent[b-w0fwurlrh4] {
    border-color: #4f46e5;
    background: #eff6ff;
}

.tm-table-select[b-w0fwurlrh4] {
    width: 100%;
    height: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 4px;
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    cursor: pointer;
}

.tm-table-select:focus[b-w0fwurlrh4] {
    border-color: #4f46e5;
    background: #fff;
}

/* Type & Status Section */
.tm-flex-row[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 12px;
}

.tm-type-item[b-w0fwurlrh4],
.tm-status-item[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.tm-type-item span[b-w0fwurlrh4],
.tm-status-item span[b-w0fwurlrh4] {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.tm-radio[b-w0fwurlrh4],
.tm-checkbox[b-w0fwurlrh4] {
    width: 16px;
    height: 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.tm-radio:checked[b-w0fwurlrh4] {
    border-color: #4f46e5;
    border-width: 5px;
}

.tm-checkbox[b-w0fwurlrh4] {
    border-radius: 4px;
}

.tm-checkbox:checked[b-w0fwurlrh4] {
    background-color: #4f46e5;
    border-color: #4f46e5;
}

.tm-checkbox:checked[b-w0fwurlrh4]::after {
    content: '✔';
    position: absolute;
    color: white;
    font-size: 10px;
    left: 2px;
    top: -1px;
}

/* Parameters Panel */
.tm-params-panel[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tm-params-card[b-w0fwurlrh4] {
    padding: 0;
    overflow: hidden;
}

.tm-card-header-slim[b-w0fwurlrh4] {
    padding: 12px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.tm-card-title-slim[b-w0fwurlrh4] {
    font-size: 12px;
    font-weight: 800;
    color: #1e293b;
}

.tm-link-blue[b-w0fwurlrh4] {
    font-size: 10px;
    font-weight: 700;
    color: #4f46e5;
    cursor: pointer;
    text-decoration: none;
}

.tm-link-red[b-w0fwurlrh4] {
    font-size: 10px;
    font-weight: 700;
    color: #ef4444;
    cursor: pointer;
    text-decoration: none;
}

.tm-param-table[b-w0fwurlrh4] {
    width: 100%;
    border-collapse: collapse;
}

.tm-param-table th[b-w0fwurlrh4] {
    background: #f8fafc;
    padding: 10px 16px;
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e8f0;
}

.tm-param-row[b-w0fwurlrh4] {
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s;
}

.tm-param-row:hover[b-w0fwurlrh4] {
    background: #f8fafc;
}

.tm-param-row.active[b-w0fwurlrh4] {
    background: #eff6ff;
}

.tm-param-cell[b-w0fwurlrh4] {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.tm-param-input[b-w0fwurlrh4] {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

/* Normal Values Panel */
.tm-values-card[b-w0fwurlrh4] {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tm-values-header[b-w0fwurlrh4] {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-tabs[b-w0fwurlrh4] {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 24px;
    background: #f8fafc;
}

.tm-tab[b-w0fwurlrh4] {
    padding: 14px 0;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    border: none;
    background: transparent;
}

.tm-tab.active[b-w0fwurlrh4] {
    color: #4f46e5;
}

.tm-tab.active[b-w0fwurlrh4]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #4f46e5;
}

.tm-value-row[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px;
}

.tm-quill-editor[b-w0fwurlrh4] {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    min-height: 120px;
    margin-top: 8px;
}

.tm-editor-toolbar[b-w0fwurlrh4] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 4px 8px;
    display: flex;
    gap: 12px;
}

.tm-editor-btn[b-w0fwurlrh4] {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.tm-editor-btn:hover[b-w0fwurlrh4] {
    background: #e2e8f0;
}

.tm-editor-content[b-w0fwurlrh4] {
    padding: 16px;
    min-height: 100px;
    font-size: 14px;
    outline: none;
}

/* Bottom Action Bar */
.tm-bottom-bar[b-w0fwurlrh4] {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 16px 16px;
    margin-top: 20px;
}

.tm-date-range[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px 12px;
}

.tm-date-input[b-w0fwurlrh4] {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    width: 90px;
    cursor: pointer;
}

.tm-btn-row[b-w0fwurlrh4] {
    display: flex;
    gap: 10px;
}

.tm-btn[b-w0fwurlrh4] {
    height: 38px;
    padding: 0 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.tm-btn-outline[b-w0fwurlrh4] {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.tm-btn-primary[b-w0fwurlrh4] {
    background: #4f46e5;
    color: #fff;
}

.tm-btn-danger[b-w0fwurlrh4] {
    background: #ef4444;
    color: #fff;
}

.tm-btn-dark[b-w0fwurlrh4] {
    background: #1e293b;
    color: #fff;
}

.tm-btn-secondary[b-w0fwurlrh4] {
    background: #f3f4f6;
    color: #4b5563;
}

.tm-update-btn[b-w0fwurlrh4] {
    background: #fff;
    border: 1.5px solid #f97316;
    color: #f97316;
    padding: 8px 24px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-end;
    margin: 24px;
    margin-top: 0;
}

.tm-update-btn:hover[b-w0fwurlrh4] {
    background: #fff7ed;
    transform: translateY(-1px);
}

/* Special styling for input groups in image */
.tm-input-group[b-w0fwurlrh4] {
    position: relative;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    padding: 0 12px;
    height: 36px;
}

.tm-input-group input[b-w0fwurlrh4] {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 13px;
    font-weight: 600;
}

.tm-input-group .material-symbols-outlined[b-w0fwurlrh4] {
    color: #94a3b8;
    font-size: 18px;
}

.tm-btn-blue[b-w0fwurlrh4] {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.tm-btn-black[b-w0fwurlrh4] {
    background: #000;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

/* Status section checkboxes specifically matching the image style */
.tm-status-grid[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    align-items: center;
    margin-left: 20px;
    margin-top: 4px;
}

.tm-status-box[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 2px 0;
}

.tm-status-check[b-w0fwurlrh4] {
    width: 12px;
    height: 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.tm-status-box:hover .tm-status-check[b-w0fwurlrh4] {
    border-color: #4f46e5;
}

.tm-status-box.active .tm-status-check[b-w0fwurlrh4] {
    border-color: #4f46e5;
    border-width: 4px;
}

.tm-status-label[b-w0fwurlrh4] {
    font-size: 10px;
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
}

.tm-sep-row[b-w0fwurlrh4] {
    height: 1px;
    background: #f1f5f9;
    width: 100%;
    margin: 2px 0;
}

/* Flex & Layout Utilities */
.display-flex[b-w0fwurlrh4] {
    display: flex;
}

.flex-col[b-w0fwurlrh4] {
    flex-direction: column;
}

.flex-1[b-w0fwurlrh4] {
    flex: 1;
}

.align-center[b-w0fwurlrh4] {
    align-items: center;
}

.justify-center[b-w0fwurlrh4] {
    justify-content: center;
}

.justify-between[b-w0fwurlrh4] {
    justify-content: space-between;
}

.justify-end[b-w0fwurlrh4] {
    justify-content: flex-end;
}

.gap-4[b-w0fwurlrh4] {
    gap: 4px;
}

.gap-8[b-w0fwurlrh4] {
    gap: 8px;
}

.gap-12[b-w0fwurlrh4] {
    gap: 12px;
}

.gap-16[b-w0fwurlrh4] {
    gap: 16px;
}

.gap-24[b-w0fwurlrh4] {
    gap: 24px;
}

.gap-32[b-w0fwurlrh4] {
    gap: 32px;
}

/* Spacing Utilities */
.mt-4[b-w0fwurlrh4] {
    margin-top: 4px;
}

.mt-8[b-w0fwurlrh4] {
    margin-top: 8px;
}

.mt-12[b-w0fwurlrh4] {
    margin-top: 12px;
}

.mt-20[b-w0fwurlrh4] {
    margin-top: 20px;
}

.mb-16[b-w0fwurlrh4] {
    margin-bottom: 16px;
}

.my-16[b-w0fwurlrh4] {
    margin: 16px 0;
}

.ml-4[b-w0fwurlrh4] {
    margin-left: 4px;
}

.ml-20[b-w0fwurlrh4] {
    margin-left: 20px;
}

.p-12[b-w0fwurlrh4] {
    padding: 12px;
}

.p-24[b-w0fwurlrh4] {
    padding: 24px;
}

/* Sizing Utilities */
.w-full[b-w0fwurlrh4] {
    width: 100%;
}

.w-48[b-w0fwurlrh4] {
    width: 48px;
}

.h-24[b-w0fwurlrh4] {
    height: 24px;
}

.h-28[b-w0fwurlrh4] {
    height: 28px;
}

.h-32[b-w0fwurlrh4] {
    height: 32px;
}

.h-80[b-w0fwurlrh4] {
    height: 80px;
}

/* Font Utilities */
.font-11[b-w0fwurlrh4] {
    font-size: 11px;
}

.font-14[b-w0fwurlrh4] {
    font-size: 14px;
}

.lc-outline-none[b-w0fwurlrh4] {
    outline: none;
}

/* NORMAL VALUES TAB LAYOUTS */
.tm-tab-content-grid[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    flex: 1;
}

.tm-tab-left-col[b-w0fwurlrh4],
.tm-tab-right-col[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
}

.tm-specimen-table-wrapper[b-w0fwurlrh4] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.tm-specimen-table[b-w0fwurlrh4] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.tm-specimen-table th[b-w0fwurlrh4] {
    background: #f8fafc;
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.tm-specimen-table td[b-w0fwurlrh4] {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
}

.tm-specimen-table tr:last-child td[b-w0fwurlrh4] {
    border-bottom: none;
}

.tm-specimen-table tr:hover[b-w0fwurlrh4] {
    background: #f1f5f9;
}

.tm-checkbox[b-w0fwurlrh4] {
    width: 14px;
    height: 14px;
    accent-color: #2563eb;
    cursor: pointer;
}

.tm-btn-icon-gray[b-w0fwurlrh4] {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    color: #64748b;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.tm-btn-icon-gray:hover[b-w0fwurlrh4] {
    background: #e2e8f0;
    color: #1e293b;
}

.tm-btn-icon-red[b-w0fwurlrh4] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: #fee2e2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-icon-red:hover[b-w0fwurlrh4] {
    background: #fecaca;
    color: #dc2626;
    transform: scale(1.05);
}

.tm-update-btn[b-w0fwurlrh4] {
    background: #fff;
    border: 1px solid #f97316;
    color: #f97316;
    padding: 4px 20px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-update-btn:hover[b-w0fwurlrh4] {
    background: #fff7ed;
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.1);
}

.tm-values-header-accent[b-w0fwurlrh4] {
    background: #e11d48;
    color: #fff;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tm-values-subheader[b-w0fwurlrh4] {
    padding: 12px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tm-link-orange[b-w0fwurlrh4] {
    color: #f97316;
    text-decoration: none;
}

.tm-link-orange:hover[b-w0fwurlrh4] {
    text-decoration: underline;
}

.tm-detailed-range-section[b-w0fwurlrh4] {
    border-top: 1px solid #e2e8f0;
}

.tm-specimen-table-container[b-w0fwurlrh4] {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 12px;
}

.tm-specimen-table-modern[b-w0fwurlrh4] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.tm-specimen-table-modern th[b-w0fwurlrh4] {
    background: #fff;
    padding: 6px 10px;
    text-align: left;
    font-weight: 500;
    color: #1e293b;
    border-bottom: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
}

.tm-specimen-table-modern th:last-child[b-w0fwurlrh4] {
    border-right: none;
}

.tm-specimen-table-modern td[b-w0fwurlrh4] {
    padding: 4px 10px;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #cbd5e1;
    color: #334155;
}

.tm-specimen-table-modern td:last-child[b-w0fwurlrh4] {
    border-right: none;
}

.tm-specimen-table-modern tr:last-child td[b-w0fwurlrh4] {
    border-bottom: none;
}

.tm-specimen-table-modern tr:hover td[b-w0fwurlrh4] {
    background: #f8fafc;
}

.tm-specimen-row-active td[b-w0fwurlrh4] {
    background: #eff6ff !important;
    border-left: 3px solid #4f46e5;
}

.text-red[b-w0fwurlrh4] {
    color: #ef4444 !important;
}

.fw-600[b-w0fwurlrh4] {
    font-weight: 600;
}

.bl-scan-btn[b-w0fwurlrh4] {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
}

.bl-scan-btn:hover[b-w0fwurlrh4] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

.bl-scan-btn .material-symbols-outlined[b-w0fwurlrh4] {
    font-size: 16px;
}


.bl-scan-icon-only[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2), 0 2px 4px -1px rgba(79, 70, 229, 0.1);
}

.bl-scan-icon-only:hover[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.bl-yt-search-group[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    height: 40px;
}

.bl-yt-search-group:focus-within[b-w0fwurlrh4] {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: white;
}

.bl-yt-input[b-w0fwurlrh4] {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    outline: none !important;
    height: 100% !important;
}

.bl-yt-button[b-w0fwurlrh4] {
    background: #f1f5f9;
    border: none;
    border-left: 1.5px solid #e2e8f0;
    color: #4f46e5;
    width: 44px;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.bl-yt-button:hover[b-w0fwurlrh4] {
    background: #e2e8f0;
    color: #1e293b;
}

.bl-yt-button.has-scan[b-w0fwurlrh4] {
    color: #10b981;
}

.bl-yt-button .material-icons[b-w0fwurlrh4] {
    font-size: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    width: 24px;
    height: 24px;
}

.bl-scan-status-container[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #10b981;
}

.bl-scan-tick[b-w0fwurlrh4] {
    color: #10b981;
    font-size: 18px !important;
}

.bl-scan-cancel[b-w0fwurlrh4] {
    color: #ef4444;
    font-size: 16px !important;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.bl-scan-cancel:hover[b-w0fwurlrh4] {
    opacity: 1;
}

.bl-scan-path-badge[b-w0fwurlrh4] {
    background: #f1f5f9;
    color: #64748b;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
}

/* ===============================================
   Result Entry - Premium Modern Design
   =============================================== */

/* Container */
.re-container[b-w0fwurlrh4] {
    padding: 16px 20px 80px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1e293b;
    background: #f8fafc;
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Common form elements */
.re-label[b-w0fwurlrh4] {
    font-size: 0.7rem;
    font-weight: 650;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.re-input[b-w0fwurlrh4],
.re-select[b-w0fwurlrh4],
.re-input-date[b-w0fwurlrh4],
.re-input-time[b-w0fwurlrh4],
.re-textarea[b-w0fwurlrh4] {
    padding: 4px 8px;
    border-radius: 6px;
    border: 1.5px solid #e2e8f0;
    font-size: 0.8rem;
    color: #1e293b;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.re-input:focus[b-w0fwurlrh4],
.re-select:focus[b-w0fwurlrh4],
.re-input-date:focus[b-w0fwurlrh4],
.re-input-time:focus[b-w0fwurlrh4],
.re-textarea:focus[b-w0fwurlrh4] {
    border-color: #6366f1;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.re-input[b-w0fwurlrh4],
.re-select[b-w0fwurlrh4],
.re-input-date[b-w0fwurlrh4],
.re-input-time[b-w0fwurlrh4] {
    height: 30px;
}

.re-select[b-w0fwurlrh4] {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%2394a3b8' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 24px;
    cursor: pointer;
}

.re-input-yellow[b-w0fwurlrh4] {
    background-color: #fefce8;
    border-color: #fde68a;
    color: #92400e;
}

.re-input-yellow:focus[b-w0fwurlrh4] {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* Header Section */
.re-header-section[b-w0fwurlrh4] {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.re-breadcrumb[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    font-family: inherit;
    font-size: 0.9rem;
}

.re-breadcrumb i.fa-home[b-w0fwurlrh4] {
    color: #4f46e5;
    font-size: 1rem;
    margin-right: 12px;
}

.re-breadcrumb span.text-muted[b-w0fwurlrh4] {
    color: #64748b;
    margin-right: 12px;
}

.re-breadcrumb i.fa-chevron-right[b-w0fwurlrh4] {
    color: #cbd5e1;
    font-size: 0.7rem;
    margin-right: 12px;
}

.re-breadcrumb span.text-active[b-w0fwurlrh4] {
    color: var(--lc-secondary);
    font-weight: 600;
}

.re-header-right[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1;
}

/* Sample Card */
.re-sample-card[b-w0fwurlrh4] {
    background: #fff;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #e9edf3;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.re-field-group[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Custom Checkbox/Radio */
.re-check-label[b-w0fwurlrh4],
.re-radio-label[b-w0fwurlrh4] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    user-select: none;
}

.re-check-label input[type="checkbox"][b-w0fwurlrh4],
.re-radio-label input[type="radio"][b-w0fwurlrh4] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    outline: none;
    transition: all 0.2s;
    position: relative;
    cursor: pointer;
}

.re-radio-label input[type="radio"][b-w0fwurlrh4] {
    border-radius: 50%;
}

.re-check-label input[type="checkbox"]:checked[b-w0fwurlrh4],
.re-radio-label input[type="radio"]:checked[b-w0fwurlrh4] {
    background-color: #6366f1;
    border-color: #6366f1;
}

.re-check-label input[type="checkbox"]:checked[b-w0fwurlrh4]::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
}

.re-radio-label input[type="radio"]:checked[b-w0fwurlrh4]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Tabs */
.re-tabs-container[b-w0fwurlrh4] {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 2px;
    padding: 0 4px;
}

.re-tab[b-w0fwurlrh4] {
    background: transparent;
    border: none;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.re-tab:hover[b-w0fwurlrh4] {
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.05);
}

.re-tab.active[b-w0fwurlrh4] {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
    background: rgba(99, 102, 241, 0.08);
}

/* Main Content Area */
.re-main-content[b-w0fwurlrh4] {
    display: flex;
    gap: 24px;
    flex-grow: 1;
    align-items: flex-start;
    position: relative;
}

.re-panel-card[b-w0fwurlrh4] {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9edf3;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.re-left-panel[b-w0fwurlrh4] {
    width: 100%;
    min-height: 390px;
}

.re-right-panel[b-w0fwurlrh4] {
    position: absolute;
    top: 10px;
    right: 16px;
    width: 320px;
    z-index: 50;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
    border: 1px solid #cbd5e1;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

/* Table Actions */
.re-panel-header[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    background: #fafbff;
}

/* ===== BILLED TESTS DROPDOWN ===== */
.re-bt-wrapper[b-w0fwurlrh4] {
    position: relative;
}

.re-billed-tests[b-w0fwurlrh4] {
    color: #ef4444;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fef2f2;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #fecaca;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
}

.re-billed-tests:hover[b-w0fwurlrh4],
.re-billed-tests.active[b-w0fwurlrh4] {
    background: #fee2e2;
    border-color: #fca5a5;
}

.re-bt-chevron[b-w0fwurlrh4] {
    font-size: 0.6rem;
    transition: transform 0.25s ease;
    margin-left: 2px;
}

.re-bt-chevron.up[b-w0fwurlrh4] {
    transform: rotate(180deg);
}

/* ===== ADVANCE FILTER DROPDOWN ===== */
.re-af-wrapper[b-w0fwurlrh4] {
    position: relative;
}

.re-advance-filter[b-w0fwurlrh4] {
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    padding: 0 12px;
    height: 30px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 650;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    user-select: none;
}

.re-advance-filter:hover[b-w0fwurlrh4],
.re-advance-filter.active[b-w0fwurlrh4] {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #1e293b;
}

.re-af-chevron[b-w0fwurlrh4] {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
    color: #94a3b8;
}

.re-af-chevron.up[b-w0fwurlrh4] {
    transform: rotate(180deg);
}

.re-af-dropdown[b-w0fwurlrh4] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 200;
    overflow: hidden;
    animation: re-bt-appear-b-w0fwurlrh4 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.re-af-dropdown-header[b-w0fwurlrh4] {
    padding: 8px 12px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.re-af-dropdown-body[b-w0fwurlrh4] {
    max-height: 280px;
    overflow-y: auto;
}

.re-af-item[b-w0fwurlrh4] {
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s;
}

.re-af-item:hover[b-w0fwurlrh4] {
    background: #f8fafc;
    color: #4f46e5;
}

.re-af-item.selected[b-w0fwurlrh4] {
    background: #eff6ff;
    color: #2563eb;
    position: relative;
    padding-left: 28px;
}

.re-af-item.selected[b-w0fwurlrh4]::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 10px;
    font-size: 0.7rem;
}

.re-af-overlay[b-w0fwurlrh4] {
    position: fixed;
    inset: 0;
    z-index: 199;
}

/* ===== TEST SEARCH ===== */
.re-search-wrapper[b-w0fwurlrh4] {
    position: relative;
    display: flex;
    align-items: center;
}

.re-test-search[b-w0fwurlrh4] {
    min-width: 180px;
    padding-right: 28px !important;
}

.re-clear-search[b-w0fwurlrh4] {
    position: absolute;
    right: 6px;
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 4px;
    font-size: 0.75rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.re-clear-search:hover[b-w0fwurlrh4] {
    color: #ef4444;
}

/* Dropdown Panel */
.re-bt-dropdown[b-w0fwurlrh4] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 240px;
    max-width: 320px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
    z-index: 200;
    overflow: hidden;
    animation: re-bt-appear-b-w0fwurlrh4 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes re-bt-appear-b-w0fwurlrh4 {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Dropdown Header */
.re-bt-dropdown-header[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: linear-gradient(to right, #fef2f2, #fff);
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ef4444;
    gap: 8px;
}

.re-bt-count[b-w0fwurlrh4] {
    background: #fecaca;
    color: #b91c1c;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
}

/* Dropdown Body */
.re-bt-dropdown-body[b-w0fwurlrh4] {
    max-height: 220px;
    overflow-y: auto;
    padding: 4px 0;
}

.re-bt-dropdown-body[b-w0fwurlrh4]::-webkit-scrollbar {
    width: 4px;
}

.re-bt-dropdown-body[b-w0fwurlrh4]::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

/* Individual Test Item */
.re-bt-item[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s;
    user-select: none;
}

.re-bt-item:hover[b-w0fwurlrh4] {
    background: #f8fafc;
}

.re-bt-item.selected[b-w0fwurlrh4] {
    color: #1e293b;
}

.re-bt-item input[type="checkbox"][b-w0fwurlrh4] {
    width: 14px;
    height: 14px;
    accent-color: #ef4444;
    cursor: pointer;
    flex-shrink: 0;
}

.re-bt-item-name[b-w0fwurlrh4] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Empty State */
.re-bt-empty[b-w0fwurlrh4] {
    padding: 16px 12px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Dropdown Footer */
.re-bt-dropdown-footer[b-w0fwurlrh4] {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid #f1f5f9;
    background: #fafbff;
}

.re-bt-apply-btn[b-w0fwurlrh4] {
    flex: 1;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s;
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.25);
}

.re-bt-apply-btn:hover[b-w0fwurlrh4] {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(239, 68, 68, 0.35);
}

.re-bt-reset-btn[b-w0fwurlrh4] {
    background: #fff;
    color: #64748b;
    border: 1.5px solid #e2e8f0;
    border-radius: 7px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.re-bt-reset-btn:hover[b-w0fwurlrh4] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #334155;
}

/* Click-outside Overlay */
.re-bt-overlay[b-w0fwurlrh4] {
    position: fixed;
    inset: 0;
    z-index: 199;
    background: transparent;
    cursor: default;
}

.re-delta-link[b-w0fwurlrh4] {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    padding: 6px 10px;
    border-radius: 6px;
}

.re-delta-link:hover[b-w0fwurlrh4] {
    color: #4338ca;
    background: #eef2ff;
}

.re-btn-danger[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.re-btn-danger:hover[b-w0fwurlrh4] {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

/* Table Area */
.re-table-wrapper[b-w0fwurlrh4] {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 500px;
}

.re-data-table[b-w0fwurlrh4] {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
}

.re-data-table th[b-w0fwurlrh4] {
    padding: 10px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f1f5f9;
    border-bottom: 2px solid #94a3b8;
    text-align: left;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2;
}

.re-data-table td[b-w0fwurlrh4] {
    padding: 6px 12px;
    font-size: 0.8rem;
    color: #334155;
    font-weight: 600;
    border-bottom: 1px solid #b8c4d0;
    border-right: 1px solid #c8d2dc;
    vertical-align: middle;
    background: #fff;
}

.re-data-table td:last-child[b-w0fwurlrh4] {
    border-right: none;
}

.re-col-center[b-w0fwurlrh4] {
    text-align: center;
}

.re-edit-cell[b-w0fwurlrh4] {
    padding: 6px 8px !important;
    background: #ffffff !important;
}

.re-t-input[b-w0fwurlrh4] {
    width: 100%;
    height: 32px;
    border: 1.5px solid #94a3b8;
    border-radius: 6px;
    background: #f1f5f9;
    padding: 0 10px;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--lc-secondary);
    font-weight: 700;
    box-sizing: border-box;
}

.re-t-input:focus[b-w0fwurlrh4] {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3.5px rgba(79, 70, 229, 0.15);
}

.re-bg-red[b-w0fwurlrh4] {
    background-color: #fee2e2 !important;
    /* High/Low Red */
}

.re-bg-yellow[b-w0fwurlrh4] {
    background-color: #ffedd5 !important;
    /* Borderline Orange */
}

.re-bg-green[b-w0fwurlrh4] {
    background-color: #dcfce7 !important;
    /* Normal Green */
}

.re-bg-yellow .re-t-input[b-w0fwurlrh4],
.re-bg-red .re-t-input[b-w0fwurlrh4],
.re-bg-green .re-t-input[b-w0fwurlrh4] {
    background: inherit !important;
}

/* ===============================================
   Result Search - Premium Modern Design
   =============================================== */

.re-header-main[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 24px;
}

.re-patient-info[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.re-avatar[b-w0fwurlrh4] {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.re-patient-details[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
}

.re-patient-name[b-w0fwurlrh4] {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--lc-secondary);
    margin: 0;
}

.re-patient-meta[b-w0fwurlrh4] {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.re-header-actions[b-w0fwurlrh4] {
    display: flex;
    gap: 12px;
}

.re-entry-badge[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.re-select-minimal[b-w0fwurlrh4] {
    border: none;
    background: transparent;
    font-weight: 700;
    color: #4f46e5;
    cursor: pointer;
    outline: none;
}

.re-card[b-w0fwurlrh4] {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.re-card-header[b-w0fwurlrh4] {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    background: #fafbff;
}

.re-card-title[b-w0fwurlrh4] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-card-body[b-w0fwurlrh4] {
    padding: 16px;
}

.re-grid-search[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: flex-end;
}

.re-grid-3[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.re-field[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.re-item-primary[b-w0fwurlrh4] {
    font-weight: 600;
    color: #1e293b;
}

.re-item-secondary[b-w0fwurlrh4] {
    font-size: 0.75rem;
    color: #64748b;
}

.re-dropdown-item[b-w0fwurlrh4] {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
}

.re-dropdown-item:hover[b-w0fwurlrh4] {
    background: #f8fafc;
}

.re-search-dropdown[b-w0fwurlrh4] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
}

.re-search-input-wrap[b-w0fwurlrh4] {
    position: relative;
}

.re-content-layout[b-w0fwurlrh4] {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.re-main-panel[b-w0fwurlrh4] {
    flex: 1;
    min-width: 0;
}

.re-side-panel[b-w0fwurlrh4] {
    width: 350px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}

.re-table-container[b-w0fwurlrh4] {
    width: 100%;
    overflow-x: auto;
}

.re-table[b-w0fwurlrh4] {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
}

.re-table th[b-w0fwurlrh4] {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.re-table td[b-w0fwurlrh4] {
    padding: 12px 16px;
    font-size: 0.85rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
}

.re-row-selected[b-w0fwurlrh4] {
    background: #eff6ff !important;
}

.re-empty-state[b-w0fwurlrh4] {
    padding: 48px;
    text-align: center;
    color: #94a3b8;
}

.re-empty-icon[b-w0fwurlrh4] {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.2;
}

.re-badge[b-w0fwurlrh4] {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.re-badge-warning[b-w0fwurlrh4] {
    background: #fef3c7;
    color: #b45309;
}

.re-badge-success[b-w0fwurlrh4] {
    background: #dcfce7;
    color: #15803d;
}

.re-badge-info[b-w0fwurlrh4] {
    background: #e0e7ff;
    color: #4338ca;
}

.re-pill-group[b-w0fwurlrh4] {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
    width: fit-content;
}

.re-pill[b-w0fwurlrh4] {
    padding: 4px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.re-pill.active[b-w0fwurlrh4] {
    background: #fff;
    color: #4f46e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.re-pill input[b-w0fwurlrh4] {
    display: none;
}

.re-filter-row[b-w0fwurlrh4] {
    display: flex;
    gap: 32px;
    align-items: center;
}

.re-btn-primary[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.re-btn-secondary[b-w0fwurlrh4] {
    background: #fff;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-input-calculated[b-w0fwurlrh4] {
    background-color: #f0f9ff !important;
    border-color: #bae6fd !important;
    color: #0369a1 !important;
    font-weight: 700 !important;
    cursor: default;
}

/* Status Indicator Dots */
.re-status-wrapper[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 8px;
}

.re-status-dot[b-w0fwurlrh4] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    /* Default/None */
    flex-shrink: 0;
}

.re-status-dot.normal[b-w0fwurlrh4] {
    background-color: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.re-status-dot.high[b-w0fwurlrh4] {
    background-color: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.re-status-dot.low[b-w0fwurlrh4] {
    background-color: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

/* Table Footer */
.re-table-footer[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid #f1f5f9;
    background: #fafbff;
}

.re-tf-left[b-w0fwurlrh4],
.re-tf-right[b-w0fwurlrh4] {
    display: flex;
    gap: 12px;
    align-items: center;
}

.re-link-btn[b-w0fwurlrh4] {
    background: none;
    border: none;
    color: #4f46e5;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.re-link-btn:hover[b-w0fwurlrh4] {
    background: #eef2ff;
    color: #4338ca;
}

.re-text-danger[b-w0fwurlrh4] {
    color: #ef4444;
}

.re-text-danger:hover[b-w0fwurlrh4] {
    background: #fef2f2;
    color: #dc2626;
}

/* Right Panel Styles */
.re-rp-header[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 10px 12px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.re-rp-header i[b-w0fwurlrh4] {
    color: #4f46e5;
    font-size: 1rem;
}

.re-btn-close-popup[b-w0fwurlrh4] {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    border-radius: 4px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.re-btn-close-popup:hover[b-w0fwurlrh4] {
    background: #f1f5f9;
    color: #ef4444;
}

.re-btn-close-popup i[b-w0fwurlrh4] {
    color: inherit;
    font-size: 1rem;
}

.re-rp-tabs[b-w0fwurlrh4] {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 8px;
}

.re-rp-tab[b-w0fwurlrh4] {
    background: none;
    border: none;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    color: #64748b;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    margin-bottom: -1px;
}

.re-rp-tab:hover[b-w0fwurlrh4] {
    color: #4f46e5;
}

.re-rp-tab.active[b-w0fwurlrh4] {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
}

.re-rp-content[b-w0fwurlrh4] {
    padding: 8px 12px;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.re-form-group[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.re-row-group[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.re-control[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.re-textarea[b-w0fwurlrh4] {
    resize: vertical;
    min-height: 24px;
}

.re-flex-spacer[b-w0fwurlrh4] {
    flex-grow: 1;
}

.re-rp-footer[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
    background: #fafbff;
}

.re-btn-update[b-w0fwurlrh4] {
    background: #fff;
    color: #4f46e5;
    border: 1.5px solid #c7d2fe;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.re-btn-update:hover[b-w0fwurlrh4] {
    background: #eef2ff;
    border-color: #818cf8;
    transform: translateY(-1px);
}

/* Bottom Bar */
.re-footer-bar[b-w0fwurlrh4] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    flex-wrap: wrap;
    gap: 12px;
}

.re-footer-centered[b-w0fwurlrh4] {
    justify-content: center;
}

.re-footer-left[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.re-label-bold[b-w0fwurlrh4] {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.85rem;
}

.re-footer-divider[b-w0fwurlrh4] {
    width: 1px;
    height: 20px;
    background: #cbd5e1;
    margin: 0 4px;
}

.re-footer-right[b-w0fwurlrh4] {
    display: flex;
    gap: 12px;
}

.re-btn-action[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: #334155;
    font-family: 'Inter', sans-serif;
}

.re-btn-action:hover[b-w0fwurlrh4] {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.re-btn-action-primary[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.re-btn-action-primary:hover[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #fff;
    border: none;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

/* Responsive Layout */
@media (max-width: 1200px) {
    .re-main-content[b-w0fwurlrh4] {
        flex-direction: column;
    }

    .re-left-panel[b-w0fwurlrh4],
    .re-right-panel[b-w0fwurlrh4] {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .re-header-section[b-w0fwurlrh4],
    .re-sample-card[b-w0fwurlrh4] {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .re-header-right[b-w0fwurlrh4] {
        justify-content: flex-start;
    }

    .re-container[b-w0fwurlrh4] {
        padding: 16px 16px 120px;
    }

    .re-footer-bar[b-w0fwurlrh4] {
        padding: 12px 16px;
    }
}

/* Fixed Values Modal - Premium Design */
.re-modal-overlay[b-w0fwurlrh4] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    /* Sleek backdrop */
    z-index: 1000;
    backdrop-filter: blur(4px);
    animation: fadeInModal-b-w0fwurlrh4 0.2s ease-out;
}

@keyframes fadeInModal-b-w0fwurlrh4 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.re-modal[b-w0fwurlrh4] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: inherit;
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Soft border for elegance */
    animation: scaleInModal-b-w0fwurlrh4 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleInModal-b-w0fwurlrh4 {
    from {
        transform: translate(-50%, -45%) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.re-modal-titlebar[b-w0fwurlrh4] {
    background: #f8fafc;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.re-modal-titlebar button[b-w0fwurlrh4] {
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 1.2rem;
    line-height: 1;
    transition: color 0.15s ease;
}

.re-modal-titlebar button:hover[b-w0fwurlrh4] {
    color: #ef4444;
}

.re-modal-header[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.re-modal-body[b-w0fwurlrh4] {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fdfdfd;
}

.re-modal-footer[b-w0fwurlrh4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

/* Modal Buttons */
.re-btn-outline[b-w0fwurlrh4] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.re-btn-outline:hover:not(:disabled)[b-w0fwurlrh4] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
}

.re-btn-outline:active:not(:disabled)[b-w0fwurlrh4] {
    transform: translateY(0);
}

.re-btn-outline:disabled[b-w0fwurlrh4] {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f5f9;
}

/* Destructive Button Exception */
.btn-delete:hover:not(:disabled)[b-w0fwurlrh4] {
    border-color: #fca5a5 !important;
    color: #ef4444 !important;
    background: #fef2f2 !important;
}

/* Primary Button Exception */
.re-btn-save[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.re-btn-save:hover[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(99, 102, 241, 0.4);
}

/* Print Button */
.re-btn-print[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.re-btn-print:hover[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(14, 165, 233, 0.4);
}

/* Improved Table styling inside Modal */
.re-fv-table-wrapper[b-w0fwurlrh4] {
    height: 150px;
    overflow-y: auto;
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.re-fv-table[b-w0fwurlrh4] {
    border-collapse: collapse;
    width: 100%;
}

.re-fv-table th[b-w0fwurlrh4] {
    background: #f8fafc !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding: 8px 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 2;
}

.re-fv-table td[b-w0fwurlrh4] {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.85rem;
    color: #334155;
    transition: background-color 0.15s;
    font-weight: 500;
}

.re-fv-table tbody tr:hover:not(.active-row) td[b-w0fwurlrh4] {
    background-color: #f8fafc;
}

.re-fv-table .active-row td[b-w0fwurlrh4] {
    background: #eef2ff !important;
    color: #4f46e5 !important;
    border-bottom-color: #e0e7ff;
    font-weight: 600;
}

.re-fv-table .active-row i.fa-caret-right[b-w0fwurlrh4] {
    color: #4f46e5;
}

.re-fv-table .active-row input.re-t-input[b-w0fwurlrh4] {
    color: #4f46e5;
    font-weight: 600;
}

/* ===== SAVE TOAST NOTIFICATION ===== */
.re-save-toast[b-w0fwurlrh4] {
    position: fixed;
    bottom: 72px;
    /* sit just above the footer bar */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    animation: re-toast-in-b-w0fwurlrh4 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.re-save-toast.success[b-w0fwurlrh4] {
    background: #f0fdf4;
    color: #15803d;
    border: 1.5px solid #bbf7d0;
}

.re-save-toast.success i[b-w0fwurlrh4] {
    color: #16a34a;
    font-size: 1rem;
}

.re-save-toast.error[b-w0fwurlrh4] {
    background: #fef2f2;
    color: #b91c1c;
    border: 1.5px solid #fecaca;
}

.re-save-toast.error i[b-w0fwurlrh4] {
    color: #dc2626;
    font-size: 1rem;
}

@keyframes re-toast-in-b-w0fwurlrh4 {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== SAVE BUTTON SPINNER ===== */
.re-save-spinner[b-w0fwurlrh4] {
    width: 14px;
    height: 14px;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: re-spin-b-w0fwurlrh4 0.65s linear infinite;
    flex-shrink: 0;
}

@keyframes re-spin-b-w0fwurlrh4 {
    to {
        transform: rotate(360deg);
    }
}

/* ===== SAVING OVERLAY BANNER ===== */
.re-saving-overlay[b-w0fwurlrh4] {
    position: fixed;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    box-shadow: 0 8px 28px rgba(79, 70, 229, 0.45);
    z-index: 600;
    white-space: nowrap;
    animation: re-toast-in-b-w0fwurlrh4 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.01em;
}

/* Save button pulsing glow while saving */
.re-btn-saving[b-w0fwurlrh4] {
    animation: re-btn-pulse-b-w0fwurlrh4 1.2s ease-in-out infinite !important;
    pointer-events: none;
}

@keyframes re-btn-pulse-b-w0fwurlrh4 {
    0% {
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    }

    50% {
        box-shadow: 0 4px 24px rgba(79, 70, 229, 0.7);
    }

    100% {
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    }
}

/* ===== DOT BUTTON (…) ===== */
.re-dot-btn[b-w0fwurlrh4] {
    background: transparent;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    width: 28px;
    height: 22px;
    font-size: 0.9rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.18s ease;
    letter-spacing: 0.05em;
}

.re-dot-btn:hover[b-w0fwurlrh4] {
    background: #eef2ff;
    border-color: #6366f1;
    color: #4f46e5;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.18);
    transform: translateY(-1px);
}

/* ===== COMBINED ROW (Text + PrintResultOnly) ===== */
.re-row-combined td[b-w0fwurlrh4] {
    background-color: #f0fdf4 !important;
    border-left: 3px solid #86efac;
}

.re-combined-cell[b-w0fwurlrh4] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.re-combined-label[b-w0fwurlrh4] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #166534;
    white-space: nowrap;
    min-width: 140px;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.re-combined-result[b-w0fwurlrh4] {
    flex: 1;
    background: #f0fdf4 !important;
    color: #15803d !important;
    border: 1.5px solid #bbf7d0 !important;
    border-radius: 6px !important;
}

.re-combined-result:focus[b-w0fwurlrh4] {
    border-color: #16a34a !important;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15) !important;
    background: #fff !important;
}

/* ===== ROW DETAIL POPUP ===== */
.re-row-detail-modal[b-w0fwurlrh4] {
    width: 560px;
    max-width: 96vw;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.re-row-detail-body[b-w0fwurlrh4] {
    overflow-y: auto;
    padding: 16px !important;
    gap: 0 !important;
}

.re-rd-grid[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}

.re-rd-field[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.re-rd-field-span[b-w0fwurlrh4] {
    grid-column: 1 / -1;
}

.re-rd-field .re-input[b-w0fwurlrh4] {
    width: 100%;
    box-sizing: border-box;
}

.re-rd-field input[readonly][b-w0fwurlrh4] {
    background: #f8fafc;
    color: #94a3b8;
    cursor: default;
}

/* Authorization Buttons */
.re-btn-action-primary[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: white;
    border-color: #4f46e5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.re-btn-action-primary:hover:not(:disabled)[b-w0fwurlrh4] {
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
    background: linear-gradient(135deg, #4338ca, #3730a3);
}

.re-btn-action-info[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border-color: #0ea5e9;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.re-btn-action-info:hover:not(:disabled)[b-w0fwurlrh4] {
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
    background: linear-gradient(135deg, #0284c7, #0369a1);
}

.re-btn-action-success[b-w0fwurlrh4] {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.re-btn-action-success:hover:not(:disabled)[b-w0fwurlrh4] {
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
    background: linear-gradient(135deg, #059669, #047857);
}

.re-footer-names[b-w0fwurlrh4] {
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-right: 16px;
}

.re-footer-names div[b-w0fwurlrh4] {
    min-width: 120px;
}

.re-footer-names small[b-w0fwurlrh4] {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
}

/* Detailed Normal Values Table */
.re-nv-table-container[b-w0fwurlrh4] {
    max-height: 250px;
    overflow-y: auto;
}

.re-nv-row:hover[b-w0fwurlrh4] {
    background-color: #f1f5f9;
}

.re-nv-row.active[b-w0fwurlrh4] {
    background-color: #eef2ff;
}

.re-dual-input-container[b-w0fwurlrh4] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    margin-top: 4px;
}

.re-focus-blue[b-w0fwurlrh4] {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.re-check-row-right[b-w0fwurlrh4] {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.re-row-grid[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.re-form-grid[b-w0fwurlrh4] {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.re-form-grid .re-label[b-w0fwurlrh4] {
    margin-bottom: 0;
    font-weight: 500;
    color: #334155;
    font-size: 0.8rem;
}

.re-row-flex[b-w0fwurlrh4] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.re-panel-footer[b-w0fwurlrh4] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
}

.re-grid-input[b-w0fwurlrh4] {
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    padding: 4px;
    font-size: 0.8rem;
    text-align: center;
    color: #1e293b;
}

.re-grid-input:focus[b-w0fwurlrh4] {
    border-color: #6366f1;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
    border-radius: 4px;
}

.re-btn-add-nv[b-w0fwurlrh4] {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    padding: 6px;
    width: 100%;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.re-btn-add-nv:hover[b-w0fwurlrh4] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #475569;
}

.re-btn-mini[b-w0fwurlrh4] {
    height: 32px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    color: #64748b;
    font-weight: 700;
}

.re-btn-mini:hover[b-w0fwurlrh4] {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.re-nv-header[b-w0fwurlrh4] {
    background: #f8fafc;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-nv-mini-table[b-w0fwurlrh4] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    background: #fff;
}

.re-nv-mini-table th[b-w0fwurlrh4] {
    background: #f1f5f9;
    padding: 8px;
    text-align: center;
    color: #64748b;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
}

.re-nv-mini-table td[b-w0fwurlrh4] {
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.re-btn-primary[b-w0fwurlrh4] {
    background: #4f46e5;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-btn-primary:hover[b-w0fwurlrh4] {
    background: #4338ca;
}

/* GLOBAL INPUT FONT WEIGHT OVERRIDE */
input:not([type="checkbox"]):not([type="radio"])[b-w0fwurlrh4], 
select[b-w0fwurlrh4], 
textarea[b-w0fwurlrh4] {
    font-weight: 700 !important;
}

input:not([type="checkbox"]):not([type="radio"])[b-w0fwurlrh4]::placeholder,
textarea[b-w0fwurlrh4]::placeholder {
    font-weight: 300 !important;
}

input:not([type="checkbox"]):not([type="radio"])[b-w0fwurlrh4]::-webkit-input-placeholder,
textarea[b-w0fwurlrh4]::-webkit-input-placeholder {
    font-weight: 300 !important;
}

input:not([type="checkbox"]):not([type="radio"])[b-w0fwurlrh4]::-moz-placeholder,
textarea[b-w0fwurlrh4]::-moz-placeholder {
    font-weight: 300 !important;
}

input:not([type="checkbox"]):not([type="radio"]):-ms-input-placeholder[b-w0fwurlrh4],
textarea:-ms-input-placeholder[b-w0fwurlrh4] {
    font-weight: 300 !important;
}

select option[b-w0fwurlrh4] {
    font-weight: 300 !important;
}

select.select-placeholder[b-w0fwurlrh4] {
    font-weight: 300 !important;
    color: #94a3b8 !important;
}

select.select-placeholder option:not([value=""]):not([value="0"])[b-w0fwurlrh4] {
    font-weight: 300 !important;
    color: #1e293b !important;
}
/* Master dashboard theme */
:global(.main-content):has(.lab-header-card)[b-w0fwurlrh4] { background: #f1f5fb !important; }
.lab-header-card[b-w0fwurlrh4] { padding: .8rem 1rem !important; margin: .75rem 1rem .6rem !important; border-radius: 12px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.icon-box-container[b-w0fwurlrh4] { background: #e4f4ff !important; }
.text-indigo-600[b-w0fwurlrh4] { color: #0876ad !important; }
.lab-title-text[b-w0fwurlrh4] { color: #07547c !important; font-size: 1.85rem !important; }
.status-text[b-w0fwurlrh4] { color: #647b90 !important; font-size: .78rem !important; }
.search-input[b-w0fwurlrh4] { width: 280px !important; height: 40px !important; border-radius: 10px !important; border: 1px solid #cbd9e8 !important; }
.directory-section[b-w0fwurlrh4], .table-section[b-w0fwurlrh4] { margin: 0 1rem !important; border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; background: #fff !important; }
.directory-table thead tr[b-w0fwurlrh4] { background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.directory-table th[b-w0fwurlrh4] { color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.directory-table td[b-w0fwurlrh4] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; }
.directory-table tbody tr:nth-child(even)[b-w0fwurlrh4] { background: #f8fbfe !important; }
.directory-table tbody tr:hover[b-w0fwurlrh4] { background: #f0f8ff !important; }
/* /Components/Pages/CaseSheetComponent.razor.rz.scp.css */
/* Case Sheet clinical workspace styles */
:root[b-7v8c3uuuzr] {
    --primary-color: #034f75;
    --primary-light: #e0f2fe;
    --secondary-color: #0284c7;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-100: #f1f5f9;
    --border-color: #e2e8f0;
}

/* Margin Spacing Utility Classes */
.mb-1[b-7v8c3uuuzr] {
    margin-bottom: 0.25rem !important;
}

.mb-2[b-7v8c3uuuzr] {
    margin-bottom: 0.5rem !important;
}

.mb-3[b-7v8c3uuuzr] {
    margin-bottom: 1.5rem !important;
}

.mb-4[b-7v8c3uuuzr] {
    margin-bottom: 2rem !important;
}


.casesheet-backdrop[b-7v8c3uuuzr] {
    --primary-color: #034f75;
    --primary-light: #e0f2fe;
    --secondary-color: #0284c7;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-100: #f1f5f9;
    --border-color: #e2e8f0;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn-b-7v8c3uuuzr 0.25s ease-out;
}

.casesheet-modal[b-7v8c3uuuzr] {
    background: #ffffff;
    border-radius: 20px;
    width: 95vw;
    height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    animation: slideUp-b-7v8c3uuuzr 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes fadeIn-b-7v8c3uuuzr {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-7v8c3uuuzr {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Header */
.casesheet-header[b-7v8c3uuuzr] {
    background: linear-gradient(135deg, #034f75 0%, #026aa7 100%);
    padding: 1rem 1.75rem;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(3, 79, 117, 0.15);
}

.header-patient-info[b-7v8c3uuuzr] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.patient-avatar[b-7v8c3uuuzr] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.patient-meta[b-7v8c3uuuzr] {
    display: flex;
    flex-direction: column;
}

.patient-title[b-7v8c3uuuzr] {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.patient-sub[b-7v8c3uuuzr] {
    font-size: 0.82rem;
    opacity: 0.85;
    font-weight: 500;
    margin-top: 0.1rem;
}

.status-badge[b-7v8c3uuuzr] {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.status-badge.draft[b-7v8c3uuuzr] {
    background: #e0f2fe;
    color: #0369a1;
}

.status-badge.final[b-7v8c3uuuzr] {
    background: #d1fae5;
    color: #065f46;
}

.header-actions[b-7v8c3uuuzr] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-close-modal[b-7v8c3uuuzr] {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-7v8c3uuuzr] {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Workspace Layout */
.casesheet-body[b-7v8c3uuuzr] {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.workspace-left[b-7v8c3uuuzr] {
    flex: 3;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.workspace-right[b-7v8c3uuuzr] {
    flex: 1;
    background: #ffffff;
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Tab Headers */
.tabs-container[b-7v8c3uuuzr] {
    background: #f8fafc;
    border-bottom: 1px solid #cbd5e1;
    display: flex;
    padding: 0 1rem;
    gap: 0.5rem;
}

.tab-btn[b-7v8c3uuuzr] {
    padding: 0.9rem 1.25rem;
    font-weight: 500;
    font-size: 0.85rem;
    color: #64748b;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover[b-7v8c3uuuzr] {
    color: #0284c7;
}

.tab-btn.active[b-7v8c3uuuzr] {
    color: #034f75;
}

.tab-btn.active[b-7v8c3uuuzr]::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #034f75;
    border-radius: 3px 3px 0 0;
}

/* Tab Contents */
.tab-content[b-7v8c3uuuzr] {
    flex: 1;
    padding: 1.75rem;
    overflow-y: auto;
    background: #ffffff;
}

/* Forms & Grids */
.form-grid-2[b-7v8c3uuuzr] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-grid-3[b-7v8c3uuuzr] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.form-grid-4[b-7v8c3uuuzr] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.symptoms-row-layout[b-7v8c3uuuzr] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    margin-bottom: 1.25rem;
}

.form-group[b-7v8c3uuuzr] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group.full-width[b-7v8c3uuuzr] {
    grid-column: span 2;
}

.form-label[b-7v8c3uuuzr] {
    font-size: 0.75rem;
    font-weight: 500;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.form-control-input[b-7v8c3uuuzr],
.form-control-select[b-7v8c3uuuzr],
.form-control-textarea[b-7v8c3uuuzr] {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #334155;
    transition: all 0.15s ease-in-out;
}

.form-control-input:focus[b-7v8c3uuuzr],
.form-control-select:focus[b-7v8c3uuuzr],
.form-control-textarea:focus[b-7v8c3uuuzr] {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.form-control-textarea[b-7v8c3uuuzr] {
    resize: vertical;
    min-height: 50px;
}

.form-control-input:disabled[b-7v8c3uuuzr],
.form-control-select:disabled[b-7v8c3uuuzr],
.form-control-textarea:disabled[b-7v8c3uuuzr] {
    background: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
}

/* Sidebar Vitals & Allergy Cards */
.vitals-side-card[b-7v8c3uuuzr] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.vitals-card-title[b-7v8c3uuuzr] {
    font-size: 0.85rem;
    font-weight: 500;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1.5px solid #f1f5f9;
    padding-bottom: 0.6rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

/* Live Preview Card styles */
.preview-card[b-7v8c3uuuzr] {
    position: relative;
    flex: 1;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
}

.preview-content-scroll[b-7v8c3uuuzr] {
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
}

.preview-badge-live[b-7v8c3uuuzr] {
    background: #f0f9ff;
    color: #0369a1;
    font-size: 0.62rem;
    font-weight: 500;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    border: 1px solid #bae6fd;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: preview-pulse-b-7v8c3uuuzr 2s infinite;
}

@keyframes preview-pulse-b-7v8c3uuuzr {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.7;
    }
}

.preview-empty-state[b-7v8c3uuuzr] {
    text-align: center;
    color: #94a3b8;
    font-size: 0.75rem;
    padding: 2rem 1rem;
    font-style: italic;
}

.preview-vital-badge[b-7v8c3uuuzr] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.68rem;
    font-weight: 500;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    display: inline-block;
}

.vitals-badge-grid[b-7v8c3uuuzr] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.vital-item[b-7v8c3uuuzr] {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 0.55rem;
    display: flex;
    flex-direction: column;
}

.vital-name[b-7v8c3uuuzr] {
    font-size: 0.68rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
}

.vital-value[b-7v8c3uuuzr] {
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    margin-top: 0.15rem;
}

.vital-value.alert-vital[b-7v8c3uuuzr] {
    color: #dc2626;
}

/* Structured List Table Styles */
.structured-table-card[b-7v8c3uuuzr] {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow-x: auto;
    margin-top: 1.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
}

.structured-table[b-7v8c3uuuzr] {
    width: 100%;
    border-collapse: collapse;
}

.structured-table th[b-7v8c3uuuzr] {
    background: #f8fafc;
    color: #475569;
    font-weight: 500;
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: 0.5rem 0.4rem;
    border-bottom: 1.5px solid #cbd5e1;
    text-align: left;
}

.structured-table td[b-7v8c3uuuzr] {
    padding: 0.4rem 0.3rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.78rem;
    vertical-align: middle;
}

.structured-table tr:last-child td[b-7v8c3uuuzr] {
    border-bottom: none;
}

.severity-pill[b-7v8c3uuuzr] {
    font-size: 0.68rem;
    font-weight: 500;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    text-transform: uppercase;
    display: inline-block;
}

.severity-pill.mild[b-7v8c3uuuzr] {
    background: #e0f2fe;
    color: #0369a1;
}

.severity-pill.moderate[b-7v8c3uuuzr] {
    background: #fef3c7;
    color: #b45309;
}

.severity-pill.severe[b-7v8c3uuuzr] {
    background: #fee2e2;
    color: #b91c1c;
}

.btn-add-item[b-7v8c3uuuzr] {
    background: #0284c7;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.82rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s;
    height: 38px;
    justify-content: center;
}

.btn-add-item:hover:not(:disabled)[b-7v8c3uuuzr] {
    background: #0369a1;
}

.btn-remove-item[b-7v8c3uuuzr] {
    background: transparent;
    color: #dc2626;
    border: 1px solid #fca5a5;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-remove-item:hover[b-7v8c3uuuzr] {
    background: #fee2e2;
}

/* ICD-10 Search Autocomplete */
.autocomplete-wrapper[b-7v8c3uuuzr] {
    position: relative;
}

.autocomplete-dropdown[b-7v8c3uuuzr] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1100;
    margin-top: 4px;
}

.autocomplete-item[b-7v8c3uuuzr] {
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #f1f5f9;
}

.autocomplete-item:last-child[b-7v8c3uuuzr] {
    border-bottom: none;
}

.autocomplete-item:hover[b-7v8c3uuuzr] {
    background: #f0f9ff;
    color: #0369a1;
}

.autocomplete-code[b-7v8c3uuuzr] {
    font-weight: 500;
    color: #0284c7;
    margin-right: 0.5rem;
}

/* Dosage frequency selectors */
.dosage-grid[b-7v8c3uuuzr] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
}

.dosage-btn[b-7v8c3uuuzr] {
    width: 100%;
    text-align: center;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem 0.2rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dosage-btn:hover:not(.active)[b-7v8c3uuuzr] {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

.dosage-btn.active[b-7v8c3uuuzr] {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
}

/* Redesigned Food Timing Segmented Control */
.food-segmented-control[b-7v8c3uuuzr] {
    display: inline-flex;
    background: #f1f5f9;
    padding: 0.25rem;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    width: fit-content;
}

.food-segmented-control .segment-btn[b-7v8c3uuuzr] {
    background: transparent;
    border: none;
    outline: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 110px;
    text-align: center;
}

.food-segmented-control .segment-btn:hover:not(.active)[b-7v8c3uuuzr] {
    color: #1e293b;
}

.food-segmented-control .segment-btn.active[b-7v8c3uuuzr] {
    background: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
    font-weight: 500;
}

/* Investigations Result inline edit */
.result-input-box[b-7v8c3uuuzr] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.btn-save-result[b-7v8c3uuuzr] {
    background: #059669;
    color: white;
    border: none;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-end;
}

.btn-save-result:hover[b-7v8c3uuuzr] {
    background: #047857;
}

/* Footer Section */
.casesheet-footer[b-7v8c3uuuzr] {
    padding: 1.25rem 2rem;
    border-top: 1.5px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.footer-left[b-7v8c3uuuzr] {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 500;
}

.footer-right[b-7v8c3uuuzr] {
    display: flex;
    gap: 0.75rem;
}

.btn-footer[b-7v8c3uuuzr] {
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-footer.btn-close[b-7v8c3uuuzr] {
    background: #f1f5f9;
    color: #475569;
    border: 1.5px solid #cbd5e1;
}

.btn-footer.btn-close:hover[b-7v8c3uuuzr] {
    background: #cbd5e1;
}

.btn-footer.btn-draft[b-7v8c3uuuzr] {
    background: #ffffff;
    border: 1.5px solid #0284c7;
    color: #0284c7;
}

.btn-footer.btn-draft:hover:not(:disabled)[b-7v8c3uuuzr] {
    background: #f0f9ff;
}

.btn-footer.btn-finalize[b-7v8c3uuuzr] {
    background: #034f75;
    color: #ffffff;
}

.btn-footer.btn-finalize:hover:not(:disabled)[b-7v8c3uuuzr] {
    background: #026aa7;
}

.btn-footer:disabled[b-7v8c3uuuzr] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Patient History Styles */
.history-timeline[b-7v8c3uuuzr] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.history-card[b-7v8c3uuuzr] {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
}

.history-header[b-7v8c3uuuzr] {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

.history-date[b-7v8c3uuuzr] {
    font-weight: 500;
    color: #034f75;
    font-size: 0.88rem;
}

.history-doc[b-7v8c3uuuzr] {
    font-weight: 500;
    color: #64748b;
    font-size: 0.8rem;
}

.history-block[b-7v8c3uuuzr] {
    margin-bottom: 0.6rem;
}

.history-block-label[b-7v8c3uuuzr] {
    font-size: 0.68rem;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
}

.history-block-content[b-7v8c3uuuzr] {
    font-size: 0.82rem;
    color: #334155;
    margin-top: 0.15rem;
}

.history-pagination[b-7v8c3uuuzr] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-pagination[b-7v8c3uuuzr] {
    background: #ffffff;
    border: 1.2px solid #cbd5e1;
    color: #475569;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-pagination:hover:not(:disabled)[b-7v8c3uuuzr] {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.btn-pagination:disabled[b-7v8c3uuuzr] {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info[b-7v8c3uuuzr] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #475569;
}

/* Redesigned Vitals Tab Layout */
.vitals-redesign-container[b-7v8c3uuuzr] {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0.5rem 0;
}

.vitals-tab-section[b-7v8c3uuuzr] {
    padding: 0 0 2rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.vitals-redesign-container>.vitals-row-2-cols>.vitals-tab-section[b-7v8c3uuuzr] {
    border-bottom: none;
    padding-bottom: 0;
}

.vitals-section-title[b-7v8c3uuuzr] {
    font-size: 0.95rem;
    font-weight: 500;
    color: #034f75;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.vitals-grid-4-cols[b-7v8c3uuuzr] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.vitals-row-2-cols[b-7v8c3uuuzr] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.vitals-grid-3-cols[b-7v8c3uuuzr] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.vital-input-wrapper[b-7v8c3uuuzr] {
    position: relative;
    display: flex;
    align-items: center;
}

.vital-input-wrapper input[b-7v8c3uuuzr] {
    width: 100%;
    padding-right: 3.25rem !important;
    /* Ensure input text doesn't overlap unit label */
}

/* Hide number input spinners to prevent overlap with unit labels */
.vital-input-wrapper[b-7v8c3uuuzr]  input[type=number]::-webkit-inner-spin-button,
.vital-input-wrapper[b-7v8c3uuuzr]  input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.vital-input-wrapper[b-7v8c3uuuzr]  input[type=number] {
    -moz-appearance: textfield;
}

.vitals-allergy-group[b-7v8c3uuuzr] {
    margin-top: 2.25rem;
}

.vital-unit[b-7v8c3uuuzr] {
    position: absolute;
    right: 0.75rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    pointer-events: none;
    letter-spacing: 0.2px;
}

.vitals-tab-section .form-group label[b-7v8c3uuuzr] {
    font-size: 0.72rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.3rem;
}

.readonly-input[b-7v8c3uuuzr] {
    background-color: #f0f9ff !important;
    border-color: #bae6fd !important;
    color: #0369a1 !important;
    font-weight: 500;
}

/* Toggle Switch */
.toggle-wrapper[b-7v8c3uuuzr] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toggle-label[b-7v8c3uuuzr] {
    font-size: 0.68rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
}

.switch[b-7v8c3uuuzr] {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.switch input[b-7v8c3uuuzr] {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider[b-7v8c3uuuzr] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
}

.slider.round[b-7v8c3uuuzr] {
    border-radius: 34px;
}

.slider.round[b-7v8c3uuuzr]:before {
    border-radius: 50%;
}

.slider[b-7v8c3uuuzr]:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
}

input:checked+.slider[b-7v8c3uuuzr] {
    background-color: #0284c7;
}

input:focus+.slider[b-7v8c3uuuzr] {
    box-shadow: 0 0 1px #0284c7;
}

input:checked+.slider[b-7v8c3uuuzr]:before {
    transform: translateX(18px);
}

/* Past Visits Footer Selector & Pills */
/* Redesigned Segmented Past Visits Control in Footer */
.past-visits-footer-selector[b-7v8c3uuuzr] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #f1f5f9;
    padding: 0.25rem 0.5rem 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
}

.past-visits-label[b-7v8c3uuuzr] {
    font-size: 0.72rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-right: 0.4rem;
    user-select: none;
}

.past-visits-label i[b-7v8c3uuuzr] {
    color: #475569;
    font-size: 0.8rem;
}

.past-visit-pill-btn[b-7v8c3uuuzr] {
    background: transparent;
    border: none;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.past-visit-pill-btn:hover[b-7v8c3uuuzr] {
    background: rgba(3, 79, 117, 0.08);
    color: #034f75;
}

.past-visit-pill-btn.active[b-7v8c3uuuzr] {
    background: linear-gradient(135deg, #034f75 0%, #0284c7 100%);
    color: #ffffff;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.past-visit-pill-btn.active i[b-7v8c3uuuzr] {
    color: rgba(255, 255, 255, 0.95);
}

/* Historical Visit Warning Banner */
.historical-visit-alert[b-7v8c3uuuzr] {
    background: #fffbeb;
    border: 1.5px solid #fef3c7;
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.04);
    flex-shrink: 0;
}

.historical-alert-info[b-7v8c3uuuzr] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #b45309;
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.historical-alert-info i[b-7v8c3uuuzr] {
    font-size: 1.15rem;
}

.historical-alert-btn[b-7v8c3uuuzr] {
    background: #b45309;
    color: #ffffff;
    border: none;
    padding: 0.4rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
    text-transform: uppercase;
}

.historical-alert-btn:hover[b-7v8c3uuuzr] {
    background: #92400e;
}

/* Compact Inline Prescription Table Inputs */
.structured-table td input.table-input[b-7v8c3uuuzr],
.structured-table td select.table-input[b-7v8c3uuuzr] {
    width: 100%;
    height: 30px;
    padding: 0.15rem 0.35rem;
    font-size: 0.75rem;
    border-radius: 6px;
    border: 1.5px solid #cbd5e1;
    background-color: #ffffff;
    font-weight: 500;
    color: #334155;
    transition: all 0.15s ease-in-out;
}

.structured-table td input.table-input:focus[b-7v8c3uuuzr],
.structured-table td select.table-input:focus[b-7v8c3uuuzr] {
    border-color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.1);
}

.dosage-grid-inline[b-7v8c3uuuzr] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    justify-content: center;
}

.dose-slot-box[b-7v8c3uuuzr] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    padding: 2px 2px 3px 2px;
    width: 28px;
    transition: all 0.15s ease-in-out;
}

.dose-slot-box.active[b-7v8c3uuuzr] {
    background: #f0f9ff;
    border-color: #38bdf8;
    box-shadow: 0 1px 3px rgba(2, 132, 199, 0.15);
}

.dose-slot-box .dosage-btn-sm[b-7v8c3uuuzr] {
    width: 100%;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    border: none;
    border-radius: 3px;
    font-size: 0.62rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    padding: 0;
    margin-bottom: 2px;
    line-height: 1;
}

.dose-slot-box .dosage-btn-sm:hover:not(.active)[b-7v8c3uuuzr] {
    background: #cbd5e1;
    color: #0f172a;
}

.dose-slot-box.active .dosage-btn-sm[b-7v8c3uuuzr],
.dose-slot-box .dosage-btn-sm.active[b-7v8c3uuuzr] {
    background: #0284c7 !important;
    color: #ffffff !important;
}

.dose-qty-input[b-7v8c3uuuzr] {
    width: 100%;
    height: 18px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    background: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    color: #0f172a;
    padding: 0;
    margin: 0;
    outline: none;
    -moz-appearance: textfield;
}

.dose-qty-input[b-7v8c3uuuzr]::-webkit-inner-spin-button,
.dose-qty-input[b-7v8c3uuuzr]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.dose-qty-input:focus[b-7v8c3uuuzr] {
    border-color: #0284c7;
    background: #ffffff;
    box-shadow: 0 0 0 1.5px rgba(2, 132, 199, 0.25);
}

/* Explicit Table Column Layout Classes */
.col-sno[b-7v8c3uuuzr] {
    width: 35px;
    min-width: 35px;
    text-align: center;
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
}

.col-drug[b-7v8c3uuuzr] {
    width: 190px;
    min-width: 170px;
    position: relative;
}

.col-generic[b-7v8c3uuuzr] {
    width: 120px;
    min-width: 100px;
}

.col-batch[b-7v8c3uuuzr] {
    width: 175px;
    min-width: 155px;
}

.col-dosage[b-7v8c3uuuzr] {
    width: 140px;
    min-width: 135px;
    text-align: center;
}

.col-unit[b-7v8c3uuuzr] {
    width: 75px;
    min-width: 65px;
}

.col-timing[b-7v8c3uuuzr] {
    width: 115px;
    min-width: 105px;
}

.col-frequency[b-7v8c3uuuzr] {
    width: 100px;
    min-width: 90px;
}

.col-days[b-7v8c3uuuzr] {
    width: 55px;
    min-width: 50px;
}

.col-qty[b-7v8c3uuuzr] {
    width: 55px;
    min-width: 50px;
}

.col-instructions[b-7v8c3uuuzr] {
    width: 140px;
    min-width: 120px;
}

.col-stock[b-7v8c3uuuzr] {
    width: 80px;
    min-width: 75px;
    text-align: center;
}

.col-price[b-7v8c3uuuzr] {
    width: 90px;
    min-width: 85px;
}

.col-total[b-7v8c3uuuzr] {
    width: 95px;
    min-width: 90px;
    text-align: right;
}

.col-action[b-7v8c3uuuzr] {
    width: 45px;
    min-width: 45px;
    text-align: center;
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
}

/* Enhanced Drug Autocomplete Dropdown */
.drug-search-dropdown[b-7v8c3uuuzr] {
    width: 380px !important;
    padding: 0.35rem 0;
}

.drug-autocomplete-item[b-7v8c3uuuzr] {
    padding: 0.55rem 0.75rem !important;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.drug-autocomplete-item:last-child[b-7v8c3uuuzr] {
    border-bottom: none;
}

.drug-autocomplete-item:hover[b-7v8c3uuuzr] {
    background: #f0f9ff !important;
}

/* Multi-Column Drug Search Dropdown Table (Image 2 style) */
.item-search-table-dropdown[b-7v8c3uuuzr] {
    min-width: 780px !important;
    width: 780px !important;
    max-width: 95vw !important;
    max-height: 285px !important;
    padding: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border-radius: 2px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28) !important;
    border: 1.5px solid #008080 !important;
    background: #ffffff !important;
    z-index: 99999 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
}
.item-search-table-dropdown[b-7v8c3uuuzr]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.item-search-table-dropdown[b-7v8c3uuuzr]::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.item-search-table-dropdown[b-7v8c3uuuzr]::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 3px;
}
.item-search-table-dropdown[b-7v8c3uuuzr]::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}
.item-search-table[b-7v8c3uuuzr] {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 11px !important;
    font-family: inherit, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    table-layout: fixed !important;
}
.item-search-table thead th[b-7v8c3uuuzr] {
    background: #008080 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    padding: 4px 6px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-bottom: 1px solid #006666 !important;
    white-space: nowrap !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    text-transform: none !important;
    letter-spacing: 0.2px !important;
}
.item-search-table thead th:last-child[b-7v8c3uuuzr] {
    border-right: none !important;
}
.item-search-table tbody tr.item-search-row[b-7v8c3uuuzr] {
    cursor: pointer !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
    height: 24px !important;
    line-height: 1.25 !important;
    transition: none !important;
}
.item-search-table tbody tr.item-search-row:hover[b-7v8c3uuuzr] {
    background-color: #e0f2fe !important;
    color: #0369a1 !important;
}
.item-search-table tbody td[b-7v8c3uuuzr] {
    padding: 4px 6px !important;
    vertical-align: middle !important;
    border-right: 1px solid #e2e8f0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 11px !important;
    color: inherit !important;
}
.item-search-table tbody td:last-child[b-7v8c3uuuzr] {
    border-right: none !important;
}

/* Prescription Financial & Stock Summary Card */
.prescription-summary-card[b-7v8c3uuuzr] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    margin-top: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.prescription-summary-card .summary-left[b-7v8c3uuuzr] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.prescription-summary-card .summary-metric[b-7v8c3uuuzr] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.prescription-summary-card .metric-icon[b-7v8c3uuuzr] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.prescription-summary-card .metric-label[b-7v8c3uuuzr] {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.prescription-summary-card .metric-value[b-7v8c3uuuzr] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}

.prescription-summary-card .summary-alert-badge[b-7v8c3uuuzr] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.prescription-summary-card .alert-danger-badge[b-7v8c3uuuzr] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.prescription-summary-card .alert-success-badge[b-7v8c3uuuzr] {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.prescription-summary-card .summary-right[b-7v8c3uuuzr] {
    display: flex;
    align-items: center;
}

.prescription-summary-card .total-price-box[b-7v8c3uuuzr] {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    text-align: right;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
    color: #ffffff;
}

.prescription-summary-card .total-price-label[b-7v8c3uuuzr] {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    opacity: 0.9;
}

.prescription-summary-card .total-price-amount[b-7v8c3uuuzr] {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    font-family: monospace;
}

/* Dashed Add Medicine Button styling */
.btn-add-medicine-dashed[b-7v8c3uuuzr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: auto;
    min-width: 180px;
    margin: 0 auto;
    padding: 0.45rem 1rem;
    background: transparent;
    border: 1.5px dashed #0284c7;
    border-radius: 8px;
    color: #0284c7;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn-add-medicine-dashed:hover[b-7v8c3uuuzr] {
    background: #f0f9ff;
    border-color: #0369a1;
    color: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.08);
}

.btn-add-medicine-dashed i[b-7v8c3uuuzr] {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

/* Explicit Table Column Layout Classes for Diagnosis */
.col-diag-sno[b-7v8c3uuuzr] {
    width: 35px;
    min-width: 35px;
    text-align: center;
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
}

.col-diag-code[b-7v8c3uuuzr] {
    width: 340px;
    min-width: 300px;
    position: relative; /* essential for autocomplete dropdown position */
}

.col-diag-custom[b-7v8c3uuuzr] {
    min-width: 160px;
}

.col-diag-type[b-7v8c3uuuzr] {
    width: 110px;
    min-width: 100px;
}

.col-diag-cond[b-7v8c3uuuzr] {
    width: 100px;
    min-width: 90px;
}

.col-diag-sev[b-7v8c3uuuzr] {
    width: 100px;
    min-width: 90px;
}

.col-diag-status[b-7v8c3uuuzr] {
    width: 100px;
    min-width: 90px;
}

.col-diag-act[b-7v8c3uuuzr] {
    width: 45px;
    min-width: 45px;
    text-align: center;
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
}

.inline-dropdown[b-7v8c3uuuzr] {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    max-height: 180px;
    overflow-y: auto;
    z-index: 1200;
    margin-top: 4px;
    width: 350px; /* expand beyond the narrow column width */
}

.overflow-visible[b-7v8c3uuuzr] {
    overflow: visible !important;
}

/* Explicit Table Column Layout Classes for Investigations */
.col-inv-sno[b-7v8c3uuuzr] {
    width: 50px;
    min-width: 50px;
    text-align: center;
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
}

.col-inv-name[b-7v8c3uuuzr] {
    min-width: 200px;
    position: relative;
}

.col-inv-ref[b-7v8c3uuuzr] {
    width: 120px;
    min-width: 100px;
}

.col-inv-status[b-7v8c3uuuzr] {
    width: 120px;
    min-width: 100px;
}

.col-inv-results[b-7v8c3uuuzr] {
    min-width: 250px;
}

.col-inv-act[b-7v8c3uuuzr] {
    width: 50px;
    min-width: 50px;
    text-align: center;
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
}

/* Custom Confirmation Dialog Modal */
.custom-confirm-backdrop[b-7v8c3uuuzr] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    animation: fadeInModal-b-7v8c3uuuzr 0.2s ease-out forwards;
}

.custom-confirm-dialog[b-7v8c3uuuzr] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 480px;
    z-index: 9999;
    animation: scaleInModal-b-7v8c3uuuzr 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.custom-confirm-content[b-7v8c3uuuzr] {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.custom-confirm-header[b-7v8c3uuuzr] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px 12px 24px;
    position: relative;
}

.custom-confirm-icon-badge[b-7v8c3uuuzr] {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    color: #d97706;
}

.custom-confirm-title[b-7v8c3uuuzr] {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    flex-grow: 1;
}

.custom-confirm-close[b-7v8c3uuuzr] {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.custom-confirm-close:hover[b-7v8c3uuuzr] {
    color: #334155;
    background: #f1f5f9;
}

.custom-confirm-body[b-7v8c3uuuzr] {
    padding: 8px 24px 20px 24px;
}

.custom-confirm-message[b-7v8c3uuuzr] {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #475569;
}

.custom-confirm-footer[b-7v8c3uuuzr] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.custom-confirm-btn-cancel[b-7v8c3uuuzr] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 8px 18px;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.custom-confirm-btn-cancel:hover[b-7v8c3uuuzr] {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
}

.custom-confirm-btn-ok[b-7v8c3uuuzr] {
    font-weight: 600;
    font-size: 0.88rem;
    padding: 8px 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-primary-finalize[b-7v8c3uuuzr] {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff;
    border: none;
}

.btn-primary-finalize:hover[b-7v8c3uuuzr] {
    background: linear-gradient(135deg, #0369a1, #075985);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

@keyframes fadeInModal-b-7v8c3uuuzr {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleInModal-b-7v8c3uuuzr {
    from {
        opacity: 0;
        transform: translate(-50%, -46%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Enhanced Green Unbilled Charges Button & Card in Investigation Tab */
.btn-obs-unbilled-action[b-7v8c3uuuzr] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1.05rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: 1px solid #059669;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-obs-unbilled-action:hover[b-7v8c3uuuzr] {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    color: #ffffff;
}

.btn-obs-unbilled-action.active[b-7v8c3uuuzr] {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    box-shadow: 0 2px 6px rgba(4, 120, 87, 0.4) inset, 0 0 0 2px rgba(16, 185, 129, 0.3);
    color: #ffffff;
}

.obs-unbilled-count-pill[b-7v8c3uuuzr] {
    background: #ffffff;
    color: #065f46;
    font-weight: 800;
    font-size: 0.72rem;
    border-radius: 9999px;
    padding: 0.1rem 0.45rem;
    margin-left: 0.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.unbilled-charges-card[b-7v8c3uuuzr] {
    background: #ffffff;
    border: 1.5px solid #a7f3d0;
    border-left: 4px solid #10b981;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 16px -2px rgba(16, 185, 129, 0.1), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
}

.unbilled-header[b-7v8c3uuuzr] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #ecfdf5;
}

.unbilled-title[b-7v8c3uuuzr] {
    font-size: 0.92rem;
    font-weight: 800;
    color: #065f46;
}

.unbilled-empty-state[b-7v8c3uuuzr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 1rem;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

.unbilled-charges-table[b-7v8c3uuuzr] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.78rem;
}

.unbilled-charges-table th[b-7v8c3uuuzr] {
    background: #f0fdf4;
    color: #065f46;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0.55rem 0.65rem;
    border-bottom: 1.5px solid #a7f3d0;
}

.unbilled-charges-table td[b-7v8c3uuuzr] {
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.unbilled-charges-table tr:last-child td[b-7v8c3uuuzr] {
    border-bottom: none;
}

.unbilled-charges-table tr.row-editing[b-7v8c3uuuzr] {
    background: #f0fdf4 !important;
}

.unbilled-type-badge[b-7v8c3uuuzr] {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.unbilled-type-badge.badge-inv[b-7v8c3uuuzr] {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.unbilled-type-badge.badge-obs[b-7v8c3uuuzr] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-weight: 800;
}

.unbilled-type-badge.badge-con[b-7v8c3uuuzr] {
    background: #ede9fe;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

.unbilled-type-badge.badge-room[b-7v8c3uuuzr] {
    background: #fce7f3;
    color: #be185d;
    border: 1px solid #fbcfe8;
}

.unbilled-type-badge.badge-def[b-7v8c3uuuzr] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-edit-unbilled[b-7v8c3uuuzr] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.65rem;
    background: #f0fdf4;
    color: #059669;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-edit-unbilled:hover[b-7v8c3uuuzr] {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

/* Preview Report Button (Active & Frozen states) */
.btn-preview-lab-report[b-7v8c3uuuzr] {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff !important;
    border: 1px solid #047857;
    border-radius: 8px;
    padding: 0.45rem 1.15rem;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-preview-lab-report:hover:not(:disabled)[b-7v8c3uuuzr] {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
    color: #ffffff !important;
}

.btn-preview-lab-report:disabled[b-7v8c3uuuzr],
.btn-preview-lab-report.btn-preview-frozen[b-7v8c3uuuzr] {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: 0.85 !important;
    pointer-events: auto !important;
    transform: none !important;
}

/* Nurse Notes Tab Styles */
.nurse-notes-container[b-7v8c3uuuzr] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    height: 100%;
    overflow: hidden;
}

.nurse-notes-toolbar[b-7v8c3uuuzr] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nurse-notes-summary-stats[b-7v8c3uuuzr] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.nurse-kpi-chip[b-7v8c3uuuzr] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.35rem 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.kpi-label[b-7v8c3uuuzr] {
    display: block;
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
}

.kpi-val[b-7v8c3uuuzr] {
    font-weight: 800;
    color: #1e293b;
    font-size: 0.8rem;
}

.btn-refresh-nurse[b-7v8c3uuuzr] {
    margin-left: auto;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s;
}

.btn-refresh-nurse:hover[b-7v8c3uuuzr] {
    background: #f1f5f9;
    color: #0284c7;
    border-color: #0284c7;
}

.nurse-pills-bar[b-7v8c3uuuzr] {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    padding-bottom: 2px;
}

.nurse-filter-btn[b-7v8c3uuuzr] {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.73rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s;
}

.nurse-filter-btn:hover[b-7v8c3uuuzr] {
    background: #eef2ff;
    color: #4f46e5;
    border-color: #c7d2fe;
}

.nurse-filter-btn.active[b-7v8c3uuuzr] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.empty-nurse-state[b-7v8c3uuuzr] {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    color: #64748b;
}

.empty-nurse-icon[b-7v8c3uuuzr] {
    font-size: 2.5rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    display: block;
}

.nurse-cards-scroll[b-7v8c3uuuzr] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-right: 4px;
}

.nurse-section-card[b-7v8c3uuuzr] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.nurse-card-hdr[b-7v8c3uuuzr] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.5rem 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hdr-title[b-7v8c3uuuzr] {
    font-size: 0.78rem;
    font-weight: 800;
    color: #1e1b4b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.count-badge[b-7v8c3uuuzr] {
    background: #eef2ff;
    color: #4f46e5;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 6px;
}

.table-responsive-nurse[b-7v8c3uuuzr] {
    max-height: 240px;
    overflow-y: auto;
}

.table-nurse-custom[b-7v8c3uuuzr] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.76rem;
}

.table-nurse-custom thead th[b-7v8c3uuuzr] {
    position: sticky;
    top: 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.45rem 0.75rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    z-index: 2;
    text-align: left !important;
}

.table-nurse-custom tbody td[b-7v8c3uuuzr] {
    padding: 0.45rem 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #334155;
    white-space: nowrap;
    text-align: left !important;
}

.table-nurse-custom tbody tr:hover td[b-7v8c3uuuzr] {
    background: #f8fafc;
}

.tag-shift[b-7v8c3uuuzr] {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    background: #e0e7ff;
    color: #3730a3;
}

/* Visiting Doctor Autocomplete Dropdown */
.visiting-doc-autocomplete-wrap[b-7v8c3uuuzr] {
    position: relative;
    width: 100%;
}

.visiting-doc-dropdown[b-7v8c3uuuzr] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
    max-height: 220px;
    overflow-y: auto;
    z-index: 1200;
    padding: 4px;
}

.visiting-doc-item[b-7v8c3uuuzr] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    gap: 8px;
}

.visiting-doc-item:hover[b-7v8c3uuuzr],
.visiting-doc-item.highlighted[b-7v8c3uuuzr] {
    background: #eef2ff;
}

.visiting-doc-info[b-7v8c3uuuzr] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.visiting-doc-name[b-7v8c3uuuzr] {
    font-size: 0.83rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.visiting-doc-item:hover .visiting-doc-name[b-7v8c3uuuzr],
.visiting-doc-item.highlighted .visiting-doc-name[b-7v8c3uuuzr] {
    color: #4338ca;
}

.visiting-doc-qual[b-7v8c3uuuzr] {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
}

.visiting-doc-badge[b-7v8c3uuuzr] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: rgba(79, 70, 229, 0.08);
    color: #4f46e5;
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 5px;
    padding: 2px 7px;
    white-space: nowrap;
    flex-shrink: 0;
}

.visiting-doc-no-results[b-7v8c3uuuzr] {
    padding: 12px;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* Dark theme support */
[data-theme="dark"] .visiting-doc-dropdown[b-7v8c3uuuzr] {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .visiting-doc-item:hover[b-7v8c3uuuzr],
[data-theme="dark"] .visiting-doc-item.highlighted[b-7v8c3uuuzr] {
    background: #334155;
}

[data-theme="dark"] .visiting-doc-name[b-7v8c3uuuzr] {
    color: #f1f5f9;
}

[data-theme="dark"] .visiting-doc-item:hover .visiting-doc-name[b-7v8c3uuuzr],
[data-theme="dark"] .visiting-doc-item.highlighted .visiting-doc-name[b-7v8c3uuuzr] {
    color: #818cf8;
}

[data-theme="dark"] .visiting-doc-qual[b-7v8c3uuuzr] {
    color: #94a3b8;
}

[data-theme="dark"] .visiting-doc-badge[b-7v8c3uuuzr] {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    border-color: rgba(99, 102, 241, 0.35);
}

[data-theme="dark"] .visiting-doc-no-results[b-7v8c3uuuzr] {
    color: #94a3b8;
}

.visiting-doc-section-card[b-7v8c3uuuzr] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
}

.visiting-doc-section-header[b-7v8c3uuuzr] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.visiting-doc-add-row[b-7v8c3uuuzr] {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 0.75rem;
}

.btn-add-doc-action[b-7v8c3uuuzr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 36px;
    white-space: nowrap;
}

.btn-add-doc-action:hover[b-7v8c3uuuzr] {
    background: #4338ca;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.visiting-doc-table-wrap[b-7v8c3uuuzr] {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.visiting-doc-tbl[b-7v8c3uuuzr] {
    font-size: 0.8rem;
    width: 100%;
}

.visiting-doc-tbl thead th[b-7v8c3uuuzr] {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.5rem 0.6rem;
    border-bottom: 1px solid #cbd5e1;
}

.visiting-doc-tbl tbody td[b-7v8c3uuuzr] {
    padding: 0.5rem 0.6rem;
    vertical-align: middle;
}

.visiting-doc-empty-state[b-7v8c3uuuzr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    color: #94a3b8;
    font-size: 0.8rem;
    background: #ffffff;
}

.btn-trash-mini[b-7v8c3uuuzr] {
    background: #fee2e2;
    color: #ef4444;
    border: 1px solid #fecaca;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.15s ease;
}

.btn-trash-mini:hover[b-7v8c3uuuzr] {
    background: #ef4444;
    color: #ffffff;
}

[data-theme="dark"] .visiting-doc-section-card[b-7v8c3uuuzr] {
    background: #0f172a;
    border-color: #334155;
}

[data-theme="dark"] .visiting-doc-section-header[b-7v8c3uuuzr] {
    border-bottom-color: #334155;
}

[data-theme="dark"] .visiting-doc-add-row[b-7v8c3uuuzr] {
    background: #1e293b;
    border-color: #475569;
}

[data-theme="dark"] .visiting-doc-table-wrap[b-7v8c3uuuzr] {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .visiting-doc-tbl thead th[b-7v8c3uuuzr] {
    background: #0f172a;
    color: #94a3b8;
    border-bottom-color: #334155;
}

[data-theme="dark"] .visiting-doc-empty-state[b-7v8c3uuuzr] {
    background: #1e293b;
    color: #64748b;
}

/* Enhanced Rx Selector & Highlighted Preview Button */
.rx-selector-pill[b-7v8c3uuuzr] {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.rx-selector-pill.rx-unselected:hover[b-7v8c3uuuzr] {
    border-color: #94a3b8 !important;
    background: #f8fafc !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06) !important;
}

.rx-selector-pill.rx-selected:hover[b-7v8c3uuuzr] {
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25) !important;
    border-color: #0284c7 !important;
    transform: translateY(-1px);
}

.btn-rx-preview-highlight[b-7v8c3uuuzr] {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-rx-preview-highlight:hover:not(:disabled)[b-7v8c3uuuzr] {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
    border-color: #7dd3fc !important;
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.6) !important;
    transform: translateY(-1px) scale(1.02);
}

.btn-rx-preview-highlight:active:not(:disabled)[b-7v8c3uuuzr] {
    transform: translateY(0) scale(0.98);
}

.prescription-template-save-row[b-7v8c3uuuzr] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.prescription-template-save-row label[b-7v8c3uuuzr] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 650;
}

.prescription-template-save-row input[type="checkbox"][b-7v8c3uuuzr] {
    width: 15px;
    height: 15px;
    accent-color: #0284c7;
}

.prescription-template-save-row > input[type="text"][b-7v8c3uuuzr] {
    width: min(250px, 100%);
    height: 34px;
}

.prescription-template-save-row > select[b-7v8c3uuuzr] {
    width: min(220px, 100%);
    height: 34px;
}

.prescription-visit-picker[b-7v8c3uuuzr] {
    display: flex;
    gap: 0.5rem;
    padding: 0.25rem 0 0.35rem;
    overflow-x: auto;
}

.prescription-visit-option[b-7v8c3uuuzr] {
    display: flex;
    min-width: 150px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #ffffff;
    color: #475569;
    text-align: left;
    cursor: pointer;
}

.prescription-visit-option i[b-7v8c3uuuzr] {
    color: #4f46e5;
}

.prescription-visit-option span[b-7v8c3uuuzr] {
    color: #1e293b;
    font-size: 0.78rem;
    font-weight: 750;
}

.prescription-visit-option small[b-7v8c3uuuzr] {
    color: #64748b;
    font-size: 0.68rem;
}

.prescription-visit-option.selected[b-7v8c3uuuzr] {
    border-color: #4f46e5;
    background: #eef2ff;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.12);
}

.prescription-history-load-more[b-7v8c3uuuzr] {
    display: inline-flex;
    align-self: center;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid #c7d2fe;
    border-radius: 7px;
    background: #ffffff;
    color: #4338ca;
    font-size: 0.75rem;
    font-weight: 650;
    cursor: pointer;
}

.prescription-history-load-more:disabled[b-7v8c3uuuzr] {
    cursor: wait;
    opacity: 0.65;
}

.prescription-template-backdrop[b-7v8c3uuuzr] {
    position: fixed;
    inset: 0;
    z-index: 2600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(4px);
}

.prescription-template-modal[b-7v8c3uuuzr] {
    display: flex;
    width: min(900px, 96vw);
    max-height: 90vh;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dbe5ef;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.32);
}

.prescription-template-header[b-7v8c3uuuzr] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e8eef5;
}

.prescription-template-header h4[b-7v8c3uuuzr] {
    margin: 0;
    color: #17324d;
    font-size: 1rem;
    font-weight: 750;
}

.prescription-template-header h4 i[b-7v8c3uuuzr] {
    margin-right: 0.35rem;
    color: #4f46e5;
}

.prescription-template-header p[b-7v8c3uuuzr] {
    margin: 0.3rem 0 0;
    color: #64748b;
    font-size: 0.78rem;
}

.prescription-template-header > button[b-7v8c3uuuzr] {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #64748b;
    font-size: 1.25rem;
    cursor: pointer;
}

.prescription-template-header > button:hover[b-7v8c3uuuzr] {
    background: #f1f5f9;
    color: #1e293b;
}

.prescription-template-body[b-7v8c3uuuzr] {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem 1.25rem 1.25rem;
    overflow-y: auto;
}

.prescription-template-form[b-7v8c3uuuzr] {
    padding: 0.85rem;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    background: #f8fbff;
}

.prescription-template-form-heading[b-7v8c3uuuzr],
.prescription-template-form-footer[b-7v8c3uuuzr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.prescription-template-form-heading[b-7v8c3uuuzr] {
    margin-bottom: 0.65rem;
    color: #1e3a8a;
    font-size: 0.82rem;
}

.prescription-template-form-heading button[b-7v8c3uuuzr] {
    border: 0;
    background: transparent;
    color: #4f46e5;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
}

.prescription-template-fields[b-7v8c3uuuzr] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
}

.prescription-template-fields label[b-7v8c3uuuzr] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    color: #475569;
    font-size: 0.68rem;
    font-weight: 700;
}

.prescription-template-fields label > span[b-7v8c3uuuzr] {
    color: #dc2626;
}

.prescription-template-fields label input[type="text"][b-7v8c3uuuzr],
.prescription-template-fields label select[b-7v8c3uuuzr] {
    width: 100%;
    min-height: 34px;
    padding: 0.4rem 0.6rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #1e293b;
    font-size: 0.78rem;
}

.prescription-template-form-footer[b-7v8c3uuuzr] {
    margin-top: 0.7rem;
    color: #64748b;
    font-size: 0.72rem;
}

.prescription-template-form-footer button[b-7v8c3uuuzr] {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid #4f46e5;
    border-radius: 7px;
    background: #4f46e5;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
}

.prescription-template-form-footer button:disabled[b-7v8c3uuuzr] {
    cursor: not-allowed;
    opacity: 0.6;
}

.prescription-template-search[b-7v8c3uuuzr] {
    display: flex;
    gap: 0.5rem;
}

.prescription-template-search input[b-7v8c3uuuzr] {
    flex: 1;
    min-width: 0;
    min-height: 36px;
    padding: 0.45rem 0.7rem;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font-size: 0.8rem;
}

.prescription-template-search button[b-7v8c3uuuzr] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #ffffff;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 650;
    cursor: pointer;
}

.prescription-template-list[b-7v8c3uuuzr] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.prescription-template-list-item[b-7v8c3uuuzr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
}

.prescription-template-list-info[b-7v8c3uuuzr] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.15rem;
}

.prescription-template-list-info strong[b-7v8c3uuuzr] {
    overflow: hidden;
    color: #1e293b;
    font-size: 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prescription-template-list-info span[b-7v8c3uuuzr],
.prescription-template-list-info small[b-7v8c3uuuzr] {
    overflow: hidden;
    color: #64748b;
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prescription-template-list-actions[b-7v8c3uuuzr] {
    display: flex;
    flex: 0 0 auto;
    gap: 0.4rem;
}

.prescription-template-list-actions button[b-7v8c3uuuzr] {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.55rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
}

.prescription-template-list-actions .use-template-button[b-7v8c3uuuzr] {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.prescription-template-list-actions .edit-template-button[b-7v8c3uuuzr] {
    border-color: #ddd6fe;
    background: #f5f3ff;
    color: #6d28d9;
}

.prescription-template-list-actions button:disabled[b-7v8c3uuuzr] {
    cursor: not-allowed;
    opacity: 0.5;
}

.prescription-template-empty[b-7v8c3uuuzr] {
    display: flex;
    min-height: 90px;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.8rem;
}

@media (max-width: 700px) {
    .prescription-template-fields[b-7v8c3uuuzr] {
        grid-template-columns: 1fr;
    }

    .prescription-template-list-item[b-7v8c3uuuzr] {
        align-items: flex-start;
        flex-direction: column;
    }

    .prescription-template-list-actions[b-7v8c3uuuzr] {
        align-self: flex-end;
    }

    .prescription-template-save-row[b-7v8c3uuuzr] {
        justify-content: flex-start;
    }
}

/* /Components/Pages/CashCounter.razor.rz.scp.css */
.cash-counter-wrapper[b-izgz13jmls] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: calc(100vh - 85px);
    overflow: hidden;
    padding-bottom: 0.5rem;
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
}

.page-header[b-izgz13jmls] {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border-radius: 12px;
    padding: 0.45rem 1rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(99, 102, 241, 0.18);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.85rem;
    min-height: 52px;
}

.page-header.header-scrollable[b-izgz13jmls] {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #f1f5f9;
}

.page-header.header-scrollable[b-izgz13jmls]::-webkit-scrollbar {
    height: 5px;
}

.page-header.header-scrollable[b-izgz13jmls]::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.page-header.header-scrollable[b-izgz13jmls]::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

.page-header.header-scrollable[b-izgz13jmls]::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.header-left-group[b-izgz13jmls] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.header-title-container[b-izgz13jmls] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.header-icon[b-izgz13jmls] {
    display: none;
}

.header-title[b-izgz13jmls] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.2px;
    line-height: 1;
    white-space: nowrap;
}

/* Mode Toggle Pills (Small button size and text aligned with heading in single line) */
.counter-mode-pills[b-izgz13jmls] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 2px 4px;
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.22);
    box-shadow: 0 1px 3px rgba(79, 70, 229, 0.06);
}

.mode-pill[b-izgz13jmls] {
    background: transparent;
    border: none;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    line-height: 1.2;
    height: 28px;
}

.mode-pill:hover[b-izgz13jmls] {
    color: #1e1b4b;
    background: #f1f5f9;
}

.mode-pill.active[b-izgz13jmls] {
    background: #4f46e5;
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(79, 70, 229, 0.25);
}

.mode-pill .badge-count[b-izgz13jmls] {
    background: #f1f5f9;
    color: #475569;
    padding: 1px 5px;
    border-radius: 8px;
    font-size: 0.64rem;
    font-weight: 800;
    display: inline-block;
}

.mode-pill.active .badge-count[b-izgz13jmls] {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Header Summary Cards (Right Aligned, Perfectly Spaced & Aligned) */
.header-summary-cards[b-izgz13jmls] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: nowrap;
    margin-left: auto;
    flex-shrink: 0;
}

.header-summary-cards .summary-card[b-izgz13jmls] {
    border-radius: 9px;
    padding: 0.35rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    background: #ffffff;
    flex-shrink: 0;
}

.header-summary-cards .summary-card:hover[b-izgz13jmls] {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.header-summary-cards .summary-icon[b-izgz13jmls] {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.header-summary-cards .summary-content[b-izgz13jmls] {
    display: flex;
    flex-direction: column;
}

.header-summary-cards .summary-label[b-izgz13jmls] {
    font-size: 0.56rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1;
    margin-bottom: 2px;
}

.header-summary-cards .summary-value[b-izgz13jmls] {
    font-size: 0.90rem;
    font-weight: 850;
    margin-top: 0;
    letter-spacing: -0.2px;
    line-height: 1.1;
}

.net-card[b-izgz13jmls] {
    background: #ffffff;
    border-color: #bbf7d0 !important;
}
.net-card .summary-icon[b-izgz13jmls] { background: #dcfce7; color: #16a34a; }
.net-card .summary-label[b-izgz13jmls] { color: #15803d; }
.net-card .summary-value[b-izgz13jmls] { color: #14532d; }

.bill-card[b-izgz13jmls] {
    background: #ffffff;
    border-color: #bfdbfe !important;
}
.bill-card .summary-icon[b-izgz13jmls] { background: #dbeafe; color: #2563eb; }
.bill-card .summary-label[b-izgz13jmls] { color: #1d4ed8; }
.bill-card .summary-value[b-izgz13jmls] { color: #1e40af; }

.due-card[b-izgz13jmls] {
    background: #ffffff;
    border-color: #fde68a !important;
}
.due-card .summary-icon[b-izgz13jmls] { background: #fef3c7; color: #d97706; }
.due-card .summary-label[b-izgz13jmls] { color: #b45309; }
.due-card .summary-value[b-izgz13jmls] { color: #92400e; }

.pharmacy-card[b-izgz13jmls] {
    background: #ffffff;
    border-color: #e9d5ff !important;
}
.pharmacy-card .summary-icon[b-izgz13jmls] { background: #f3e8ff; color: #7c3aed; }
.pharmacy-card .summary-label[b-izgz13jmls] { color: #6d28d9; }
.pharmacy-card .summary-value[b-izgz13jmls] { color: #581c87; }

.paid-card[b-izgz13jmls] {
    background: #f0fdfa;
    border-color: #ccfbf1 !important;
}
.paid-card .summary-icon[b-izgz13jmls] { color: #0d9488; }
.paid-card .summary-label[b-izgz13jmls] { color: #0f766e; }
.paid-card .summary-value[b-izgz13jmls] { color: #115e59; }

.balance-card[b-izgz13jmls] {
    background: #fef2f2;
    border-color: #fee2e2 !important;
}
.balance-card .summary-icon[b-izgz13jmls] { color: #ea580c; }
.balance-card .summary-label[b-izgz13jmls] { color: #c2410c; }
.balance-card .summary-value[b-izgz13jmls] { color: #9a3412; }

/* Filters card */
.filter-card[b-izgz13jmls] {
    background: #ffffff;
    border-radius: 12px;
    padding: 0.6rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
}

.filter-grid[b-izgz13jmls] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.65rem;
    width: 100%;
}

.filter-item[b-izgz13jmls] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
    min-width: 120px;
}

.filter-item.search-item[b-izgz13jmls] {
    flex: 1.4;
    min-width: 160px;
}

.filter-item.action-item[b-izgz13jmls] {
    flex: 0;
    min-width: max-content;
}

.filter-actions-inline[b-izgz13jmls] {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.filter-item label[b-izgz13jmls] {
    font-size: 0.68rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-select[b-izgz13jmls],
.form-control[b-izgz13jmls] {
    width: 100%;
    height: 32px;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    padding: 0.25rem 0.6rem;
    font-size: 0.78rem;
    color: #1e293b;
    background-color: #ffffff;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.form-select:focus[b-izgz13jmls],
.form-control:focus[b-izgz13jmls] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-input-wrapper[b-izgz13jmls] {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.search-input-wrapper input[b-izgz13jmls] {
    width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 0.6rem !important;
}

.search-icon[b-izgz13jmls] {
    position: absolute;
    left: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.82rem;
    pointer-events: none;
    z-index: 2;
}

.btn-primary[b-izgz13jmls] {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.3rem 1rem;
    height: 32px;
    font-weight: 700;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.2);
    transition: all 0.25s ease;
}

.btn-primary:hover[b-izgz13jmls] {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary[b-izgz13jmls] {
    background: #f1f5f9;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.3rem 1rem;
    height: 32px;
    font-weight: 700;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-secondary:hover[b-izgz13jmls] {
    background: #e2e8f0;
    color: #1e293b;
}

/* Bills table card */
.table-card[b-izgz13jmls] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.table-header[b-izgz13jmls] {
    padding: 0.5rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-title[b-izgz13jmls] {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.record-count[b-izgz13jmls] {
    font-size: 0.75rem;
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-weight: 600;
}

.table-responsive[b-izgz13jmls] {
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    scrollbar-width: thin;
}

.table-responsive[b-izgz13jmls]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.table-responsive[b-izgz13jmls]::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.table-responsive[b-izgz13jmls]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.table-responsive[b-izgz13jmls]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.custom-table[b-izgz13jmls] {
    width: 100%;
    min-width: 1350px;
    border-collapse: collapse;
    font-size: 0.78rem;
    text-align: left;
    table-layout: auto;
}

.custom-table th[b-izgz13jmls] {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    padding: 0.45rem 0.6rem;
    border-bottom: 1.5px solid #cbd5e1;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 5;
}

.custom-table td[b-izgz13jmls] {
    padding: 0.35rem 0.6rem;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 0.78rem;
}

.custom-table tr:hover[b-izgz13jmls] {
    background-color: #f8fafc;
}

.bill-no[b-izgz13jmls] {
    font-family: monospace;
    font-weight: 700;
    color: #2563eb;
    font-size: 0.85rem;
}

.patient-name[b-izgz13jmls] {
    font-weight: 700;
    color: #0f172a;
}

.patient-phone[b-izgz13jmls] {
    font-weight: 600;
    color: #64748b;
}

.patient-id-no[b-izgz13jmls] {
    font-family: monospace;
    font-weight: 700;
    color: #0369a1;
    font-size: 0.82rem;
    white-space: nowrap;
}

.font-numeric[b-izgz13jmls] {
    font-family: system-ui, -apple-system, sans-serif;
    font-variant-numeric: tabular-nums;
}

.font-bold[b-izgz13jmls] {
    font-weight: 700;
}

.text-success[b-izgz13jmls] {
    color: #16a34a !important;
}

.text-danger[b-izgz13jmls] {
    color: #dc2626 !important;
}

.text-success-bold[b-izgz13jmls] {
    color: #16a34a;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Status Badges */
.sales-refund-action[b-izgz13jmls] {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 9px;
    border: 1px solid transparent;
    padding: 5px 10px;
    font-size: 0.78rem;
    font-weight: 800;
    transition: all 0.18s ease;
}

.sales-refund-action.pending[b-izgz13jmls] {
    background: #fff7ed;
    color: #c2410c;
    border-color: #fed7aa;
}

.sales-refund-action.pending:hover[b-izgz13jmls] {
    background: #ea580c;
    color: #ffffff;
    border-color: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(234, 88, 12, 0.18);
}

.sales-refund-action.refunded[b-izgz13jmls] {
    background: #ecfdf5;
    color: #15803d;
    border-color: #bbf7d0;
}

.payment-modal.animated-modal.sales-return-refund-modal[b-izgz13jmls] {
    width: min(96vw, 1040px);
    max-width: 1040px;
}

.sales-return-list-row[b-izgz13jmls] {
    cursor: pointer;
    transition: background-color 0.16s ease;
}

.sales-return-list-row:hover[b-izgz13jmls] {
    background: #f5f7ff;
}

.sales-return-details-button[b-izgz13jmls] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.7rem;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.76rem;
    font-weight: 700;
    transition: all 0.16s ease;
}

.sales-return-details-button:hover[b-izgz13jmls] {
    background: #4338ca;
    color: #ffffff;
    border-color: #4338ca;
}

.sales-return-refund-input-grid > div[b-izgz13jmls] {
    min-width: 0;
}

.sales-return-items-panel[b-izgz13jmls] {
    margin-bottom: 0.9rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.sales-return-items-heading[b-izgz13jmls] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e8edf5;
    background: linear-gradient(110deg, #f8faff, #f1f5ff);
}

.sales-return-items-heading h4[b-izgz13jmls] {
    margin: 0;
    color: #1e293b;
    font-size: 0.92rem;
    font-weight: 800;
}

.sales-return-items-heading span[b-izgz13jmls] {
    display: block;
    margin-top: 0.15rem;
    color: #64748b;
    font-size: 0.74rem;
}

.sales-return-items-heading > strong[b-izgz13jmls] {
    color: #312e81;
    font-size: 1rem;
}

.sales-return-total-due[b-izgz13jmls] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.85rem 0;
    padding: 0.85rem 1rem;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    background: linear-gradient(110deg, #f0fdf4, #ecfdf5);
}

.sales-return-total-due span[b-izgz13jmls],
.sales-return-total-due small[b-izgz13jmls] {
    display: block;
}

.sales-return-total-due span[b-izgz13jmls] {
    color: #166534;
    font-size: 0.84rem;
    font-weight: 800;
}

.sales-return-total-due small[b-izgz13jmls] {
    margin-top: 0.15rem;
    color: #64748b;
    font-size: 0.72rem;
}

.sales-return-total-due > strong[b-izgz13jmls] {
    color: #15803d;
    font-size: 1.15rem;
    white-space: nowrap;
}

.sales-return-items-table[b-izgz13jmls] {
    min-width: 760px;
    margin: 0;
}

.sales-return-items-table thead th[b-izgz13jmls] {
    padding: 0.7rem 0.8rem;
    background: #f8fafc;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    white-space: nowrap;
}

.sales-return-items-table tbody td[b-izgz13jmls] {
    padding: 0.72rem 0.8rem;
    color: #334155;
    vertical-align: middle;
}

.sales-return-items-table tbody tr.selected[b-izgz13jmls] {
    background: #f5f7ff;
}

.sales-return-items-table tbody td:first-child strong[b-izgz13jmls],
.sales-return-items-table tbody td:first-child small[b-izgz13jmls] {
    display: block;
}

.sales-return-items-table tbody td:first-child strong[b-izgz13jmls] {
    color: #1e293b;
    font-size: 0.8rem;
}

.sales-return-items-table tbody td:first-child small[b-izgz13jmls] {
    margin-top: 0.15rem;
    color: #64748b;
    font-size: 0.68rem;
}

.sales-return-item-status[b-izgz13jmls] {
    display: inline-flex;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
}

.sales-return-item-status.received[b-izgz13jmls] {
    border: 1px solid #bbf7d0;
    background: #ecfdf5;
    color: #15803d;
}

.sales-return-item-status.due[b-izgz13jmls] {
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #c2410c;
}

.sales-return-refund-input-grid .form-control[b-izgz13jmls],
.sales-return-refund-input-grid .form-select[b-izgz13jmls] {
    min-height: 38px;
}

.sales-return-refund-input-grid[b-izgz13jmls] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 0.75rem;
}

.sales-return-refund-received-summary[b-izgz13jmls] {
    display: grid;
    grid-template-columns: auto 1fr auto 1.5fr;
    align-items: center;
    gap: 0.35rem 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
    color: #64748b;
    font-size: 0.85rem;
}

.sales-return-refund-received-summary strong[b-izgz13jmls] {
    color: #b91c1c;
}

.sales-return-receive-btn[b-izgz13jmls] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.65rem 1.25rem;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(185, 28, 28, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.sales-return-receive-btn:hover:not(:disabled)[b-izgz13jmls] {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(185, 28, 28, 0.3);
}

.sales-return-receive-btn:disabled[b-izgz13jmls] {
    cursor: not-allowed;
    opacity: 0.65;
    box-shadow: none;
}

@media (max-width: 640px) {
    .payment-modal.animated-modal.sales-return-refund-modal[b-izgz13jmls] {
        width: 96vw;
        max-width: 96vw;
    }

    .sales-return-refund-input-grid[b-izgz13jmls] {
        grid-template-columns: 1fr;
    }

    .sales-return-refund-received-summary[b-izgz13jmls] {
        grid-template-columns: 1fr auto;
    }
}

.status-badge[b-izgz13jmls] {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.settled[b-izgz13jmls] {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.status-badge.pending[b-izgz13jmls] {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

/* Table action button */
.cash-pay-btn[b-izgz13jmls] {
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 6px !important;
    padding: 0.35rem 0.75rem !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
    width: auto !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
}

.cash-pay-btn:hover[b-izgz13jmls] {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.2) !important;
}

.cash-pay-btn i[b-izgz13jmls] {
    font-size: 0.85rem !important;
    line-height: 1 !important;
}

.cash-pay-btn:disabled[b-izgz13jmls],
.cash-pay-btn.btn-frozen[b-izgz13jmls] {
    background: #f8fafc !important;
    color: #94a3b8 !important;
    border-color: #e2e8f0 !important;
    cursor: not-allowed !important;
    opacity: 0.65 !important;
    box-shadow: none !important;
    filter: grayscale(0.5);
}

.cash-pay-btn:disabled:hover[b-izgz13jmls],
.cash-pay-btn.btn-frozen:hover[b-izgz13jmls] {
    background: #f8fafc !important;
    color: #94a3b8 !important;
    border-color: #e2e8f0 !important;
    box-shadow: none !important;
}

/* Pagination */
.pagination-container[b-izgz13jmls] {
    padding: 0.5rem 1.25rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
}

.pagination-btn[b-izgz13jmls] {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.pagination-btn:hover:not(:disabled)[b-izgz13jmls] {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.pagination-btn:disabled[b-izgz13jmls] {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info[b-izgz13jmls] {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

/* Modal Backdrops & Glass Modal */
.modal-backdrop[b-izgz13jmls] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
}

.payment-modal[b-izgz13jmls] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    width: 90%;
    max-width: 580px;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 1001;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    animation: modalSlideIn-b-izgz13jmls 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlideIn-b-izgz13jmls {
    from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.payment-modal .modal-header[b-izgz13jmls] {
    background: linear-gradient(135deg, #1e3a8a 0%, #0d1e4c 100%);
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.payment-modal .modal-header h3[b-izgz13jmls] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.payment-modal .modal-header .close-btn[b-izgz13jmls] {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
}

.payment-modal .modal-header .close-btn:hover[b-izgz13jmls] {
    color: #ffffff;
    transform: scale(1.1);
}

.payment-modal .modal-body[b-izgz13jmls] {
    padding: 1.75rem 2rem;
}

/* Bill Info Summary in Modal */
.bill-info-summary[b-izgz13jmls] {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.info-row[b-izgz13jmls] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.65rem;
    font-size: 0.88rem;
}

.info-label[b-izgz13jmls] {
    color: #64748b;
    font-weight: 600;
}

.info-value[b-izgz13jmls] {
    color: #0f172a;
}

.amount-cards-grid[b-izgz13jmls] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.amt-card[b-izgz13jmls] {
    border-radius: 10px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.amt-card.net[b-izgz13jmls] {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
}

.amt-card.paid[b-izgz13jmls] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.amt-card.balance[b-izgz13jmls] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.amt-lbl[b-izgz13jmls] {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.amt-val[b-izgz13jmls] {
    font-size: 1rem;
    font-weight: 800;
}

/* Payment form controls */
.payment-form[b-izgz13jmls] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.payment-form .form-grid[b-izgz13jmls] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.payment-form .form-group[b-izgz13jmls] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.payment-form .form-group label[b-izgz13jmls] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
}

.payment-form .form-group label .required[b-izgz13jmls] {
    color: #ef4444;
}

.form-control-large[b-izgz13jmls] {
    font-size: 1.15rem;
    height: 48px;
    font-weight: 800;
    text-align: center;
    color: #1e3a8a;
    border-color: #94a3b8;
}

/* Enhanced Payment Modal Styling */
.payment-modal.animated-modal[b-izgz13jmls] {
    max-width: 620px;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(99, 102, 241, 0.05);
    background: #ffffff;
}

.modal-header-gradient[b-izgz13jmls] {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    padding: 1.25rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.modal-header-left[b-izgz13jmls] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-header-icon[b-izgz13jmls] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-title-text[b-izgz13jmls] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.modal-subtitle-text[b-izgz13jmls] {
    margin: 2px 0 0 0;
    font-size: 0.78rem;
    color: #c7d2fe;
    font-weight: 500;
}

.modal-close-icon-btn[b-izgz13jmls] {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-icon-btn:hover[b-izgz13jmls] {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.modal-body-custom[b-izgz13jmls] {
    padding: 1.5rem 1.75rem;
    max-height: 82vh;
    overflow-y: auto;
}

/* Bill Summary Card */
.bill-summary-card[b-izgz13jmls] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.25rem;
}

.bill-summary-top-row[b-izgz13jmls] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.meta-label[b-izgz13jmls] {
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.05em;
    margin-right: 0.35rem;
}

.bill-code-badge[b-izgz13jmls] {
    font-family: monospace;
    font-size: 0.88rem;
    font-weight: 800;
    color: #4f46e5;
    background: #eef2ff;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    border: 1px solid #c7d2fe;
}

.patient-name-highlight[b-izgz13jmls] {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
}

.stat-pills-grid[b-izgz13jmls] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
}

.stat-pill[b-izgz13jmls] {
    padding: 0.65rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease;
}

.stat-pill:hover[b-izgz13jmls] {
    transform: translateY(-2px);
}

.stat-pill.net-pill[b-izgz13jmls] {
    background: #eef2ff;
    border: 1.5px solid #c7d2fe;
    color: #3730a3;
}

.stat-pill.paid-pill[b-izgz13jmls] {
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    color: #047857;
}

.stat-pill.due-pill[b-izgz13jmls] {
    background: #fff1f2;
    border: 1.5px solid #fecdd3;
    color: #be123c;
}

.stat-pill-label[b-izgz13jmls] {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 0.2rem;
}

.stat-pill-value[b-izgz13jmls] {
    font-size: 1.05rem;
    font-weight: 800;
}

/* Collection Amount Hero Card */
.collection-amount-hero[b-izgz13jmls] {
    background: #ffffff;
    border: 2px solid #6366f1;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.12);
    margin-bottom: 1.25rem;
}

.hero-amount-label[b-izgz13jmls] {
    font-size: 0.78rem;
    font-weight: 800;
    color: #334155;
    letter-spacing: 0.03em;
}

.quick-fill-title[b-izgz13jmls] {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
}

.hero-amount-input-wrapper[b-izgz13jmls] {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol[b-izgz13jmls] {
    position: absolute;
    left: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #4f46e5;
}

.hero-amount-input[b-izgz13jmls] {
    width: 100%;
    height: 52px;
    border-radius: 12px;
    border: 1.5px solid #c7d2fe;
    padding-left: 2.5rem;
    padding-right: 1rem;
    font-size: 1.6rem;
    font-weight: 900;
    color: #1e1b4b;
    background: #fafafa;
    text-align: center;
    transition: all 0.2s ease;
}

.hero-amount-input:focus[b-izgz13jmls] {
    outline: none;
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.quick-presets-row[b-izgz13jmls] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.65rem;
}

.preset-btn[b-izgz13jmls] {
    border: none;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preset-btn.full-due[b-izgz13jmls] {
    background: #e0e7ff;
    color: #4338ca;
}

.preset-btn.full-due:hover[b-izgz13jmls] {
    background: #4338ca;
    color: #ffffff;
}

.preset-btn.half-due[b-izgz13jmls] {
    background: #f1f5f9;
    color: #475569;
}

.preset-btn.half-due:hover[b-izgz13jmls] {
    background: #cbd5e1;
    color: #0f172a;
}

/* Paymodes Card */
.paymode-card[b-izgz13jmls] {
    background: #fafafa;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.15rem;
    margin-bottom: 1.25rem;
}

.paymode-card-header[b-izgz13jmls] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.paymode-title[b-izgz13jmls] {
    font-weight: 800;
    font-size: 0.88rem;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.paymode-badge-chip[b-izgz13jmls] {
    font-size: 0.72rem;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-weight: 700;
}

.paymode-badge-chip.single-chip[b-izgz13jmls] {
    background: #e0e7ff;
    color: #4338ca;
}

.paymode-badge-chip.mixed-chip[b-izgz13jmls] {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.paymode-rows-container[b-izgz13jmls] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.paymode-row[b-izgz13jmls] {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0.75rem;
    align-items: center;
}

.paymode-field-label[b-izgz13jmls] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 0.3rem;
    display: block;
}

.input-with-icon[b-izgz13jmls] {
    position: relative;
    display: flex;
    align-items: center;
}

.field-icon[b-izgz13jmls] {
    position: absolute;
    left: 0.75rem;
    color: #6366f1;
    font-size: 0.9rem;
    z-index: 2;
    pointer-events: none;
}

.custom-select[b-izgz13jmls] {
    height: 40px !important;
    border-radius: 10px !important;
    border: 1.5px solid #cbd5e1 !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    padding-left: 2.2rem !important;
}

.custom-select:focus[b-izgz13jmls] {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12) !important;
}

.input-with-currency[b-izgz13jmls] {
    position: relative;
    display: flex;
    align-items: center;
}

.field-currency[b-izgz13jmls] {
    position: absolute;
    left: 0.75rem;
    color: #64748b;
    font-weight: 700;
    font-size: 0.85rem;
    pointer-events: none;
}

.custom-input[b-izgz13jmls] {
    height: 40px !important;
    border-radius: 10px !important;
    border: 1.5px solid #cbd5e1 !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    padding-left: 2rem !important;
}

.custom-input:focus[b-izgz13jmls] {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12) !important;
}

/* Modal Form Grid */
.modal-form-grid[b-izgz13jmls] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.field-label[b-izgz13jmls] {
    font-size: 0.7rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
}

/* Actions Footer */
.modal-footer-actions[b-izgz13jmls] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 1.15rem;
    border-top: 1px solid #e2e8f0;
}

.btn-modal-cancel[b-izgz13jmls] {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 0.65rem 1.4rem;
    font-weight: 700;
    font-size: 0.82rem;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.btn-modal-cancel:hover[b-izgz13jmls] {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

.btn-modal-submit[b-izgz13jmls] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0.65rem 1.6rem;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    transition: all 0.25s ease;
}

.btn-modal-submit:hover:not(:disabled)[b-izgz13jmls] {
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.btn-modal-submit:disabled[b-izgz13jmls] {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Spinner border style overrides */
.spinner-container[b-izgz13jmls] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Executive Pagination Bar */
.executive-pagination-bar[b-izgz13jmls] {
    padding: 8px 16px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pagination-text[b-izgz13jmls] {
    font-size: 0.775rem;
    color: #64748b;
    font-weight: 600;
}

.pagination-text strong[b-izgz13jmls] {
    color: #0f172a;
}

.pagination-right[b-izgz13jmls] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rows-per-page[b-izgz13jmls] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.page-size-select[b-izgz13jmls] {
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f172a;
    background: #ffffff;
    cursor: pointer;
}

.pagination-buttons[b-izgz13jmls] {
    display: flex;
    align-items: center;
    gap: 3px;
}

.page-num-btn[b-izgz13jmls] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}

.page-num-btn:disabled[b-izgz13jmls] {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-num-btn.active[b-izgz13jmls] {
    border-color: #4f46e5;
    background: #4f46e5;
    color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR CASH COUNTER
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .cash-counter-wrapper[b-izgz13jmls],
[data-theme="dark"] .cash-counter-wrapper[b-izgz13jmls] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .page-header[b-izgz13jmls],
[data-theme="dark"] .page-header[b-izgz13jmls],
:host-context([data-theme="dark"]) .filter-card[b-izgz13jmls],
[data-theme="dark"] .filter-card[b-izgz13jmls],
:host-context([data-theme="dark"]) .filters-card[b-izgz13jmls],
[data-theme="dark"] .filters-card[b-izgz13jmls],
:host-context([data-theme="dark"]) .stat-card[b-izgz13jmls],
[data-theme="dark"] .stat-card[b-izgz13jmls],
:host-context([data-theme="dark"]) .table-card[b-izgz13jmls],
[data-theme="dark"] .table-card[b-izgz13jmls],
:host-context([data-theme="dark"]) .table-container[b-izgz13jmls],
[data-theme="dark"] .table-container[b-izgz13jmls],
:host-context([data-theme="dark"]) .payment-modal[b-izgz13jmls],
[data-theme="dark"] .payment-modal[b-izgz13jmls],
:host-context([data-theme="dark"]) .modal-content[b-izgz13jmls],
[data-theme="dark"] .modal-content[b-izgz13jmls],
:host-context([data-theme="dark"]) .bill-summary-card[b-izgz13jmls],
[data-theme="dark"] .bill-summary-card[b-izgz13jmls],
:host-context([data-theme="dark"]) .collection-amount-hero[b-izgz13jmls],
[data-theme="dark"] .collection-amount-hero[b-izgz13jmls],
:host-context([data-theme="dark"]) .paymode-card[b-izgz13jmls],
[data-theme="dark"] .paymode-card[b-izgz13jmls] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .header-icon[b-izgz13jmls],
[data-theme="dark"] .header-icon[b-izgz13jmls] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .header-title[b-izgz13jmls],
:host-context([data-theme="dark"]) .table-title[b-izgz13jmls],
:host-context([data-theme="dark"]) .patient-name[b-izgz13jmls],
:host-context([data-theme="dark"]) .hero-amount-label[b-izgz13jmls],
:host-context([data-theme="dark"]) .paymode-title[b-izgz13jmls],
:host-context([data-theme="dark"]) .patient-name-highlight[b-izgz13jmls],
[data-theme="dark"] .header-title[b-izgz13jmls],
[data-theme="dark"] .table-title[b-izgz13jmls],
[data-theme="dark"] .patient-name[b-izgz13jmls],
[data-theme="dark"] .hero-amount-label[b-izgz13jmls],
[data-theme="dark"] .paymode-title[b-izgz13jmls],
[data-theme="dark"] .patient-name-highlight[b-izgz13jmls] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .header-subtitle[b-izgz13jmls],
:host-context([data-theme="dark"]) .filter-item label[b-izgz13jmls],
:host-context([data-theme="dark"]) .patient-phone[b-izgz13jmls],
[data-theme="dark"] .header-subtitle[b-izgz13jmls],
[data-theme="dark"] .filter-item label[b-izgz13jmls],
[data-theme="dark"] .patient-phone[b-izgz13jmls] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .bill-no[b-izgz13jmls],
[data-theme="dark"] .bill-no[b-izgz13jmls],
:host-context([data-theme="dark"]) .patient-id-no[b-izgz13jmls],
[data-theme="dark"] .patient-id-no[b-izgz13jmls] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .record-count[b-izgz13jmls],
[data-theme="dark"] .record-count[b-izgz13jmls] {
    background: #0f172a !important;
    color: #cbd5e1 !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .status-badge.settled[b-izgz13jmls],
[data-theme="dark"] .status-badge.settled[b-izgz13jmls] {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #6ee7b7 !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

:host-context([data-theme="dark"]) .status-badge.pending[b-izgz13jmls],
[data-theme="dark"] .status-badge.pending[b-izgz13jmls] {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #fde047 !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
}

:host-context([data-theme="dark"]) .cash-pay-btn[b-izgz13jmls],
[data-theme="dark"] .cash-pay-btn[b-izgz13jmls] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .cash-pay-btn:hover[b-izgz13jmls],
[data-theme="dark"] .cash-pay-btn:hover[b-izgz13jmls] {
    background: #38bdf8 !important;
    color: #0f172a !important;
    border-color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .cash-pay-btn:disabled[b-izgz13jmls],
:host-context([data-theme="dark"]) .cash-pay-btn.btn-frozen[b-izgz13jmls],
[data-theme="dark"] .cash-pay-btn:disabled[b-izgz13jmls],
[data-theme="dark"] .cash-pay-btn.btn-frozen[b-izgz13jmls] {
    background: #1e293b !important;
    color: #64748b !important;
    border-color: #334155 !important;
    cursor: not-allowed !important;
    opacity: 0.55 !important;
    box-shadow: none !important;
}

:host-context([data-theme="dark"]) .cash-pay-btn:disabled:hover[b-izgz13jmls],
:host-context([data-theme="dark"]) .cash-pay-btn.btn-frozen:hover[b-izgz13jmls],
[data-theme="dark"] .cash-pay-btn:disabled:hover[b-izgz13jmls],
[data-theme="dark"] .cash-pay-btn.btn-frozen:hover[b-izgz13jmls] {
    background: #1e293b !important;
    color: #64748b !important;
    border-color: #334155 !important;
    box-shadow: none !important;
}

:host-context([data-theme="dark"]) .custom-table th[b-izgz13jmls],
:host-context([data-theme="dark"]) .counter-table th[b-izgz13jmls],
[data-theme="dark"] .custom-table th[b-izgz13jmls],
[data-theme="dark"] .counter-table th[b-izgz13jmls] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .custom-table td[b-izgz13jmls],
:host-context([data-theme="dark"]) .counter-table td[b-izgz13jmls],
[data-theme="dark"] .custom-table td[b-izgz13jmls],
[data-theme="dark"] .counter-table td[b-izgz13jmls] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .custom-table tr:hover td[b-izgz13jmls],
:host-context([data-theme="dark"]) .counter-table tr:hover td[b-izgz13jmls],
[data-theme="dark"] .custom-table tr:hover td[b-izgz13jmls],
[data-theme="dark"] .counter-table tr:hover td[b-izgz13jmls] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .form-control[b-izgz13jmls],
:host-context([data-theme="dark"]) .form-select[b-izgz13jmls],
:host-context([data-theme="dark"]) .hero-amount-input[b-izgz13jmls],
:host-context([data-theme="dark"]) .custom-select[b-izgz13jmls],
:host-context([data-theme="dark"]) .custom-input[b-izgz13jmls],
[data-theme="dark"] .form-control[b-izgz13jmls],
[data-theme="dark"] .form-select[b-izgz13jmls],
[data-theme="dark"] .hero-amount-input[b-izgz13jmls],
[data-theme="dark"] .custom-select[b-izgz13jmls],
[data-theme="dark"] .custom-input[b-izgz13jmls] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .executive-pagination-bar[b-izgz13jmls],
:host-context([data-theme="dark"]) .pagination-container[b-izgz13jmls],
[data-theme="dark"] .executive-pagination-bar[b-izgz13jmls],
[data-theme="dark"] .pagination-container[b-izgz13jmls] {
    background: #1e293b !important;
    border-top-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .pagination-text[b-izgz13jmls],
:host-context([data-theme="dark"]) .rows-per-page[b-izgz13jmls],
[data-theme="dark"] .pagination-text[b-izgz13jmls],
[data-theme="dark"] .rows-per-page[b-izgz13jmls] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .pagination-text strong[b-izgz13jmls],
[data-theme="dark"] .pagination-text strong[b-izgz13jmls] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .page-size-select[b-izgz13jmls],
[data-theme="dark"] .page-size-select[b-izgz13jmls] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .page-num-btn[b-izgz13jmls],
[data-theme="dark"] .page-num-btn[b-izgz13jmls] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .page-num-btn.active[b-izgz13jmls],
[data-theme="dark"] .page-num-btn.active[b-izgz13jmls] {
    background: #38bdf8 !important;
    color: #0f172a !important;
    border-color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .table-responsive[b-izgz13jmls]::-webkit-scrollbar-track,
[data-theme="dark"] .table-responsive[b-izgz13jmls]::-webkit-scrollbar-track {
    background: #1e293b;
}

:host-context([data-theme="dark"]) .table-responsive[b-izgz13jmls]::-webkit-scrollbar-thumb,
[data-theme="dark"] .table-responsive[b-izgz13jmls]::-webkit-scrollbar-thumb {
    background: #334155;
}

:host-context([data-theme="dark"]) .page-header.header-scrollable[b-izgz13jmls],
[data-theme="dark"] .page-header.header-scrollable[b-izgz13jmls] {
    scrollbar-color: #475569 #1e293b;
}

:host-context([data-theme="dark"]) .page-header.header-scrollable[b-izgz13jmls]::-webkit-scrollbar-track,
[data-theme="dark"] .page-header.header-scrollable[b-izgz13jmls]::-webkit-scrollbar-track {
    background: #1e293b;
}

:host-context([data-theme="dark"]) .page-header.header-scrollable[b-izgz13jmls]::-webkit-scrollbar-thumb,
[data-theme="dark"] .page-header.header-scrollable[b-izgz13jmls]::-webkit-scrollbar-thumb {
    background: #475569;
}

:host-context([data-theme="dark"]) .page-header.header-scrollable[b-izgz13jmls]::-webkit-scrollbar-thumb:hover,
[data-theme="dark"] .page-header.header-scrollable[b-izgz13jmls]::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}
/* Triple dot action button */
.btn-dots-action[b-izgz13jmls] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    padding: 0;
}
.btn-dots-action:hover[b-izgz13jmls] {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
    transform: scale(1.08);
}
:host-context([data-theme=dark]) .btn-dots-action[b-izgz13jmls],
[data-theme=dark] .btn-dots-action[b-izgz13jmls] {
    background: #1e293b !important;
    color: #94a3b8 !important;
    border-color: #334155 !important;
}
:host-context([data-theme=dark]) .btn-dots-action:hover[b-izgz13jmls],
[data-theme=dark] .btn-dots-action:hover[b-izgz13jmls] {
    background: #38bdf8 !important;
    color: #0f172a !important;
    border-color: #38bdf8 !important;
}


/* Bill Details Modal Enhancement */
.bill-details-modal[b-izgz13jmls] {
    max-width: 800px !important;
    width: 95vw !important;
    max-height: 90vh;
    border-radius: 16px !important;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35) !important;
}

.bill-details-body[b-izgz13jmls] {
    padding: 1.5rem !important;
    overflow-y: auto;
    max-height: calc(90vh - 130px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Token Banner */
.details-token-banner[b-izgz13jmls] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.details-token-left[b-izgz13jmls] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.details-token-icon[b-izgz13jmls] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #dcfce7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #166534;
    font-size: 1.4rem;
}

.details-token-title[b-izgz13jmls] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #166534;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

.details-token-number[b-izgz13jmls] {
    font-size: 1.75rem;
    font-weight: 800;
    color: #15803d;
    line-height: 1.1;
    font-family: inherit;
}

.details-token-right[b-izgz13jmls] {
    text-align: right;
}

.details-token-sublabel[b-izgz13jmls] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #4b5563;
    display: block;
    text-transform: uppercase;
}

.details-token-subval[b-izgz13jmls] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

/* Patient Info Grid */
.details-info-card[b-izgz13jmls] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.details-info-item[b-izgz13jmls] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.details-info-label[b-izgz13jmls] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.details-info-val[b-izgz13jmls] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    word-break: break-word;
}

/* Table Area */
.details-section-head[b-izgz13jmls] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.details-section-title[b-izgz13jmls] {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.details-item-badge[b-izgz13jmls] {
    background: #e2e8f0;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.details-table-wrapper[b-izgz13jmls] {
    max-height: 230px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
}

.bill-breakdown-table[b-izgz13jmls] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin: 0;
}

.bill-breakdown-table th[b-izgz13jmls] {
    background: #f1f5f9;
    color: #475569;
    font-weight: 700;
    padding: 0.65rem 0.85rem;
    border-bottom: 2px solid #cbd5e1;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    position: sticky;
    top: 0;
    z-index: 2;
}

.bill-breakdown-table td[b-izgz13jmls] {
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    vertical-align: middle;
}

.bill-breakdown-table tbody tr:hover td[b-izgz13jmls] {
    background: #f8fafc;
}

.bill-breakdown-table .type-tag[b-izgz13jmls] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}

/* 5 Metrics Summary Grid */
.details-summary-grid[b-izgz13jmls] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.details-metric-box[b-izgz13jmls] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.details-metric-box.net-box[b-izgz13jmls] {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.details-metric-box.paid-box[b-izgz13jmls] {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.details-metric-box.due-box[b-izgz13jmls] {
    background: #fef2f2;
    border-color: #fecaca;
}

.details-metric-lbl[b-izgz13jmls] {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.2rem;
}

.details-metric-val[b-izgz13jmls] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    font-family: inherit;
    line-height: 1.2;
}

.details-metric-val.val-primary[b-izgz13jmls] {
    color: #2563eb;
}

.details-metric-val.val-success[b-izgz13jmls] {
    color: #16a34a;
}

.details-metric-val.val-danger[b-izgz13jmls] {
    color: #dc2626;
}

/* Modal Bottom Actions */
.details-footer-actions[b-izgz13jmls] {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.25rem;
}

.btn-close-details[b-izgz13jmls] {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1.4rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-close-details:hover[b-izgz13jmls] {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #94a3b8;
}

/* Dark Mode */
:host-context([data-theme=dark]) .details-token-banner[b-izgz13jmls],
[data-theme=dark] .details-token-banner[b-izgz13jmls] {
    background: rgba(34, 197, 94, 0.12) !important;
    border-color: #166534 !important;
}

:host-context([data-theme=dark]) .details-token-icon[b-izgz13jmls],
[data-theme=dark] .details-token-icon[b-izgz13jmls] {
    background: rgba(34, 197, 94, 0.2) !important;
    color: #4ade80 !important;
}

:host-context([data-theme=dark]) .details-token-title[b-izgz13jmls],
[data-theme=dark] .details-token-title[b-izgz13jmls] {
    color: #86efac !important;
}

:host-context([data-theme=dark]) .details-token-number[b-izgz13jmls],
[data-theme=dark] .details-token-number[b-izgz13jmls] {
    color: #4ade80 !important;
}

:host-context([data-theme=dark]) .details-token-sublabel[b-izgz13jmls],
[data-theme=dark] .details-token-sublabel[b-izgz13jmls] {
    color: #94a3b8 !important;
}

:host-context([data-theme=dark]) .details-token-subval[b-izgz13jmls],
[data-theme=dark] .details-token-subval[b-izgz13jmls] {
    color: #f8fafc !important;
}

:host-context([data-theme=dark]) .details-info-card[b-izgz13jmls],
[data-theme=dark] .details-info-card[b-izgz13jmls] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme=dark]) .details-info-val[b-izgz13jmls],
[data-theme=dark] .details-info-val[b-izgz13jmls] {
    color: #f8fafc !important;
}

:host-context([data-theme=dark]) .details-section-title[b-izgz13jmls],
[data-theme=dark] .details-section-title[b-izgz13jmls] {
    color: #f8fafc !important;
}

:host-context([data-theme=dark]) .details-table-wrapper[b-izgz13jmls],
[data-theme=dark] .details-table-wrapper[b-izgz13jmls] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme=dark]) .bill-breakdown-table th[b-izgz13jmls],
[data-theme=dark] .bill-breakdown-table th[b-izgz13jmls] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

:host-context([data-theme=dark]) .bill-breakdown-table td[b-izgz13jmls],
[data-theme=dark] .bill-breakdown-table td[b-izgz13jmls] {
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme=dark]) .bill-breakdown-table tbody tr:hover td[b-izgz13jmls],
[data-theme=dark] .bill-breakdown-table tbody tr:hover td[b-izgz13jmls] {
    background: #1e293b !important;
}

:host-context([data-theme=dark]) .details-metric-box[b-izgz13jmls],
[data-theme=dark] .details-metric-box[b-izgz13jmls] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme=dark]) .details-metric-val[b-izgz13jmls],
[data-theme=dark] .details-metric-val[b-izgz13jmls] {
    color: #f8fafc !important;
}

:host-context([data-theme=dark]) .details-metric-box.net-box[b-izgz13jmls],
[data-theme=dark] .details-metric-box.net-box[b-izgz13jmls] {
    background: rgba(37, 99, 235, 0.15) !important;
    border-color: #1e40af !important;
}

:host-context([data-theme=dark]) .details-metric-box.paid-box[b-izgz13jmls],
[data-theme=dark] .details-metric-box.paid-box[b-izgz13jmls] {
    background: rgba(22, 163, 74, 0.15) !important;
    border-color: #166534 !important;
}

:host-context([data-theme=dark]) .details-metric-box.due-box[b-izgz13jmls],
[data-theme=dark] .details-metric-box.due-box[b-izgz13jmls] {
    background: rgba(220, 38, 38, 0.15) !important;
    border-color: #991b1b !important;
}

:host-context([data-theme=dark]) .btn-close-details[b-izgz13jmls],
[data-theme=dark] .btn-close-details[b-izgz13jmls] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme=dark]) .btn-close-details:hover[b-izgz13jmls],
[data-theme=dark] .btn-close-details:hover[b-izgz13jmls] {
    background: #334155 !important;
}

/* ==========================================================================
   PATIENT ADVANCE & CASH COUNTER WORKSPACE STYLES
   ========================================================================== */

.advance-container-card[b-izgz13jmls] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.advance-nav-header[b-izgz13jmls] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 0.5rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(203, 213, 225, 0.8);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.advance-subtabs-group[b-izgz13jmls] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.advance-subtab-btn[b-izgz13jmls] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    border-radius: 8px;
    border: 1px solid transparent;
    background: #f8fafc;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.advance-subtab-btn:hover[b-izgz13jmls] {
    background: #f1f5f9;
    color: #0f172a;
}

.advance-subtab-btn.active[b-izgz13jmls] {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.subtab-badge[b-izgz13jmls] {
    background: #e2e8f0;
    color: #334155;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
}

.advance-subtab-btn.active .subtab-badge[b-izgz13jmls] {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.pulse-badge[b-izgz13jmls] {
    background: #ef4444 !important;
    color: #ffffff !important;
    animation: pulseBadge-b-izgz13jmls 1.8s infinite;
}

@keyframes pulseBadge-b-izgz13jmls {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.btn-request-advance[b-izgz13jmls] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    border-radius: 8px !important;
    padding: 0 1.15rem !important;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    height: 38px !important;
}

.btn-request-advance:hover[b-izgz13jmls] {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4) !important;
    color: #ffffff !important;
}

/* Queue KPI cards */
.queue-kpi-row[b-izgz13jmls] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.queue-kpi-card[b-izgz13jmls] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.queue-kpi-card.pending[b-izgz13jmls] {
    border-left: 4px solid #f59e0b;
}

.queue-kpi-card.collected[b-izgz13jmls] {
    border-left: 4px solid #10b981;
}

.queue-kpi-card .kpi-icon[b-izgz13jmls] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.queue-kpi-card.pending .kpi-icon[b-izgz13jmls] {
    background: #fef3c7;
    color: #d97706;
}

.queue-kpi-card.collected .kpi-icon[b-izgz13jmls] {
    background: #d1fae5;
    color: #059669;
}

.queue-kpi-card .kpi-title[b-izgz13jmls] {
    font-size: 0.72rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: block;
}

.queue-kpi-card .kpi-numbers[b-izgz13jmls] {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
}

.queue-kpi-card .kpi-count[b-izgz13jmls] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
}

.queue-kpi-card .kpi-amount[b-izgz13jmls] {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
}

.queue-kpi-card.pending .kpi-amount[b-izgz13jmls] {
    color: #d97706;
}

.queue-kpi-card.collected .kpi-amount[b-izgz13jmls] {
    color: #059669;
}

/* Deposits 4-KPI Grid */
.advance-kpi-grid[b-izgz13jmls] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.advance-kpi-card[b-izgz13jmls] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.advance-kpi-card .kpi-icon[b-izgz13jmls] {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.card-deposited[b-izgz13jmls] {
    border-left: 4px solid #0ea5e9;
}
.card-deposited .kpi-icon[b-izgz13jmls] {
    background: rgba(14, 165, 233, 0.12);
    color: #0284c7;
}

.card-utilized[b-izgz13jmls] {
    border-left: 4px solid #6366f1;
}
.card-utilized .kpi-icon[b-izgz13jmls] {
    background: rgba(99, 102, 241, 0.12);
    color: #4f46e5;
}

.card-refunded[b-izgz13jmls] {
    border-left: 4px solid #f59e0b;
}
.card-refunded .kpi-icon[b-izgz13jmls] {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.card-balance[b-izgz13jmls] {
    border-left: 4px solid #10b981;
}
.card-balance .kpi-icon[b-izgz13jmls] {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.advance-kpi-card .kpi-label[b-izgz13jmls] {
    font-size: 0.68rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    display: block;
    letter-spacing: 0.03em;
}

.advance-kpi-card .kpi-val[b-izgz13jmls] {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.balance-bold-green[b-izgz13jmls] {
    color: #059669 !important;
}

/* Advance Filter Controls */
.advance-filter-card[b-izgz13jmls] {
    padding: 0.65rem 0.85rem;
}

.advance-filter-row[b-izgz13jmls] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
}

.status-toggle-group[b-izgz13jmls] {
    display: inline-flex;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 8px;
    gap: 3px;
}

.filter-pill-btn[b-izgz13jmls] {
    border: none;
    background: transparent;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
}

.filter-pill-btn:hover[b-izgz13jmls] {
    color: #0f172a;
}

.filter-pill-btn.active[b-izgz13jmls] {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.advance-search-box[b-izgz13jmls] {
    flex: 1;
}

/* Patient Advance Action Buttons */
.btn-advance-receive[b-izgz13jmls] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    border: 1px solid #047857 !important;
    font-weight: 600 !important;
    font-size: 0.76rem !important;
    border-radius: 6px !important;
    padding: 0.38rem 0.8rem !important;
    box-shadow: 0 1px 3px rgba(5, 150, 105, 0.25) !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

.btn-advance-receive:hover:not(:disabled)[b-izgz13jmls] {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 6px rgba(5, 150, 105, 0.35) !important;
    color: #ffffff !important;
}

.btn-advance-receive:disabled[b-izgz13jmls] {
    opacity: 0.65 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.btn-advance-cancel[b-izgz13jmls] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    background: #fff1f2 !important;
    color: #e11d48 !important;
    border: 1px solid #fecdd3 !important;
    font-weight: 600 !important;
    font-size: 0.76rem !important;
    border-radius: 6px !important;
    padding: 0.38rem 0.75rem !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

.btn-advance-cancel:hover:not(:disabled)[b-izgz13jmls] {
    background: #ffe4e6 !important;
    color: #be123c !important;
    border-color: #fda4af !important;
    transform: translateY(-1px) !important;
}

.btn-advance-cancel:disabled[b-izgz13jmls] {
    opacity: 0.65 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.btn-advance-ledger[b-izgz13jmls] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    background: #eef2ff !important;
    color: #4338ca !important;
    border: 1px solid #c7d2fe !important;
    font-weight: 600 !important;
    font-size: 0.76rem !important;
    border-radius: 6px !important;
    padding: 0.38rem 0.8rem !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

.btn-advance-ledger:hover:not(:disabled)[b-izgz13jmls] {
    background: #e0e7ff !important;
    color: #3730a3 !important;
    border-color: #a5b4fc !important;
    transform: translateY(-1px) !important;
}

.btn-advance-refund[b-izgz13jmls] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    border: 1px solid #d97706 !important;
    font-weight: 600 !important;
    font-size: 0.76rem !important;
    border-radius: 6px !important;
    padding: 0.38rem 0.8rem !important;
    box-shadow: 0 1px 3px rgba(217, 119, 6, 0.25) !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

.btn-advance-refund:hover:not(:disabled)[b-izgz13jmls] {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 6px rgba(217, 119, 6, 0.35) !important;
    color: #ffffff !important;
}

.btn-advance-refund:disabled[b-izgz13jmls] {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    border-color: #e2e8f0 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.btn-advance-refresh[b-izgz13jmls] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    background: #ffffff !important;
    color: #0284c7 !important;
    border: 1px solid #bae6fd !important;
    font-weight: 600 !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
    padding: 0 0.95rem !important;
    height: 38px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.btn-advance-refresh:hover[b-izgz13jmls] {
    background: #f0f9ff !important;
    color: #0369a1 !important;
    border-color: #7dd3fc !important;
}

.btn-advance-search[b-izgz13jmls] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    border: 1px solid #1d4ed8 !important;
    font-weight: 600 !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
    padding: 0 0.95rem !important;
    height: 38px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.25) !important;
}

.btn-advance-search:hover[b-izgz13jmls] {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

.btn-advance-reset[b-izgz13jmls] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    background: #f8fafc !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 600 !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
    padding: 0 0.85rem !important;
    height: 38px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
}

.btn-advance-reset:hover[b-izgz13jmls] {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    border-color: #94a3b8 !important;
}

/* Patient Ledger Drawer */
.drawer-panel[b-izgz13jmls] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 520px;
    max-width: 90vw;
    background: #ffffff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    display: flex;
    flex-direction: column;
}

.animated-drawer[b-izgz13jmls] {
    animation: slideInRight-b-izgz13jmls 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight-b-izgz13jmls {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.drawer-header[b-izgz13jmls] {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.drawer-icon[b-izgz13jmls] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.drawer-summary-grid[b-izgz13jmls] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
}

.d-kpi[b-izgz13jmls] {
    display: flex;
    flex-direction: column;
}

.d-label[b-izgz13jmls] {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.d-val[b-izgz13jmls] {
    font-size: 1.05rem;
    font-weight: 800;
}

/* =========================================================
   Print Options in Cash Counter (Hospital, Pharmacy, Advance)
   ========================================================= */
.btn-table-print[b-izgz13jmls] {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    padding: 0;
}

.btn-table-print:hover:not(:disabled)[b-izgz13jmls] {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
    transform: scale(1.08);
}

.btn-table-print:disabled[b-izgz13jmls] {
    opacity: 0.6;
    cursor: not-allowed;
}

:host-context([data-theme=dark]) .btn-table-print[b-izgz13jmls],
[data-theme=dark] .btn-table-print[b-izgz13jmls] {
    background: rgba(37, 99, 235, 0.15) !important;
    color: #60a5fa !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
}

:host-context([data-theme=dark]) .btn-table-print:hover:not(:disabled)[b-izgz13jmls],
[data-theme=dark] .btn-table-print:hover:not(:disabled)[b-izgz13jmls] {
    background: #2563eb !important;
    color: #ffffff !important;
}

.btn-detail-print[b-izgz13jmls] {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 1.4rem;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
}

.btn-detail-print:hover:not(:disabled)[b-izgz13jmls] {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

.btn-detail-print:disabled[b-izgz13jmls] {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-advance-print-action[b-izgz13jmls] {
    background: #eff6ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-advance-print-action:hover:not(:disabled)[b-izgz13jmls] {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

.btn-advance-print-action:disabled[b-izgz13jmls] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-advance-print-sm[b-izgz13jmls] {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-advance-print-sm:hover:not(:disabled)[b-izgz13jmls] {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.btn-advance-print-sm:disabled[b-izgz13jmls] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-advance-print-sm.btn-advance-print-refund[b-izgz13jmls] {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.btn-advance-print-sm.btn-advance-print-refund:hover:not(:disabled)[b-izgz13jmls] {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
}
/* /Components/Pages/CategoryMaster.razor.rz.scp.css */
/* Isolated styles for CategoryMaster component */

.items-page[b-gthnxz9zfp] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-gthnxz9zfp] {
    max-width: 1320px;
    margin: 0 auto;
}

.items-content[b-gthnxz9zfp] {
    width: min(1240px, 100%);
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-gthnxz9zfp] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    border-radius: 16px !important;
    padding: 1.25rem 2rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem !important;
}

.header-card-left[b-gthnxz9zfp] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-card-icon[b-gthnxz9zfp] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
}

.header-card-icon svg[b-gthnxz9zfp] {
    stroke: #4f46e5 !important;
}

.header-card-text[b-gthnxz9zfp] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-gthnxz9zfp] {
    color: #312e81 !important;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.header-card-subheading[b-gthnxz9zfp] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-gthnxz9zfp] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-gthnxz9zfp] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.items-search-wrap[b-gthnxz9zfp] {
    position: relative;
    display: flex;
    align-items: center;
}

.items-search[b-gthnxz9zfp] {
    width: 220px;
    height: 38px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    padding-left: 2.4rem !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.items-search:focus[b-gthnxz9zfp] {
    outline: none !important;
    width: 280px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.items-search-icon[b-gthnxz9zfp] {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.view-toggle[b-gthnxz9zfp] {
    display: inline-flex;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #f8fafc !important;
    height: 38px;
    padding: 2px;
    align-items: center;
}

.view-toggle button[b-gthnxz9zfp] {
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    width: 36px;
    height: 32px;
    border-radius: 16px !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle button.active[b-gthnxz9zfp] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.add-item-btn[b-gthnxz9zfp] {
    height: 38px !important;
    border-radius: 20px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 1.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
}

.add-item-btn:hover[b-gthnxz9zfp] {
    background: #3f39c5 !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35) !important;
    transform: translateY(-1.5px);
}

.items-main-card[b-gthnxz9zfp] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-top: 1.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
}

.items-table[b-gthnxz9zfp] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

table.table.items-table thead tr th[b-gthnxz9zfp],
.items-table th[b-gthnxz9zfp] {
    background: #ffffff !important;
    color: #8a99ad !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.8px !important;
    padding: 10px 16px !important;
    border-bottom: 2px solid #eef2f6 !important;
    text-align: center !important;
}

.items-table td[b-gthnxz9zfp] {
    border-top: none !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding: 10px 16px !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #64748b !important;
    vertical-align: middle !important;
    text-align: center !important;
}

.items-table td:last-child[b-gthnxz9zfp] {
    white-space: nowrap !important;
    text-align: center !important;
}

.items-table tr td:first-child[b-gthnxz9zfp] {
    color: #3b82f6 !important;
    font-weight: 700 !important;
}

.items-table tr td:nth-child(2)[b-gthnxz9zfp],
.items-table tr td:nth-child(3)[b-gthnxz9zfp] {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.action-btn[b-gthnxz9zfp] {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.action-btn:hover[b-gthnxz9zfp] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.action-btn i[b-gthnxz9zfp] {
    font-size: 0.85rem !important;
}

.items-card-grid[b-gthnxz9zfp] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.item-card[b-gthnxz9zfp] {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.item-card:hover[b-gthnxz9zfp] {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.item-card-head[b-gthnxz9zfp] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    color: #1e293b !important;
    padding: 0.6rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.1) !important;
}

.card-item-code[b-gthnxz9zfp] {
    color: #4b5563 !important;
    font-weight: 700 !important;
    margin-right: 6px;
}

.card-item-name[b-gthnxz9zfp] {
    color: #374151 !important;
    font-weight: 700 !important;
}

.item-card-body[b-gthnxz9zfp] {
    padding: 0.75rem 1rem !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
}

.detail-row[b-gthnxz9zfp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.detail-row:last-child[b-gthnxz9zfp] {
    border-bottom: none !important;
}

.detail-row span[b-gthnxz9zfp] {
    color: #8a99ad !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.detail-row strong[b-gthnxz9zfp] {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Modal styles */
.modal-overlay[b-gthnxz9zfp] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.modal-card[b-gthnxz9zfp] {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    background: #fff;
}

.modal-header-bar[b-gthnxz9zfp] {
    background: #fff !important;
    color: #333 !important;
    padding: 16px 32px !important;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-left[b-gthnxz9zfp] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-title[b-gthnxz9zfp] {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: #000000 !important;
    letter-spacing: -0.2px;
}

.btn-close-modal[b-gthnxz9zfp] {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-gthnxz9zfp] {
    background: #e2e8f0;
    color: #1e293b;
}

.modal-inner[b-gthnxz9zfp] {
    padding: 16px 32px !important;
    background: #fff;
}

.form-section-header[b-gthnxz9zfp] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid #f1f5f9;
}

.form-section-title[b-gthnxz9zfp] {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #4f46e5;
}

.form-grid[b-gthnxz9zfp] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 12px;
    row-gap: 12px;
}

.col-1[b-gthnxz9zfp] {
    grid-column: span 1;
}

.col-2[b-gthnxz9zfp] {
    grid-column: span 2;
}

.col-3[b-gthnxz9zfp] {
    grid-column: span 3;
}

.col-4[b-gthnxz9zfp] {
    grid-column: span 4;
}

.col-5[b-gthnxz9zfp] {
    grid-column: span 5;
}

.col-6[b-gthnxz9zfp] {
    grid-column: span 6;
}

.col-7[b-gthnxz9zfp] {
    grid-column: span 7;
}

.col-8[b-gthnxz9zfp] {
    grid-column: span 8;
}

.col-9[b-gthnxz9zfp] {
    grid-column: span 9;
}

.col-10[b-gthnxz9zfp] {
    grid-column: span 10;
}

.col-11[b-gthnxz9zfp] {
    grid-column: span 11;
}

.col-12[b-gthnxz9zfp] {
    grid-column: span 12;
}

.field-group[b-gthnxz9zfp] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label[b-gthnxz9zfp] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.field-label.required[b-gthnxz9zfp]::after {
    content: " *";
    color: #ef4444;
}

.premium-input[b-gthnxz9zfp] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    color: #4b5563 !important;
    transition: all 0.2s !important;
    height: auto !important;
}

.premium-input[b-gthnxz9zfp]::placeholder {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

.premium-input:focus[b-gthnxz9zfp] {
    background: #fff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

.modal-footer-actions[b-gthnxz9zfp] {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 16px !important;
    padding: 24px 32px !important;
    border-top: 1px solid #f0f0f0 !important;
    background: #ffffff !important;
}

.btn-cancel-modal[b-gthnxz9zfp] {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: none !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    min-width: 100px !important;
    transition: all 0.2s !important;
}

.btn-cancel-modal:hover[b-gthnxz9zfp] {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.btn-save-premium[b-gthnxz9zfp] {
    background: #1c9f5f !important;
    color: white !important;
    border: none !important;
    padding: 10px 28px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(28, 159, 95, 0.3) !important;
    transition: all 0.2s !important;
    white-space: nowrap;
}

.btn-save-premium:hover[b-gthnxz9zfp] {
    background: #168a52 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(28, 159, 95, 0.4) !important;
}

/* Pagination bar */
.page-btn[b-gthnxz9zfp] {
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #64748b !important;
    border-radius: 8px !important;
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0 2px;
    transition: all 0.2s;
}

.page-btn.active[b-gthnxz9zfp] {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
}

.page-btn:hover:not(.active):not(:disabled)[b-gthnxz9zfp] {
    background: #f8fafc !important;
    color: #1e293b !important;
}
/* Master dashboard theme */
:global(.main-content):has(.items-page)[b-gthnxz9zfp] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.items-page[b-gthnxz9zfp] { min-height: calc(100vh - 1.5rem) !important; padding: 0 !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.items-shell[b-gthnxz9zfp], .items-content[b-gthnxz9zfp] { max-width: none !important; padding: 0 !important; }
.premium-header-card[b-gthnxz9zfp] { height: 78px !important; box-sizing: border-box !important; padding: .15rem 0 !important; margin-bottom: .6rem !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.header-card-icon[b-gthnxz9zfp] { background: linear-gradient(135deg,#087bb5,#07547c) !important; }
.header-card-heading[b-gthnxz9zfp] { color: #07547c !important; font-size: 1.85rem !important; }
.header-card-subheading[b-gthnxz9zfp] { color: #647b90 !important; }
.items-search[b-gthnxz9zfp] { width: 280px !important; height: 40px !important; border-radius: 10px !important; border-color: #cbd9e8 !important; }
.add-item-btn[b-gthnxz9zfp] { height: 40px !important; border-radius: 10px !important; background: #087bb5 !important; }
.items-main-card[b-gthnxz9zfp] { border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; }
.items-table thead tr[b-gthnxz9zfp] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.items-table thead th[b-gthnxz9zfp] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.items-table tbody tr[b-gthnxz9zfp] { height: 44px !important; background: #fff !important; }
.items-table tbody tr:nth-child(even)[b-gthnxz9zfp] { background: #f8fbfe !important; }
.items-table tbody td[b-gthnxz9zfp] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.items-table tbody tr:hover[b-gthnxz9zfp] { background: #f0f8ff !important; }
/* /Components/Pages/CityMaster.razor.rz.scp.css */
/* ========== PAGE LAYOUT ========== */
/* Override the global main-content padding for this page only */
:global(.main-content):has(.cm-page)[b-vzq7i98t7s] {
    padding: 0 !important;
}

.cm-page[b-vzq7i98t7s] {
    padding: 0.8rem 1rem 1rem;
    background: #ffffff;
    min-height: 100vh;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* ========== HEADER CARD ========== */
.cm-header-card[b-vzq7i98t7s] {
    background: linear-gradient(100deg, #e0ebff 0%, #e8f0ff 100%);
    border-radius: 14px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(80, 80, 200, 0.07);
}

.cm-header-left[b-vzq7i98t7s] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.cm-title[b-vzq7i98t7s] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e1b4b;
    margin: 0;
    line-height: 1.2;
}

.cm-subtitle[b-vzq7i98t7s] {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 600;
}

.cm-header-right[b-vzq7i98t7s] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Search Box */
.cm-search-box[b-vzq7i98t7s] {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0.55rem 1.2rem 0.55rem 2.2rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    min-width: 210px;
}

.cm-search-icon[b-vzq7i98t7s] {
    position: absolute;
    left: 0.8rem;
    color: #9ca3af;
    font-size: 0.8rem;
}

.cm-search-input[b-vzq7i98t7s] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.83rem;
    color: #374151;
    width: 100%;
}

/* New Button */
.cm-btn-new[b-vzq7i98t7s] {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.3);
    transition: background 0.2s;
}

.cm-btn-new:hover[b-vzq7i98t7s] {
    background: #4338ca;
}

/* ========== TABLE CARD ========== */
.cm-table-card[b-vzq7i98t7s] {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(80, 80, 200, 0.07);
}

/* ========== TABLE ========== */
.cm-table[b-vzq7i98t7s] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.cm-table tbody tr[b-vzq7i98t7s] {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.cm-table tbody tr:last-child[b-vzq7i98t7s] {
    border-bottom: none;
}

.cm-table tbody tr:hover[b-vzq7i98t7s] {
    background: #fafbff;
}

.cm-table td[b-vzq7i98t7s] {
    padding: 0.75rem 0.9rem;
    font-size: 0.82rem;
    color: #374151;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cm-table th[b-vzq7i98t7s] {
    padding: 0.85rem 0.9rem;
    font-size: 0.68rem;
    font-weight: 800;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: left;
    background: white;
}

/* Column widths */
.cm-table th:nth-child(1)[b-vzq7i98t7s],
.cm-table td.col-orderno[b-vzq7i98t7s] {
    width: 80px;
}

.cm-table th:nth-child(2)[b-vzq7i98t7s],
.cm-table td.col-shortname[b-vzq7i98t7s] {
    width: 130px;
}

.cm-table th:nth-child(3)[b-vzq7i98t7s],
.cm-table td.col-name[b-vzq7i98t7s] {
    width: 250px;
}

.cm-table th:nth-child(4)[b-vzq7i98t7s],
.cm-table td.col-narration[b-vzq7i98t7s] {
    width: auto;
}

.cm-table th:nth-child(5)[b-vzq7i98t7s],
.cm-table td.col-date-entered[b-vzq7i98t7s] {
    width: 185px;
}

.cm-table th:nth-child(6)[b-vzq7i98t7s],
.cm-table td.col-date-modified[b-vzq7i98t7s] {
    width: 185px;
}

.cm-table th:nth-child(7)[b-vzq7i98t7s],
.cm-table td.col-action[b-vzq7i98t7s] {
    width: 100px;
}

.col-date-entered[b-vzq7i98t7s],
.col-date-modified[b-vzq7i98t7s] {
    white-space: nowrap !important;
}

/* Column-specific */
.col-orderno[b-vzq7i98t7s] {
    font-weight: 700;
    color: #4f46e5 !important;
}

.col-shortname[b-vzq7i98t7s] {
    color: #6b7280 !important;
}

.counter-name-text[b-vzq7i98t7s] {
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-narration[b-vzq7i98t7s] {
    color: #374151;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
}

.col-action[b-vzq7i98t7s] {
    display: flex !important;
    gap: 0.35rem;
    align-items: center;
}

/* Date columns */
.date-line[b-vzq7i98t7s] {
    display: inline-block;
    font-size: 0.78rem;
    color: #374151;
    line-height: 1.4;
    white-space: nowrap;
}

.ampm-line[b-vzq7i98t7s] {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    margin-left: 4px;
}

.ampm-line.am[b-vzq7i98t7s] {
    color: #6b7280;
}

.ampm-line.pm[b-vzq7i98t7s] {
    color: #6b7280;
}

/* Action buttons */
.cm-action-btn[b-vzq7i98t7s] {
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    margin-right: 2px;
    color: #9ca3af;
    transition: all 0.15s;
}

.cm-action-btn.edit:hover[b-vzq7i98t7s] {
    border-color: #4f46e5;
    color: #4f46e5;
    background: #eef2ff;
}

.cm-action-btn.delete:hover[b-vzq7i98t7s] {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

/* Empty row */
.cm-empty-row[b-vzq7i98t7s] {
    text-align: center;
    padding: 3rem 1rem !important;
    color: #9ca3af;
    font-size: 0.85rem;
}

.cm-empty-row i[b-vzq7i98t7s] {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

/* ========== MODAL BACKDROP ========== */
.cm-backdrop[b-vzq7i98t7s] {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 40, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

/* ========== MODAL ========== */
.cm-modal[b-vzq7i98t7s] {
    background: white;
    border-radius: 18px;
    width: 880px;
    max-width: 96vw;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    animation: modalIn-b-vzq7i98t7s 0.18s ease;
}

@keyframes modalIn-b-vzq7i98t7s {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cm-modal-header[b-vzq7i98t7s] {
    padding: 1.6rem 2.2rem 1.2rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cm-modal-title[b-vzq7i98t7s] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
}

.cm-close-btn[b-vzq7i98t7s] {
    background: transparent;
    border: none;
    color: #000000;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.cm-close-btn:hover[b-vzq7i98t7s],
.cm-close-btn:active[b-vzq7i98t7s] {
    color: #ef4444;
}

/* ========== MODAL BODY ========== */
.cm-modal-body[b-vzq7i98t7s] {
    padding: 2rem 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Field group */
.cm-field-group[b-vzq7i98t7s] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cm-label[b-vzq7i98t7s] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-transform: none;
}

.cm-input[b-vzq7i98t7s] {
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cm-input:focus[b-vzq7i98t7s] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.cm-input[b-vzq7i98t7s]::placeholder {
    color: #cbd5e1;
}

.cm-select[b-vzq7i98t7s] {
    appearance: auto;
    cursor: pointer;
    background: #f8fafc;
}

/* Form rows */
.cm-form-row[b-vzq7i98t7s] {
    display: grid;
    gap: 1.25rem;
}

.cm-form-row.three-cols[b-vzq7i98t7s] {
    grid-template-columns: repeat(3, 1fr);
}

.cm-form-row.two-cols[b-vzq7i98t7s] {
    grid-template-columns: 2fr 1fr;
}

.cm-form-row.full-width[b-vzq7i98t7s] {
    grid-template-columns: 1fr;
}

.cm-form-row.two-cols-wide-narrow[b-vzq7i98t7s] {
    grid-template-columns: 2.5fr 1fr;
}

.cm-form-row.two-cols-narrow-wide[b-vzq7i98t7s] {
    grid-template-columns: 1fr 2.5fr;
}

/* ========== MODAL FOOTER ========== */
.cm-modal-footer[b-vzq7i98t7s] {
    padding: 1.2rem 2.2rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cm-btn-delete[b-vzq7i98t7s] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    padding: 0.4rem 0;
    transition: color 0.15s;
}

.cm-btn-delete:hover[b-vzq7i98t7s] {
    color: #dc2626;
}

.cm-btn-cancel[b-vzq7i98t7s] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #64748b;
    border-radius: 10px;
    padding: 0.7rem 2rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.cm-btn-cancel:hover[b-vzq7i98t7s] {
    background: #f1f5f9;
    color: #334155;
    border-color: #94a3b8;
}

.cm-btn-save[b-vzq7i98t7s] {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.7rem 2rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.cm-btn-save:hover[b-vzq7i98t7s] {
    background: #4338ca;
}

/* Autocomplete Dropdown Overlay */
.cm-autocomplete-dropdown[b-vzq7i98t7s] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1100;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-top: 4px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    max-height: 220px;
    overflow-y: auto;
}

.cm-dropdown-header[b-vzq7i98t7s] {
    padding: 0.45rem 0.85rem;
    font-size: 0.68rem;
    font-weight: 800;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cm-dropdown-item[b-vzq7i98t7s] {
    padding: 0.6rem 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.15s ease;
}

.cm-dropdown-item:last-child[b-vzq7i98t7s] {
    border-bottom: none;
}

.cm-dropdown-item:hover[b-vzq7i98t7s] {
    background: #eef2ff;
}

.cm-dropdown-item-main[b-vzq7i98t7s] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.cm-dropdown-title[b-vzq7i98t7s] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
}

.cm-dropdown-badge[b-vzq7i98t7s] {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    background: #e0e7ff;
    color: #4f46e5;
}

.cm-dropdown-sub[b-vzq7i98t7s] {
    font-size: 0.75rem;
    color: #64748b;
}

/* ========== TABLE PAGINATION FOOTER ========== */
.cm-table-footer[b-vzq7i98t7s] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    background: #ffffff;
    border-top: 1px solid #f3f4f6;
}

.cm-pagination-info[b-vzq7i98t7s] {
    font-size: 0.82rem;
    color: #64748b;
}

.cm-pagination-controls[b-vzq7i98t7s] {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.cm-pg-btn[b-vzq7i98t7s] {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.cm-pg-btn:hover:not(:disabled)[b-vzq7i98t7s] {
    background: #eef2ff;
    color: #4f46e5;
    border-color: #c7d2fe;
}

.cm-pg-btn.active[b-vzq7i98t7s] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
}

.cm-pg-btn:disabled[b-vzq7i98t7s] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* City Master dashboard theme */
:global(html:has(.cm-page))[b-vzq7i98t7s],
:global(body:has(.cm-page))[b-vzq7i98t7s] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.cm-page))[b-vzq7i98t7s],
:global(.app-main-wrapper:has(.cm-page))[b-vzq7i98t7s] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.cm-page)[b-vzq7i98t7s] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.cm-page[b-vzq7i98t7s] {
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    padding: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.cm-header-card[b-vzq7i98t7s] {
    flex: 0 0 auto !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.cm-title[b-vzq7i98t7s] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}

.cm-subtitle[b-vzq7i98t7s] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
}

.cm-header-right[b-vzq7i98t7s] {
    gap: 0.65rem !important;
}

.cm-search-box[b-vzq7i98t7s] {
    min-width: 260px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    padding: 0 1rem 0 2.2rem !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
}

.cm-search-input[b-vzq7i98t7s] {
    font-size: 0.82rem !important;
}

.cm-search-box:focus-within[b-vzq7i98t7s] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.cm-btn-new[b-vzq7i98t7s] {
    height: 36px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
}

.cm-btn-new:hover[b-vzq7i98t7s] {
    background: #05689b !important;
}

.cm-table-card[b-vzq7i98t7s] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.cm-table-wrapper[b-vzq7i98t7s] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
}

.cm-table[b-vzq7i98t7s] {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
}

.cm-table thead[b-vzq7i98t7s],
.cm-table thead tr[b-vzq7i98t7s] {
    background: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
}

.cm-table th[b-vzq7i98t7s] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.7rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
}

.cm-table th:last-child[b-vzq7i98t7s] {
    border-right: none !important;
}

.cm-table tbody[b-vzq7i98t7s] {
    background: #ffffff !important;
}

.cm-table tbody tr[b-vzq7i98t7s] {
    height: 34px !important;
    min-height: 34px !important;
}

.cm-table tbody tr:nth-child(even)[b-vzq7i98t7s] {
    background: #fbfdff !important;
}

.cm-table tbody tr:hover[b-vzq7i98t7s] {
    background: #f0f8ff !important;
}

.cm-table td[b-vzq7i98t7s] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.7rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    font-size: 0.76rem !important;
    color: #334155 !important;
    vertical-align: middle !important;
}

.col-orderno[b-vzq7i98t7s] {
    color: #47627b !important;
    font-weight: 700 !important;
}

.col-shortname[b-vzq7i98t7s] {
    color: #475569 !important;
    font-weight: 700 !important;
}

.counter-name-text[b-vzq7i98t7s] {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.col-narration[b-vzq7i98t7s] {
    color: #647b90 !important;
}

.date-line[b-vzq7i98t7s] {
    color: #64748b !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
}

.col-action[b-vzq7i98t7s] {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    height: 34px !important;
}

.cm-action-btn[b-vzq7i98t7s] {
    width: 26px !important;
    height: 26px !important;
    margin-right: 2px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
}

.cm-action-btn.edit:hover[b-vzq7i98t7s] {
    border-color: #bae6fd !important;
    color: #0369a1 !important;
    background: #f0f9ff !important;
}

.cm-action-btn.delete[b-vzq7i98t7s] {
    color: #dc2626 !important;
}

.cm-action-btn.delete:hover[b-vzq7i98t7s] {
    border-color: #fecaca !important;
    color: #dc2626 !important;
    background: #fef2f2 !important;
}

.cm-table-footer[b-vzq7i98t7s] {
    flex: 0 0 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    box-sizing: border-box !important;
    padding: 0 1rem !important;
    background: #ffffff !important;
    border-top: 1px solid #e5edf5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.cm-pagination-info[b-vzq7i98t7s] {
    font-size: 0.74rem !important;
}

.cm-pg-btn[b-vzq7i98t7s] {
    min-width: 26px !important;
    height: 24px !important;
    padding: 0 0.5rem !important;
    border-radius: 6px !important;
    color: #526b82 !important;
    font-size: 0.72rem !important;
}

.cm-pg-btn:hover:not(:disabled)[b-vzq7i98t7s] {
    background: #e4f4ff !important;
    color: #0876ad !important;
    border-color: #a9ddfa !important;
}

.cm-pg-btn.active[b-vzq7i98t7s] {
    background: #0876ad !important;
    border-color: #0876ad !important;
}

.cm-modal-title[b-vzq7i98t7s],
.cm-btn-save[b-vzq7i98t7s] {
    color: #07547c !important;
}

.cm-btn-save[b-vzq7i98t7s] {
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
}

.cm-btn-save:hover[b-vzq7i98t7s] {
    background: #05689b !important;
}

.cm-input:focus[b-vzq7i98t7s] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

@media (max-width: 900px) {
    .cm-header-card[b-vzq7i98t7s] {
        align-items: flex-start !important;
        flex-direction: column !important;
        flex-basis: auto !important;
        gap: 0.7rem !important;
    }

    .cm-header-right[b-vzq7i98t7s],
    .cm-search-box[b-vzq7i98t7s] {
        width: 100% !important;
    }

    .cm-header-right[b-vzq7i98t7s] {
        flex-wrap: wrap !important;
    }

    .cm-table-card[b-vzq7i98t7s] {
        overflow: auto !important;
    }
}
/* /Components/Pages/CounterMaster.razor.rz.scp.css */
/* ========== PAGE LAYOUT ========== */
/* Override the global main-content padding for this page only */
:global(.main-content):has(.cm-page)[b-u73t5mx0xp] {
    padding: 0 !important;
}

.cm-page[b-u73t5mx0xp] {
    padding: 0.8rem 1rem 1rem;
    background: #ffffff;
    min-height: 100vh;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* ========== HEADER CARD ========== */
.cm-header-card[b-u73t5mx0xp] {
    background: linear-gradient(100deg, #e0ebff 0%, #e8f0ff 100%);
    border-radius: 14px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(80, 80, 200, 0.07);
}

.cm-header-left[b-u73t5mx0xp] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.cm-title[b-u73t5mx0xp] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e1b4b;
    margin: 0;
    line-height: 1.2;
}

.cm-subtitle[b-u73t5mx0xp] {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 600;
}

.cm-header-right[b-u73t5mx0xp] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Search Box */
.cm-search-box[b-u73t5mx0xp] {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0.55rem 1.2rem 0.55rem 2.2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    min-width: 210px;
}

.cm-search-icon[b-u73t5mx0xp] {
    position: absolute;
    left: 0.8rem;
    color: #9ca3af;
    font-size: 0.8rem;
}

.cm-search-input[b-u73t5mx0xp] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.83rem;
    color: #374151;
    width: 100%;
}

/* New Button */
.cm-btn-new[b-u73t5mx0xp] {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.3);
    transition: background 0.2s;
}

.cm-btn-new:hover[b-u73t5mx0xp] {
    background: #4338ca;
}

/* ========== TABLE CARD ========== */
.cm-table-card[b-u73t5mx0xp] {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(80, 80, 200, 0.07);
}

/* ========== TABLE ========== */
.cm-table[b-u73t5mx0xp] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.cm-table thead tr[b-u73t5mx0xp] {
    border-bottom: 1.5px solid #e5e7eb;
}

.cm-table th[b-u73t5mx0xp] {
    padding: 0.85rem 0.9rem;
    font-size: 0.68rem;
    font-weight: 800;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: left;
    background: white;
}

.cm-table tbody tr[b-u73t5mx0xp] {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.cm-table tbody tr:last-child[b-u73t5mx0xp] {
    border-bottom: none;
}

.cm-table tbody tr:hover[b-u73t5mx0xp] {
    background: #fafbff;
}

.cm-table td[b-u73t5mx0xp] {
    padding: 0.75rem 0.9rem;
    font-size: 0.82rem;
    color: #374151;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Column widths */
.cm-table th:nth-child(1)[b-u73t5mx0xp], .cm-table td.col-orderno[b-u73t5mx0xp] { width: 80px; }
.cm-table th:nth-child(2)[b-u73t5mx0xp], .cm-table td.col-shortname[b-u73t5mx0xp] { width: 130px; }
.cm-table th:nth-child(3)[b-u73t5mx0xp], .cm-table td.col-name[b-u73t5mx0xp] { width: 250px; }
.cm-table th:nth-child(4)[b-u73t5mx0xp], .cm-table td.col-branch[b-u73t5mx0xp] { width: 150px; }
.cm-table th:nth-child(5)[b-u73t5mx0xp], .cm-table td.col-narration[b-u73t5mx0xp] { width: auto; }
.cm-table th:nth-child(6)[b-u73t5mx0xp], .cm-table td.col-date-entered[b-u73t5mx0xp] { width: 155px; }
.cm-table th:nth-child(7)[b-u73t5mx0xp], .cm-table td.col-date-modified[b-u73t5mx0xp] { width: 155px; }
.cm-table th:nth-child(8)[b-u73t5mx0xp], .cm-table td.col-action[b-u73t5mx0xp] { width: 100px; }

/* Column-specific */
.col-orderno[b-u73t5mx0xp] {
    font-weight: 700;
    color: #4f46e5 !important;
}

.col-shortname[b-u73t5mx0xp] {
    color: #6b7280 !important;
}

.col-name-container[b-u73t5mx0xp] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    vertical-align: middle;
}

.counter-name-text[b-u73t5mx0xp] {
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-branch[b-u73t5mx0xp] {
    color: #4f46e5;
    font-weight: 600;
}

.col-narration[b-u73t5mx0xp] {
    color: #374151;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
}

.col-action[b-u73t5mx0xp] {
    display: flex !important;
    gap: 0.35rem;
    align-items: center;
}

/* Status dot */
.status-dot[b-u73t5mx0xp] {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #4f46e5;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Date columns */
.date-line[b-u73t5mx0xp] {
    display: block;
    font-size: 0.78rem;
    color: #374151;
    line-height: 1.4;
    white-space: nowrap;
}

.ampm-line[b-u73t5mx0xp] {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
}

.ampm-line.am[b-u73t5mx0xp] { color: #6b7280; }
.ampm-line.pm[b-u73t5mx0xp] { color: #4f46e5; }

/* Action buttons */
.cm-action-btn[b-u73t5mx0xp] {
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    margin-right: 2px;
    color: #9ca3af;
    transition: all 0.15s;
}

.cm-action-btn.edit:hover[b-u73t5mx0xp] {
    border-color: #4f46e5;
    color: #4f46e5;
    background: #eef2ff;
}

.cm-action-btn.delete:hover[b-u73t5mx0xp] {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

/* Empty row */
.cm-empty-row[b-u73t5mx0xp] {
    text-align: center;
    padding: 3rem 1rem !important;
    color: #9ca3af;
    font-size: 0.85rem;
}

.cm-empty-row i[b-u73t5mx0xp] {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

/* ========== MODAL BACKDROP ========== */
.cm-backdrop[b-u73t5mx0xp] {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 40, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

/* ========== MODAL ========== */
.cm-modal[b-u73t5mx0xp] {
    background: white;
    border-radius: 18px;
    width: 880px;
    max-width: 96vw;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    animation: modalIn-b-u73t5mx0xp 0.18s ease;
}

@keyframes modalIn-b-u73t5mx0xp {
    from { opacity: 0; transform: translateY(-10px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.cm-modal-header[b-u73t5mx0xp] {
    padding: 1.6rem 2.2rem 1.2rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cm-modal-title[b-u73t5mx0xp] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
}

.cm-close-btn[b-u73t5mx0xp] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.cm-close-btn:hover[b-u73t5mx0xp] { color: #64748b; }

/* ========== MODAL BODY ========== */
.cm-modal-body[b-u73t5mx0xp] {
    padding: 2rem 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Field group */
.cm-field-group[b-u73t5mx0xp] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cm-label[b-u73t5mx0xp] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-transform: none;
}

.cm-input[b-u73t5mx0xp] {
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cm-input:focus[b-u73t5mx0xp] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.cm-input[b-u73t5mx0xp]::placeholder { color: #cbd5e1; }

.cm-select[b-u73t5mx0xp] {
    appearance: auto;
    cursor: pointer;
    background: #f8fafc;
}

.cm-textarea[b-u73t5mx0xp] {
    resize: none;
    height: 80px;
}

/* Form rows */
.cm-form-row[b-u73t5mx0xp] {
    display: grid;
    gap: 1.25rem;
}

.cm-form-row.three-cols[b-u73t5mx0xp] {
    grid-template-columns: repeat(3, 1fr);
}

.cm-form-row.desc-color-row[b-u73t5mx0xp] {
    grid-template-columns: 1fr 180px;
    align-items: start;
}

/* Color preview */
.color-preview-row[b-u73t5mx0xp] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-top: 0.1rem;
}

.color-swatch[b-u73t5mx0xp] {
    width: 44px;
    height: 36px;
    border-radius: 6px;
    border: 1.5px solid #e5e7eb;
    flex-shrink: 0;
}

.color-hex[b-u73t5mx0xp] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #374151;
}

/* ========== MODAL FOOTER ========== */
.cm-modal-footer[b-u73t5mx0xp] {
    padding: 1.2rem 2.2rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cm-btn-delete[b-u73t5mx0xp] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    padding: 0.4rem 0;
    transition: color 0.15s;
}

.cm-btn-delete:hover[b-u73t5mx0xp] { color: #dc2626; }

.cm-btn-cancel[b-u73t5mx0xp] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #64748b;
    border-radius: 10px;
    padding: 0.7rem 2rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.cm-btn-cancel:hover[b-u73t5mx0xp] {
    background: #f1f5f9;
    color: #334155;
    border-color: #94a3b8;
}

.cm-btn-save[b-u73t5mx0xp] {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.7rem 2rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.cm-btn-save:hover[b-u73t5mx0xp] { background: #4338ca; }

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR COUNTER MASTER
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .cm-page[b-u73t5mx0xp],
[data-theme="dark"] .cm-page[b-u73t5mx0xp] {
    background: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .cm-header-card[b-u73t5mx0xp],
[data-theme="dark"] .cm-header-card[b-u73t5mx0xp],
:host-context([data-theme="dark"]) .cm-table-card[b-u73t5mx0xp],
[data-theme="dark"] .cm-table-card[b-u73t5mx0xp],
:host-context([data-theme="dark"]) .cm-modal[b-u73t5mx0xp],
[data-theme="dark"] .cm-modal[b-u73t5mx0xp] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .cm-title[b-u73t5mx0xp],
:host-context([data-theme="dark"]) .cm-modal-title[b-u73t5mx0xp],
:host-context([data-theme="dark"]) .counter-name-text[b-u73t5mx0xp],
[data-theme="dark"] .cm-title[b-u73t5mx0xp],
[data-theme="dark"] .cm-modal-title[b-u73t5mx0xp],
[data-theme="dark"] .counter-name-text[b-u73t5mx0xp] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .cm-subtitle[b-u73t5mx0xp],
:host-context([data-theme="dark"]) .cm-label[b-u73t5mx0xp],
:host-context([data-theme="dark"]) .col-narration[b-u73t5mx0xp],
:host-context([data-theme="dark"]) .date-line[b-u73t5mx0xp],
[data-theme="dark"] .cm-subtitle[b-u73t5mx0xp],
[data-theme="dark"] .cm-label[b-u73t5mx0xp],
[data-theme="dark"] .col-narration[b-u73t5mx0xp],
[data-theme="dark"] .date-line[b-u73t5mx0xp] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .cm-search-box[b-u73t5mx0xp],
[data-theme="dark"] .cm-search-box[b-u73t5mx0xp] {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .cm-search-icon[b-u73t5mx0xp],
[data-theme="dark"] .cm-search-icon[b-u73t5mx0xp] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .cm-search-input[b-u73t5mx0xp],
:host-context([data-theme="dark"]) .cm-input[b-u73t5mx0xp],
:host-context([data-theme="dark"]) .cm-select[b-u73t5mx0xp],
[data-theme="dark"] .cm-search-input[b-u73t5mx0xp],
[data-theme="dark"] .cm-input[b-u73t5mx0xp],
[data-theme="dark"] .cm-select[b-u73t5mx0xp] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .cm-table th[b-u73t5mx0xp],
[data-theme="dark"] .cm-table th[b-u73t5mx0xp] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .cm-table tbody tr[b-u73t5mx0xp],
[data-theme="dark"] .cm-table tbody tr[b-u73t5mx0xp] {
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .cm-table td[b-u73t5mx0xp],
[data-theme="dark"] .cm-table td[b-u73t5mx0xp] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .cm-table tbody tr:hover td[b-u73t5mx0xp],
[data-theme="dark"] .cm-table tbody tr:hover td[b-u73t5mx0xp] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .col-orderno[b-u73t5mx0xp],
:host-context([data-theme="dark"]) .col-branch[b-u73t5mx0xp],
[data-theme="dark"] .col-orderno[b-u73t5mx0xp],
[data-theme="dark"] .col-branch[b-u73t5mx0xp] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .col-shortname[b-u73t5mx0xp],
[data-theme="dark"] .col-shortname[b-u73t5mx0xp] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .cm-action-btn[b-u73t5mx0xp],
[data-theme="dark"] .cm-action-btn[b-u73t5mx0xp] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .cm-action-btn.edit:hover[b-u73t5mx0xp],
[data-theme="dark"] .cm-action-btn.edit:hover[b-u73t5mx0xp] {
    background: rgba(56, 189, 248, 0.15) !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .cm-action-btn.delete:hover[b-u73t5mx0xp],
[data-theme="dark"] .cm-action-btn.delete:hover[b-u73t5mx0xp] {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: #ef4444 !important;
    color: #fca5a5 !important;
}

:host-context([data-theme="dark"]) .cm-modal-header[b-u73t5mx0xp],
:host-context([data-theme="dark"]) .cm-modal-footer[b-u73t5mx0xp],
[data-theme="dark"] .cm-modal-header[b-u73t5mx0xp],
[data-theme="dark"] .cm-modal-footer[b-u73t5mx0xp] {
    border-color: #334155 !important;
}

/* Master dashboard theme */
:global(.main-content):has(.cm-page)[b-u73t5mx0xp] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.cm-page[b-u73t5mx0xp] { min-height: calc(100vh - 1.5rem) !important; padding: 0 !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.cm-header-card[b-u73t5mx0xp] { height: 78px !important; box-sizing: border-box !important; padding: .15rem 0 !important; margin-bottom: .6rem !important; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; }
.cm-title[b-u73t5mx0xp] { color: #07547c !important; font-size: 1.85rem !important; }
.cm-subtitle[b-u73t5mx0xp] { color: #647b90 !important; }
.cm-search-box[b-u73t5mx0xp] { min-width: 280px !important; height: 40px !important; box-sizing: border-box !important; border: 1px solid #cbd9e8 !important; border-radius: 10px !important; box-shadow: none !important; }
.cm-search-input[b-u73t5mx0xp] { font-size: .78rem !important; }
.cm-btn-new[b-u73t5mx0xp] { height: 40px !important; padding: 0 1.15rem !important; border-radius: 10px !important; background: #087bb5 !important; box-shadow: 0 3px 8px rgba(8,123,181,.2) !important; }
.cm-table-card[b-u73t5mx0xp] { overflow: auto !important; border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; }
.cm-table[b-u73t5mx0xp] { border-collapse: collapse !important; }
.cm-table thead tr[b-u73t5mx0xp] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.cm-table th[b-u73t5mx0xp] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.cm-table td[b-u73t5mx0xp] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.cm-table tbody tr[b-u73t5mx0xp] { height: 44px !important; background: #fff !important; }
.cm-table tbody tr:nth-child(even)[b-u73t5mx0xp] { background: #f8fbfe !important; }
.cm-table tbody tr:hover[b-u73t5mx0xp] { background: #f0f8ff !important; }
.counter-name-text[b-u73t5mx0xp], .col-name[b-u73t5mx0xp] { color: #1e293b !important; }
.col-branch[b-u73t5mx0xp] { color: #0876ad !important; }
.cm-action-btn[b-u73t5mx0xp] { width: 28px !important; height: 28px !important; border-radius: 8px !important; border-color: #dbe8f3 !important; background: #f8fbff !important; }
.cm-action-btn.edit:hover[b-u73t5mx0xp] { border-color: #a9ddf3 !important; color: #0876ad !important; background: #e4f4ff !important; }
/* /Components/Pages/CounterShift.razor.rz.scp.css */
/* ========== PAGE LAYOUT ========== */
/* Override the global main-content padding for this page only */
:global(.main-content):has(.cm-page)[b-mnujjr1ldt] {
    padding: 0 !important;
}

.cm-page[b-mnujjr1ldt] {
    padding: 1rem 1.4rem 1.5rem;
    background: #f8fafc;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ========== HEADER CARD ========== */
.cm-header-card[b-mnujjr1ldt] {
    background: linear-gradient(135deg, #f0f5ff 0%, #e6efff 50%, #edf2fe 100%);
    border-radius: 16px;
    padding: 1.15rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    box-shadow: 0 4px 18px -2px rgba(79, 70, 229, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(79, 70, 229, 0.15);
    backdrop-filter: blur(8px);
    flex-wrap: wrap;
    gap: 1rem;
}

.cm-header-left[b-mnujjr1ldt] {
    display: flex;
    align-items: center;
}

.cm-header-brand[b-mnujjr1ldt] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cm-header-icon-box[b-mnujjr1ldt] {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    flex-shrink: 0;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cm-header-icon-box:hover[b-mnujjr1ldt] {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.38);
}

.cm-header-text[b-mnujjr1ldt] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cm-title[b-mnujjr1ldt] {
    font-size: 1.35rem;
    font-weight: 850;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cm-subtitle[b-mnujjr1ldt] {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 550;
    letter-spacing: 0.01em;
}

.cm-live-pill[b-mnujjr1ldt] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cm-pulse-dot[b-mnujjr1ldt] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: livePulse-b-mnujjr1ldt 2s infinite;
}

@keyframes livePulse-b-mnujjr1ldt {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.cm-header-right[b-mnujjr1ldt] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Secondary Button (Refresh) */
.cm-btn-secondary[b-mnujjr1ldt] {
    background: #ffffff;
    color: #475569;
    border: 1.5px solid #cbd5e1;
    border-radius: 50px;
    padding: 0.55rem 1.15rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.15s ease;
}

.cm-btn-secondary:hover:not(:disabled)[b-mnujjr1ldt] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.cm-btn-secondary:disabled[b-mnujjr1ldt] {
    opacity: 0.6;
    cursor: not-allowed;
}

.cm-spin[b-mnujjr1ldt] {
    animation: cmSpin-b-mnujjr1ldt 1s linear infinite;
}

@keyframes cmSpin-b-mnujjr1ldt {
    100% { transform: rotate(360deg); }
}

/* New Button */
.cm-btn-new[b-mnujjr1ldt] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.58rem 1.35rem;
    font-size: 0.84rem;
    font-weight: 750;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.35);
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cm-btn-new:hover:not(:disabled)[b-mnujjr1ldt] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(79, 70, 229, 0.42);
}

/* ========== KPI STATS GRID ========== */
.cm-stats-grid[b-mnujjr1ldt] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 1100px) {
    .cm-stats-grid[b-mnujjr1ldt] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cm-stats-grid[b-mnujjr1ldt] {
        grid-template-columns: 1fr;
    }
}

.cm-stat-card[b-mnujjr1ldt] {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cm-stat-card:hover[b-mnujjr1ldt] {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.cm-stat-icon-box[b-mnujjr1ldt] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.cm-icon-indigo[b-mnujjr1ldt] {
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #e0e7ff;
}

.cm-icon-emerald[b-mnujjr1ldt] {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #d1fae5;
}

.cm-icon-cyan[b-mnujjr1ldt] {
    background: #ecfeff;
    color: #0891b2;
    border: 1px solid #cffafe;
}

.cm-icon-purple[b-mnujjr1ldt] {
    background: #faf5ff;
    color: #7c3aed;
    border: 1px solid #f3e8ff;
}

.cm-stat-content[b-mnujjr1ldt] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cm-stat-label[b-mnujjr1ldt] {
    font-size: 0.72rem;
    font-weight: 750;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.cm-stat-value[b-mnujjr1ldt] {
    font-size: 1.55rem;
    font-weight: 850;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cm-stat-value-sm[b-mnujjr1ldt] {
    font-size: 1.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cm-stat-tag[b-mnujjr1ldt] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 4px;
}

.cm-stat-tag.success[b-mnujjr1ldt] { color: #059669; }
.cm-stat-tag.neutral[b-mnujjr1ldt] { color: #64748b; }
.cm-stat-tag.info[b-mnujjr1ldt] { color: #0284c7; }
.cm-stat-tag.policy[b-mnujjr1ldt] { color: #7c3aed; font-weight: 700; }

.cm-tag-dot[b-mnujjr1ldt] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

/* ========== FILTER TOOLBAR ========== */
.cm-toolbar-card[b-mnujjr1ldt] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.cm-toolbar-left[b-mnujjr1ldt] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex: 1;
}

.cm-toolbar-right[b-mnujjr1ldt] {
    display: flex;
    align-items: center;
}

.cm-results-count[b-mnujjr1ldt] {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.cm-results-count strong[b-mnujjr1ldt] {
    color: #0f172a;
    font-weight: 750;
}

.cm-search-box[b-mnujjr1ldt] {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.5rem 0.85rem 0.5rem 2.2rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
    min-width: 250px;
    transition: all 0.15s ease;
}

.cm-search-box:focus-within[b-mnujjr1ldt] {
    border-color: #6366f1;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.cm-search-icon[b-mnujjr1ldt] {
    position: absolute;
    left: 0.8rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

.cm-search-input[b-mnujjr1ldt] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.82rem;
    color: #1e293b;
    width: 100%;
}

.cm-clear-btn[b-mnujjr1ldt] {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 0 0 6px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    transition: color 0.15s ease;
}

.cm-clear-btn:hover[b-mnujjr1ldt] { color: #ef4444; }

.cm-filter-dropdown-wrap[b-mnujjr1ldt] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.cm-dropdown-icon[b-mnujjr1ldt] {
    position: absolute;
    left: 0.8rem;
    color: #64748b;
    font-size: 0.82rem;
    pointer-events: none;
    z-index: 1;
}

.cm-filter-select[b-mnujjr1ldt] {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.5rem 0.9rem 0.5rem 2.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    outline: none;
    transition: all 0.15s ease;
}

.cm-filter-select:focus[b-mnujjr1ldt] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background: #ffffff;
}

.cm-btn-reset-filters[b-mnujjr1ldt] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
}

.cm-btn-reset-filters:hover[b-mnujjr1ldt] {
    background: #e2e8f0;
    color: #0f172a;
}

/* ========== TABLE CARD ========== */
.cm-table-card[b-mnujjr1ldt] {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}

.cm-table-responsive[b-mnujjr1ldt] {
    overflow-x: auto;
    width: 100%;
}

/* ========== TABLE ========== */
.cm-table[b-mnujjr1ldt] {
    width: 100%;
    border-collapse: collapse;
}

.cm-table thead tr[b-mnujjr1ldt] {
    border-bottom: 1.5px solid #e2e8f0;
    background: #f8fafc;
}

.cm-table th[b-mnujjr1ldt] {
    padding: 0.9rem 1rem;
    font-size: 0.71rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
    background: #f8fafc;
    white-space: nowrap;
}

.cm-table tbody tr[b-mnujjr1ldt] {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}

.cm-table tbody tr:last-child[b-mnujjr1ldt] {
    border-bottom: none;
}

.cm-table tbody tr:hover[b-mnujjr1ldt] {
    background: #f8faff;
}

.cm-table td[b-mnujjr1ldt] {
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
    color: #334155;
    vertical-align: middle;
}

.branch-badge[b-mnujjr1ldt] {
    background-color: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 0.28rem 0.65rem;
    border-radius: 8px;
    font-weight: 650;
    font-size: 0.76rem;
    display: inline-flex;
    align-items: center;
}

.cm-pulse-indicator[b-mnujjr1ldt] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: livePulse-b-mnujjr1ldt 2s infinite;
    flex-shrink: 0;
}

.shift-no-badge[b-mnujjr1ldt] {
    background-color: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
    padding: 0.28rem 0.65rem;
    border-radius: 8px;
    font-weight: 750;
    font-size: 0.75rem;
    display: inline-block;
}

.shift-timing-badge[b-mnujjr1ldt] {
    padding: 5px 11px;
    border-radius: 8px;
    font-weight: 750;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.2px;
}

.shift-timing-badge.fixed[b-mnujjr1ldt] {
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #e9d5ff;
}

.shift-timing-badge.variable[b-mnujjr1ldt] {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #dbeafe;
}

.col-date[b-mnujjr1ldt] {
    font-size: 0.81rem;
    color: #475569;
    font-weight: 500;
}

/* Table End Shift Button */
.cm-btn-end-shift[b-mnujjr1ldt] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.42rem 0.9rem;
    font-size: 0.76rem;
    font-weight: 750;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.28);
    transition: all 0.15s ease;
    white-space: nowrap;
}

.cm-btn-end-shift:hover[b-mnujjr1ldt] {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.38);
}

.cm-badge-auto-close[b-mnujjr1ldt] {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cm-badge-locked[b-mnujjr1ldt] {
    background: #f8fafc;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Empty row */
.cm-empty-row[b-mnujjr1ldt] {
    text-align: center;
    padding: 3rem 1rem !important;
}

.cm-empty-container[b-mnujjr1ldt] {
    padding: 2.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cm-empty-icon[b-mnujjr1ldt] {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin-bottom: 0.85rem;
}

.cm-empty-title[b-mnujjr1ldt] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 6px 0;
}

.cm-empty-desc[b-mnujjr1ldt] {
    font-size: 0.83rem;
    color: #64748b;
    max-width: 440px;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

/* ========== MODAL BACKDROP ========== */
.cm-backdrop[b-mnujjr1ldt] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 12000;
    backdrop-filter: blur(4px);
    animation: cmFadeIn-b-mnujjr1ldt 0.18s ease-out;
}

@keyframes cmFadeIn-b-mnujjr1ldt {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========== MODAL ========== */
.cm-modal[b-mnujjr1ldt] {
    background: white;
    border-radius: 18px;
    width: 880px;
    max-width: 94vw;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
    animation: modalIn-b-mnujjr1ldt 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.cm-modal-elevated[b-mnujjr1ldt] {
    border: 1px solid #e2e8f0;
    border-radius: 18px !important;
}

@keyframes modalIn-b-mnujjr1ldt {
    from { opacity: 0; transform: translateY(-12px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.cm-modal-top-accent[b-mnujjr1ldt] {
    height: 5px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.cm-accent-danger[b-mnujjr1ldt] {
    background: linear-gradient(90deg, #ef4444 0%, #f43f5e 50%, #dc2626 100%);
}

.cm-accent-primary[b-mnujjr1ldt] {
    background: linear-gradient(90deg, #6366f1 0%, #4f46e5 50%, #4338ca 100%);
}

.cm-modal-header[b-mnujjr1ldt] {
    padding: 1.5rem 1.8rem 1rem 1.8rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cm-modal-icon-badge[b-mnujjr1ldt] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.cm-badge-danger[b-mnujjr1ldt] {
    background: #fef2f2;
    color: #dc2626;
    border: 1.5px solid #fecaca;
    box-shadow: 0 4px 12px -2px rgba(239, 68, 68, 0.2);
}

.cm-badge-primary[b-mnujjr1ldt] {
    background: #eef2ff;
    color: #4f46e5;
    border: 1.5px solid #e0e7ff;
    box-shadow: 0 4px 12px -2px rgba(79, 70, 229, 0.2);
}

.cm-modal-title[b-mnujjr1ldt] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 850;
    color: #0f172a;
}

.cm-close-btn[b-mnujjr1ldt] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.9rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.cm-close-btn:hover[b-mnujjr1ldt] {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
}

/* ========== MODAL BODY ========== */
.cm-modal-body[b-mnujjr1ldt] {
    padding: 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.cm-modal-summary-card[b-mnujjr1ldt] {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem 1.2rem;
}

.cm-modal-notice-banner[b-mnujjr1ldt] {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-left: 4px solid #ef4444;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: #991b1b;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.cm-modal-policy-card[b-mnujjr1ldt] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #16a34a;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

/* Field group */
.cm-field-group[b-mnujjr1ldt] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cm-label[b-mnujjr1ldt] {
    font-size: 0.78rem;
    font-weight: 750;
    color: #475569;
    text-transform: none;
}

.cm-input[b-mnujjr1ldt] {
    padding: 0.75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.88rem;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cm-input:focus[b-mnujjr1ldt] {
    border-color: #4f46e5;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.cm-input[b-mnujjr1ldt]::placeholder { color: #cbd5e1; }

.cm-select[b-mnujjr1ldt] {
    appearance: auto;
    cursor: pointer;
    background: #f8fafc;
}

/* ========== MODAL FOOTER ========== */
.cm-modal-footer[b-mnujjr1ldt] {
    padding: 1rem 1.8rem 1.4rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
}

.cm-btn-cancel[b-mnujjr1ldt] {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #64748b;
    border-radius: 10px;
    padding: 0.65rem 1.4rem;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cm-btn-cancel:hover[b-mnujjr1ldt] {
    background: #f1f5f9;
    color: #334155;
    border-color: #94a3b8;
}

.cm-btn-save[b-mnujjr1ldt] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1.5rem;
    font-size: 0.88rem;
    font-weight: 750;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.15s ease;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.cm-btn-save:hover:not(:disabled)[b-mnujjr1ldt] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45);
}

.cm-btn-danger-confirm[b-mnujjr1ldt] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1.5rem;
    font-size: 0.88rem;
    font-weight: 750;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.32);
    transition: all 0.15s ease;
}

.cm-btn-danger-confirm:hover:not(:disabled)[b-mnujjr1ldt] {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.42);
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR COUNTER SHIFT
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .cm-page[b-mnujjr1ldt],
[data-theme="dark"] .cm-page[b-mnujjr1ldt] {
    background: #0b1120 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .cm-header-card[b-mnujjr1ldt],
[data-theme="dark"] .cm-header-card[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-stat-card[b-mnujjr1ldt],
[data-theme="dark"] .cm-stat-card[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-toolbar-card[b-mnujjr1ldt],
[data-theme="dark"] .cm-toolbar-card[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-table-card[b-mnujjr1ldt],
[data-theme="dark"] .cm-table-card[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-modal[b-mnujjr1ldt],
[data-theme="dark"] .cm-modal[b-mnujjr1ldt] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .cm-title[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-stat-value[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-modal-title[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-table td strong[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-empty-title[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-results-count strong[b-mnujjr1ldt],
[data-theme="dark"] .cm-title[b-mnujjr1ldt],
[data-theme="dark"] .cm-stat-value[b-mnujjr1ldt],
[data-theme="dark"] .cm-modal-title[b-mnujjr1ldt],
[data-theme="dark"] .cm-table td strong[b-mnujjr1ldt],
[data-theme="dark"] .cm-empty-title[b-mnujjr1ldt],
[data-theme="dark"] .cm-results-count strong[b-mnujjr1ldt] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .cm-subtitle[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-stat-label[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-label[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .col-date[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-results-count[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-empty-desc[b-mnujjr1ldt],
[data-theme="dark"] .cm-subtitle[b-mnujjr1ldt],
[data-theme="dark"] .cm-stat-label[b-mnujjr1ldt],
[data-theme="dark"] .cm-label[b-mnujjr1ldt],
[data-theme="dark"] .col-date[b-mnujjr1ldt],
[data-theme="dark"] .cm-results-count[b-mnujjr1ldt],
[data-theme="dark"] .cm-empty-desc[b-mnujjr1ldt] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .cm-search-box[b-mnujjr1ldt],
[data-theme="dark"] .cm-search-box[b-mnujjr1ldt] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .cm-search-icon[b-mnujjr1ldt],
[data-theme="dark"] .cm-search-icon[b-mnujjr1ldt] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .cm-search-input[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-filter-select[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-input[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-select[b-mnujjr1ldt],
[data-theme="dark"] .cm-search-input[b-mnujjr1ldt],
[data-theme="dark"] .cm-filter-select[b-mnujjr1ldt],
[data-theme="dark"] .cm-input[b-mnujjr1ldt],
[data-theme="dark"] .cm-select[b-mnujjr1ldt] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .cm-btn-secondary[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-btn-reset-filters[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-btn-cancel[b-mnujjr1ldt],
[data-theme="dark"] .cm-btn-secondary[b-mnujjr1ldt],
[data-theme="dark"] .cm-btn-reset-filters[b-mnujjr1ldt],
[data-theme="dark"] .cm-btn-cancel[b-mnujjr1ldt] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .cm-btn-secondary:hover[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-btn-reset-filters:hover[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-btn-cancel:hover[b-mnujjr1ldt],
[data-theme="dark"] .cm-btn-secondary:hover[b-mnujjr1ldt],
[data-theme="dark"] .cm-btn-reset-filters:hover[b-mnujjr1ldt],
[data-theme="dark"] .cm-btn-cancel:hover[b-mnujjr1ldt] {
    background: #1e293b !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .cm-table th[b-mnujjr1ldt],
[data-theme="dark"] .cm-table th[b-mnujjr1ldt] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .cm-table tbody tr[b-mnujjr1ldt],
[data-theme="dark"] .cm-table tbody tr[b-mnujjr1ldt] {
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .cm-table td[b-mnujjr1ldt],
[data-theme="dark"] .cm-table td[b-mnujjr1ldt] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .cm-table tbody tr:hover td[b-mnujjr1ldt],
[data-theme="dark"] .cm-table tbody tr:hover td[b-mnujjr1ldt] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .branch-badge[b-mnujjr1ldt],
[data-theme="dark"] .branch-badge[b-mnujjr1ldt] {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .shift-no-badge[b-mnujjr1ldt],
[data-theme="dark"] .shift-no-badge[b-mnujjr1ldt] {
    background-color: #0f172a !important;
    color: #38bdf8 !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .cm-badge-auto-close[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-badge-locked[b-mnujjr1ldt],
[data-theme="dark"] .cm-badge-auto-close[b-mnujjr1ldt],
[data-theme="dark"] .cm-badge-locked[b-mnujjr1ldt] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .cm-modal-summary-card[b-mnujjr1ldt],
[data-theme="dark"] .cm-modal-summary-card[b-mnujjr1ldt] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .cm-modal-header[b-mnujjr1ldt],
:host-context([data-theme="dark"]) .cm-modal-footer[b-mnujjr1ldt],
[data-theme="dark"] .cm-modal-header[b-mnujjr1ldt],
[data-theme="dark"] .cm-modal-footer[b-mnujjr1ldt] {
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .cm-close-btn[b-mnujjr1ldt],
[data-theme="dark"] .cm-close-btn[b-mnujjr1ldt] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .shift-timing-badge.fixed[b-mnujjr1ldt],
[data-theme="dark"] .shift-timing-badge.fixed[b-mnujjr1ldt] {
    background: #3b0764 !important;
    border-color: #581c87 !important;
    color: #e9d5ff !important;
}

:host-context([data-theme="dark"]) .shift-timing-badge.variable[b-mnujjr1ldt],
[data-theme="dark"] .shift-timing-badge.variable[b-mnujjr1ldt] {
    background: #172554 !important;
    border-color: #1e3a8a !important;
    color: #bfdbfe !important;
}
/* /Components/Pages/CountryMaster.razor.rz.scp.css */
/* ========== PAGE LAYOUT ========== */
/* Override the global main-content padding for this page only */
:global(.main-content):has(.cm-page)[b-nu3j7hmjj8] {
    padding: 0 !important;
}

.cm-page[b-nu3j7hmjj8] {
    padding: 0.8rem 1rem 1rem;
    background: #ffffff;
    min-height: 100vh;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* ========== HEADER CARD ========== */
.cm-header-card[b-nu3j7hmjj8] {
    background: linear-gradient(100deg, #e0ebff 0%, #e8f0ff 100%);
    border-radius: 14px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(80, 80, 200, 0.07);
}

.cm-header-left[b-nu3j7hmjj8] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.cm-title[b-nu3j7hmjj8] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e1b4b;
    margin: 0;
    line-height: 1.2;
}

.cm-subtitle[b-nu3j7hmjj8] {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 600;
}

.cm-header-right[b-nu3j7hmjj8] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Search Box */
.cm-search-box[b-nu3j7hmjj8] {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0.55rem 1.2rem 0.55rem 2.2rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    min-width: 210px;
}

.cm-search-icon[b-nu3j7hmjj8] {
    position: absolute;
    left: 0.8rem;
    color: #9ca3af;
    font-size: 0.8rem;
}

.cm-search-input[b-nu3j7hmjj8] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.83rem;
    color: #374151;
    width: 100%;
}

/* New Button */
.cm-btn-new[b-nu3j7hmjj8] {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.3);
    transition: background 0.2s;
}

.cm-btn-new:hover[b-nu3j7hmjj8] {
    background: #4338ca;
}

/* ========== TABLE CARD ========== */
.cm-table-card[b-nu3j7hmjj8] {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(80, 80, 200, 0.07);
}

/* ========== TABLE ========== */
.cm-table[b-nu3j7hmjj8] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.cm-table tbody tr[b-nu3j7hmjj8] {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.cm-table tbody tr:last-child[b-nu3j7hmjj8] {
    border-bottom: none;
}

.cm-table tbody tr:hover[b-nu3j7hmjj8] {
    background: #fafbff;
}

.cm-table td[b-nu3j7hmjj8] {
    padding: 0.75rem 0.9rem;
    font-size: 0.82rem;
    color: #374151;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cm-table th[b-nu3j7hmjj8] {
    padding: 0.85rem 0.9rem;
    font-size: 0.68rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: left;
    background: white;
}

/* Column widths */
.cm-table th:nth-child(1)[b-nu3j7hmjj8],
.cm-table td.col-orderno[b-nu3j7hmjj8] {
    width: 80px;
}

.cm-table th:nth-child(2)[b-nu3j7hmjj8],
.cm-table td.col-shortname[b-nu3j7hmjj8] {
    width: 130px;
}

.cm-table th:nth-child(3)[b-nu3j7hmjj8],
.cm-table td.col-name[b-nu3j7hmjj8] {
    width: 250px;
}

.cm-table th:nth-child(4)[b-nu3j7hmjj8],
.cm-table td.col-narration[b-nu3j7hmjj8] {
    width: auto;
}

.cm-table th:nth-child(5)[b-nu3j7hmjj8],
.cm-table td.col-date-entered[b-nu3j7hmjj8] {
    width: 185px;
}

.cm-table th:nth-child(6)[b-nu3j7hmjj8],
.cm-table td.col-date-modified[b-nu3j7hmjj8] {
    width: 185px;
}

.cm-table th:nth-child(7)[b-nu3j7hmjj8],
.cm-table td.col-action[b-nu3j7hmjj8] {
    width: 100px;
}

.col-date-entered[b-nu3j7hmjj8],
.col-date-modified[b-nu3j7hmjj8] {
    white-space: nowrap !important;
}

/* Column-specific */
.col-orderno[b-nu3j7hmjj8] {
    font-weight: 700;
    color: #4f46e5 !important;
}

.col-shortname[b-nu3j7hmjj8] {
    color: #6b7280 !important;
}

.counter-name-text[b-nu3j7hmjj8] {
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-narration[b-nu3j7hmjj8] {
    color: #374151;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
}

.col-action[b-nu3j7hmjj8] {
    display: flex !important;
    gap: 0.35rem;
    align-items: center;
    height: 44px !important;
}

/* Date columns */
.date-line[b-nu3j7hmjj8] {
    display: inline-block;
    font-size: 0.78rem;
    color: #374151;
    line-height: 1.4;
    white-space: nowrap;
}

.ampm-line[b-nu3j7hmjj8] {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    margin-left: 4px;
}

.ampm-line.am[b-nu3j7hmjj8] {
    color: #6b7280;
}

.ampm-line.pm[b-nu3j7hmjj8] {
    color: #6b7280;
}

/* Action buttons */
.cm-action-btn[b-nu3j7hmjj8] {
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    margin-right: 2px;
    color: #9ca3af;
    transition: all 0.15s;
}

.cm-action-btn.edit:hover[b-nu3j7hmjj8] {
    border-color: #4f46e5;
    color: #4f46e5;
    background: #eef2ff;
}

.cm-action-btn.delete:hover[b-nu3j7hmjj8] {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

/* Empty row */
.cm-empty-row[b-nu3j7hmjj8] {
    text-align: center;
    padding: 3rem 1rem !important;
    color: #9ca3af;
    font-size: 0.85rem;
}

.cm-empty-row i[b-nu3j7hmjj8] {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

/* ========== MODAL BACKDROP ========== */
.cm-backdrop[b-nu3j7hmjj8] {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 40, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

/* ========== MODAL ========== */
.cm-modal[b-nu3j7hmjj8] {
    background: white;
    border-radius: 18px;
    width: 880px;
    max-width: 96vw;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    animation: modalIn-b-nu3j7hmjj8 0.18s ease;
}

@keyframes modalIn-b-nu3j7hmjj8 {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cm-modal-header[b-nu3j7hmjj8] {
    padding: 1.6rem 2.2rem 1.2rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cm-modal-title[b-nu3j7hmjj8] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
}

.cm-close-btn[b-nu3j7hmjj8] {
    background: transparent;
    border: none;
    color: #000000;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.cm-close-btn:hover[b-nu3j7hmjj8],
.cm-close-btn:active[b-nu3j7hmjj8] {
    color: #ef4444;
}

/* ========== MODAL BODY ========== */
.cm-modal-body[b-nu3j7hmjj8] {
    padding: 2rem 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Field group */
.cm-field-group[b-nu3j7hmjj8] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cm-label[b-nu3j7hmjj8] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-transform: none;
}

.cm-input[b-nu3j7hmjj8] {
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cm-input:focus[b-nu3j7hmjj8] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.cm-input[b-nu3j7hmjj8]::placeholder {
    color: #cbd5e1;
}

.cm-select[b-nu3j7hmjj8] {
    appearance: auto;
    cursor: pointer;
    background: #f8fafc;
}

/* Form rows */
.cm-form-row[b-nu3j7hmjj8] {
    display: grid;
    gap: 1.25rem;
}

.cm-form-row.three-cols[b-nu3j7hmjj8] {
    grid-template-columns: repeat(3, 1fr);
}

.cm-form-row.two-cols[b-nu3j7hmjj8] {
    grid-template-columns: 2fr 1fr;
}

.cm-form-row.full-width[b-nu3j7hmjj8] {
    grid-template-columns: 1fr;
}

.cm-form-row.two-cols-wide-narrow[b-nu3j7hmjj8] {
    grid-template-columns: 2.5fr 1fr;
}

.cm-form-row.two-cols-narrow-wide[b-nu3j7hmjj8] {
    grid-template-columns: 1fr 2.5fr;
}

/* ========== MODAL FOOTER ========== */
.cm-modal-footer[b-nu3j7hmjj8] {
    padding: 1.2rem 2.2rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cm-btn-delete[b-nu3j7hmjj8] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    padding: 0.4rem 0;
    transition: color 0.15s;
}

.cm-btn-delete:hover[b-nu3j7hmjj8] {
    color: #dc2626;
}

.cm-btn-cancel[b-nu3j7hmjj8] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #64748b;
    border-radius: 10px;
    padding: 0.7rem 2rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.cm-btn-cancel:hover[b-nu3j7hmjj8] {
    background: #f1f5f9;
    color: #334155;
    border-color: #94a3b8;
}

.cm-btn-save[b-nu3j7hmjj8] {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.7rem 2rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.cm-btn-save:hover[b-nu3j7hmjj8] {
    background: #4338ca;
}

/* Autocomplete Dropdown Overlay */
.cm-autocomplete-dropdown[b-nu3j7hmjj8] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1100;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-top: 4px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    max-height: 220px;
    overflow-y: auto;
}

.cm-dropdown-header[b-nu3j7hmjj8] {
    padding: 0.45rem 0.85rem;
    font-size: 0.68rem;
    font-weight: 800;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cm-dropdown-item[b-nu3j7hmjj8] {
    padding: 0.6rem 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.15s ease;
}

.cm-dropdown-item:last-child[b-nu3j7hmjj8] {
    border-bottom: none;
}

.cm-dropdown-item:hover[b-nu3j7hmjj8] {
    background: #eef2ff;
}

.cm-dropdown-item-main[b-nu3j7hmjj8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.cm-dropdown-title[b-nu3j7hmjj8] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
}

.cm-dropdown-badge[b-nu3j7hmjj8] {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    background: #e0e7ff;
    color: #4f46e5;
}

.cm-dropdown-sub[b-nu3j7hmjj8] {
    font-size: 0.75rem;
    color: #64748b;
}

/* ========== TABLE PAGINATION FOOTER ========== */
.cm-table-footer[b-nu3j7hmjj8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    background: #ffffff;
    border-top: 1px solid #f3f4f6;
}

.cm-pagination-info[b-nu3j7hmjj8] {
    font-size: 0.82rem;
    color: #64748b;
}

.cm-pagination-controls[b-nu3j7hmjj8] {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.cm-pg-btn[b-nu3j7hmjj8] {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.cm-pg-btn:hover:not(:disabled)[b-nu3j7hmjj8] {
    background: #eef2ff;
    color: #4f46e5;
    border-color: #c7d2fe;
}

.cm-pg-btn.active[b-nu3j7hmjj8] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
}

.cm-pg-btn:disabled[b-nu3j7hmjj8] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Country Master dashboard theme */
:global(html:has(.cm-page))[b-nu3j7hmjj8],
:global(body:has(.cm-page))[b-nu3j7hmjj8] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.cm-page))[b-nu3j7hmjj8],
:global(.app-main-wrapper:has(.cm-page))[b-nu3j7hmjj8] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.cm-page)[b-nu3j7hmjj8] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.cm-page[b-nu3j7hmjj8] {
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
    padding: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.cm-header-card[b-nu3j7hmjj8] {
    flex: 0 0 auto !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.cm-title[b-nu3j7hmjj8] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}

.cm-subtitle[b-nu3j7hmjj8] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
}

.cm-header-right[b-nu3j7hmjj8] {
    gap: 0.65rem !important;
}

.cm-search-box[b-nu3j7hmjj8] {
    min-width: 260px !important;
    height: 38px !important;
    box-sizing: border-box !important;
    padding: 0 1rem 0 2.2rem !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
}

.cm-search-input[b-nu3j7hmjj8] {
    font-size: 0.82rem !important;
}

.cm-search-box:focus-within[b-nu3j7hmjj8] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.cm-btn-new[b-nu3j7hmjj8] {
    height: 38px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
}

.cm-btn-new:hover[b-nu3j7hmjj8] {
    background: #05689b !important;
}

.cm-table-card[b-nu3j7hmjj8] {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.cm-table-wrapper[b-nu3j7hmjj8] {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
}

.cm-table[b-nu3j7hmjj8] {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
}

.cm-table thead[b-nu3j7hmjj8],
.cm-table thead tr[b-nu3j7hmjj8] {
    background: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
}

.cm-table th[b-nu3j7hmjj8] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 36px !important;
    box-sizing: border-box !important;
    padding: 0.55rem 0.7rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
}

.cm-table th:last-child[b-nu3j7hmjj8] {
    border-right: none !important;
}

.cm-table tbody[b-nu3j7hmjj8] {
    background: #ffffff !important;
}

.cm-table tbody tr[b-nu3j7hmjj8] {
    height: 40px !important;
    min-height: 40px !important;
}

.cm-table tbody tr:nth-child(even)[b-nu3j7hmjj8] {
    background: #fbfdff !important;
}

.cm-table tbody tr:hover[b-nu3j7hmjj8] {
    background: #f0f8ff !important;
}

.cm-table td[b-nu3j7hmjj8] {
    height: 40px !important;
    min-height: 40px !important;
    box-sizing: border-box !important;
    padding: 0.4rem 0.7rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    font-size: 0.78rem !important;
    color: #334155 !important;
    vertical-align: middle !important;
}

.col-orderno[b-nu3j7hmjj8] {
    color: #47627b !important;
    font-weight: 700 !important;
}

.col-shortname[b-nu3j7hmjj8] {
    color: #475569 !important;
    font-weight: 700 !important;
}

.counter-name-text[b-nu3j7hmjj8] {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.col-narration[b-nu3j7hmjj8] {
    color: #647b90 !important;
}

.date-line[b-nu3j7hmjj8] {
    color: #64748b !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
}

.cm-action-btn[b-nu3j7hmjj8] {
    width: 28px !important;
    height: 28px !important;
    margin-right: 2px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
}

.cm-action-btn.edit:hover[b-nu3j7hmjj8] {
    border-color: #bae6fd !important;
    color: #0369a1 !important;
    background: #f0f9ff !important;
}

.cm-action-btn.delete[b-nu3j7hmjj8] {
    color: #dc2626 !important;
}

.cm-action-btn.delete:hover[b-nu3j7hmjj8] {
    border-color: #fecaca !important;
    color: #dc2626 !important;
    background: #fef2f2 !important;
}

.cm-table-footer[b-nu3j7hmjj8] {
    flex: 0 0 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    box-sizing: border-box !important;
    padding: 0 1rem !important;
    background: #ffffff !important;
    border-top: 1px solid #e5edf5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.cm-pagination-info[b-nu3j7hmjj8] {
    font-size: 0.76rem !important;
}

.cm-pg-btn[b-nu3j7hmjj8] {
    min-width: 30px !important;
    height: 28px !important;
    padding: 0 0.55rem !important;
    border-radius: 8px !important;
    color: #526b82 !important;
}

.cm-pg-btn:hover:not(:disabled)[b-nu3j7hmjj8] {
    background: #e4f4ff !important;
    color: #0876ad !important;
    border-color: #a9ddfa !important;
}

.cm-pg-btn.active[b-nu3j7hmjj8] {
    background: #0876ad !important;
    border-color: #0876ad !important;
}

.cm-modal-title[b-nu3j7hmjj8],
.cm-btn-save[b-nu3j7hmjj8] {
    color: #07547c !important;
}

.cm-btn-save[b-nu3j7hmjj8] {
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
}

.cm-btn-save:hover[b-nu3j7hmjj8] {
    background: #05689b !important;
}

.cm-input:focus[b-nu3j7hmjj8] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

@media (max-width: 900px) {
    .cm-header-card[b-nu3j7hmjj8] {
        align-items: flex-start !important;
        flex-direction: column !important;
        flex-basis: auto !important;
        gap: 0.7rem !important;
    }

    .cm-header-right[b-nu3j7hmjj8],
    .cm-search-box[b-nu3j7hmjj8] {
        width: 100% !important;
    }

    .cm-header-right[b-nu3j7hmjj8] {
        flex-wrap: wrap !important;
    }

    .cm-table-card[b-nu3j7hmjj8] {
        overflow: auto !important;
    }
}
/* /Components/Pages/CreateSurgeryRequest.razor.rz.scp.css */
.referral-page[b-os9hjijcr9] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-os9hjijcr9] { display: flex; justify-content: space-between; align-items: center; }
.flex-start[b-os9hjijcr9] { display: flex; justify-content: flex-start; align-items: center; }
.display-flex[b-os9hjijcr9] { display: flex; }
.align-center[b-os9hjijcr9] { align-items: center; }
.flex-center[b-os9hjijcr9] { display: flex; justify-content: center; align-items: center; }

.gap-8[b-os9hjijcr9] { gap: 8px; }
.gap-12[b-os9hjijcr9] { gap: 12px; }
.gap-16[b-os9hjijcr9] { gap: 16px; }

.p-2[b-os9hjijcr9] { padding: 8px; }
.p-48[b-os9hjijcr9] { padding: 48px; }
.rounded-lg[b-os9hjijcr9] { border-radius: 8px; }
.shadow-sm[b-os9hjijcr9] { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.m-0[b-os9hjijcr9] { margin: 0; }
.mt-2px[b-os9hjijcr9] { margin-top: 2px; }
.relative-positioned[b-os9hjijcr9] { position: relative; }

/* Lab header card */
.lab-header-card[b-os9hjijcr9] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04);
    padding: 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
}

.lab-title-text[b-os9hjijcr9] {
    color: #312e81;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-os9hjijcr9] { background-color: #eef2ff; }
.text-indigo-600[b-os9hjijcr9] { color: #4f46e5; }
.text-indigo-800[b-os9hjijcr9] { color: #3730a3; }
.text-indigo-900[b-os9hjijcr9] { color: #312e81; }
.icon-lg[b-os9hjijcr9] { font-size: 24px; }

.status-pulse-dot[b-os9hjijcr9] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-os9hjijcr9 2s infinite;
}

.status-text[b-os9hjijcr9] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-os9hjijcr9] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-os9hjijcr9] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-os9hjijcr9] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-280[b-os9hjijcr9] { width: 280px; }

.btn-new-entry[b-os9hjijcr9] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.btn-new-entry:hover[b-os9hjijcr9] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Stats mini bar */
.stats-mini-bar[b-os9hjijcr9] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 20px;
}

.stat-mini-card[b-os9hjijcr9] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.stat-mini-icon[b-os9hjijcr9] {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.stat-mini-value[b-os9hjijcr9] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}

.stat-mini-label[b-os9hjijcr9] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Directory & Table styles */
.directory-section[b-os9hjijcr9] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.lc-table-container[b-os9hjijcr9] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-os9hjijcr9] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-os9hjijcr9] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-os9hjijcr9] {
    padding: 1rem 1.25rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lc-table td[b-os9hjijcr9] {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    vertical-align: middle;
}

.lc-table tbody tr:last-child td[b-os9hjijcr9] {
    border-bottom: none;
}

.lc-table-row:hover[b-os9hjijcr9] {
    background: rgba(248, 250, 252, 0.8);
}

.patient-cell-inline[b-os9hjijcr9] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.patient-avatar-box[b-os9hjijcr9] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eef2ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.patient-avatar-box.small[b-os9hjijcr9] {
    width: 28px;
    height: 28px;
    font-size: 14px;
}

.patient-name-title[b-os9hjijcr9] {
    font-weight: 700;
    color: #1e293b;
    font-size: 13px;
    line-height: 1.2;
}

.doctor-cell-stack[b-os9hjijcr9] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.font-bold[b-os9hjijcr9] { font-weight: 700; }
.font-10[b-os9hjijcr9] { font-size: 10px; }
.font-11[b-os9hjijcr9] { font-size: 11px; }
.font-12[b-os9hjijcr9] { font-size: 12px; }
.font-13[b-os9hjijcr9] { font-size: 13px; }
.font-14[b-os9hjijcr9] { font-size: 14px; }
.font-15[b-os9hjijcr9] { font-size: 15px; }
.font-16[b-os9hjijcr9] { font-size: 16px; }
.font-18[b-os9hjijcr9] { font-size: 18px; }
.font-mono[b-os9hjijcr9] { font-family: monospace; }
.italic[b-os9hjijcr9] { font-style: italic; }

.text-slate-800[b-os9hjijcr9] { color: #1e293b; }
.text-slate-700[b-os9hjijcr9] { color: #334155; }
.text-slate-600[b-os9hjijcr9] { color: #475569; }
.text-slate-500[b-os9hjijcr9] { color: #64748b; }
.text-slate-400[b-os9hjijcr9] { color: #94a3b8; }
.text-danger[b-os9hjijcr9] { color: #ef4444; }

.lc-circle-btn-32[b-os9hjijcr9] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32:hover[b-os9hjijcr9] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-circle-btn-32:hover span[b-os9hjijcr9] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-os9hjijcr9] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-os9hjijcr9] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-os9hjijcr9 0.3s ease-out;
}

.modal-surgery-request-card[b-os9hjijcr9] {
    max-width: 860px;
}

.modal-header-bar[b-os9hjijcr9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-title-box[b-os9hjijcr9] {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.modal-header-title-box .header-icon[b-os9hjijcr9] {
    font-size: 22px;
    color: #4f46e5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-title-text[b-os9hjijcr9] {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.modal-close-btn[b-os9hjijcr9] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
}

.modal-close-btn:hover[b-os9hjijcr9] {
    color: #ef4444;
    background: #fef2f2;
}

/* Modal Tab Bar */
.modal-tab-bar[b-os9hjijcr9] {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0 24px;
}

.modal-tab-btn[b-os9hjijcr9] {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.modal-tab-btn:hover[b-os9hjijcr9] {
    color: #4f46e5;
    background-color: rgba(238, 242, 255, 0.5);
}

.modal-tab-btn.active[b-os9hjijcr9] {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
    background-color: #ffffff;
}

.modal-body[b-os9hjijcr9] {
    padding: 22px 24px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-grid-2[b-os9hjijcr9] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-grid-3[b-os9hjijcr9] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.form-group[b-os9hjijcr9] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    position: relative;
}

.form-group label[b-os9hjijcr9] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-input[b-os9hjijcr9] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
    box-sizing: border-box;
}

.lab-input:focus[b-os9hjijcr9] {
    outline: none;
    border-color: #4f46e5;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lab-input.with-icon[b-os9hjijcr9] {
    padding-left: 36px;
}

/* Patient Autocomplete */
.patient-search-container[b-os9hjijcr9] {
    position: relative;
}

.patient-search-input-wrapper[b-os9hjijcr9] {
    position: relative;
    width: 100%;
}

.search-input-icon[b-os9hjijcr9] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}

.patient-dropdown-menu[b-os9hjijcr9] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 240px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    z-index: 1100;
}

.patient-dropdown-item[b-os9hjijcr9] {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background-color 0.15s;
}

.patient-dropdown-item:last-child[b-os9hjijcr9] {
    border-bottom: none;
}

.patient-dropdown-item:hover[b-os9hjijcr9] {
    background-color: #eef2ff;
}

.selected-patient-badge[b-os9hjijcr9] {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-clear-patient[b-os9hjijcr9] {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-clear-patient:hover[b-os9hjijcr9] {
    background-color: #fee2e2;
    color: #ef4444;
}

/* ─────────────────────────────────────────────────────────────────
   Billing Tab & Fee Split Specifics
   ───────────────────────────────────────────────────────────────── */
.billing-tab-content[b-os9hjijcr9] {
    animation: lc-fadeInUp-b-os9hjijcr9 0.25s ease-out;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fee-setup-top-card[b-os9hjijcr9] {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 1px 3px rgba(79, 70, 229, 0.04);
}

.fee-setup-top-grid[b-os9hjijcr9] {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    align-items: center;
}

@media (max-width: 768px) {
    .fee-setup-top-grid[b-os9hjijcr9] {
        grid-template-columns: 1fr;
    }
}

.fee-section-label[b-os9hjijcr9] {
    font-size: 11px;
    font-weight: 800;
    color: #3730a3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.fee-input-wrapper[b-os9hjijcr9] {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol[b-os9hjijcr9] {
    position: absolute;
    left: 14px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #4f46e5;
    pointer-events: none;
}

.fee-input[b-os9hjijcr9] {
    padding-left: 34px !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    font-family: monospace;
    color: #4f46e5 !important;
    background-color: #ffffff !important;
}

.fee-reconciliation-kpi-box[b-os9hjijcr9] {
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.reconcile-stat[b-os9hjijcr9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.rec-label[b-os9hjijcr9] {
    font-weight: 600;
    color: #64748b;
}

/* Fee Split Section Card */
.fee-split-section-card[b-os9hjijcr9] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.15rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.split-section-header[b-os9hjijcr9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.split-header-left[b-os9hjijcr9] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.split-header-icon[b-os9hjijcr9] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eef2ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.split-section-title[b-os9hjijcr9] {
    font-size: 0.92rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.split-section-sub[b-os9hjijcr9] {
    font-size: 0.74rem;
    color: #64748b;
    display: block;
}

.btn-manage-categories[b-os9hjijcr9] {
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.btn-manage-categories:hover[b-os9hjijcr9] {
    background: #e0e7ff;
    border-color: #a5b4fc;
    color: #3730a3;
    transform: translateY(-1px);
}

/* Split Adder Container */
.split-adder-container[b-os9hjijcr9] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 1rem;
}

.split-adder-grid[b-os9hjijcr9] {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1.2fr 1fr;
    gap: 10px;
}

@media (max-width: 820px) {
    .split-adder-grid[b-os9hjijcr9] {
        grid-template-columns: 1fr 1fr;
    }
}

.adder-col[b-os9hjijcr9] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.adder-label[b-os9hjijcr9] {
    font-size: 10.5px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.adder-select[b-os9hjijcr9], .adder-input[b-os9hjijcr9] {
    font-size: 0.82rem !important;
    padding: 6px 10px !important;
    height: 36px;
    background-color: #ffffff !important;
}

.input-with-symbol[b-os9hjijcr9] {
    position: relative;
    display: flex;
    align-items: center;
}

.input-symbol[b-os9hjijcr9] {
    position: absolute;
    left: 10px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #6366f1;
    pointer-events: none;
}

.btn-fill-remaining[b-os9hjijcr9] {
    background: #e0e7ff;
    color: #4338ca;
    border: none;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s;
}

.btn-fill-remaining:hover[b-os9hjijcr9] {
    background: #c7d2fe;
}

.split-adder-actions-row[b-os9hjijcr9] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.split-remarks-col[b-os9hjijcr9] {
    flex: 1;
}

.btn-add-split-item[b-os9hjijcr9] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
    transition: all 0.2s ease;
    height: 36px;
}

.btn-add-split-item:hover[b-os9hjijcr9] {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.35);
}

/* Split Items Table */
.split-items-table-wrapper[b-os9hjijcr9] {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.split-table[b-os9hjijcr9] {
    font-size: 0.82rem;
}

.split-table thead tr[b-os9hjijcr9] {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.split-table thead th[b-os9hjijcr9] {
    font-size: 10.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px;
}

.split-table tbody td[b-os9hjijcr9] {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
}

.split-category-badge[b-os9hjijcr9] {
    background: #eef2ff;
    color: #3730a3;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #e0e7ff;
    display: inline-flex;
    align-items: center;
}

.split-avatar-icon[b-os9hjijcr9] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.split-avatar-icon.doc-avatar[b-os9hjijcr9] {
    background: #e0e7ff;
    color: #4338ca;
}

.split-avatar-icon.staff-avatar[b-os9hjijcr9] {
    background: #f1f5f9;
    color: #64748b;
}

.btn-delete-split-sm[b-os9hjijcr9] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: all 0.15s ease;
}

.btn-delete-split-sm:hover[b-os9hjijcr9] {
    color: #ef4444;
    background: #fee2e2;
}

.split-table-total-row[b-os9hjijcr9] {
    background-color: #f8fafc;
    border-top: 2px solid #e2e8f0;
}

.split-table-total-row td[b-os9hjijcr9] {
    padding: 8px 12px;
}

.split-empty-state[b-os9hjijcr9] {
    padding: 1.5rem;
    text-align: center;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
}

/* Case Summary Preview Card */
.case-preview-card[b-os9hjijcr9] {
    background: #fafbfc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.case-preview-header[b-os9hjijcr9] {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.case-preview-body[b-os9hjijcr9] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-row[b-os9hjijcr9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.preview-label[b-os9hjijcr9] {
    color: #64748b;
}

.preview-value[b-os9hjijcr9] {
    color: #1e293b;
    text-align: right;
}

.preview-divider[b-os9hjijcr9] {
    height: 1px;
    background-color: #e2e8f0;
    margin: 6px 0;
}

/* Modal Footer */
.modal-footer-bar[b-os9hjijcr9] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 14px 24px;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-os9hjijcr9] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 9px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-os9hjijcr9] {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-os9hjijcr9] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-primary-outline[b-os9hjijcr9] {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    color: #4f46e5;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 9px 18px;
    border-radius: 8px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.btn-primary-outline:hover[b-os9hjijcr9] {
    background-color: #e0e7ff;
    border-color: #a5b4fc;
}

.btn-secondary-outline[b-os9hjijcr9] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 9px 18px;
    border-radius: 8px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.btn-secondary-outline:hover[b-os9hjijcr9] {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

.btn-danger-filled[b-os9hjijcr9] {
    background: #ef4444;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 9px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
    transition: all 0.2s;
}

.btn-danger-filled:hover[b-os9hjijcr9] {
    background-color: #dc2626;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

@keyframes lc-pulse-b-os9hjijcr9 {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.lc-fadeInUp[b-os9hjijcr9] {
    animation: lc-fadeInUp-b-os9hjijcr9 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-os9hjijcr9 {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dark Mode Overrides */
:host-context([data-theme="dark"]) .referral-page[b-os9hjijcr9],
[data-theme="dark"] .referral-page[b-os9hjijcr9] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-os9hjijcr9],
[data-theme="dark"] .lab-header-card[b-os9hjijcr9],
:host-context([data-theme="dark"]) .stat-mini-card[b-os9hjijcr9],
[data-theme="dark"] .stat-mini-card[b-os9hjijcr9],
:host-context([data-theme="dark"]) .directory-section[b-os9hjijcr9],
[data-theme="dark"] .directory-section[b-os9hjijcr9] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-os9hjijcr9],
[data-theme="dark"] .lab-title-text[b-os9hjijcr9],
:host-context([data-theme="dark"]) .stat-mini-value[b-os9hjijcr9],
[data-theme="dark"] .stat-mini-value[b-os9hjijcr9],
:host-context([data-theme="dark"]) .text-slate-800[b-os9hjijcr9],
[data-theme="dark"] .text-slate-800[b-os9hjijcr9],
:host-context([data-theme="dark"]) .preview-value[b-os9hjijcr9] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lc-table thead tr[b-os9hjijcr9],
[data-theme="dark"] .lc-table thead tr[b-os9hjijcr9] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table td[b-os9hjijcr9],
[data-theme="dark"] .lc-table td[b-os9hjijcr9] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .modal-form-card[b-os9hjijcr9],
[data-theme="dark"] .modal-form-card[b-os9hjijcr9],
:host-context([data-theme="dark"]) .modal-header-bar[b-os9hjijcr9],
[data-theme="dark"] .modal-header-bar[b-os9hjijcr9],
:host-context([data-theme="dark"]) .modal-body[b-os9hjijcr9],
[data-theme="dark"] .modal-body[b-os9hjijcr9],
:host-context([data-theme="dark"]) .modal-footer-bar[b-os9hjijcr9],
[data-theme="dark"] .modal-footer-bar[b-os9hjijcr9],
:host-context([data-theme="dark"]) .case-preview-card[b-os9hjijcr9],
[data-theme="dark"] .case-preview-card[b-os9hjijcr9] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-tab-bar[b-os9hjijcr9],
[data-theme="dark"] .modal-tab-bar[b-os9hjijcr9] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .modal-tab-btn.active[b-os9hjijcr9],
[data-theme="dark"] .modal-tab-btn.active[b-os9hjijcr9] {
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .lab-input[b-os9hjijcr9],
[data-theme="dark"] .lab-input[b-os9hjijcr9],
:host-context([data-theme="dark"]) .selected-patient-badge[b-os9hjijcr9],
[data-theme="dark"] .selected-patient-badge[b-os9hjijcr9],
:host-context([data-theme="dark"]) .patient-dropdown-menu[b-os9hjijcr9],
[data-theme="dark"] .patient-dropdown-menu[b-os9hjijcr9] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .patient-dropdown-item:hover[b-os9hjijcr9],
[data-theme="dark"] .patient-dropdown-item:hover[b-os9hjijcr9] {
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .fee-setup-top-card[b-os9hjijcr9],
[data-theme="dark"] .fee-setup-top-card[b-os9hjijcr9],
:host-context([data-theme="dark"]) .fee-split-section-card[b-os9hjijcr9],
[data-theme="dark"] .fee-split-section-card[b-os9hjijcr9],
:host-context([data-theme="dark"]) .split-items-table-wrapper[b-os9hjijcr9],
[data-theme="dark"] .split-items-table-wrapper[b-os9hjijcr9] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .fee-reconciliation-kpi-box[b-os9hjijcr9],
[data-theme="dark"] .fee-reconciliation-kpi-box[b-os9hjijcr9],
:host-context([data-theme="dark"]) .split-adder-container[b-os9hjijcr9],
[data-theme="dark"] .split-adder-container[b-os9hjijcr9],
:host-context([data-theme="dark"]) .split-empty-state[b-os9hjijcr9],
[data-theme="dark"] .split-empty-state[b-os9hjijcr9] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .split-table thead tr[b-os9hjijcr9],
[data-theme="dark"] .split-table thead tr[b-os9hjijcr9],
:host-context([data-theme="dark"]) .split-table-total-row[b-os9hjijcr9],
[data-theme="dark"] .split-table-total-row[b-os9hjijcr9] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .split-table tbody td[b-os9hjijcr9],
[data-theme="dark"] .split-table tbody td[b-os9hjijcr9] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .split-section-title[b-os9hjijcr9],
[data-theme="dark"] .split-section-title[b-os9hjijcr9] {
    color: #f8fafc !important;
}

/* /Components/Pages/CustomerBookingHistory.razor.rz.scp.css */
/* Background Animation & Global styles */
.animated-background[b-vnhv3hn4ij] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.floating-blob[b-vnhv3hn4ij] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: float 20s infinite alternate;
}

.blob-1[b-vnhv3hn4ij] {
    width: 450px;
    height: 450px;
    background: #e2f1ff;
    top: -5%;
    left: -5%;
}

.blob-2[b-vnhv3hn4ij] {
    width: 450px;
    height: 450px;
    background: #f1f5f9;
    bottom: -10%;
    right: -5%;
}

.dashboard-container[b-vnhv3hn4ij] {
    max-width: 1300px;
    margin: 1.5rem auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

/* Dashboard Header & Stats Grid */
.dashboard-header[b-vnhv3hn4ij] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.dashboard-title h1[b-vnhv3hn4ij] {
    font-size: 1.85rem;
    font-weight: 800;
    color: #034f75;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
}

.dashboard-title p[b-vnhv3hn4ij] {
    color: #64748b;
    font-size: 0.9rem;
}

.stats-grid[b-vnhv3hn4ij] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card[b-vnhv3hn4ij] {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.stat-icon[b-vnhv3hn4ij] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.blue[b-vnhv3hn4ij] {
    background: #e0f2fe;
    color: #0284c7;
}

.stat-icon.green[b-vnhv3hn4ij] {
    background: #d1fae5;
    color: #059669;
}

.stat-icon.purple[b-vnhv3hn4ij] {
    background: #f3e8ff;
    color: #7c3aed;
}

.stat-icon.orange[b-vnhv3hn4ij] {
    background: #fef3c7;
    color: #d97706;
}

.stat-icon.red[b-vnhv3hn4ij] {
    background: #fee2e2;
    color: #dc2626;
}

.stat-info[b-vnhv3hn4ij] {
    display: flex;
    flex-direction: column;
}

.stat-value[b-vnhv3hn4ij] {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}

.stat-label[b-vnhv3hn4ij] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 0.1rem;
}

/* Glass Filters Control Board */
.filters-card[b-vnhv3hn4ij] {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 1000;
}

.filters-row[b-vnhv3hn4ij] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
}

.filter-group[b-vnhv3hn4ij] {
    flex: 0 1 380px; /* specific non-stretching size! */
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label[b-vnhv3hn4ij] {
    font-size: 0.72rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.search-input-wrapper[b-vnhv3hn4ij] {
    position: relative;
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

.input-with-icon[b-vnhv3hn4ij] {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-with-icon > i[b-vnhv3hn4ij] {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 10;
}

.input-with-icon .filter-control[b-vnhv3hn4ij] {
    padding-left: 2.5rem; /* make room for left-aligned icon */
}

.filter-control[b-vnhv3hn4ij] {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    background: #ffffff;
    transition: all 0.2s ease;
    height: 42px;
    box-sizing: border-box;
}

.filter-control:focus[b-vnhv3hn4ij] {
    outline: none;
    border-color: #026aa7;
    box-shadow: 0 0 0 2px rgba(2, 106, 167, 0.1);
}

.btn-header-action[b-vnhv3hn4ij] {
    background: #026aa7;
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(2, 106, 167, 0.15);
    white-space: nowrap;
}

.btn-header-action:hover[b-vnhv3hn4ij] {
    background: #025687;
    transform: translateY(-1px);
}

.btn-header-action.secondary[b-vnhv3hn4ij] {
    background: #ffffff;
    border: 1.5px solid #026aa7;
    color: #026aa7;
    box-shadow: none;
}

.btn-header-action.secondary:hover[b-vnhv3hn4ij] {
    background: #f0f9ff;
}

.btn-fetch-compact[b-vnhv3hn4ij] {
    padding: 0 1.25rem !important;
    height: 42px !important;
    font-size: 0.82rem !important;
}

/* Live Booking Board (Responsive Table) */
.table-card[b-vnhv3hn4ij] {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    overflow: visible;
}

.table-responsive[b-vnhv3hn4ij] {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #eaecf0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.medico-table[b-vnhv3hn4ij] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.88rem;
}

.medico-table th[b-vnhv3hn4ij] {
    padding: 1.1rem 1.25rem;
    background: #026aa7;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: none;
}

.medico-table th:last-child[b-vnhv3hn4ij] {
    border-right: none;
}

.medico-table td[b-vnhv3hn4ij] {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #eaecf0;
    background-color: #ffffff;
    color: #344054;
    font-weight: 500;
    vertical-align: middle;
}

.medico-table tr:hover td[b-vnhv3hn4ij] {
    background: #f8fafc;
}

/* Badges for status & types */
.badge-status[b-vnhv3hn4ij] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    letter-spacing: 0.2px;
}

.badge-status.booked[b-vnhv3hn4ij] {
    background: #dbeafe;
    color: #1e40af;
}

.badge-status.confirmed[b-vnhv3hn4ij] {
    background: #d1fae5;
    color: #065f46;
}

.badge-status.completed[b-vnhv3hn4ij],
.badge-status.visited[b-vnhv3hn4ij] {
    background: #e0e7ff;
    color: #3730a3;
}

.badge-status.cancelled[b-vnhv3hn4ij] {
    background: #fee2e2;
    color: #991b1b;
}

.badge-status.rescheduled[b-vnhv3hn4ij] {
    background: #fef3c7;
    color: #b45309;
}

.badge-type[b-vnhv3hn4ij] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.badge-type.online[b-vnhv3hn4ij] {
    background: #eff6ff;
    color: #3b82f6;
    border: 1px solid #dbeafe;
}

.badge-type.walkin[b-vnhv3hn4ij] {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fef3c7;
}

/* Actions Menu & Buttons */
.action-buttons-cell[b-vnhv3hn4ij] {
    display: flex;
    gap: 0.5rem;
}

.btn-table-action[b-vnhv3hn4ij] {
    background: #ffffff;
    border: 1px solid #d0d5dd;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.05rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-table-action.reschedule[b-vnhv3hn4ij] {
    color: #026aa7;
    border-color: #d0d5dd;
}

.btn-table-action.reschedule:hover[b-vnhv3hn4ij] {
    background: #f0f9ff;
    border-color: #93c5fd;
    color: #025687;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(2, 106, 167, 0.1);
}

.btn-table-action.cancel[b-vnhv3hn4ij] {
    color: #dc2626;
    border-color: #fda29b;
}

.btn-table-action.cancel:hover[b-vnhv3hn4ij] {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.1);
}

/* Glassmorphic Modals */
.modal-backdrop[b-vnhv3hn4ij] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.glass-modal[b-vnhv3hn4ij] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    z-index: 1001;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.modal-header[b-vnhv3hn4ij] {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3[b-vnhv3hn4ij] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #026aa7;
    margin: 0;
}

.close-btn[b-vnhv3hn4ij] {
    border: none;
    background: none;
    font-size: 1.75rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s ease;
}

.close-btn:hover[b-vnhv3hn4ij] {
    color: #475569;
}

.modal-body[b-vnhv3hn4ij] {
    padding: 1.75rem;
    flex: 1;
    overflow-y: auto;
}

.form-group[b-vnhv3hn4ij] {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label[b-vnhv3hn4ij] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.3px;
    margin: 0;
    display: block;
}

.modal-footer[b-vnhv3hn4ij] {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn-modal[b-vnhv3hn4ij] {
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-modal.cancel[b-vnhv3hn4ij] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
}

.btn-modal.cancel:hover[b-vnhv3hn4ij] {
    background: #f1f5f9;
}

.btn-modal.confirm[b-vnhv3hn4ij] {
    background: #026aa7;
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(2, 106, 167, 0.15);
}

.btn-modal.confirm:hover[b-vnhv3hn4ij] {
    background: #025687;
}

.btn-modal.danger[b-vnhv3hn4ij] {
    background: #dc2626;
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.15);
}

.btn-modal.danger:hover[b-vnhv3hn4ij] {
    background: #b91c1c;
}

.slots-subgrid[b-vnhv3hn4ij] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
    gap: 0.6rem;
    max-height: 330px;
    overflow-y: auto;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.75rem;
    margin-top: 0.4rem;
    align-content: start;
}

.slot-subitem[b-vnhv3hn4ij] {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.4rem 0.5rem;
    text-align: center;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.15s ease;
    height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.slot-subitem:hover[b-vnhv3hn4ij] {
    border-color: #026aa7;
    background: #f0f9ff;
}

.slot-subitem.selected[b-vnhv3hn4ij] {
    background: rgba(2, 106, 167, 0.1);
    border-color: #026aa7;
    color: #026aa7;
}

.slot-subitem.disabled[b-vnhv3hn4ij] {
    opacity: 0.4;
    cursor: not-allowed;
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.info-alert-panel[b-vnhv3hn4ij] {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.reschedule-original-summary[b-vnhv3hn4ij] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    color: #334155;
}

.filter-group.date-filter-group[b-vnhv3hn4ij] {
    margin-left: auto;
    flex: 0 1 250px; /* reduced size! */
}

@media (max-width: 768px) {
    .filter-group.date-filter-group[b-vnhv3hn4ij] {
        margin-left: 0;
        flex: 1 1 100%;
    }
}

/* Autocomplete/Search Results list */
.autocomplete-search-wrapper[b-vnhv3hn4ij] {
    position: relative;
    width: 100%;
}

.autocomplete-dropdown[b-vnhv3hn4ij] {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    margin-top: 4px;
    text-align: left;
}

.autocomplete-item[b-vnhv3hn4ij] {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    color: #334155;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.autocomplete-item:hover[b-vnhv3hn4ij] {
    background-color: #f0f9ff;
    color: #026aa7;
}

.autocomplete-code[b-vnhv3hn4ij] {
    font-weight: 700;
    color: #64748b;
    font-size: 0.72rem;
    background: #f1f5f9;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
}
/* /Components/Pages/CustomerCustCodeMaster.razor.rz.scp.css */
.referral-page[b-qd3aehcqsi] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-qd3aehcqsi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-qd3aehcqsi] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-qd3aehcqsi] {
    display: flex;
}

.align-center[b-qd3aehcqsi] {
    align-items: center;
}

.flex-center[b-qd3aehcqsi] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-qd3aehcqsi] {
    gap: 8px;
}

.gap-12[b-qd3aehcqsi] {
    gap: 12px;
}

.gap-16[b-qd3aehcqsi] {
    gap: 16px;
}

.p-2[b-qd3aehcqsi] {
    padding: 8px;
}

.p-4[b-qd3aehcqsi] {
    padding: 16px;
}

.p-48[b-qd3aehcqsi] {
    padding: 48px;
}

.rounded-lg[b-qd3aehcqsi] {
    border-radius: 8px;
}

.shadow-sm[b-qd3aehcqsi] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-qd3aehcqsi] {
    margin: 0;
}

.mt-2px[b-qd3aehcqsi] {
    margin-top: 2px;
}

.mb-0[b-qd3aehcqsi] {
    margin-bottom: 0;
}

.mt-0[b-qd3aehcqsi] {
    margin-top: 0;
}

.relative-positioned[b-qd3aehcqsi] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-qd3aehcqsi] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
}

.lab-title-text[b-qd3aehcqsi] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-qd3aehcqsi] {
    background-color: #eef2ff;
}

.text-indigo-600[b-qd3aehcqsi] {
    color: #4f46e5;
}

.icon-lg[b-qd3aehcqsi] {
    font-size: 24px;
}

.status-pulse-dot[b-qd3aehcqsi] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-qd3aehcqsi 2s infinite;
}

.status-text[b-qd3aehcqsi] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-qd3aehcqsi] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-qd3aehcqsi] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-qd3aehcqsi] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-qd3aehcqsi] {
    width: 220px;
}

.btn-new-entry[b-qd3aehcqsi] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-qd3aehcqsi] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-qd3aehcqsi] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 24px;
}

.lc-table-container[b-qd3aehcqsi] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-qd3aehcqsi] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-qd3aehcqsi] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-qd3aehcqsi] {
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.lc-table td[b-qd3aehcqsi] {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    vertical-align: middle;
    white-space: nowrap;
}

.lc-table tbody tr:last-child td[b-qd3aehcqsi] {
    border-bottom: none;
}

.lc-table-row:hover[b-qd3aehcqsi] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-qd3aehcqsi] {
    font-weight: 700;
}

.text-indigo-600[b-qd3aehcqsi] {
    color: #4f46e5;
}

.lc-color-slate-500[b-qd3aehcqsi] {
    color: #64748b;
}

.lc-font-mono[b-qd3aehcqsi] {
    font-family: monospace;
}

.lc-font-700[b-qd3aehcqsi] {
    font-weight: 700;
}

.lc-font-13[b-qd3aehcqsi] {
    font-size: 12px;
}

.text-slate-800[b-qd3aehcqsi] {
    color: #1e293b;
    font-size: 13px;
}

.text-slate-500[b-qd3aehcqsi] {
    color: #64748b;
}

.text-slate-400[b-qd3aehcqsi] {
    color: #94a3b8;
}

.font-12[b-qd3aehcqsi] {
    font-size: 11px;
}

.font-18[b-qd3aehcqsi] {
    font-size: 18px;
}

.italic[b-qd3aehcqsi] {
    font-style: italic;
}

/* Action buttons */
.lc-btn[b-qd3aehcqsi] {
    padding: 8px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-qd3aehcqsi] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-qd3aehcqsi] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-qd3aehcqsi] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-qd3aehcqsi] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-qd3aehcqsi] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-qd3aehcqsi 0.3s ease-out;
}

.modal-header-bar[b-qd3aehcqsi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-qd3aehcqsi] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-qd3aehcqsi] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-qd3aehcqsi] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-qd3aehcqsi] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-section[b-qd3aehcqsi] {
    margin-bottom: 0;
}

.form-group[b-qd3aehcqsi] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-qd3aehcqsi] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[b-qd3aehcqsi] .lab-input {
    width: 100%;
    height: 2.5rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: #334155;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

[b-qd3aehcqsi] select.lab-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23cbd5e1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

[b-qd3aehcqsi] textarea.lab-input {
    height: auto;
    min-height: 80px;
    padding: 10px 16px;
    resize: vertical;
}

[b-qd3aehcqsi] .lab-input:focus {
    background-color: #ffffff;
    border-color: #cbd5e1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(200, 213, 225, 0.15);
}

.um-grid-row[b-qd3aehcqsi] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.um-grid-cols-2[b-qd3aehcqsi] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.modal-footer-bar[b-qd3aehcqsi] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-qd3aehcqsi] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-qd3aehcqsi] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-qd3aehcqsi] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-delete[b-qd3aehcqsi] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.btn-delete:hover:not(:disabled)[b-qd3aehcqsi] {
    text-decoration: underline;
}

.btn-delete:disabled[b-qd3aehcqsi] {
    opacity: 0.4;
    cursor: not-allowed;
}

.text-danger[b-qd3aehcqsi] {
    color: #ef4444;
}

.alert[b-qd3aehcqsi] {
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
}

.alert-danger[b-qd3aehcqsi] {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success[b-qd3aehcqsi] {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

/* Animations */
@keyframes lc-pulse-b-qd3aehcqsi {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-qd3aehcqsi] {
    animation: lc-fadeInUp-b-qd3aehcqsi 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-qd3aehcqsi {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Back Button */
.back-btn[b-qd3aehcqsi] {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
    margin-right: -4px;
}

.back-btn:hover[b-qd3aehcqsi] {
    background-color: #e2e8f0;
    color: #1e293b;
}

/* Custom directory override */
.custcode-directory-section[b-qd3aehcqsi] {
    margin-top: 24px;
}

.btn-cancel[b-qd3aehcqsi] {
    padding: 10px 20px;
    border: 1px solid #cbd5e1;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #475569;
    transition: all 0.2s;
}

.btn-cancel:hover[b-qd3aehcqsi] {
    background-color: #f8fafc;
    border-color: #94a3b8;
}
/* /Components/Pages/DischargeSummaryPage.razor.rz.scp.css */
.animated-background[b-yem21xwft5] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.floating-blob[b-yem21xwft5] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: float-b-yem21xwft5 20s infinite alternate;
}

.blob-1[b-yem21xwft5] {
    width: 450px;
    height: 450px;
    background: #e2f1ff;
    top: -5%;
    left: -5%;
}

.blob-2[b-yem21xwft5] {
    width: 450px;
    height: 450px;
    background: #f1f5f9;
    bottom: -10%;
    right: -5%;
}

@keyframes float-b-yem21xwft5 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

.dashboard-container[b-yem21xwft5] {
    max-width: 1300px;
    margin: 1.25rem auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.dashboard-header[b-yem21xwft5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.dashboard-title h1[b-yem21xwft5] {
    font-size: 1.35rem;
    font-weight: 800;
    color: #034f75;
    letter-spacing: -0.5px;
    margin-bottom: 0.2rem;
}

.dashboard-title p[b-yem21xwft5] {
    color: #64748b;
    font-size: 0.85rem;
}

.btn-header-action[b-yem21xwft5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid #0284c7;
    background: #0284c7;
    color: #ffffff !important;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
    height: 38px;
}

.btn-header-action:hover:not(:disabled)[b-yem21xwft5] {
    background: #0369a1;
    border-color: #0369a1;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

.btn-header-action.secondary[b-yem21xwft5] {
    background: #ffffff;
    color: #0284c7 !important;
    border: 1.5px solid #0284c7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.btn-header-action.secondary:hover:not(:disabled)[b-yem21xwft5] {
    background: #f0f9ff;
    color: #0369a1 !important;
    border-color: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(2, 132, 199, 0.15);
}

.filters-card[b-yem21xwft5] {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 14px;
    padding: 0.9rem 1.2rem;
    margin-bottom: 0.9rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.filters-row[b-yem21xwft5] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: flex-end;
}

.filter-group[b-yem21xwft5] {
    flex: 1 1 140px;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.filter-group label[b-yem21xwft5] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
}

.filter-control[b-yem21xwft5] {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 500;
    background: #f8fafc;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.filter-control:hover[b-yem21xwft5] {
    background: #ffffff;
    border-color: #94a3b8;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transform: translateY(-1px);
}

.filter-control:focus[b-yem21xwft5] {
    outline: none;
    background: #ffffff;
    border-color: #026aa7;
    box-shadow: 0 0 0 4px rgba(2, 106, 167, 0.15), 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.table-card[b-yem21xwft5] {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    overflow: visible;
}

.table-responsive[b-yem21xwft5] {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 520px;
    border-radius: 12px;
    border: 1px solid #eaecf0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.table-responsive[b-yem21xwft5]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.table-responsive[b-yem21xwft5]::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.table-responsive[b-yem21xwft5]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.table-responsive[b-yem21xwft5]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.medico-table[b-yem21xwft5] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    font-size: 0.74rem;
}

.medico-table th[b-yem21xwft5] {
    padding: 0.5rem 0.65rem;
    background: #087bb5 !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #07547c;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
    white-space: nowrap;
}

.medico-table th:last-child[b-yem21xwft5] {
    border-right: none;
}

.medico-table td[b-yem21xwft5] {
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid #f1f5f9;
    background-color: #ffffff;
    color: #344054;
    font-weight: 500;
    vertical-align: middle;
    white-space: nowrap;
}

.medico-table tbody tr:nth-child(even) td[b-yem21xwft5] {
    background-color: #fcfdfe;
}

.medico-table tbody tr:hover td[b-yem21xwft5] {
    background-color: #f1f5f9 !important;
}

.status-badge[b-yem21xwft5] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    letter-spacing: 0.2px;
}

.status-badge.admitted[b-yem21xwft5] {
    background: #dcfce7;
    color: #15803d;
}

.status-badge.completed[b-yem21xwft5],
.status-badge.discharged[b-yem21xwft5] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #86efac;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR DISCHARGE SUMMARY PAGE
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .animated-background[b-yem21xwft5],
[data-theme="dark"] .animated-background[b-yem21xwft5] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .dashboard-title h1[b-yem21xwft5],
[data-theme="dark"] .dashboard-title h1[b-yem21xwft5] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .dashboard-title p[b-yem21xwft5],
[data-theme="dark"] .dashboard-title p[b-yem21xwft5] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .filters-card[b-yem21xwft5],
[data-theme="dark"] .filters-card[b-yem21xwft5] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .filter-group label[b-yem21xwft5],
[data-theme="dark"] .filter-group label[b-yem21xwft5] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .filter-control[b-yem21xwft5],
[data-theme="dark"] .filter-control[b-yem21xwft5] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .table-responsive[b-yem21xwft5],
[data-theme="dark"] .table-responsive[b-yem21xwft5] {
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .medico-table th[b-yem21xwft5],
[data-theme="dark"] .medico-table th[b-yem21xwft5] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .medico-table td[b-yem21xwft5],
[data-theme="dark"] .medico-table td[b-yem21xwft5] {
    background-color: #1e293b !important;
    color: #e2e8f0 !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .medico-table tbody tr:nth-child(even) td[b-yem21xwft5],
[data-theme="dark"] .medico-table tbody tr:nth-child(even) td[b-yem21xwft5] {
    background-color: #0f172a !important;
}

:host-context([data-theme="dark"]) .medico-table tbody tr:hover td[b-yem21xwft5],
[data-theme="dark"] .medico-table tbody tr:hover td[b-yem21xwft5] {
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .status-badge.admitted[b-yem21xwft5],
[data-theme="dark"] .status-badge.admitted[b-yem21xwft5] {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #93c5fd !important;
    border: 1px solid rgba(59, 130, 246, 0.4) !important;
}

:host-context([data-theme="dark"]) .status-badge.completed[b-yem21xwft5],
:host-context([data-theme="dark"]) .status-badge.discharged[b-yem21xwft5],
[data-theme="dark"] .status-badge.completed[b-yem21xwft5],
[data-theme="dark"] .status-badge.discharged[b-yem21xwft5] {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #6ee7b7 !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
}

/* Inpatient Discharge Summaries single-viewport theme */
:global(html:has(.discharge-summary-page))[b-yem21xwft5],
:global(body:has(.discharge-summary-page))[b-yem21xwft5] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.discharge-summary-page))[b-yem21xwft5],
:global(.app-main-wrapper:has(.discharge-summary-page))[b-yem21xwft5] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.discharge-summary-page)[b-yem21xwft5] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.dashboard-container.discharge-summary-page[b-yem21xwft5] {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.dashboard-container.discharge-summary-page .dashboard-header[b-yem21xwft5] {
    flex: 0 0 auto !important;
    margin-bottom: 0 !important;
    padding: 0.1rem 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.dashboard-container.discharge-summary-page .dashboard-title h1[b-yem21xwft5] {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #07547c !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 0.1rem !important;
}

.dashboard-container.discharge-summary-page .dashboard-title p[b-yem21xwft5] {
    color: #64748b !important;
    font-size: 0.74rem !important;
    margin: 0 !important;
}

.dashboard-container.discharge-summary-page .btn-header-action[b-yem21xwft5] {
    height: 32px !important;
    padding: 0.35rem 0.85rem !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
    gap: 0.35rem !important;
    display: inline-flex !important;
    align-items: center !important;
}

.dashboard-container.discharge-summary-page .filters-card[b-yem21xwft5] {
    flex: 0 0 auto !important;
    padding: 0.35rem 0.75rem !important;
    margin-bottom: 0 !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid #dfe7f1 !important;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.03) !important;
}

.dashboard-container.discharge-summary-page .filters-row[b-yem21xwft5] {
    gap: 0.65rem !important;
    align-items: center !important;
}

.dashboard-container.discharge-summary-page .filter-group[b-yem21xwft5] {
    gap: 0.15rem !important;
}

.dashboard-container.discharge-summary-page .filter-group label[b-yem21xwft5] {
    font-size: 0.66rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-bottom: 1px !important;
}

.dashboard-container.discharge-summary-page .filter-control[b-yem21xwft5] {
    height: 32px !important;
    padding: 0.25rem 0.65rem !important;
    border-radius: 8px !important;
    font-size: 0.78rem !important;
}

.dashboard-container.discharge-summary-page .table-card[b-yem21xwft5] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dashboard-container.discharge-summary-page .table-responsive[b-yem21xwft5] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    height: 100% !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-overflow-scrolling: touch !important;
}

.dashboard-container.discharge-summary-page .medico-table[b-yem21xwft5] {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.dashboard-container.discharge-summary-page .medico-table th[b-yem21xwft5],
.medico-table th[b-yem21xwft5] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.65rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.dashboard-container.discharge-summary-page .medico-table th:last-child[b-yem21xwft5],
.medico-table th:last-child[b-yem21xwft5] {
    border-right: none !important;
}

.dashboard-container.discharge-summary-page .medico-table tbody tr[b-yem21xwft5] {
    height: 34px !important;
    min-height: 34px !important;
}

.dashboard-container.discharge-summary-page .medico-table tbody tr:nth-child(even) td[b-yem21xwft5] {
    background-color: #fbfdff !important;
}

.dashboard-container.discharge-summary-page .medico-table tbody tr:hover td[b-yem21xwft5] {
    background-color: #f0f8ff !important;
}

.dashboard-container.discharge-summary-page .medico-table td[b-yem21xwft5] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.65rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    font-size: 0.76rem !important;
    color: #334155 !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.dashboard-container.discharge-summary-page .status-badge[b-yem21xwft5] {
    padding: 2px 8px !important;
    font-size: 0.72rem !important;
}
/* /Components/Pages/DischargeTemplateMaster.razor.rz.scp.css */
.referral-page[b-uyt3m3a0zt] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-uyt3m3a0zt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-uyt3m3a0zt] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-uyt3m3a0zt] {
    display: flex;
}

.align-center[b-uyt3m3a0zt] {
    align-items: center;
}

.flex-center[b-uyt3m3a0zt] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-uyt3m3a0zt] {
    gap: 8px;
}

.gap-12[b-uyt3m3a0zt] {
    gap: 12px;
}

.gap-16[b-uyt3m3a0zt] {
    gap: 16px;
}

.p-2[b-uyt3m3a0zt] {
    padding: 8px;
}

.rounded-lg[b-uyt3m3a0zt] {
    border-radius: 8px;
}

.shadow-sm[b-uyt3m3a0zt] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-uyt3m3a0zt] {
    margin: 0;
}

.mt-2px[b-uyt3m3a0zt] {
    margin-top: 2px;
}

.relative-positioned[b-uyt3m3a0zt] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-uyt3m3a0zt] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
}

.lab-title-text[b-uyt3m3a0zt] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-uyt3m3a0zt] {
    background-color: #eef2ff;
}

.text-indigo-600[b-uyt3m3a0zt] {
    color: #4f46e5;
}

.icon-lg[b-uyt3m3a0zt] {
    font-size: 24px;
}

.status-pulse-dot[b-uyt3m3a0zt] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-uyt3m3a0zt 2s infinite;
}

.status-text[b-uyt3m3a0zt] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-uyt3m3a0zt] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: #94a3b8;
}

.lc-rounded-pill-input[b-uyt3m3a0zt] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-uyt3m3a0zt] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-uyt3m3a0zt] {
    width: 220px;
}

.btn-new-entry[b-uyt3m3a0zt] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-uyt3m3a0zt] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory Section */
.directory-section[b-uyt3m3a0zt] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.template-list-container[b-uyt3m3a0zt] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.template-card[b-uyt3m3a0zt] {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.template-card:hover[b-uyt3m3a0zt] {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

.template-avatar[b-uyt3m3a0zt] {
    background: #eef2ff;
    border: 1px solid #e0e7ff;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.template-title[b-uyt3m3a0zt] {
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.template-desc[b-uyt3m3a0zt] {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.template-badge-count[b-uyt3m3a0zt] {
    background: #f1f5f9;
    color: #475569;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 2px 9px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
}

.col-tag[b-uyt3m3a0zt] {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.col-tag-text[b-uyt3m3a0zt] {
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #e0e7ff;
}

.col-tag-medicine[b-uyt3m3a0zt] {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

.col-tag-both[b-uyt3m3a0zt] {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #ffedd5;
}

.total-templates-indicator[b-uyt3m3a0zt] {
    font-size: 0.85rem;
    font-weight: 800;
    color: #64748b;
    text-align: right;
    padding: 8px 24px;
}

/* Action buttons */
.lc-btn[b-uyt3m3a0zt] {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-uyt3m3a0zt] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-uyt3m3a0zt] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-uyt3m3a0zt] {
    color: #4f46e5;
}

.text-indigo-600[b-uyt3m3a0zt] {
    color: #4f46e5;
}

.text-red-500[b-uyt3m3a0zt] {
    color: #ef4444;
}

/* Modal styles */
.modal-overlay[b-uyt3m3a0zt] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-uyt3m3a0zt] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 850px;
    max-height: 95vh;
    background: #f8fafc !important;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-uyt3m3a0zt 0.3s ease-out;
}

.modal-header-bar[b-uyt3m3a0zt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff !important;
}

.modal-header-bar h3[b-uyt3m3a0zt] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #312e81;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-uyt3m3a0zt] {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-uyt3m3a0zt], .modal-close-btn:focus[b-uyt3m3a0zt] {
    color: #ef4444 !important;
}

.modal-body[b-uyt3m3a0zt] {
    padding: 1.25rem;
    overflow-y: auto;
    flex: 1;
    background-color: #f8fafc !important;
}

.modal-footer-bar[b-uyt3m3a0zt] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 0.85rem 1.25rem;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff !important;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-uyt3m3a0zt] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 10px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover:not(:disabled)[b-uyt3m3a0zt] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-uyt3m3a0zt],
.btn-secondary-outline:disabled[b-uyt3m3a0zt],
.btn-new-entry:disabled[b-uyt3m3a0zt],
.modal-close-btn:disabled[b-uyt3m3a0zt] {
    opacity: 0.65 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

.btn-secondary-outline[b-uyt3m3a0zt] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-secondary-outline:hover:not(:disabled)[b-uyt3m3a0zt] {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

.lab-input[b-uyt3m3a0zt] {
    width: 100%;
    padding: 0.45rem 0.65rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
    outline: none;
}

.lab-input:focus[b-uyt3m3a0zt] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group[b-uyt3m3a0zt] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.form-group label[b-uyt3m3a0zt] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animations */
@keyframes lc-pulse-b-uyt3m3a0zt {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-uyt3m3a0zt] {
    animation: lc-fadeInUp-b-uyt3m3a0zt 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-uyt3m3a0zt {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR DISCHARGE TEMPLATE MASTER
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .referral-page[b-uyt3m3a0zt],
[data-theme="dark"] .referral-page[b-uyt3m3a0zt] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-uyt3m3a0zt],
[data-theme="dark"] .lab-header-card[b-uyt3m3a0zt] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-uyt3m3a0zt],
[data-theme="dark"] .lab-title-text[b-uyt3m3a0zt] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .status-text[b-uyt3m3a0zt],
[data-theme="dark"] .status-text[b-uyt3m3a0zt] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input[b-uyt3m3a0zt],
[data-theme="dark"] .lc-rounded-pill-input[b-uyt3m3a0zt] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .search-icon i[b-uyt3m3a0zt],
:host-context([data-theme="dark"]) .search-icon span[b-uyt3m3a0zt],
[data-theme="dark"] .search-icon i[b-uyt3m3a0zt],
[data-theme="dark"] .search-icon span[b-uyt3m3a0zt] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .directory-section[b-uyt3m3a0zt],
[data-theme="dark"] .directory-section[b-uyt3m3a0zt] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .template-card[b-uyt3m3a0zt],
[data-theme="dark"] .template-card[b-uyt3m3a0zt] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .template-title[b-uyt3m3a0zt],
[data-theme="dark"] .template-title[b-uyt3m3a0zt] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .template-desc[b-uyt3m3a0zt],
[data-theme="dark"] .template-desc[b-uyt3m3a0zt] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .template-avatar[b-uyt3m3a0zt],
[data-theme="dark"] .template-avatar[b-uyt3m3a0zt] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .template-badge-count[b-uyt3m3a0zt],
[data-theme="dark"] .template-badge-count[b-uyt3m3a0zt] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .total-templates-indicator[b-uyt3m3a0zt],
[data-theme="dark"] .total-templates-indicator[b-uyt3m3a0zt] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lc-btn[b-uyt3m3a0zt],
[data-theme="dark"] .lc-btn[b-uyt3m3a0zt] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-btn:hover[b-uyt3m3a0zt],
[data-theme="dark"] .lc-btn:hover[b-uyt3m3a0zt] {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #7dd3fc !important;
}

:host-context([data-theme="dark"]) .modal-form-card[b-uyt3m3a0zt],
[data-theme="dark"] .modal-form-card[b-uyt3m3a0zt] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-header-bar[b-uyt3m3a0zt],
:host-context([data-theme="dark"]) .modal-body[b-uyt3m3a0zt],
:host-context([data-theme="dark"]) .modal-footer-bar[b-uyt3m3a0zt],
[data-theme="dark"] .modal-header-bar[b-uyt3m3a0zt],
[data-theme="dark"] .modal-body[b-uyt3m3a0zt],
[data-theme="dark"] .modal-footer-bar[b-uyt3m3a0zt] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header-bar h3[b-uyt3m3a0zt],
[data-theme="dark"] .modal-header-bar h3[b-uyt3m3a0zt] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lab-input[b-uyt3m3a0zt],
[data-theme="dark"] .lab-input[b-uyt3m3a0zt] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .form-group label[b-uyt3m3a0zt],
[data-theme="dark"] .form-group label[b-uyt3m3a0zt] {
    color: #cbd5e1 !important;
}
/* Discharge Template Master dashboard theme */
:global(html:has(.discharge-template-master-page))[b-uyt3m3a0zt],
:global(body:has(.discharge-template-master-page))[b-uyt3m3a0zt] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.discharge-template-master-page))[b-uyt3m3a0zt],
:global(.app-main-wrapper:has(.discharge-template-master-page))[b-uyt3m3a0zt] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.discharge-template-master-page)[b-uyt3m3a0zt] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.referral-page.discharge-template-master-page[b-uyt3m3a0zt] {
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.referral-page.discharge-template-master-page .lab-header-card[b-uyt3m3a0zt] {
    flex: 0 0 auto !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.referral-page.discharge-template-master-page .lab-title-text[b-uyt3m3a0zt] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
}

.referral-page.discharge-template-master-page .status-text[b-uyt3m3a0zt] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.referral-page.discharge-template-master-page .bg-indigo-50[b-uyt3m3a0zt] {
    background: #e0f2fe !important;
}

.referral-page.discharge-template-master-page .lc-rounded-pill-input[b-uyt3m3a0zt] {
    width: 260px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    font-size: 0.82rem !important;
    padding: 0 1rem 0 2.2rem !important;
}

.referral-page.discharge-template-master-page .lc-rounded-pill-input:focus[b-uyt3m3a0zt] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.referral-page.discharge-template-master-page .btn-new-entry[b-uyt3m3a0zt] {
    height: 36px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

.referral-page.discharge-template-master-page .btn-new-entry:hover[b-uyt3m3a0zt] {
    background: #05689b !important;
}

.referral-page.discharge-template-master-page .directory-section[b-uyt3m3a0zt] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.referral-page.discharge-template-master-page .total-templates-indicator[b-uyt3m3a0zt] {
    flex: 0 0 auto !important;
    padding: 0.5rem 1rem !important;
    background: #f8fbfe !important;
    border-bottom: 1px solid #dfe7f1 !important;
    color: #526b82 !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
}

.referral-page.discharge-template-master-page .template-list-container[b-uyt3m3a0zt] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    box-sizing: border-box !important;
    -webkit-overflow-scrolling: touch !important;
}

.referral-page.discharge-template-master-page .template-card[b-uyt3m3a0zt] {
    border: 1px solid #dbe8f3 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.05) !important;
    padding: 0.75rem 1rem !important;
}

.referral-page.discharge-template-master-page .template-card:hover[b-uyt3m3a0zt] {
    border-color: #9bd5f2 !important;
    background: #f8fcff !important;
    box-shadow: 0 5px 14px rgba(8, 123, 181, 0.1) !important;
}

.referral-page.discharge-template-master-page .template-avatar[b-uyt3m3a0zt] {
    background: #e4f4ff !important;
    color: #0876ad !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    font-size: 1.2rem !important;
}

.referral-page.discharge-template-master-page .template-title[b-uyt3m3a0zt] {
    color: #07547c !important;
    font-size: 0.95rem !important;
}

.referral-page.discharge-template-master-page .template-desc[b-uyt3m3a0zt] {
    color: #647b90 !important;
    font-size: 0.78rem !important;
}

.referral-page.discharge-template-master-page .template-badge-count[b-uyt3m3a0zt] {
    background: #e4f4ff !important;
    color: #0876ad !important;
    font-size: 0.7rem !important;
}

.referral-page.discharge-template-master-page .lc-btn[b-uyt3m3a0zt],
.referral-page.discharge-template-master-page .lc-circle-btn-32[b-uyt3m3a0zt] {
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.referral-page.discharge-template-master-page .lc-btn:hover[b-uyt3m3a0zt],
.referral-page.discharge-template-master-page .lc-circle-btn-32:hover[b-uyt3m3a0zt] {
    border-color: #bae6fd !important;
    background: #f0f9ff !important;
    color: #0369a1 !important;
}
/* /Components/Pages/DoctorCurrentStatus.razor.rz.scp.css */
/* Doctor Availability & Current Status Styles - Standardized Medico Aesthetics matching Doctor's Patient List */

.status-dashboard-container[b-2cuchsx5m8] {
    padding: 0 1rem;
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 10px auto 0;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    height: calc(100vh - 65px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

/* Background blobs & animation */
.animated-background[b-2cuchsx5m8] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.floating-blob[b-2cuchsx5m8] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: float-b-2cuchsx5m8 20s infinite alternate;
}

.blob-1[b-2cuchsx5m8] {
    width: 450px;
    height: 450px;
    background: #e2f1ff;
    top: -5%;
    left: -5%;
}

.blob-2[b-2cuchsx5m8] {
    width: 450px;
    height: 450px;
    background: #f1f5f9;
    bottom: -10%;
    right: -5%;
}

@keyframes float-b-2cuchsx5m8 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

/* Header */
.dashboard-header[b-2cuchsx5m8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.dashboard-title h1[b-2cuchsx5m8] {
    font-size: 1.15rem;
    font-weight: 800;
    color: #034f75;
    letter-spacing: -0.3px;
    margin: 0;
}

.btn-header-action[b-2cuchsx5m8] {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #0369a1;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-header-action:hover:not(:disabled)[b-2cuchsx5m8] {
    background: #f0f9ff;
    border-color: #0284c7;
    color: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.12);
}

/* Access Restricted Card */
.restricted-card[b-2cuchsx5m8] {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    max-width: 500px;
    margin: 2rem auto;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.restricted-icon[b-2cuchsx5m8] {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fee2e2;
    color: #ef4444;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.restricted-card h2[b-2cuchsx5m8] {
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.restricted-card p[b-2cuchsx5m8] {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 0.82rem;
}

.btn-primary-action[b-2cuchsx5m8] {
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.15s ease;
}

.btn-primary-action:hover[b-2cuchsx5m8] {
    background: #0369a1;
}

/* KPI Stats Grid */
.stats-grid[b-2cuchsx5m8] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.45rem;
    margin-bottom: 0.55rem;
    flex-shrink: 0;
}

@media (max-width: 1100px) {
    .stats-grid[b-2cuchsx5m8] {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-card[b-2cuchsx5m8] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.45rem 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.stat-card:hover[b-2cuchsx5m8] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
    border-color: #cbd5e1;
}

.stat-icon-wrapper[b-2cuchsx5m8] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.stat-card.blue .stat-icon-wrapper[b-2cuchsx5m8] { background: #e0f2fe; color: #0284c7; }
.stat-card.green .stat-icon-wrapper[b-2cuchsx5m8] { background: #dcfce7; color: #16a34a; }
.stat-card.cyan .stat-icon-wrapper[b-2cuchsx5m8] { background: #e0f2fe; color: #0369a1; }
.stat-card.amber .stat-icon-wrapper[b-2cuchsx5m8] { background: #fef3c7; color: #d97706; }
.stat-card.rose .stat-icon-wrapper[b-2cuchsx5m8] { background: #fee2e2; color: #dc2626; }
.stat-card.purple .stat-icon-wrapper[b-2cuchsx5m8] { background: #f3e8ff; color: #7c3aed; }
.stat-card.slate .stat-icon-wrapper[b-2cuchsx5m8] { background: #f1f5f9; color: #475569; }

.stat-details[b-2cuchsx5m8] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.stat-number[b-2cuchsx5m8] {
    font-size: 1.15rem;
    font-weight: 800;
    color: #034f75;
    line-height: 1.1;
}

.stat-label[b-2cuchsx5m8] {
    font-size: 0.66rem;
    font-weight: 700;
    color: #64748b;
    margin-top: 0.1rem;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Layout */
.dashboard-content-layout[b-2cuchsx5m8] {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0.55rem;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

@media (max-width: 1050px) {
    .dashboard-content-layout[b-2cuchsx5m8] {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }
}

.panel-card[b-2cuchsx5m8] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.65rem 0.8rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    box-sizing: border-box;
}

.panel-header[b-2cuchsx5m8] {
    margin-bottom: 0.45rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.panel-header h3[b-2cuchsx5m8] {
    font-size: 0.92rem;
    font-weight: 800;
    color: #034f75;
    margin: 0 0 0.1rem 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.panel-subtitle[b-2cuchsx5m8] {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
}

.panel-body[b-2cuchsx5m8] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.15rem;
}

/* Update Panel Form & Searchable Select */
.form-group[b-2cuchsx5m8] {
    margin-bottom: 0.65rem;
}

.form-label[b-2cuchsx5m8] {
    display: block;
    font-size: 0.67rem;
    font-weight: 800;
    color: #475569;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-label .required[b-2cuchsx5m8] {
    color: #ef4444;
}

.searchable-select-wrapper[b-2cuchsx5m8] {
    position: relative;
    width: 100%;
}

.search-select-icon[b-2cuchsx5m8] {
    position: absolute;
    left: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.8rem;
    pointer-events: none;
    z-index: 2;
}

.search-select-input[b-2cuchsx5m8] {
    width: 100%;
    padding: 0.25rem 2rem 0.25rem 2rem;
    background: #ffffff;
    border: 1.2px solid #cbd5e1;
    border-radius: 7px;
    font-size: 0.78rem;
    color: #334155;
    font-weight: 600;
    height: 32px;
    transition: all 0.15s ease-in-out;
    box-sizing: border-box;
}

.search-select-input:focus[b-2cuchsx5m8], .search-select-input.dropdown-open[b-2cuchsx5m8] {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}

.dropdown-arrow-icon[b-2cuchsx5m8] {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    font-size: 0.75rem;
}

.btn-clear-select[b-2cuchsx5m8] {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.btn-clear-select:hover[b-2cuchsx5m8] {
    color: #ef4444;
}

.search-select-dropdown[b-2cuchsx5m8] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 0.25rem;
}

.dropdown-item[b-2cuchsx5m8] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.55rem;
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.dropdown-item:hover[b-2cuchsx5m8], .dropdown-item.selected[b-2cuchsx5m8] {
    background: #f1f5f9;
}

.dropdown-item.selected[b-2cuchsx5m8] {
    border-left: 3px solid #0284c7;
    background: #f0f9ff;
}

.item-avatar[b-2cuchsx5m8] {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: white;
    font-weight: 700;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.item-avatar img[b-2cuchsx5m8] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details[b-2cuchsx5m8] {
    flex-grow: 1;
    min-width: 0;
}

.item-name[b-2cuchsx5m8] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-spec[b-2cuchsx5m8] {
    font-size: 0.68rem;
    color: #64748b;
}

.item-status-tag[b-2cuchsx5m8] {
    font-size: 0.66rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    flex-shrink: 0;
}

.dropdown-empty-state[b-2cuchsx5m8] {
    padding: 0.75rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.76rem;
}

.custom-input[b-2cuchsx5m8] {
    width: 100%;
    padding: 0.25rem 0.5rem;
    background: #ffffff;
    border: 1.2px solid #cbd5e1;
    border-radius: 7px;
    font-size: 0.78rem;
    color: #334155;
    font-weight: 600;
    height: 32px;
    transition: all 0.15s ease-in-out;
    box-sizing: border-box;
}

.custom-input:focus[b-2cuchsx5m8] {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}

.active-doctor-preview[b-2cuchsx5m8] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.5rem 0.65rem;
    margin-bottom: 0.65rem;
}

.doctor-avatar[b-2cuchsx5m8] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
    overflow: hidden;
}

.doctor-avatar img[b-2cuchsx5m8] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-preview-info h4[b-2cuchsx5m8] {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 800;
    color: #0f172a;
}

.doc-specialty[b-2cuchsx5m8] {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
    display: block;
    margin-bottom: 0.15rem;
}

/* Status Badges */
.card-status-pill[b-2cuchsx5m8], .current-status-tag[b-2cuchsx5m8] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.badge-on-duty[b-2cuchsx5m8] { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.badge-in-opd[b-2cuchsx5m8] { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.badge-break[b-2cuchsx5m8] { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.badge-busy[b-2cuchsx5m8] { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.badge-leave[b-2cuchsx5m8] { background: #f3e8ff; color: #6b21a8; border: 1px solid #e9d5ff; }
.badge-off-duty[b-2cuchsx5m8] { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }

.status-options-grid[b-2cuchsx5m8] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
}

.status-option-btn[b-2cuchsx5m8] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.5rem;
    background: #ffffff;
    border: 1.2px solid #cbd5e1;
    border-radius: 7px;
    font-weight: 700;
    font-size: 0.75rem;
    color: #475569;
    height: 32px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    box-sizing: border-box;
}

.status-option-btn:hover[b-2cuchsx5m8] {
    border-color: #0284c7;
    background: #f0f9ff;
    color: #0284c7;
}

.status-option-btn.active[b-2cuchsx5m8] {
    font-weight: 800;
}

.status-option-btn.active.on-duty[b-2cuchsx5m8] { background: #dcfce7; border-color: #86efac; color: #166534; }
.status-option-btn.active.in-opd[b-2cuchsx5m8] { background: #e0f2fe; border-color: #7dd3fc; color: #0369a1; }
.status-option-btn.active.break[b-2cuchsx5m8] { background: #fef3c7; border-color: #fde68a; color: #92400e; }
.status-option-btn.active.busy[b-2cuchsx5m8] { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.status-option-btn.active.leave[b-2cuchsx5m8] { background: #f3e8ff; border-color: #d8b4fe; color: #6b21a8; }
.status-option-btn.active.off-duty[b-2cuchsx5m8] { background: #f1f5f9; border-color: #cbd5e1; color: #334155; }

.quick-chips[b-2cuchsx5m8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.3rem;
}

.chip-btn[b-2cuchsx5m8] {
    padding: 0.15rem 0.45rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
}

.chip-btn:hover[b-2cuchsx5m8] {
    background: #0284c7;
    color: white;
    border-color: #0284c7;
}

.chip-btn.clear[b-2cuchsx5m8] {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

.btn-submit-status[b-2cuchsx5m8] {
    width: 100%;
    padding: 0.45rem 1rem;
    background: #0284c7;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.btn-submit-status:hover:not(:disabled)[b-2cuchsx5m8] {
    background: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

.btn-submit-status:disabled[b-2cuchsx5m8] {
    opacity: 0.6;
    cursor: not-allowed;
}

.empty-selection-placeholder[b-2cuchsx5m8] {
    padding: 1.5rem 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.78rem;
}

.empty-selection-placeholder i[b-2cuchsx5m8] {
    font-size: 1.75rem;
    margin-bottom: 0.4rem;
    display: block;
    color: #cbd5e1;
}

/* Board Header & Filters */
.board-top-bar[b-2cuchsx5m8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
    flex-shrink: 0;
}

.search-box[b-2cuchsx5m8] {
    position: relative;
    flex-grow: 1;
}

.search-box i[b-2cuchsx5m8] {
    position: absolute;
    left: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.8rem;
}

.search-box input[b-2cuchsx5m8] {
    width: 100%;
    padding: 0.25rem 0.6rem 0.25rem 2rem;
    background: #ffffff;
    border: 1.2px solid #cbd5e1;
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    height: 32px;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.search-box input:focus[b-2cuchsx5m8] {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}

.view-toggle[b-2cuchsx5m8] {
    display: flex;
    background: #f1f5f9;
    padding: 0.15rem;
    border-radius: 7px;
    gap: 0.15rem;
    border: 1px solid #e2e8f0;
}

.toggle-btn[b-2cuchsx5m8] {
    border: none;
    background: transparent;
    padding: 0.2rem 0.45rem;
    border-radius: 5px;
    color: #64748b;
    cursor: pointer;
    font-size: 0.8rem;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-btn.active[b-2cuchsx5m8] {
    background: #ffffff;
    color: #0284c7;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.filter-tabs[b-2cuchsx5m8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.45rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.35rem;
    flex-shrink: 0;
}

.tab-btn[b-2cuchsx5m8] {
    border: 1px solid transparent;
    background: transparent;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
}

.tab-btn:hover[b-2cuchsx5m8] {
    background: #f1f5f9;
    color: #034f75;
}

.tab-btn.active[b-2cuchsx5m8] {
    background: #e0f2fe;
    color: #0284c7;
    border-color: #bae6fd;
    font-weight: 800;
}

/* Cards Grid */
.doctor-cards-grid[b-2cuchsx5m8] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.45rem;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.15rem;
}

.doctor-card[b-2cuchsx5m8] {
    background: #ffffff;
    border: 1.2px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.doctor-card:hover[b-2cuchsx5m8] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
    border-color: #cbd5e1;
}

.doctor-card.selected-card[b-2cuchsx5m8] {
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}

.border-on-duty[b-2cuchsx5m8] { border-top: 3px solid #16a34a; }
.border-in-opd[b-2cuchsx5m8] { border-top: 3px solid #0284c7; }
.border-break[b-2cuchsx5m8] { border-top: 3px solid #d97706; }
.border-busy[b-2cuchsx5m8] { border-top: 3px solid #dc2626; }
.border-leave[b-2cuchsx5m8] { border-top: 3px solid #7c3aed; }
.border-off-duty[b-2cuchsx5m8] { border-top: 3px solid #94a3b8; }

.card-top[b-2cuchsx5m8] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    position: relative;
}

.card-avatar[b-2cuchsx5m8] {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: white;
    font-weight: 800;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.card-avatar img[b-2cuchsx5m8] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title-group[b-2cuchsx5m8] {
    padding-right: 70px;
    min-width: 0;
}

.card-title-group h4[b-2cuchsx5m8] {
    font-size: 0.84rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.1rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-specialty[b-2cuchsx5m8] {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
    display: block;
}

.card-status-pill[b-2cuchsx5m8] {
    position: absolute;
    right: 0;
    top: 0;
}

.card-body[b-2cuchsx5m8] {
    margin-bottom: 0.35rem;
}

.info-row[b-2cuchsx5m8] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    color: #475569;
    margin-top: 0.2rem;
}

.info-row.remarks[b-2cuchsx5m8] {
    color: #0f172a;
    font-weight: 600;
    background: #f8fafc;
    padding: 0.2rem 0.4rem;
    border-radius: 5px;
    border: 1px solid #f1f5f9;
}

.info-row.return-time[b-2cuchsx5m8] {
    color: #b45309;
    font-weight: 600;
}

/* Card Quick Status Actions Bar */
.card-quick-actions-bar[b-2cuchsx5m8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid #f1f5f9;
}

.quick-status-selector[b-2cuchsx5m8] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-grow: 1;
}

.quick-label[b-2cuchsx5m8] {
    font-size: 0.62rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.quick-status-dropdown[b-2cuchsx5m8], .table-status-dropdown[b-2cuchsx5m8] {
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1.2px solid #cbd5e1;
    cursor: pointer;
    outline: none;
    height: 26px;
    transition: all 0.15s ease;
}

.quick-status-dropdown:focus[b-2cuchsx5m8], .table-status-dropdown:focus[b-2cuchsx5m8] {
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}

.btn-card-edit[b-2cuchsx5m8] {
    padding: 0.15rem 0.45rem;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #0284c7;
    cursor: pointer;
    height: 26px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-card-edit:hover[b-2cuchsx5m8] {
    background: #e0f2fe;
    border-color: #7dd3fc;
}

/* Table View */
.table-responsive[b-2cuchsx5m8] {
    flex: 1;
    min-height: 0;
    overflow-x: auto;
    overflow-y: auto;
}

.custom-status-table[b-2cuchsx5m8] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.custom-status-table th[b-2cuchsx5m8] {
    background: #026aa7;
    padding: 0.45rem 0.65rem;
    text-align: left;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.3px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.custom-status-table td[b-2cuchsx5m8] {
    padding: 0.45rem 0.65rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #334155;
}

.custom-status-table tr:hover[b-2cuchsx5m8] {
    background: #f8fafc;
}

.table-doctor-info[b-2cuchsx5m8] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.mini-avatar[b-2cuchsx5m8] {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #0284c7;
    color: white;
    font-weight: 700;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mini-avatar img[b-2cuchsx5m8] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doc-name[b-2cuchsx5m8] {
    font-weight: 700;
    color: #0f172a;
}

.spec-badge[b-2cuchsx5m8] {
    background: #f1f5f9;
    color: #475569;
    padding: 0.15rem 0.4rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
}

.btn-sm-action[b-2cuchsx5m8] {
    border: none;
    padding: 0.2rem 0.45rem;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 700;
    transition: all 0.15s ease;
}

.btn-sm-action.edit[b-2cuchsx5m8] {
    background: #f0f9ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
}

.btn-sm-action:hover[b-2cuchsx5m8] {
    background: #e0f2fe;
    border-color: #7dd3fc;
}

.no-records-card[b-2cuchsx5m8] {
    padding: 2rem 1.5rem;
    text-align: center;
    color: #94a3b8;
}

.no-records-card i[b-2cuchsx5m8] {
    font-size: 2.2rem;
    margin-bottom: 0.35rem;
    display: block;
}

/* Dark Mode Scoped Overrides matching Doctor's Patient List */
html[data-theme="dark"] .status-dashboard-container[b-2cuchsx5m8] {
    color: #f1f5f9;
}

html[data-theme="dark"] .dashboard-title h1[b-2cuchsx5m8] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .btn-header-action[b-2cuchsx5m8] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

html[data-theme="dark"] .btn-header-action:hover[b-2cuchsx5m8] {
    background: #334155 !important;
    color: #7dd3fc !important;
}

html[data-theme="dark"] .stat-card[b-2cuchsx5m8] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .stat-number[b-2cuchsx5m8] {
    color: #38bdf8 !important;
}

html[data-theme="dark"] .stat-label[b-2cuchsx5m8] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .panel-card[b-2cuchsx5m8] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .panel-header[b-2cuchsx5m8] {
    border-bottom-color: #334155 !important;
}

html[data-theme="dark"] .panel-header h3[b-2cuchsx5m8] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .panel-subtitle[b-2cuchsx5m8] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .form-label[b-2cuchsx5m8] {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .search-select-input[b-2cuchsx5m8],
html[data-theme="dark"] .custom-input[b-2cuchsx5m8],
html[data-theme="dark"] .search-box input[b-2cuchsx5m8] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .search-select-dropdown[b-2cuchsx5m8] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .dropdown-item:hover[b-2cuchsx5m8],
html[data-theme="dark"] .dropdown-item.selected[b-2cuchsx5m8] {
    background: #334155 !important;
}

html[data-theme="dark"] .item-name[b-2cuchsx5m8],
html[data-theme="dark"] .doctor-preview-info h4[b-2cuchsx5m8],
html[data-theme="dark"] .card-title-group h4[b-2cuchsx5m8],
html[data-theme="dark"] .doc-name[b-2cuchsx5m8] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .active-doctor-preview[b-2cuchsx5m8] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .doctor-card[b-2cuchsx5m8] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .doctor-card:hover[b-2cuchsx5m8] {
    border-color: #475569 !important;
}

html[data-theme="dark"] .status-option-btn[b-2cuchsx5m8] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .status-option-btn:hover[b-2cuchsx5m8] {
    background: #1e293b !important;
    border-color: #0284c7 !important;
}

html[data-theme="dark"] .chip-btn[b-2cuchsx5m8] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .custom-status-table td[b-2cuchsx5m8] {
    color: #cbd5e1 !important;
    border-bottom-color: #334155 !important;
}

html[data-theme="dark"] .custom-status-table tr:hover[b-2cuchsx5m8] {
    background: #0f172a !important;
}
/* /Components/Pages/DoctorGroupMaster.razor.rz.scp.css */
.referral-page[b-bagis775vk] {
    padding: 16px 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.flex-between[b-bagis775vk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-bagis775vk] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-bagis775vk] {
    display: flex;
}

.align-center[b-bagis775vk] {
    align-items: center;
}

.flex-center[b-bagis775vk] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-bagis775vk] {
    gap: 8px;
}

.gap-12[b-bagis775vk] {
    gap: 12px;
}

.gap-16[b-bagis775vk] {
    gap: 16px;
}

.p-2[b-bagis775vk] {
    padding: 8px;
}

.rounded-lg[b-bagis775vk] {
    border-radius: 8px;
}

.shadow-sm[b-bagis775vk] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-bagis775vk] {
    margin: 0;
}

.mt-2px[b-bagis775vk] {
    margin-top: 2px;
}

.relative-positioned[b-bagis775vk] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-bagis775vk] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1rem 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.lab-title-text[b-bagis775vk] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-bagis775vk] {
    background-color: #eef2ff;
}

.text-indigo-600[b-bagis775vk] {
    color: #4f46e5;
}

.icon-lg[b-bagis775vk] {
    font-size: 24px;
}

.status-pulse-dot[b-bagis775vk] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-bagis775vk 2s infinite;
}

.status-text[b-bagis775vk] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-bagis775vk] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-bagis775vk] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-bagis775vk] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.btn-new-entry[b-bagis775vk] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-new-entry:hover[b-bagis775vk] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-bagis775vk] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.lc-table-container[b-bagis775vk] {
    width: 100%;
    flex: 1;
    overflow-y: auto;
    max-height: calc(100vh - 260px);
}

.lc-table[b-bagis775vk] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-bagis775vk] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.lc-table th[b-bagis775vk] {
    padding: 0.625rem 1.25rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.lc-table td[b-bagis775vk] {
    padding: 0.5rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13.5px;
    vertical-align: middle;
    white-space: nowrap;
}

.lc-table tbody tr:last-child td[b-bagis775vk] {
    border-bottom: none;
}

.lc-table-row:hover[b-bagis775vk] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-bagis775vk] {
    font-weight: 700;
}

.lc-btn[b-bagis775vk] {
    padding: 8px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-bagis775vk] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-bagis775vk] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-bagis775vk] {
    color: #4f46e5;
}

.lc-btn.text-red-500:hover span[b-bagis775vk] {
    color: #ef4444 !important;
}

/* Status Badges */
.badge-status[b-bagis775vk] {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
}

.badge-active[b-bagis775vk] {
    background-color: #d1fae5;
    color: #047857;
}

.badge-inactive[b-bagis775vk] {
    background-color: #fee2e2;
    color: #b91c1c;
}

.badge-token-group[b-bagis775vk] {
    background-color: #e0e7ff;
    color: #4338ca;
}

.badge-token-doctor[b-bagis775vk] {
    background-color: #fef3c7;
    color: #b45309;
}

/* Modal Overlay & Card */
.modal-overlay[b-bagis775vk] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    animation: fadeIn 0.2s ease-out;
}

.modal-form-card[b-bagis775vk] {
    background: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 580px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.modal-header-bar[b-bagis775vk] {
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafbfc;
}

.modal-header-bar h3[b-bagis775vk] {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
}

.modal-close-btn[b-bagis775vk] {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close-btn:hover[b-bagis775vk] {
    background-color: #f1f5f9;
    color: #334155;
}

.modal-body[b-bagis775vk] {
    padding: 20px 24px;
}

.modal-footer-bar[b-bagis775vk] {
    padding: 14px 24px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #fafbfc;
}

.cm-container[b-bagis775vk] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cm-field[b-bagis775vk] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cm-col-6[b-bagis775vk] {
    flex: 0 0 calc(50% - 8px);
    box-sizing: border-box;
}

.cm-col-12[b-bagis775vk] {
    flex: 0 0 100%;
    box-sizing: border-box;
}

.cm-label-top[b-bagis775vk] {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cm-input[b-bagis775vk] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13.5px;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.cm-input:focus[b-bagis775vk] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.btn-action-outline[b-bagis775vk] {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-weight: 600;
    font-size: 13.5px;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-action-outline:hover[b-bagis775vk] {
    background: #f8fafc;
    border-color: #94a3b8;
}

/* Pagination Footer */
.pagination-footer[b-bagis775vk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid #f1f5f9;
    background-color: #ffffff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.pagination-info[b-bagis775vk] {
    font-size: 12.5px;
    color: #475569;
    font-weight: 500;
}

.pagination-info-highlight[b-bagis775vk] {
    font-weight: 700;
    color: #1e293b;
}

.pagination-btns[b-bagis775vk] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-btns .page-btn[b-bagis775vk] {
    min-width: 28px !important;
    height: 28px !important;
    padding: 0 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #475569 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.pagination-btns .page-btn:hover:not(.active):not(:disabled)[b-bagis775vk] {
    border-color: #cbd5e1 !important;
    background-color: #f8fafc !important;
    color: #4f46e5 !important;
}

.pagination-btns .page-btn:disabled[b-bagis775vk] {
    cursor: not-allowed !important;
    opacity: 0.35 !important;
}

.pagination-btns .page-btn.active[b-bagis775vk] {
    border-color: #4f46e5 !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    cursor: default !important;
}

@keyframes lc-pulse-b-bagis775vk {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR DOCTOR GROUP MASTER
   ═══════════════════════════════════════════════════════════════ */
html[data-theme="dark"] .referral-page[b-bagis775vk],
body.dark-mode .referral-page[b-bagis775vk] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .lab-header-card[b-bagis775vk],
body.dark-mode .lab-header-card[b-bagis775vk] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] .lab-title-text[b-bagis775vk],
body.dark-mode .lab-title-text[b-bagis775vk] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .status-text[b-bagis775vk],
body.dark-mode .status-text[b-bagis775vk] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .lc-rounded-pill-input[b-bagis775vk],
body.dark-mode .lc-rounded-pill-input[b-bagis775vk] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .search-icon[b-bagis775vk],
body.dark-mode .search-icon[b-bagis775vk] {
    fill: #94a3b8 !important;
}

html[data-theme="dark"] .directory-section[b-bagis775vk],
body.dark-mode .directory-section[b-bagis775vk] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] .lc-table thead tr[b-bagis775vk],
body.dark-mode .lc-table thead tr[b-bagis775vk] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
}

html[data-theme="dark"] .lc-table th[b-bagis775vk],
body.dark-mode .lc-table th[b-bagis775vk] {
    background: #0f172a !important;
    color: #38bdf8 !important;
}

html[data-theme="dark"] .lc-table td[b-bagis775vk],
body.dark-mode .lc-table td[b-bagis775vk] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

html[data-theme="dark"] .lc-table-row:hover td[b-bagis775vk],
body.dark-mode .lc-table-row:hover td[b-bagis775vk] {
    background: #0f172a !important;
}

html[data-theme="dark"] .text-slate-800[b-bagis775vk],
body.dark-mode .text-slate-800[b-bagis775vk],
html[data-theme="dark"] .text-slate-600[b-bagis775vk],
body.dark-mode .text-slate-600[b-bagis775vk],
html[data-theme="dark"] .text-slate-700[b-bagis775vk],
body.dark-mode .text-slate-700[b-bagis775vk] {
    color: #e2e8f0 !important;
}

html[data-theme="dark"] .badge-token-group[b-bagis775vk],
body.dark-mode .badge-token-group[b-bagis775vk] {
    background-color: #312e81 !important;
    color: #a5b4fc !important;
    border: 1px solid rgba(165, 180, 252, 0.3) !important;
}

html[data-theme="dark"] .badge-token-doctor[b-bagis775vk],
body.dark-mode .badge-token-doctor[b-bagis775vk] {
    background-color: #78350f !important;
    color: #fde68a !important;
    border: 1px solid rgba(253, 230, 138, 0.3) !important;
}

html[data-theme="dark"] .badge-active[b-bagis775vk],
body.dark-mode .badge-active[b-bagis775vk] {
    background-color: #064e3b !important;
    color: #6ee7b7 !important;
    border: 1px solid rgba(110, 231, 183, 0.3) !important;
}

html[data-theme="dark"] .badge-inactive[b-bagis775vk],
body.dark-mode .badge-inactive[b-bagis775vk] {
    background-color: #7f1d1d !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(252, 165, 165, 0.3) !important;
}

html[data-theme="dark"] .lc-btn[b-bagis775vk],
body.dark-mode .lc-btn[b-bagis775vk] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

html[data-theme="dark"] .lc-btn:hover[b-bagis775vk],
body.dark-mode .lc-btn:hover[b-bagis775vk] {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #7dd3fc !important;
}

html[data-theme="dark"] .pagination-footer[b-bagis775vk],
body.dark-mode .pagination-footer[b-bagis775vk] {
    background-color: #1e293b !important;
    border-top-color: #334155 !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .modal-form-card[b-bagis775vk],
body.dark-mode .modal-form-card[b-bagis775vk] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .modal-header-bar[b-bagis775vk],
body.dark-mode .modal-header-bar[b-bagis775vk],
html[data-theme="dark"] .modal-body[b-bagis775vk],
body.dark-mode .modal-body[b-bagis775vk],
html[data-theme="dark"] .modal-footer-bar[b-bagis775vk],
body.dark-mode .modal-footer-bar[b-bagis775vk] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .modal-header-bar h3[b-bagis775vk],
body.dark-mode .modal-header-bar h3[b-bagis775vk] {
    color: #38bdf8 !important;
}

html[data-theme="dark"] .cm-input[b-bagis775vk],
body.dark-mode .cm-input[b-bagis775vk] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .cm-label-top[b-bagis775vk],
body.dark-mode .cm-label-top[b-bagis775vk] {
    color: #cbd5e1 !important;
}
/* Master dashboard theme */
:global(.main-content):has(.dgm-page)[b-bagis775vk] { 
    height: calc(100vh - 35px) !important; 
    max-height: calc(100vh - 35px) !important; 
    overflow: hidden !important; 
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important; 
    background: #f1f5fb !important; 
}
.referral-page.dgm-page[b-bagis775vk] { 
    height: 100% !important; 
    max-height: 100% !important; 
    min-height: 0 !important; 
    overflow: hidden !important; 
    padding: 0 !important; 
    gap: 0.35rem !important; 
    background: #f1f5fb !important; 
}
.lab-header-card[b-bagis775vk] { flex: 0 0 auto !important; padding: 0.35rem 0.75rem !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.icon-box-container[b-bagis775vk] { background: #e4f4ff !important; }
.text-indigo-600[b-bagis775vk] { color: #0876ad !important; }
.lab-title-text[b-bagis775vk] { color: #07547c !important; font-size: 1.7rem !important; font-weight: 800 !important; }
.status-text[b-bagis775vk] { color: #647b90 !important; font-size: .78rem !important; text-transform: none !important; }
.lc-rounded-pill-input[b-bagis775vk] { width: 280px !important; height: 36px !important; border-radius: 8px !important; border-color: #cbd9e8 !important; }
.btn-new-entry[b-bagis775vk] { height: 36px !important; border-radius: 8px !important; background: #087bb5 !important; }
.directory-section[b-bagis775vk] { flex: 1 1 auto !important; min-height: 0 !important; margin: 0 !important; border: 1px solid #dfe7f1 !important; border-radius: 8px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; background: #fff !important; }
.lc-table-container[b-bagis775vk] { 
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: calc(100vh - 170px) !important; 
    overflow-y: auto !important; 
    overflow-x: auto !important; 
}
.lc-table-container[b-bagis775vk]::-webkit-scrollbar {
    width: 7px !important;
    height: 7px !important;
    display: block !important;
}
.lc-table-container[b-bagis775vk]::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
    border-radius: 4px !important;
}
.lc-table-container[b-bagis775vk]::-webkit-scrollbar-thumb {
    background: #94a3b8 !important;
    border-radius: 4px !important;
}
.lc-table-container[b-bagis775vk]::-webkit-scrollbar-thumb:hover {
    background: #64748b !important;
}
.lc-table thead tr[b-bagis775vk] { height: 32px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; border-bottom: 1px solid #07547c !important; }
.lc-table th[b-bagis775vk] { 
    height: 32px !important; 
    padding: 4px 8px !important; 
    color: #fff !important; 
    background: transparent !important; 
    font-size: 11px !important; 
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-bottom: 1px solid #07547c !important;
    vertical-align: middle !important;
}
.lc-table th:last-child[b-bagis775vk] { border-right: none !important; }
.lc-table td[b-bagis775vk] { height: 34px !important; padding: 4px 8px !important; border-bottom: 1px solid #edf2f7 !important; border-right: 1px solid #f8fafc !important; font-size: 11.5px !important; color: #334155 !important; vertical-align: middle !important; }
.lc-table tbody tr[b-bagis775vk] { height: 34px !important; background: #fff !important; }
.lc-table tbody tr:nth-child(even)[b-bagis775vk] { background: #fcfdfe !important; }
.lc-table-row:hover[b-bagis775vk] { background: #f0fdfa !important; }
/* /Components/Pages/DoctorMaster_1.razor.rz.scp.css */
/* ============================================================
   LABCARE ELITE — PAGE-SPECIFIC STYLES (page.css)
   ============================================================
   All page-level and component-level styles live here.
   The shared design system (lc-*) lives in app.css.
   ============================================================ */

/* ============================================================
   1. MAIN LAYOUT
   ============================================================ */
.page[b-e0w92x6fhw] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-e0w92x6fhw] {
    flex: 1;
}

.content[b-e0w92x6fhw] {
    padding: 24px 32px !important;
    background-color: #f8fafc !important;
    display: block;
}

.custom-layout-wrapper[b-e0w92x6fhw] {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 641px) {
    .page[b-e0w92x6fhw] {
        flex-direction: row;
    }

    .sidebar[b-e0w92x6fhw] {
        width: 220px;
        height: 100vh;
        position: sticky;
        top: 0;
    }
}


/* ============================================================
   2. SIDEBAR / NAV MENU
   ============================================================ */

/* ── Sidebar toggle button — absolute at sidebar's right edge, half-protruding ── */
.sidebar-wrapper[b-e0w92x6fhw] {
    position: relative;
    overflow: visible !important;
    /* allow button to peek out on the right */
}

.sidebar-toggle-btn[b-e0w92x6fhw] {
    position: absolute;
    top: 40px;
    /* just below the branding bar */
    right: -29px;
    /* moved further right */
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0e7ff;
    border: 2px solid #a5b4fc;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    z-index: 200;
}

.sidebar-toggle-btn:hover[b-e0w92x6fhw] {
    background: #c7d2fe;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    transform: scale(1.12);
}

.sidebar-toggle-btn:active[b-e0w92x6fhw] {
    transform: scale(0.92);
}

/* Collapsed state: button automatically moves with sidebar — no extra needed */
.nav-collapsed .sidebar-toggle-btn[b-e0w92x6fhw] {
    right: -29px;
}

/* ══════════════════════════════════════════════════
   ✦ PREMIUM TOOLTIP — Collapsed Nav (Ultra Modern)
   ══════════════════════════════════════════════════ */

#sidebar.nav-collapsed .v-nav-link[b-e0w92x6fhw],
#sidebar.nav-collapsed .logout-btn[b-e0w92x6fhw] {
    position: relative;
    overflow: visible;
}

.logout-btn-proper[b-e0w92x6fhw] {
    border: none !important;
    outline: none !important;
    color: #ef4444 !important;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
}

.logout-btn-proper:hover[b-e0w92x6fhw] {
    background-color: rgba(239, 68, 68, 0.08) !important;
    color: #dc2626 !important;
}

.logout-btn-proper span[b-e0w92x6fhw] {
    color: inherit !important;
}

/* ── Main tooltip bubble ── */
#sidebar.nav-collapsed .v-nav-link[b-e0w92x6fhw]::after,
#sidebar.nav-collapsed .logout-btn[b-e0w92x6fhw]::after {
    content: attr(data-title);
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(-8px) scale(0.9);

    /* Soft light gradient */
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    box-shadow:
        0 10px 25px -5px rgba(99, 102, 241, 0.2),
        0 8px 10px -6px rgba(99, 102, 241, 0.1),
        0 0 0 1px rgba(165, 180, 252, 0.5),
        /* inner top highlight for 3D effect */
        inset 0 1px 1px rgba(255, 255, 255, 0.4);

    color: #312e81;
    /* Deep indigo instead of black */
    padding: 8px 16px;
    border-radius: 8px;
    /* sharp but smooth corners */
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    white-space: nowrap;

    opacity: 0;
    pointer-events: none;

    /* Spring-like transition for a premium feel */
    transition:
        opacity 0.25s ease-out,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
}

/* ── Glowing left arrow ── */
#sidebar.nav-collapsed .v-nav-link[b-e0w92x6fhw]::before,
#sidebar.nav-collapsed .logout-btn[b-e0w92x6fhw]::before {
    content: '';
    position: absolute;
    left: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    border-style: solid;
    border-width: 6px 6px 6px 0;
    /* Match the gradient's start color */
    border-color: transparent #e0e7ff transparent transparent;
    filter: drop-shadow(-1px 0px 1px rgba(165, 180, 252, 0.5));
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.25s ease-out,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
}

/* ── Hover: show tooltip with bounce ── */
#sidebar.nav-collapsed .v-nav-link:hover[b-e0w92x6fhw]::after,
#sidebar.nav-collapsed .logout-btn:hover[b-e0w92x6fhw]::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
}

#sidebar.nav-collapsed .v-nav-link:hover[b-e0w92x6fhw]::before,
#sidebar.nav-collapsed .logout-btn:hover[b-e0w92x6fhw]::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ── Active link tooltip: vibrant indigo accent ── */
#sidebar.nav-collapsed .v-nav-link.active[b-e0w92x6fhw]::after {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    box-shadow:
        0 10px 25px -5px rgba(79, 70, 229, 0.5),
        0 0 0 1px rgba(129, 140, 248, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

#sidebar.nav-collapsed .v-nav-link.active[b-e0w92x6fhw]::before {
    border-right-color: #4f46e5;
    filter: drop-shadow(-1px 0px 1px rgba(129, 140, 248, 0.6));
}


.sidebar[b-e0w92x6fhw] {
    background-color: #000000;
    padding: 0 !important;
    background: transparent !important;
}

.sidebar-wrapper[b-e0w92x6fhw] {
    width: 220px;
    height: 100vh;
    background-color: #f1f5f9;
    /* soft slate instead of white */
    color: #334155;
    /* slate 700 instead of black */
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(148, 163, 184, 0.15);
    border-right: 1px solid #cbd5e1;
    z-index: 100;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* overflow:visible lets the toggle button peek outside the sidebar edge */
}

/* ── Collapsed state ── */
.sidebar-wrapper.nav-collapsed[b-e0w92x6fhw] {
    width: 68px;
}

/* Hide text/labels when collapsed */
.nav-collapsed .nav-link-text[b-e0w92x6fhw],
.nav-collapsed .nav-text-fade[b-e0w92x6fhw],
.nav-collapsed .nav-user-text[b-e0w92x6fhw] {
    opacity: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 0.15s ease, width 0.3s ease;
}

.nav-link-text[b-e0w92x6fhw],
.nav-text-fade[b-e0w92x6fhw],
.nav-user-text[b-e0w92x6fhw] {
    opacity: 1;
    transition: opacity 0.2s ease 0.05s, width 0.3s ease;
}

/* Center icons when collapsed */
.nav-collapsed .v-nav-link[b-e0w92x6fhw] {
    justify-content: center;
    padding: 12px;
}

.nav-collapsed .v-nav-link .mr-3[b-e0w92x6fhw] {
    margin-right: 0;
}

.nav-collapsed .menu-scroll[b-e0w92x6fhw] {
    padding: 24px 8px;
}

/* Collapsed user avatar centering */
.nav-collapsed .px-4.mb-4[b-e0w92x6fhw] {
    padding: 0 8px 16px;
}

.nav-collapsed .px-4.mb-4 .p-4[b-e0w92x6fhw] {
    padding: 8px;
}

.nav-collapsed .px-4.mb-4 .flex.items-center.gap-3[b-e0w92x6fhw] {
    justify-content: center;
}

/* Logout button collapsed */
.nav-collapsed .mt-auto.p-4 button[b-e0w92x6fhw] {
    justify-content: center;
    padding: 10px;
}

/* ── Toggle Button ── */
.nav-toggle-btn[b-e0w92x6fhw] {
    margin-left: auto;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid rgba(148, 163, 184, 0.25);
    background: rgba(241, 245, 249, 0.10);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.nav-toggle-btn:hover[b-e0w92x6fhw] {
    background: rgba(99, 102, 241, 0.18);
    border-color: #6366f1;
    color: #a5b4fc;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.nav-toggle-btn:active[b-e0w92x6fhw] {
    transform: scale(0.93);
}

.nav-toggle-icon[b-e0w92x6fhw] {
    font-size: 20px !important;
    transition: transform 0.3s ease;
}

/* Collapsed sidebar branding: center logo */
.nav-collapsed .sidebar-branding[b-e0w92x6fhw] {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    padding: 16px 8px;
}

.nav-collapsed .logo-box[b-e0w92x6fhw] {
    flex-shrink: 0;
}

.sidebar-branding[b-e0w92x6fhw] {
    padding: 20px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #cbd5e1;
    position: relative;
}

.logo-box[b-e0w92x6fhw] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box .material-symbols-outlined[b-e0w92x6fhw] {
    color: white;
    font-size: 24px;
}

.logo-text[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
}

.main-title[b-e0w92x6fhw] {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #1e293b;
}

.main-title .highlight[b-e0w92x6fhw] {
    color: #4f46e5;
}

.sub-title[b-e0w92x6fhw] {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    font-weight: 600;
}

.sidebar-branch-badge[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 16px 4px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(124, 58, 237, 0.15) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    animation: badgeFadeIn 0.4s ease;
}

.branch-badge-icon[b-e0w92x6fhw] {
    font-size: 14px !important;
    color: #818cf8;
    flex-shrink: 0;
}

.branch-badge-text[b-e0w92x6fhw] {
    font-size: 11px;
    font-weight: 700;
    color: #c7d2fe;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-scroll[b-e0w92x6fhw] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 16px;
}

.menu-group[b-e0w92x6fhw] {
    margin-bottom: 32px;
}

.group-label[b-e0w92x6fhw] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    margin-bottom: 8px;
    padding-left: 10px;
}

.v-nav[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.v-nav-link[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 8px;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 12.5px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.v-nav-link:hover[b-e0w92x6fhw] {
    background-color: rgba(99, 102, 241, 0.08);
    color: #1e293b !important;
}

.v-nav-link.active[b-e0w92x6fhw] {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), transparent) !important;
    color: #4338ca !important;
    border-left: 3px solid #4f46e5;
    padding-left: 13px !important;
}

.v-nav-link .material-symbols-outlined[b-e0w92x6fhw] {
    font-size: 18px;
}

.mr-3[b-e0w92x6fhw] {
    margin-right: 0.75rem;
}

.user-profile-section[b-e0w92x6fhw] {
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid #232635;
    margin-top: auto;
}

.user-avatar[b-e0w92x6fhw] {
    width: 38px;
    height: 38px;
    background-color: #2D334A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-size: 18px;
}

.user-details[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
}

.user-name[b-e0w92x6fhw] {
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.user-terminal[b-e0w92x6fhw] {
    font-size: 10px;
    color: #64748B;
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.navbar-toggler[b-e0w92x6fhw] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-e0w92x6fhw] {
    background-color: rgba(255, 255, 255, 0.5);
}

.nav-scrollable[b-e0w92x6fhw] {
    display: none;
}

.navbar-toggler:checked~.nav-scrollable[b-e0w92x6fhw] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-e0w92x6fhw] {
        display: none;
    }

    .nav-scrollable[b-e0w92x6fhw] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

.no-scrollbar[b-e0w92x6fhw]::-webkit-scrollbar {
    display: none !important;
}

.no-scrollbar[b-e0w92x6fhw] {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.menu-scroll[b-e0w92x6fhw]::-webkit-scrollbar {
    width: 6px;
}

.menu-scroll[b-e0w92x6fhw]::-webkit-scrollbar-track {
    background: transparent;
}

.menu-scroll[b-e0w92x6fhw]::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

.menu-scroll[b-e0w92x6fhw]::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

/* ============================================================
   4. REGISTER PAGE (Commented out to prevent conflict with SharedComponents.Rcl)
   ============================================================
.register-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    padding: 2rem;
    font-family: 'Inter', sans-serif;
}

.register-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    border: none;
    animation: fadeInUp 0.6s ease-out;
}

.register-card .card-header {
    padding: 2.5rem 3rem 1rem;
    background: transparent;
    border-bottom: none;
}

.register-card .card-body {
    padding: 0 3rem 1.5rem;
}

.register-card .card-footer {
    padding: 1.5rem 3rem 3rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    background: transparent;
    border: none;
}

.register-card .login-prompt {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}


.register-card .progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.register-card .step-badge {
    background-color: #eef2ff;
    color: #4f46e5;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.register-card .step-text {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.register-card .progress-bar {
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.register-card .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.register-card .page-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.register-card .page-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 32px;
}

.register-card .section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.register-card .section-title h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.register-card .section-title .material-icons-outlined {
    color: #4f46e5;
    font-size: 20px;
}

.register-card .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
}

.register-card .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.register-card .form-label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.register-card .form-label .optional {
    color: #94a3b8;
    font-weight: 400;
    font-size: 11px;
}

.register-card .form-control {
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.2s ease;
    width: 100%;
}

.register-card .input-icon-wrapper .form-control {
    padding-left: 44px;
    padding-right: 44px;
}


.register-card .form-control:focus {
    background: white;
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.register-card .btn-text {
    background: transparent;
    border: none;
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.register-card .btn-primary {
    background: #4f46e5;
    color: white;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    transition: all 0.2s;
    width: auto;
    min-width: 160px;
}

.register-success-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #f8fafc;
    text-align: center;
    padding: 24px;
}

.success-illustration {
    width: 350px;
    max-width: 90%;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.success-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.success-subtitle {
    color: #64748b;
    font-size: 18px;
    font-weight: 500;
}
*/





.form-section-card[b-e0w92x6fhw] {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    max-width: 500px;
    margin: 40px auto;
}

.progress-header[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.step-badge[b-e0w92x6fhw] {
    padding: 0.25rem 0.75rem;
    background-color: #EFF6FF;
    color: #2563EB;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.step-text[b-e0w92x6fhw] {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
}

.progress-bar[b-e0w92x6fhw] {
    height: 0.375rem;
    background-color: #F1F5F9;
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.progress-fill[b-e0w92x6fhw] {
    height: 100%;
    background-color: var(--lc-primary);
    transition: width 0.3s ease;
}

.page-title[b-e0w92x6fhw] {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.page-subtitle[b-e0w92x6fhw] {
    color: #94a3b8;
    margin: 0 0 2rem;
}

.security-reqs[b-e0w92x6fhw] {
    background-color: #F8FAFC;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--lc-border);
    margin-top: 1.5rem;
}

.security-reqs h4[b-e0w92x6fhw] {
    font-size: 0.625rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1rem 0;
}

.req-grid[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
}

.req-item[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.req-icon[b-e0w92x6fhw] {
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    border: 1px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.req-item.valid .req-icon[b-e0w92x6fhw] {
    border-color: var(--lc-success);
    background-color: #ECFDF5;
}

.req-item.valid .req-icon span[b-e0w92x6fhw] {
    font-size: 0.625rem;
    color: var(--lc-success);
    font-weight: 700;
}

.req-item:not(.valid) .req-icon span[b-e0w92x6fhw] {
    display: none;
}

.input-icon-wrapper[b-e0w92x6fhw] {
    position: relative;
}

.input-icon-wrapper input[b-e0w92x6fhw] {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.input-icon-left[b-e0w92x6fhw] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
}

.input-icon-right[b-e0w92x6fhw] {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.input-icon-right:hover[b-e0w92x6fhw] {
    color: #64748b;
}

.bg-decorator[b-e0w92x6fhw] {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    opacity: 0.1;
    pointer-events: none;
}

.password-step-container[b-e0w92x6fhw] {
    max-width: 28rem;
    margin: 2rem auto 0;
}

.password-group[b-e0w92x6fhw] {
    margin-bottom: 1.5rem;
}


/* ============================================================
   5. FORGOT PASSWORD PAGE
   ============================================================ */
.auth-page-wrapper[b-e0w92x6fhw] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.background-mesh[b-e0w92x6fhw] {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 0.1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0.1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0.1) 0, transparent 50%);
    z-index: 0;
}

.auth-container[b-e0w92x6fhw] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.auth-card[b-e0w92x6fhw] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.brand-section[b-e0w92x6fhw] {
    padding: 40px 40px 20px;
    text-align: center;
}

.logo-circle[b-e0w92x6fhw] {
    width: 64px;
    height: 64px;
    background: #4F46E5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.brand-section h2[b-e0w92x6fhw] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.brand-section p[b-e0w92x6fhw] {
    color: #64748b;
    font-size: 0.875rem;
}

.auth-form-content[b-e0w92x6fhw] {
    padding: 0 40px 40px;
}

.form-title[b-e0w92x6fhw] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-subtitle[b-e0w92x6fhw] {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.auth-form-content .form-group[b-e0w92x6fhw] {
    margin-bottom: 20px;
}

.auth-form-content .form-group label[b-e0w92x6fhw] {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
}

.auth-form-content .input-container[b-e0w92x6fhw] {
    position: relative;
}

.auth-form-content .input-container i[b-e0w92x6fhw] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.auth-form-content .form-control[b-e0w92x6fhw] {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.auth-form-content .form-control:focus[b-e0w92x6fhw] {
    background: #fff;
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.btn-primary[b-e0w92x6fhw] {
    width: 100%;
    padding: 12px;
    background: #4F46E5;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-primary:hover:not(:disabled)[b-e0w92x6fhw] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.2);
}

.btn-primary:active[b-e0w92x6fhw] {
    transform: translateY(0);
}

.btn-link[b-e0w92x6fhw] {
    background: none;
    border: none;
    color: #4F46E5;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    cursor: pointer;
}

.auth-form-content .alert[b-e0w92x6fhw] {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-form-content .alert-danger[b-e0w92x6fhw] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.auth-form-content .alert-success[b-e0w92x6fhw] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #dcfce7;
}

.auth-footer[b-e0w92x6fhw] {
    margin-top: 32px;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.auth-footer a[b-e0w92x6fhw] {
    color: #4F46E5;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover[b-e0w92x6fhw] {
    text-decoration: underline;
}

.reset-account-info[b-e0w92x6fhw] {
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #4F46E5;
}

.reset-account-info i[b-e0w92x6fhw] {
    font-size: 1.1rem;
}


/* ============================================================
   6. REFERRAL / MASTER PAGES
   ============================================================ */
.referral-page[b-e0w92x6fhw] {
    padding: 10px 14px;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif;
}

.referral-header[b-e0w92x6fhw] {
    margin-bottom: 24px;
}

.referral-header h2[b-e0w92x6fhw] {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.referral-header p[b-e0w92x6fhw] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.referral-header .branch-label[b-e0w92x6fhw],
.referral-header .header-counter[b-e0w92x6fhw] {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.referral-header .branch-pill[b-e0w92x6fhw] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
    vertical-align: middle;
    min-width: 30px;
    justify-content: center;
}

.header-actions[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-search-input[b-e0w92x6fhw] {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    outline: none;
    width: 250px;
    background-color: #f8fafc;
    transition: width 0.3s, border-color 0.2s;
}

.header-search-input:focus[b-e0w92x6fhw] {
    width: 300px;
    border-color: var(--lc-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.add-referral-section[b-e0w92x6fhw] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.add-referral-section:hover[b-e0w92x6fhw] {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.section-header[b-e0w92x6fhw] {
    display: flex;
    gap: 16px;
    align-items: center;
}

.section-icon-large[b-e0w92x6fhw] {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

.section-header h3[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
}

.section-header p[b-e0w92x6fhw] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    margin-left: 64px;
}

.referral-content[b-e0w92x6fhw] {
    background-color: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 32px;
}

.btn-new-entry[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-new-entry:hover[b-e0w92x6fhw] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-action-outline[b-e0w92x6fhw] {
    background: white;
    color: #4f46e5;
    border: 2px solid #e0e7ff;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.btn-action-outline:hover[b-e0w92x6fhw] {
    transform: translateY(-2px);
    border-color: #4f46e5;
    background-color: #f5f7ff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
}

.td-uhid[b-e0w92x6fhw] {
    font-weight: 600;
    color: #4f46e5;
}

.td-mono[b-e0w92x6fhw] {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
}

.search-controls[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* ============================================================
   7. MASTER FORM MODAL
   ============================================================ */
.modal-overlay[b-e0w92x6fhw] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

/* Modal container (form-card inside overlay) */
.modal-form-card[b-e0w92x6fhw] {
    position: relative;
    padding: 0;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    width: 98% !important;
    max-width: 1700px !important;
    height: 93vh !important;
    max-height: 95vh !important;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: slideDownFade 0.3s ease-out;
}

/* Lab Test Master Table Styles */
.tm-table-input[b-e0w92x6fhw],
.tm-table-select[b-e0w92x6fhw] {
    width: 100%;
    height: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 11px;
    background-color: #fff;
    color: #1e293b;
    outline: none;
    transition: all 0.2s;
}

.tm-table-input:focus[b-e0w92x6fhw],
.tm-table-select:focus[b-e0w92x6fhw] {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.tm-btn-icon-red[b-e0w92x6fhw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 4px;
    background-color: #fef2f2;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-icon-red:hover[b-e0w92x6fhw] {
    background-color: #fee2e2;
    color: #dc2626;
    transform: scale(1.05);
}

.tm-param-input[b-e0w92x6fhw] {
    width: 100%;
    height: 24px;
    border: none;
    background: transparent;
    font-size: 11px;
    color: #1e293b;
    outline: none;
    padding: 0 4px;
}

.modal-form-card form[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

/* Modal header bar */
.modal-header-bar[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-e0w92x6fhw] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-e0w92x6fhw] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-e0w92x6fhw] {
    color: #ef4444;
    background: #fef2f2;
}

/* Master Autocomplete Dropdown */
.master-search-dropdown[b-e0w92x6fhw] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    padding: 0;
    margin-top: 4px;
}

.master-search-item[b-e0w92x6fhw] {
    width: 100%;
    text-align: left;
    padding: 10px 16px;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    color: #475569;
    transition: background 0.2s;
}

.master-search-item:hover[b-e0w92x6fhw] {
    background: #f8fafc;
    color: #4f46e5;
}

.master-search-item:last-child[b-e0w92x6fhw] {
    border-bottom: none;
}

/* Modal scrollable body */
.modal-body[b-e0w92x6fhw] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

/* Modal footer / action bar */
.modal-footer-bar[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

/* Billing Patient Search Dropdown */
.customer-search-dropdown[b-e0w92x6fhw] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    max-height: 280px;
    overflow-y: auto;
    margin-top: 8px;
    padding: 8px;
}

.customer-search-item[b-e0w92x6fhw] {
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8fafc;
}

.customer-search-item:last-child[b-e0w92x6fhw] {
    border-bottom: none;
}

.customer-search-item:hover[b-e0w92x6fhw] {
    background-color: #f1f5f9;
}

.cs-name[b-e0w92x6fhw] {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.cs-details[b-e0w92x6fhw] {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Test Search Dropdown */
.test-search-dropdown[b-e0w92x6fhw] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1060;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    margin-top: 8px;
    padding: 8px;
}

.test-search-item[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8fafc;
}

.test-search-item:last-child[b-e0w92x6fhw] {
    border-bottom: none;
}

.test-search-item:hover[b-e0w92x6fhw] {
    background-color: #f1f5f9;
}

.ts-info[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ts-name[b-e0w92x6fhw] {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.ts-code[b-e0w92x6fhw] {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
}

.ts-price[b-e0w92x6fhw] {
    font-size: 14px;
    font-weight: 800;
    color: #4f46e5;
}


/* ============================================================
   8. FORM CARD (inline, non-modal)
   ============================================================ */
.form-card[b-e0w92x6fhw] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    animation: slideDownFade 0.4s ease-out;
}

.form-section[b-e0w92x6fhw] {
    margin-bottom: 32px;
}

.form-section:last-child[b-e0w92x6fhw] {
    margin-bottom: 0;
}

.section-title[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.section-icon[b-e0w92x6fhw] {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

.section-icon svg[b-e0w92x6fhw] {
    width: 14px;
    height: 14px;
}

.form-row[b-e0w92x6fhw] {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.form-row:last-child[b-e0w92x6fhw] {
    margin-bottom: 0;
}

.form-group[b-e0w92x6fhw] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width[b-e0w92x6fhw] {
    flex: 1 1 100%;
}

.form-group label[b-e0w92x6fhw] {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

/* Form control (legacy) */
.form-control[b-e0w92x6fhw] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    width: 100%;
}

.form-control:focus[b-e0w92x6fhw] {
    background: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-control[b-e0w92x6fhw]::placeholder {
    color: #94a3b8;
}

select.form-control[b-e0w92x6fhw] {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    color: #1e293b !important;
    background-color: #ffffff !important;
    height: 40px !important;
    font-size: 14px !important;
    padding: 0 40px 0 16px !important;
    line-height: 40px !important;
}

select.form-control option[b-e0w92x6fhw] {
    color: #1e293b !important;
    background-color: #ffffff !important;
    padding: 8px !important;
}

textarea.form-control[b-e0w92x6fhw] {
    min-height: 80px;
    resize: vertical;
}

/* Form column layouts */
.form-cols-4[b-e0w92x6fhw] {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.form-cols-5[b-e0w92x6fhw] {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.form-cols-4-area[b-e0w92x6fhw] {
    grid-template-columns: 120px 1.5fr 1.5fr 2fr;
}

.form-cols-3-city[b-e0w92x6fhw] {
    grid-template-columns: 1fr 1fr;
}

/* ============================================================
   17. BRANCH MASTER - REFACTORED
   ============================================================ */
.branch-master-container[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 5rem);
    /* Adjust based on MainLayout header if any */
    background-color: #f8fafc;
}

.branch-master-header[b-e0w92x6fhw] {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.branch-master-content[b-e0w92x6fhw] {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ============================================================
   17. TEST MASTER REDESIGN (Dynamic Dashboard)
   ============================================================ */
.tm-container[b-e0w92x6fhw] {
    padding: 24px;
    background-color: #f8fafc;
    min-height: 100vh;
}

.tm-dashboard-card[b-e0w92x6fhw] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.tm-grid-row-1[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.tm-grid-row-2[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.tm-grid-row-3[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 32px;
}

.tm-label-upper[b-e0w92x6fhw] {
    font-size: 10px;
    font-weight: 800;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.tm-input-premium[b-e0w92x6fhw] {
    height: 44px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    padding: 0 16px !important;
    transition: all 0.2s ease;
}

.tm-input-premium:focus[b-e0w92x6fhw] {
    background: #ffffff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}

.tm-radio-tile-group[b-e0w92x6fhw] {
    display: flex;
    gap: 24px;
    align-items: center;
}

.tm-radio-item[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.tm-radio-dot[b-e0w92x6fhw] {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.tm-radio-item:hover .tm-radio-dot[b-e0w92x6fhw] {
    border-color: #6366f1;
}

input[type="radio"]:checked+.tm-radio-dot[b-e0w92x6fhw] {
    border-color: #6366f1;
    background-color: #ffffff;
}

input[type="radio"]:checked+.tm-radio-dot[b-e0w92x6fhw]::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #6366f1;
    border-radius: 50%;
}

/* Split Layout */
.tm-split-layout[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

.tm-left-panel[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tm-panel-card[b-e0w92x6fhw] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.tm-panel-header[b-e0w92x6fhw] {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.tm-param-list-premium[b-e0w92x6fhw] {
    padding: 8px 0;
}

.tm-param-row[b-e0w92x6fhw] {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.2s;
}

.tm-param-row:hover[b-e0w92x6fhw] {
    background: #f8fafc;
}

.tm-check-circle[b-e0w92x6fhw] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.tm-check-circle.checked[b-e0w92x6fhw] {
    background: #6366f1;
    border-color: #6366f1;
}

.tm-check-circle.checked span[b-e0w92x6fhw] {
    font-size: 14px;
}

.tm-panel-footer[b-e0w92x6fhw] {
    padding: 16px 20px;
    background: #fdfdfd;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Settings Card (Right Side) */
.tm-settings-card[b-e0w92x6fhw] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.tm-settings-top[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.tm-tabs-row[b-e0w92x6fhw] {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 24px;
    padding: 0 8px;
}

.tm-tab-item[b-e0w92x6fhw] {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    padding: 12px 0;
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
}

.tm-tab-item.active[b-e0w92x6fhw] {
    color: #6366f1;
}

.tm-tab-item.active[b-e0w92x6fhw]::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #6366f1;
    border-radius: 3px 3px 0 0;
}

.tm-template-box[b-e0w92x6fhw] {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 24px;
}

.tm-editor-toolbar[b-e0w92x6fhw] {
    padding: 8px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-editor-textarea[b-e0w92x6fhw] {
    width: 100%;
    min-height: 140px;
    padding: 20px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    color: #475569;
    resize: none;
    background: #ffffff;
}

.tm-settings-footer[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.btn-update-premium[b-e0w92x6fhw] {
    padding: 12px 32px;
    background: #ffffff;
    border: 1px solid #ffedd5;
    color: #f97316;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-update-premium:hover[b-e0w92x6fhw] {
    background: #fff7ed;
    border-color: #fdba74;
}

.btn-profile-black[b-e0w92x6fhw] {
    background: #1e293b;
    color: white;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s;
}

.btn-profile-black:hover[b-e0w92x6fhw] {
    background: var(--lc-secondary);
    transform: translateY(-1px);
}

.branch-master-footer[b-e0w92x6fhw] {
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-cols-branch-1[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.form-cols-branch-2[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.btn-branch-save[b-e0w92x6fhw] {
    background-color: #4C51BF !important;
    color: white !important;
}

.btn-branch-delete[b-e0w92x6fhw] {
    background-color: #E53E3E !important;
    color: white !important;
}

.btn-branch-close[b-e0w92x6fhw] {
    background-color: #4A5568 !important;
    color: white !important;
}

.branch-alert[b-e0w92x6fhw] {
    background-color: #FFF5F5 !important;
    border: 1px solid #FED7D7 !important;
    color: #C53030 !important;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.header-search-icon[b-e0w92x6fhw] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lc-slate-400);
}

.branch-color-preview[b-e0w92x6fhw] {
    width: 38px;
    height: 38px;
    padding: 2px;
    border-radius: 8px;
    border: 1px solid var(--lc-border);
    background: white;
    cursor: pointer;
}

.form-group-span-2[b-e0w92x6fhw] {
    grid-column: span 2;
}

.branch-table-wrapper[b-e0w92x6fhw] {
    max-height: 400px;
    overflow-y: auto;
}

.btn-table-action[b-e0w92x6fhw] {
    min-width: 32px;
}

.form-cols-counter-1[b-e0w92x6fhw] {
    grid-template-columns: 2fr 1fr 2fr 1fr;
}

.form-cols-counter-2[b-e0w92x6fhw] {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.form-cols-counter-3[b-e0w92x6fhw] {
    grid-template-columns: 1fr 3fr;
}

.custom-grid-general-1[b-e0w92x6fhw] {
    grid-template-columns: 80px 1.2fr 1.2fr 1fr 1.2fr 1fr;
}

.custom-grid-general-2[b-e0w92x6fhw] {
    grid-template-columns: 1fr 1fr 2fr;
}

.custom-grid-billing-1[b-e0w92x6fhw] {
    grid-template-columns: 1.2fr 1.5fr 1fr 1fr;
}

.custom-grid-billing-2[b-e0w92x6fhw] {
    grid-template-columns: 1fr 1fr 2fr;
}

.custom-grid-comm-1[b-e0w92x6fhw],
.custom-grid-comm-2[b-e0w92x6fhw],
.custom-grid-comm-3[b-e0w92x6fhw] {
    grid-template-columns: repeat(4, 1fr);
}

.custom-grid-comm-4[b-e0w92x6fhw] {
    grid-template-columns: 2fr 1fr 1fr;
}

/* Pay type buttons */
.pay-type-buttons[b-e0w92x6fhw] {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
    box-sizing: border-box;
}

.pay-btn[b-e0w92x6fhw] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.pay-btn:hover[b-e0w92x6fhw] {
    color: #1e293b;
}

.pay-btn.active[b-e0w92x6fhw] {
    background: #ffffff;
    color: #6366f1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.sms-alert[b-e0w92x6fhw] {
    color: #ef4444;
    font-size: 10px;
    margin-top: 6px;
}

/* Form actions bar */
.form-actions[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.running-total[b-e0w92x6fhw] {
    margin-right: auto;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.total-label[b-e0w92x6fhw] {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
}

.total-amount[b-e0w92x6fhw] {
    font-size: 20px;
    font-weight: 700;
    color: #6366f1;
}

.btn-delete[b-e0w92x6fhw] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-close[b-e0w92x6fhw] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    transition: all 0.2s;
}

.btn-close:hover[b-e0w92x6fhw] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-save[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-e0w92x6fhw] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.error-input[b-e0w92x6fhw] {
    border-color: #ef4444 !important;
    background-color: #ffffff !important;
}

.error-text[b-e0w92x6fhw] {
    color: #ef4444 !important;
}


/* ============================================================
   9. DIRECTORY TABLE
   ============================================================ */
.directory-section[b-e0w92x6fhw] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.directory-header[b-e0w92x6fhw] {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.directory-header h3[b-e0w92x6fhw] {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.directory-controls[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-controls[b-e0w92x6fhw] {
    display: flex;
    gap: 12px;
}

.show-entries[b-e0w92x6fhw] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 13px;
    color: #475569;
    outline: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-filter[b-e0w92x6fhw],
.btn-export[b-e0w92x6fhw] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-filter:hover[b-e0w92x6fhw],
.btn-export:hover[b-e0w92x6fhw] {
    background: #f1f5f9;
}

.table-wrapper[b-e0w92x6fhw] {
    overflow-x: auto;
}

.directory-table[b-e0w92x6fhw] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.directory-table th[b-e0w92x6fhw] {
    background: #6366f1;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 24px;
}

.directory-table td[b-e0w92x6fhw] {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
    color: #475569;
    vertical-align: middle;
}

.directory-table tbody tr:hover[b-e0w92x6fhw] {
    background: #f8fafc;
}

/* Directory table cell helpers */
.td-order-no[b-e0w92x6fhw] {
    color: #6366f1;
    font-weight: 700;
}

.td-name[b-e0w92x6fhw] {
    font-weight: 600;
    color: #1e293b;
}

.td-narration[b-e0w92x6fhw] {
    color: #94a3b8;
    font-size: 13px;
}

.code-link[b-e0w92x6fhw] {
    color: #6366f1;
    font-weight: 700;
    cursor: pointer;
}

.doctor-name[b-e0w92x6fhw] {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.doctor-email[b-e0w92x6fhw] {
    font-size: 12px;
    color: #94a3b8;
}

/* Status badges */
.status-badge[b-e0w92x6fhw] {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-active[b-e0w92x6fhw] {
    background: #dcfce7;
    color: #16a34a;
}

.status-inactive[b-e0w92x6fhw] {
    background: #fee2e2;
    color: #dc2626;
}

.status-progress[b-e0w92x6fhw] {
    background: #fef3c7;
    color: #d97706;
}

/* Table action buttons */
.btn-action[b-e0w92x6fhw] {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 14px;
    padding: 4px 8px;
    transition: color 0.2s;
}

.btn-edit:hover[b-e0w92x6fhw] {
    color: #6366f1;
}

.btn-delete-action:hover[b-e0w92x6fhw] {
    color: #ef4444;
}


/* ============================================================
   10. CUSTOM CARD (Counter / Branch inline layout)
   ============================================================ */
.custom-card[b-e0w92x6fhw] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.custom-card .form-control[b-e0w92x6fhw] {
    height: 32px;
    padding: 0.25rem 0.5rem;
    font-size: 13px;
    border-radius: 6px;
}

.custom-card .form-label[b-e0w92x6fhw] {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.custom-card select.form-control[b-e0w92x6fhw] {
    height: 40px !important;
    line-height: normal !important;
}

/* Lab header card */
.lab-header-card[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
}

.lab-title-text[b-e0w92x6fhw] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

/* Lab Header Variations */
.lab-header-card.flex-between[b-e0w92x6fhw] {
    justify-content: space-between;
    margin-bottom: 12px;
}

/* Lab header sub-elements */
.lab-header-ops-badge[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.lab-header-ops-label[b-e0w92x6fhw] {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
}

.lab-header-ops-value[b-e0w92x6fhw] {
    color: var(--lc-secondary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.lab-header-ops-placeholder[b-e0w92x6fhw] {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
}

.lab-header-tenant-pill[b-e0w92x6fhw] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.lab-header-active-pill[b-e0w92x6fhw] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

/* Lab input (shared) */
.lab-input[b-e0w92x6fhw] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lab-input:focus[b-e0w92x6fhw] {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lab-input-lg[b-e0w92x6fhw] {
    padding: 1rem 1rem;
    font-size: 1rem;
    min-height: 48px;
}

.lab-input-lg:focus[b-e0w92x6fhw] {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Tab buttons */
.btn-tab[b-e0w92x6fhw] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-right: none;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    outline: none;
}

.btn-tab:last-child[b-e0w92x6fhw] {
    border-right: 1px solid #e2e8f0;
}

.active-tab[b-e0w92x6fhw] {
    background: white;
    color: #1e293b;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid white;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
}

.active-tab+.btn-tab[b-e0w92x6fhw] {
    border-left: none;
}


/* ============================================================
   11. BRANCH / COUNTER PAGE — SECTION CARDS
   ============================================================ */
.page-section-card[b-e0w92x6fhw] {
    background: white;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-section-card-header[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    background: #f8fafc;
}

.page-section-card-header h3[b-e0w92x6fhw] {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #1e293b;
    margin: 0;
}

.page-section-card-count[b-e0w92x6fhw] {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary, #4f46e5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Global Spacing Utilities */
.mb-0[b-e0w92x6fhw] {
    margin-bottom: 0 !important;
}

.mb-6[b-e0w92x6fhw] {
    margin-bottom: 24px !important;
}

.mt-6[b-e0w92x6fhw] {
    margin-top: 24px !important;
}

.text-center[b-e0w92x6fhw] {
    text-align: center !important;
}

.p-24[b-e0w92x6fhw] {
    padding: 24px !important;
}

/* Color dot used in branch/counter lists */
.color-dot[b-e0w92x6fhw] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Branch / counter table scrollable wrapper */
.scrollable-table-wrapper[b-e0w92x6fhw] {
    max-height: 400px;
    overflow-y: auto;
}

/* Branch form sub-heading */
.form-section-heading[b-e0w92x6fhw] {
    margin: 0 0 1.5rem 0;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #1e293b;
}

/* Branch Type checkbox row */
.branch-type-row[b-e0w92x6fhw] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    height: 40px;
    padding-left: 4px;
}

.branch-type-label[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
}

/* Card footer actions */
.card-footer-actions[b-e0w92x6fhw] {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color, #e2e8f0);
    background: white;
    border-radius: 1rem;
}

.footer-left-controls[b-e0w92x6fhw] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-right-controls[b-e0w92x6fhw] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.display-active-label[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
}

.btn-footer-cancel[b-e0w92x6fhw] {
    background: transparent;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    cursor: pointer;
}

.btn-footer-delete[b-e0w92x6fhw] {
    background: #ef4444;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn-footer-save[b-e0w92x6fhw] {
    background: var(--primary, #4f46e5);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn-footer-close[b-e0w92x6fhw] {
    background: #64748b;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn-footer-delete:disabled[b-e0w92x6fhw],
.btn-footer-save:disabled[b-e0w92x6fhw] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Alert messages (branch / counter inline) */
.alert[b-e0w92x6fhw] {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.alert-error[b-e0w92x6fhw] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.alert-success[b-e0w92x6fhw] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #dcfce7;
}


/* ============================================================
   12. COUNTER PAGE — CARD HEADER / BODY
   ============================================================ */
.card-header-bar[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    padding: 1.5rem;
    background: white;
}

.card-header-left[b-e0w92x6fhw] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.card-header-title[b-e0w92x6fhw] {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.card-header-subtitle[b-e0w92x6fhw] {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.card-header-right[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-input-wrapper[b-e0w92x6fhw] {
    position: relative;
    width: 250px;
}

.search-input-wrapper .search-icon[b-e0w92x6fhw] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted, #64748b);
    font-size: 1.25rem;
    pointer-events: none;
}

/* Color input row */
.color-input-row[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 40px;
}

.color-input-value[b-e0w92x6fhw] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
}

.active-checkbox-label[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.active-checkbox-label span[b-e0w92x6fhw] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary, #4f46e5);
}


/* ============================================================
   13. BADGES (legacy support)
   ============================================================ */
.badge[b-e0w92x6fhw] {
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-success[b-e0w92x6fhw] {
    background-color: #dcfce7;
    color: #15803d;
}

.badge-warning[b-e0w92x6fhw] {
    background-color: #fef3c7;
    color: #b45309;
}

.badge-danger[b-e0w92x6fhw] {
    background-color: #fee2e2;
    color: #b91c1c;
}



/* ============================================================
   14. FORGOT PASSWORD PAGE
   ============================================================ */
.auth-page-wrapper[b-e0w92x6fhw] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.background-mesh[b-e0w92x6fhw] {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 0.1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0.1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0.1) 0, transparent 50%);
    z-index: 0;
}

.auth-container[b-e0w92x6fhw] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.auth-card[b-e0w92x6fhw] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.brand-section[b-e0w92x6fhw] {
    padding: 40px 40px 20px;
    text-align: center;
}

.logo-circle[b-e0w92x6fhw] {
    width: 64px;
    height: 64px;
    background: #4F46E5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.brand-section h2[b-e0w92x6fhw] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.brand-section p[b-e0w92x6fhw] {
    color: #64748b;
    font-size: 0.875rem;
}

.auth-form-content[b-e0w92x6fhw] {
    padding: 0 40px 40px;
}

.form-title[b-e0w92x6fhw] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-subtitle[b-e0w92x6fhw] {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.auth-page-wrapper .form-group[b-e0w92x6fhw] {
    margin-bottom: 20px;
}

.auth-page-wrapper .form-group label[b-e0w92x6fhw] {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
}

.input-container[b-e0w92x6fhw] {
    position: relative;
}

.input-container i[b-e0w92x6fhw] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.auth-page-wrapper .form-control[b-e0w92x6fhw] {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.auth-page-wrapper .form-control:focus[b-e0w92x6fhw] {
    background: #fff;
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.auth-page-wrapper .btn-primary[b-e0w92x6fhw] {
    width: 100%;
    padding: 12px;
    background: #4F46E5;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    transition: all 0.2s;
    margin-top: 10px;
}

.auth-page-wrapper .btn-primary:hover:not(:disabled)[b-e0w92x6fhw] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.2);
}

.auth-page-wrapper .btn-primary:active[b-e0w92x6fhw] {
    transform: translateY(0);
}

.btn-link[b-e0w92x6fhw] {
    background: none;
    border: none;
    color: #4F46E5;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    cursor: pointer;
}

.alert-danger[b-e0w92x6fhw] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.auth-footer[b-e0w92x6fhw] {
    margin-top: 32px;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.auth-footer a[b-e0w92x6fhw] {
    color: #4F46E5;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover[b-e0w92x6fhw] {
    text-decoration: underline;
}

.reset-account-info[b-e0w92x6fhw] {
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #4F46E5;
}

.reset-account-info i[b-e0w92x6fhw] {
    font-size: 1.1rem;
}


/* ============================================================
   15. LOGIN PAGE
   ============================================================ */
.login-page-wrapper[b-e0w92x6fhw] {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--lc-secondary) 0%, #1e1b4b 50%, var(--lc-secondary) 100%);
}

.login-bg-pattern[b-e0w92x6fhw] {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 60% at 10% 20%, rgba(99, 102, 241, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 90% 80%, rgba(124, 58, 237, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    z-index: 0;
    animation: bgShift-b-e0w92x6fhw 12s ease-in-out infinite alternate;
}

@keyframes bgShift-b-e0w92x6fhw {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.7;
    }
}

.login-container[b-e0w92x6fhw] {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    min-height: 100vh;
}

.login-content[b-e0w92x6fhw] {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-card[b-e0w92x6fhw] {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 44px 40px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.5s ease-out;
}

.brand-logo[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.brand-logo-rect[b-e0w92x6fhw] {
    fill: #6366f1;
}

.brand-logo-path[b-e0w92x6fhw] {
    fill: white;
}

.brand-name[b-e0w92x6fhw] {
    font-size: 1.375rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.brand-subtitle[b-e0w92x6fhw] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #818cf8;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.login-title[b-e0w92x6fhw] {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: -0.75px;
}

.login-subtitle[b-e0w92x6fhw] {
    color: rgba(148, 163, 184, 0.9);
    font-size: 0.825rem;
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.6;
}

.login-form-group[b-e0w92x6fhw] {
    margin-bottom: 14px;
}

.input-wrapper[b-e0w92x6fhw] {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon[b-e0w92x6fhw] {
    position: absolute;
    left: 14px;
    color: rgba(148, 163, 184, 0.7);
    pointer-events: none;
    display: flex;
    align-items: center;
    z-index: 1;
}

.login-input[b-e0w92x6fhw] {
    width: 100%;
    padding: 14px 16px 14px 46px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    font-size: 0.875rem;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.25s ease;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.login-input:focus[b-e0w92x6fhw] {
    background: rgba(255, 255, 255, 0.12);
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.login-input[b-e0w92x6fhw]::placeholder {
    color: rgba(148, 163, 184, 0.6);
    font-weight: 400;
}

.password-toggle[b-e0w92x6fhw] {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(148, 163, 184, 0.7);
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.password-toggle:hover[b-e0w92x6fhw] {
    color: #a5b4fc;
}

.status-message[b-e0w92x6fhw] {
    color: #fca5a5;
    font-size: 0.8rem;
    text-align: center;
    padding: 10px 14px;
    margin-bottom: 8px;
    font-weight: 500;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
}

.btn-login[b-e0w92x6fhw] {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 60%, #4338ca 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-login[b-e0w92x6fhw]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover:not(:disabled)[b-e0w92x6fhw]::before {
    left: 100%;
}

.btn-login:hover:not(:disabled)[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 60%, #4f46e5 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

.btn-login:active[b-e0w92x6fhw] {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
}

.btn-login:disabled[b-e0w92x6fhw] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.forgot-password[b-e0w92x6fhw] {
    text-align: right;
    margin: 14px 0 0;
}

.forgot-password a[b-e0w92x6fhw] {
    color: rgba(148, 163, 184, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password a:hover[b-e0w92x6fhw] {
    color: #a5b4fc;
}

.login-footer-text[b-e0w92x6fhw] {
    text-align: center;
    margin-top: 28px;
    font-size: 0.825rem;
    color: rgba(148, 163, 184, 0.7);
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.register-link[b-e0w92x6fhw] {
    color: #a5b4fc;
    font-weight: 700;
    text-decoration: none;
}

.register-link:hover[b-e0w92x6fhw] {
    color: #818cf8;
    text-decoration: underline;
}

.login-bottom-footer[b-e0w92x6fhw] {
    text-align: center;
    padding: 24px 0 8px;
}

.footer-link[b-e0w92x6fhw] {
    color: rgba(100, 116, 139, 0.7);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover[b-e0w92x6fhw] {
    color: #818cf8;
}

.footer-separator[b-e0w92x6fhw] {
    color: rgba(203, 213, 225, 0.3);
    margin: 0 12px;
    font-size: 0.5rem;
}

/* Branch color input */
.branch-color-input[b-e0w92x6fhw] {
    width: 42px;
    height: 42px;
    padding: 2px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.branch-color-input:hover[b-e0w92x6fhw] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Table status indicator dot (replaces color-dot) */
.table-status-indicator[b-e0w92x6fhw] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}


/* ============================================================
   16. REFERRAL MASTER PAGE
   ============================================================ */
.referral-header-details[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
}

.referral-subtitle[b-e0w92x6fhw] {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 600;
    margin: 0;
}

.search-wrapper[b-e0w92x6fhw] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-icon-inline[b-e0w92x6fhw] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.search-input-pill[b-e0w92x6fhw] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    color: #1e293b;
    outline: none;
    width: 200px;
    transition: all 0.2s;
}

.search-input-pill:focus[b-e0w92x6fhw] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.doctor-detail-cell[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.doctor-avatar[b-e0w92x6fhw] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e7ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.tm-dropdown-item[b-e0w92x6fhw] {
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-dropdown-item:hover[b-e0w92x6fhw] {
    background: #f1f5f9;
}

.tm-dropdown-name[b-e0w92x6fhw] {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
}

.tm-dropdown-shortname[b-e0w92x6fhw] {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.tm-input-accent[b-e0w92x6fhw] {
    border: 1.5px solid #cbd5e1 !important;
    background: white !important;
    font-weight: 500 !important;
}

.tm-input-accent:focus[b-e0w92x6fhw] {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

.doctor-info-text[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
}

/* ============================================================
   12. TEST MASTER PANEL ACTIONS
   ============================================================ */
.tm-panel-header[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-center: items-center;
    padding: 16px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.tm-panel-badge[b-e0w92x6fhw] {
    padding: 4px 12px;
    background: #eef2ff;
    color: #4f46e5;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.tm-panel-title[b-e0w92x6fhw] {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.tm-btn-outline[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-outline:hover[b-e0w92x6fhw] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.tm-btn-primary[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #4f46e5;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    transition: all 0.2s;
}

.tm-btn-primary:hover[b-e0w92x6fhw] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.tm-btn-danger[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff1f2;
    border: 1.5px solid #fecdd3;
    border-radius: 12px;
    color: #e11d48;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-danger:hover[b-e0w92x6fhw] {
    background: #ffe4e6;
    border-color: #fda4af;
    color: #be123c;
}

.doctor-name-text[b-e0w92x6fhw] {
    font-weight: 600;
    color: #1e293b;
}

.doctor-email-text[b-e0w92x6fhw] {
    font-size: 11px;
    color: #64748b;
}

.form-grid-prefix[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
}

.form-grid-doctor-details[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.form-grid-two-cols[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pay-type-buttons[b-e0w92x6fhw] {
    display: flex;
    gap: 8px;
}

.pay-btn[b-e0w92x6fhw] {
    flex: 1;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    color: #64748b;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.pay-btn.active[b-e0w92x6fhw] {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}

/* Directory Section & Table */
.directory-section[b-e0w92x6fhw] {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-top: 0;
}

.directory-header[b-e0w92x6fhw] {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.directory-header h3[b-e0w92x6fhw] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.table-wrapper[b-e0w92x6fhw] {
    overflow-x: auto;
    padding: 0;
}

.directory-table[b-e0w92x6fhw] {
    width: 100%;
    border-collapse: collapse;
}

.directory-table th[b-e0w92x6fhw] {
    background-color: #f8fafc;
    padding: 12px 24px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #f1f5f9;
}

.directory-table td[b-e0w92x6fhw] {
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #475569;
}

.directory-table tr:hover[b-e0w92x6fhw] {
    background-color: #f8fafc;
}

.code-link[b-e0w92x6fhw] {
    font-weight: 700;
    color: #4f46e5;
}

.btn-action[b-e0w92x6fhw] {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0 2px;
}

.btn-edit:hover:not(:disabled)[b-e0w92x6fhw] {
    border-color: #6366f1;
    color: #6366f1;
}

.btn-delete-action:hover:not(:disabled)[b-e0w92x6fhw] {
    border-color: #ef4444;
    color: #ef4444;
}

.btn-action:disabled[b-e0w92x6fhw] {
    opacity: 0.5;
    cursor: not-allowed;
}

.doctor-name[b-e0w92x6fhw] {
    font-weight: 700;
    color: #1e293b;
}

.doctor-email[b-e0w92x6fhw] {
    font-size: 12px;
    color: #64748b;
}

.pagination-footer[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid #f1f5f9;
    background-color: #fff;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.pagination-info[b-e0w92x6fhw] {
    font-size: 13px;
    color: #64748b;
}

.pagination-info-highlight[b-e0w92x6fhw] {
    font-weight: 600;
    color: #334155;
}

.pagination-btns[b-e0w92x6fhw] {
    display: flex;
    gap: 6px;
}

.pagination-btns .page-btn[b-e0w92x6fhw] {
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.pagination-btns .page-btn:hover:not(.active):not(:disabled)[b-e0w92x6fhw] {
    border-color: #cbd5e1 !important;
    background-color: #f8fafc !important;
    color: #4f46e5 !important;
}

.pagination-btns .page-btn:disabled[b-e0w92x6fhw] {
    cursor: not-allowed !important;
    opacity: 0.4 !important;
}

.pagination-btns .page-btn.active[b-e0w92x6fhw] {
    border-color: #4f46e5 !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    cursor: default !important;
}

.page-btn-icon[b-e0w92x6fhw] {
    width: 32px;
}

/* ============================================================
   17. BRANCH MASTER PAGE
   ============================================================ */
.branch-ops-tag[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.branch-ops-label[b-e0w92x6fhw] {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
}

.branch-ops-value[b-e0w92x6fhw] {
    color: var(--lc-secondary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.branch-ops-placeholder[b-e0w92x6fhw] {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
}

.tenant-pill[b-e0w92x6fhw] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.form-cols-branch-1[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.form-cols-branch-2[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.color-input-container[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.branch-color-input[b-e0w92x6fhw] {
    width: 3rem;
    height: 2.25rem;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 0.5rem;
    padding: 2px;
    background: white;
    cursor: pointer;
}

.branch-type-group[b-e0w92x6fhw] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    height: 40px;
    padding-left: 4px;
}

.branch-type-label[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
}

.table-status-indicator[b-e0w92x6fhw] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.btn-delete-solid[b-e0w92x6fhw] {
    background: #ef4444;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

.btn-save-solid[b-e0w92x6fhw] {
    background: var(--primary, #4f46e5);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

.btn-close-solid[b-e0w92x6fhw] {
    background: #64748b;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

/* ============================================================
   18. MODIFY TEST MASTER PAGE
   ============================================================ */
.test-master-actions[b-e0w92x6fhw] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.test-master-action-item[b-e0w92x6fhw] {
    color: var(--primary, #4f46e5);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.8125rem;
    text-transform: uppercase;
}

.test-master-grid-1[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.5fr 2fr 2fr 1fr;
    gap: 1rem;
}

.test-master-grid-2[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.test-master-grid-settings[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.test-dropdown-overlay[b-e0w92x6fhw] {
    position: absolute;
    background: #ffffff;
    border: 1px solid var(--primary, #4f46e5);
    border-top: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    top: 100%;
    left: 0;
    right: -150%;
    z-index: 100;
    max-height: 15rem;
    overflow-y: auto;
}

.test-dropdown-item[b-e0w92x6fhw] {
    display: flex;
    cursor: pointer;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.875rem;
}

.test-dropdown-name[b-e0w92x6fhw] {
    flex-grow: 1;
    padding: 0.5rem 0.75rem;
    border-right: 1px solid #e2e8f0;
    color: #1e293b;
}

.test-dropdown-group[b-e0w92x6fhw] {
    padding: 0.5rem 0.75rem;
    color: #64748b;
    width: 150px;
}

.param-list-card[b-e0w92x6fhw] {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 0.75rem;
    overflow: hidden;
    width: 320px;
}

.param-header[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.param-circle[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
}

.template-editor-header[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color, #e2e8f0);
    border-bottom: 0;
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 0.5rem 0.75rem;
    background-color: #f8fafc;
}

.template-editor-toolbar[b-e0w92x6fhw] {
    display: flex;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    color: #1e293b;
}

.template-editor-textarea[b-e0w92x6fhw] {
    border-color: var(--border-color, #e2e8f0);
    border-top: 0;
    border-radius: 0 0 0.5rem 0.5rem;
    resize: none;
    box-shadow: none;
}

.graph-toggle[b-e0w92x6fhw] {
    position: relative;
    display: inline-block;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    width: 28px;
    height: 16px;
    background-color: #f1f5f9;
}

.graph-toggle-thumb[b-e0w92x6fhw] {
    position: absolute;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    width: 12px;
    height: 12px;
    left: 1px;
    top: 1px;
}

.btn-update-orange[b-e0w92x6fhw] {
    background: transparent;
    border: 1px solid #f97316;
    color: #f97316;
    font-weight: 600;
    padding: 0.25rem 1.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    height: 32px;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-update-orange:hover[b-e0w92x6fhw] {
    background: #f97316;
    color: #ffffff;
}

/* ============================================================
   20. COUNTER MASTER PAGE
   ============================================================ */
.form-cols-counter-1[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 1fr;
    gap: 1.5rem;
}

.form-cols-counter-2[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.form-cols-counter-3[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 1.5rem;
}

.counter-color-preview[b-e0w92x6fhw] {
    width: 3rem;
    height: 2.25rem;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 0.5rem;
    padding: 2px;
    background: #ffffff;
    cursor: pointer;
}

.counter-dot[b-e0w92x6fhw] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

/* ============================================================
   21. RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1200px) {
    .custom-grid-general-1[b-e0w92x6fhw] {
        grid-template-columns: 80px 1fr 1.2fr 1fr;
    }

    .custom-grid-general-2[b-e0w92x6fhw] {
        grid-template-columns: 1fr 1fr;
    }

    .custom-grid-billing-1[b-e0w92x6fhw] {
        grid-template-columns: 1fr 1fr;
    }

    .custom-grid-comm-1[b-e0w92x6fhw],
    .custom-grid-comm-2[b-e0w92x6fhw],
    .custom-grid-comm-3[b-e0w92x6fhw] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .referral-page[b-e0w92x6fhw] {
        padding: 16px;
    }

    .referral-header[b-e0w92x6fhw] {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .header-actions[b-e0w92x6fhw] {
        width: 100%;
        flex-wrap: wrap;
    }

    .header-search-input[b-e0w92x6fhw] {
        width: 100% !important;
    }

    .form-row[b-e0w92x6fhw] {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .form-cols-4[b-e0w92x6fhw],
    .form-cols-4-area[b-e0w92x6fhw],
    .form-cols-3-city[b-e0w92x6fhw],
    .form-cols-branch-1[b-e0w92x6fhw],
    .form-cols-branch-2[b-e0w92x6fhw],
    .form-cols-branch-3[b-e0w92x6fhw],
    .form-cols-counter-1[b-e0w92x6fhw],
    .form-cols-counter-2[b-e0w92x6fhw],
    .form-cols-counter-3[b-e0w92x6fhw],
    .custom-grid-general-1[b-e0w92x6fhw],
    .custom-grid-general-2[b-e0w92x6fhw],
    .custom-grid-billing-1[b-e0w92x6fhw],
    .custom-grid-billing-2[b-e0w92x6fhw],
    .custom-grid-comm-1[b-e0w92x6fhw],
    .custom-grid-comm-2[b-e0w92x6fhw],
    .custom-grid-comm-3[b-e0w92x6fhw],
    .custom-grid-comm-4[b-e0w92x6fhw] {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   22. MASTER DATA COMMON STYLES (Area, City, State, Country)
   ============================================================ */
.form-cols-4-area[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.form-cols-3-city[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: repeat(2, 1fr) 2fr;
    gap: 1.5rem;
}

.master-search-dropdown[b-e0w92x6fhw] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 50;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.master-search-dropdown.show[b-e0w92x6fhw] {
    display: block;
}

.master-search-item[b-e0w92x6fhw] {
    width: 100%;
    padding: 10px 16px;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid var(--lc-slate-100);
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.master-search-item:hover[b-e0w92x6fhw] {
    background: var(--lc-slate-50);
}

.master-search-item:last-child[b-e0w92x6fhw] {
    border-bottom: none;
}

/* ============================================================
   23. MODIFY TEST MASTER - TABS CONTENT
   ============================================================ */
.tab-scroller[b-e0w92x6fhw] {
    margin-bottom: -1px;
}

.ref-table-wrapper[b-e0w92x6fhw] {
    height: 15rem;
    overflow: auto;
    border: 1px solid var(--lc-border);
}

.ref-table[b-e0w92x6fhw] {
    width: 100%;
    font-size: 0.75rem;
    border-collapse: collapse;
}

.ref-table th[b-e0w92x6fhw],
.ref-table td[b-e0w92x6fhw] {
    border: 1px solid var(--lc-border);
    padding: 0.25rem;
}

.ref-table .col-icon[b-e0w92x6fhw] {
    width: 2rem;
}

.ref-table .col-sex[b-e0w92x6fhw] {
    width: 25%;
}

.ref-table .star-big[b-e0w92x6fhw] {
    font-size: 1rem;
}

.lab-checkbox-sm[b-e0w92x6fhw] {
    width: 13px !important;
    height: 13px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    cursor: pointer !important;
}

.lab-radio-sm[b-e0w92x6fhw] {
    margin: 0 !important;
    cursor: pointer !important;
}

.lab-textarea-bordered[b-e0w92x6fhw] {
    border: 1px solid #a1a1aa !important;
    resize: none !important;
    border-radius: 0 !important;
    background: white;
}

.specimen-table-container[b-e0w92x6fhw] {
    border: 1px solid var(--lc-border);
    margin-bottom: 1.25rem;
    width: 100%;
    max-width: 500px;
}

.bg-specimen-active[b-e0w92x6fhw] {
    background: #0ea5e9 !important;
    color: white !important;
}

.btn-row-action[b-e0w92x6fhw] {
    width: 100%;
    background: #e2e8f0;
    height: 1.25rem;
    border: 1px solid var(--lc-slate-400);
    outline: none;
    cursor: pointer;
}

.text-update-orange[b-e0w92x6fhw] {
    color: #f97316 !important;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ============================================================
   24. MODIFY TEST MASTER - CONSOLE STYLES
   ============================================================ */
.custom-card[b-e0w92x6fhw] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    height: 100%;
}

.test-master-actions[b-e0w92x6fhw] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.test-master-action-item[b-e0w92x6fhw] {
    color: var(--lc-primary);
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.test-master-action-item:hover[b-e0w92x6fhw] {
    opacity: 0.8;
}

.avatar-pink[b-e0w92x6fhw] {
    background: #FFD1DC;
    color: #E83F6F;
}

.test-master-grid-1[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.5fr 2fr 2fr 1fr;
    gap: 1rem;
}

.test-master-grid-2[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.test-master-grid-settings[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.test-dropdown-overlay[b-e0w92x6fhw] {
    position: absolute;
    background: white;
    border: 1px solid var(--lc-primary);
    border-top: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    top: 100%;
    left: 0;
    right: -150%;
    z-index: 100;
    max-height: 15rem;
    overflow-y: auto;
}

.test-dropdown-item[b-e0w92x6fhw] {
    display: flex;
    cursor: pointer;
    border-bottom: 1px solid var(--lc-border);
    font-size: 13px;
    transition: background 0.2s;
}

.test-dropdown-item:hover[b-e0w92x6fhw] {
    background: var(--lc-slate-50);
}

.test-dropdown-name[b-e0w92x6fhw] {
    flex-grow: 1;
    padding: 8px 16px;
    border-right: 1px solid var(--lc-border);
    color: var(--lc-slate-900);
}

.test-dropdown-group[b-e0w92x6fhw] {
    padding: 8px 16px;
    color: var(--lc-slate-500);
    width: 150px;
}

.param-list-card[b-e0w92x6fhw] {
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 12px;
    overflow: hidden;
}

.param-header[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lc-border);
}

.param-circle[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    border: 1px solid var(--lc-border);
}

.template-editor-header[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--lc-border);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 8px 12px;
    background-color: #f8fafc;
}

.template-editor-toolbar[b-e0w92x6fhw] {
    display: flex;
    gap: 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    color: var(--lc-slate-900);
}

.template-editor-textarea[b-e0w92x6fhw] {
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: none !important;
    resize: none !important;
    height: 100px;
}

.graph-toggle[b-e0w92x6fhw] {
    position: relative;
    display: inline-block;
    border-radius: 9999px;
    border: 1px solid var(--lc-border);
    width: 28px;
    height: 16px;
    background-color: #f1f5f9;
}

.graph-toggle-thumb[b-e0w92x6fhw] {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    width: 12px;
    height: 12px;
    left: 1px;
    top: 1px;
}

.btn-update-orange[b-e0w92x6fhw] {
    background: transparent;
    font-weight: 600;
    border: 1px solid #f97316;
    color: #f97316 !important;
    padding: 4px 24px;
    border-radius: 4px;
    font-size: 12px;
    height: 32px;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-update-orange:hover[b-e0w92x6fhw] {
    background: #f97316;
    color: white !important;
}

.btn-tab[b-e0w92x6fhw] {
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    color: var(--lc-slate-400);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-tab:hover[b-e0w92x6fhw] {
    color: var(--lc-primary);
}

.btn-tab.active-tab[b-e0w92x6fhw] {
    color: var(--lc-primary);
    border-bottom-color: var(--lc-primary);
    background: rgba(79, 70, 229, 0.05);
}

.hover-primary:hover[b-e0w92x6fhw] {
    color: var(--lc-primary) !important;
}

.right-1[b-e0w92x6fhw] {
    right: 1px !important;
    left: auto !important;
}

.left-1[b-e0w92x6fhw] {
    left: 1px !important;
    right: auto !important;
}

.bg-specimen-active[b-e0w92x6fhw] {
    background-color: #f0fdf4 !important;
    color: #166534 !important;
    font-weight: 700;
}

.ref-table[b-e0w92x6fhw] {
    width: 100%;
    border-collapse: collapse;
}

.ref-table th[b-e0w92x6fhw] {
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--lc-slate-400);
    text-transform: uppercase;
    border-bottom: 1px solid var(--lc-border);
}

.ref-table td[b-e0w92x6fhw] {
    padding: 8px 12px;
    font-size: 13px;
    border-bottom: 1px solid var(--lc-slate-100);
}

.hover-slate-50:hover[b-e0w92x6fhw] {
    background-color: var(--lc-slate-50);
}

.col-icon[b-e0w92x6fhw] {
    width: 40px;
    text-align: center;
}

.col-sex[b-e0w92x6fhw] {
    width: 100px;
}

/* ============================================================
   24.1 DIRECT MAPPING - TEST MASTER REFACTOR
   ============================================================ */
.tm-page-container[b-e0w92x6fhw] {
    padding: 1.5rem;
    background: #f1f5f9;
    min-height: 100vh;
}

.tm-main-card[b-e0w92x6fhw] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.tm-header-bar[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--lc-border);
    padding: 1.5rem;
}

.tm-actions-row[b-e0w92x6fhw] {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.875rem;
}

.tm-action-label[b-e0w92x6fhw] {
    font-weight: 600;
    color: var(--lc-slate-500);
    text-transform: uppercase;
}

.tm-action-item[b-e0w92x6fhw] {
    color: var(--lc-primary);
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.tm-action-item:hover[b-e0w92x6fhw] {
    opacity: 0.8;
}

.tm-profile-section[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tm-user-info[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.tm-user-details[b-e0w92x6fhw] {
    text-align: right;
}

.tm-user-name[b-e0w92x6fhw] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lc-slate-900);
}

.tm-user-role[b-e0w92x6fhw] {
    font-size: 0.625rem;
    color: var(--lc-slate-500);
    text-transform: uppercase;
}

.tm-avatar-circle[b-e0w92x6fhw] {
    width: 2.5rem;
    height: 2.5rem;
    background: #FFD1DC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #E83F6F;
    font-weight: 600;
}

.tm-section-inner[b-e0w92x6fhw] {
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.tm-grid-layout-1[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.5fr 2fr 2fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tm-form-label-small[b-e0w92x6fhw] {
    font-size: 0.65rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tm-input-accent[b-e0w92x6fhw] {
    background-color: white !important;
    border: 1px solid var(--lc-primary) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    color: var(--lc-primary) !important;
    font-weight: 700;
    height: 48px !important;
}

.tm-input-muted[b-e0w92x6fhw] {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    height: 48px !important;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

textarea.tm-input-muted[b-e0w92x6fhw] {
    height: auto !important;
    min-height: 80px !important;
    padding: 12px 16px !important;
    line-height: 1.5;
}

.tm-grid-layout-2[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.tm-special-ops[b-e0w92x6fhw] {
    background: #fdfdfd;
    border: 1px dashed #e2e8f0;
    padding: 1rem;
    border-radius: 12px;
}

.tm-dropdown-box[b-e0w92x6fhw] {
    position: absolute;
    top: 100%;
    left: 0;
    right: -150%;
    background: white;
    border: 1px solid var(--lc-primary);
    border-top: none;
    z-index: 100;
    max-height: 15rem;
    overflow-y: auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.tm-dropdown-row[b-e0w92x6fhw] {
    display: flex;
    cursor: pointer;
    border-bottom: 1px solid var(--lc-border);
    font-size: 0.875rem;
}

.tm-dropdown-cell-primary[b-e0w92x6fhw] {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border-right: 1px solid var(--lc-border);
    color: var(--lc-slate-900);
}

.tm-dropdown-cell-secondary[b-e0w92x6fhw] {
    width: 150px;
    padding: 0.5rem 0.75rem;
    color: var(--lc-slate-500);
}

.tm-split-panel[b-e0w92x6fhw] {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.tm-side-panel[b-e0w92x6fhw] {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tm-content-panel[b-e0w92x6fhw] {
    flex: 1;
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 1rem;
    padding: 1.5rem;
}

.tm-settings-hdr[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tm-footer-bar[b-e0w92x6fhw] {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--lc-border);
}

.tm-btn-row[b-e0w92x6fhw] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.tm-btn-row .lc-btn[b-e0w92x6fhw] {
    height: 44px !important;
    padding: 0 24px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.tm-grid-layout-2[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.tm-special-ops[b-e0w92x6fhw] {
    background: #fdfdfd;
    border: 1px dashed #e2e8f0;
    padding: 1.25rem;
    border-radius: 12px;
}

.tm-param-card[b-e0w92x6fhw] {
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 12px;
    overflow: hidden;
}

.tm-param-header[b-e0w92x6fhw] {
    background: #f8fafc;
    border-bottom: 1px solid var(--lc-border);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-param-list[b-e0w92x6fhw] {
    padding: 0.5rem 0;
}

.tm-param-item[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.tm-param-check[b-e0w92x6fhw] {
    width: 1.25rem;
    height: 1.25rem;
    background: var(--lc-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.tm-param-circle[b-e0w92x6fhw] {
    width: 1.25rem;
    height: 1.25rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
}

.tm-tab-btn[b-e0w92x6fhw] {
    background: transparent;
    border: none;
    padding: 0.75rem 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

.tm-tab-btn:hover[b-e0w92x6fhw] {
    color: var(--lc-primary);
}

.tm-tab-btn.active-tab[b-e0w92x6fhw] {
    color: var(--lc-primary);
    border-bottom-color: var(--lc-primary);
}

/* LC Section Dividers */
.lc-section-divider[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lc-divider-label[b-e0w92x6fhw] {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.lc-divider-line[b-e0w92x6fhw] {
    height: 1px;
    background: linear-gradient(to right, #e2e8f0, transparent);
    flex-grow: 1;
}

/* Input with Prefix Icons */
.input-with-icon[b-e0w92x6fhw] {
    position: relative;
    display: flex;
    align-items: center;
}

.prefix-icon[b-e0w92x6fhw] {
    position: absolute;
    left: 12px;
    font-size: 18px !important;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s;
}

.lab-input:focus+.prefix-icon[b-e0w92x6fhw] {
    color: var(--lc-primary);
}

.pl-36[b-e0w92x6fhw] {
    padding-left: 36px !important;
}

/* Select Wrapper Customization */
.lc-select-wrapper[b-e0w92x6fhw] {
    position: relative;
}

.lc-select-wrapper[b-e0w92x6fhw]::after {
    content: 'expand_more';
    font-family: 'Material Symbols Rounded';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 18px;
}

.lc-select-wrapper .lab-input[b-e0w92x6fhw] {
    appearance: none;
    background-image: none !important;
    padding-right: 36px;
}

.h-40[b-e0w92x6fhw] {
    height: 40px !important;
}

/* Container Master Image Specific Styles */
.image-preview-mt[b-e0w92x6fhw] {
    margin-top: 8px;
    border-radius: 8px;
    overflow: hidden;
    width: 64px;
    height: 64px;
    border: 1px solid var(--lc-border);
}

.container-img-thumb[b-e0w92x6fhw] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container-img-small[b-e0w92x6fhw] {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--lc-border);
    background-color: white;
}

/* ============================================================
   BILLING PAGE STYLES
   ============================================================ */
.billing-page-wrapper[b-e0w92x6fhw] {
    background-color: #f1f5f9;
    min-height: calc(100vh - 60px);
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    position: relative;
    padding-bottom: 80px;
    /* Space for bottom bar */
}

/* TOP HEADER */
.bl-header-bar[b-e0w92x6fhw] {
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 6px 20px;
    /* Reduced vertical padding (header width) */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    gap: 20px;
    max-width: 100%;
}

.bl-header-item[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bl-label[b-e0w92x6fhw] {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bl-value[b-e0w92x6fhw] {
    font-size: 12px;
    color: #1e293b;
}

.bl-header-divider[b-e0w92x6fhw] {
    width: 1px;
    height: 20px;
    background: #e2e8f0;
}

.bl-header-spacer[b-e0w92x6fhw] {
    flex: 1;
}

.bl-system-status[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #059669;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.bl-status-dot[b-e0w92x6fhw] {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 4px #10b981;
}

/* MAIN GRID */
.bl-main-grid[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 360px 1fr 280px;
    gap: 16px;
    padding: 16px 0;
    align-items: start;
}

/* CARDS COMMON */
.bl-card[b-e0w92x6fhw] {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
}

.bl-card-title[b-e0w92x6fhw] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.bl-card-title .material-symbols-outlined[b-e0w92x6fhw] {
    font-size: 16px;
}

.text-blue[b-e0w92x6fhw] {
    color: #4f46e5 !important;
}

.text-gray[b-e0w92x6fhw] {
    color: #64748b !important;
}

.text-green[b-e0w92x6fhw] {
    color: #059669 !important;
}

.text-red[b-e0w92x6fhw] {
    color: #ef4444 !important;
}

.text-white[b-e0w92x6fhw] {
    color: #ffffff !important;
}

.fw-600[b-e0w92x6fhw] {
    font-weight: 600 !important;
}

.fw-700[b-e0w92x6fhw] {
    font-weight: 700 !important;
}

.mt-12[b-e0w92x6fhw] {
    margin-top: 10px !important;
}

.mt-16[b-e0w92x6fhw] {
    margin-top: 14px !important;
}

.mb-16[b-e0w92x6fhw] {
    margin-bottom: 14px !important;
}

.mb-20[b-e0w92x6fhw] {
    margin-bottom: 16px !important;
}

.ml-16[b-e0w92x6fhw] {
    margin-left: 12px !important;
}

.ml-24[b-e0w92x6fhw] {
    margin-left: 18px !important;
}

.ml-32[b-e0w92x6fhw] {
    margin-left: 24px !important;
}

.ml-auto[b-e0w92x6fhw] {
    margin-left: auto !important;
}

.m-0[b-e0w92x6fhw] {
    margin: 0 !important;
}

.py-4[b-e0w92x6fhw] {
    padding-top: 12px;
    padding-bottom: 12px;
}

.flex-1[b-e0w92x6fhw] {
    flex: 1;
}

.flex-2[b-e0w92x6fhw] {
    flex: 2;
}

.text-center[b-e0w92x6fhw] {
    text-align: center;
}

.text-right[b-e0w92x6fhw] {
    text-align: right;
}

.text-sm[b-e0w92x6fhw] {
    font-size: 11px !important;
}

.no-underline[b-e0w92x6fhw] {
    text-decoration: none;
}

/* FORMS & INPUTS */
.bl-form-group[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bl-input-label[b-e0w92x6fhw] {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bl-input[b-e0w92x6fhw] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 11px;
    color: #1e293b;
    font-weight: 500;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
}

.bl-input:focus[b-e0w92x6fhw] {
    border-color: #4f46e5;
    background: #ffffff;
}

.bl-input-with-icon[b-e0w92x6fhw] {
    position: relative;
    display: flex;
    align-items: center;
}

.bl-input-with-icon .search-icon[b-e0w92x6fhw] {
    position: absolute;
    left: 10px;
    font-size: 16px;
    color: #94a3b8;
    pointer-events: none;
}

.bl-input-with-icon .bl-input[b-e0w92x6fhw] {
    padding-left: 30px;
}

.bl-select-wrapper[b-e0w92x6fhw] {
    position: relative;
    width: 100%;
}

.bl-select-wrapper[b-e0w92x6fhw]::after {
    content: 'expand_more';
    font-family: 'Material Symbols Outlined';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 16px;
}

.bl-select[b-e0w92x6fhw] {
    appearance: none;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 30px 8px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #1e293b;
    width: 100%;
    outline: none;
}

.bl-select:focus[b-e0w92x6fhw] {
    border-color: #4f46e5;
    background: #ffffff;
}

.bl-select.small[b-e0w92x6fhw] {
    padding: 4px 30px 4px 10px;
}

/* PATIENT CARD SPECIFIC */
.bl-patient-badges[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.bl-segmented-control[b-e0w92x6fhw] {
    display: inline-flex;
    background: #e2e8f0;
    border-radius: 6px;
    padding: 2px;
    gap: 2px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.bl-segment-btn[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 2px 8px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    height: 20px;
    line-height: 1;
}

.bl-segment-btn:hover[b-e0w92x6fhw] {
    color: #0f172a;
}

.bl-segment-btn.active[b-e0w92x6fhw] {
    background: #ffffff;
    color: #4f46e5;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.bl-segment-btn .material-symbols-outlined[b-e0w92x6fhw] {
    font-size: 12px !important;
}

.bl-badge-paid[b-e0w92x6fhw] {
    background: #10b981;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.bl-badge-uid[b-e0w92x6fhw] {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.bl-gender-age-row[b-e0w92x6fhw] {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.bl-gender-age-row>div:first-child[b-e0w92x6fhw] {
    flex: 1 1 30% !important;
}

.bl-gender-age-row>div:last-child[b-e0w92x6fhw] {
    flex: 2 1 70% !important;
}

.bl-gender-age-row .bl-select[b-e0w92x6fhw] {
    height: 36px;
    box-sizing: border-box;
}

.bl-age-group[b-e0w92x6fhw] {
    display: flex;
    gap: 8px;
}

.bl-age-box[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    height: 36px;
    padding: 0 8px;
    flex: 1;
    transition: all 0.2s;
}

.bl-age-box:focus-within[b-e0w92x6fhw] {
    border-color: #4f46e5;
    background: #ffffff;
}

.bl-age-input[b-e0w92x6fhw] {
    border: none;
    background: transparent;
    width: 24px;
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    outline: none;
    height: 100%;
    padding: 0;
}

.bl-age-lbl[b-e0w92x6fhw] {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 2px;
}

.bl-patient-info-row[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bl-id-type-combo[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.bl-id-type-header[b-e0w92x6fhw] {
    background: #4f46e5;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
    width: 60px;
    height: 28px;
    box-sizing: border-box;
}

.bl-id-type-header .bl-id-type-select[b-e0w92x6fhw] {
    font-size: 10px;
    padding: 0 4px;
}

.bl-id-type-header .material-symbols-outlined[b-e0w92x6fhw] {
    font-size: 14px !important;
    color: #ffffff;
}

.bl-id-label[b-e0w92x6fhw] {
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.bl-id-input[b-e0w92x6fhw] {
    border: none;
    background: #f8fafc;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #1e293b;
    outline: none;
}

.bl-more-info[b-e0w92x6fhw] {
    font-size: 11px;
    color: #4f46e5;
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 2px;
}

/* REFERRAL CARD */
.bl-grid-2[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bl-grid-3[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.bl-hospital-combo[b-e0w92x6fhw] {
    display: flex;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    height: 36px;
    box-sizing: border-box;
}

.bl-hospital-sel[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    border-right: 1px solid #e2e8f0;
    cursor: pointer;
    background: #f8fafc;
}

.bl-hospital-sel .material-symbols-outlined[b-e0w92x6fhw] {
    font-size: 14px;
}

.bl-hospital-input[b-e0w92x6fhw] {
    border: none;
    background: transparent;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 500;
    color: #1e293b;
    width: 100%;
    outline: none;
    height: 100%;
}

/* TESTS SELECTION CARD */
.bl-tests-header[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed #e2e8f0;
    padding-bottom: 12px;
}

.bl-tests-stats[b-e0w92x6fhw] {
    display: flex;
    gap: 20px;
}

.stat-item[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-lbl[b-e0w92x6fhw] {
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}

.stat-val[b-e0w92x6fhw] {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
}

.bl-search-test-row[b-e0w92x6fhw] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bl-input-with-icon.full-width[b-e0w92x6fhw] {
    flex: 1;
}

.bl-btn-add[b-e0w92x6fhw] {
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.bl-sample-grid-header[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 4px;
    border-bottom: 1px solid #e2e8f0;
}

.sg-title[b-e0w92x6fhw] {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
}

.sg-action[b-e0w92x6fhw] {
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

/* TABLE */
.bl-table-container[b-e0w92x6fhw] {
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 6px 6px;
    overflow-y: auto;
    min-height: 280px;
    background: #ffffff;
}

.bl-table[b-e0w92x6fhw] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.bl-table thead[b-e0w92x6fhw] {
    background: #4f46e5;
    color: #ffffff;
}

.bl-table th[b-e0w92x6fhw] {
    padding: 8px 10px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.5px;
}

.bl-table th:last-child[b-e0w92x6fhw],
.bl-table td:last-child[b-e0w92x6fhw] {
    text-align: center;
}

.bl-table td[b-e0w92x6fhw] {
    padding: 8px 10px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.test-name[b-e0w92x6fhw] {
    font-weight: 600;
    color: #1e293b;
}

.comm-text[b-e0w92x6fhw] {
    font-weight: 600;
}

.hover-delete[b-e0w92x6fhw] {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.hover-delete:hover[b-e0w92x6fhw] {
    opacity: 1;
}

.bl-remarks-row[b-e0w92x6fhw] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bl-report-date[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0 10px;
    height: 36px;
}

.bl-report-date .lbl[b-e0w92x6fhw] {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    margin-right: 6px;
}

.bl-report-date .small-input[b-e0w92x6fhw] {
    border: none;
    background: transparent;
    width: 70px;
    font-size: 11px;
    font-weight: 600;
    padding: 0;
    outline: none;
}

.bl-report-date .icon[b-e0w92x6fhw] {
    color: #94a3b8;
    font-size: 16px;
    margin-left: 6px;
}

/* RIGHT COLUMN: Collection */
.c-header-row[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bl-toggle[b-e0w92x6fhw] {
    position: relative;
    width: 36px;
    height: 20px;
}

.bl-toggle input[b-e0w92x6fhw] {
    opacity: 0;
    width: 0;
    height: 0;
}

.bl-toggle label[b-e0w92x6fhw] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.bl-toggle label[b-e0w92x6fhw]:before {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bl-toggle input:checked+label[b-e0w92x6fhw] {
    background: #4f46e5;
}

.bl-toggle input:checked+label[b-e0w92x6fhw]:before {
    transform: translateX(16px);
}

.bl-area-row[b-e0w92x6fhw] {
    display: flex;
    gap: 6px;
}

/* FINANCIAL SUMMARY */
.fin-title[b-e0w92x6fhw] {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.fin-row[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #1e293b;
}

.fin-concession[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.conc-header[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
}

.conc-labels span[b-e0w92x6fhw] {
    display: inline-block;
    width: 50px;
    text-align: center;
    background: #f1f5f9;
    border-radius: 4px;
    padding: 2px 0;
    margin-left: 6px;
}

.conc-inputs[b-e0w92x6fhw] {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.conc-inputs .bl-input[b-e0w92x6fhw] {
    width: 50px;
}

.fin-discount[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
}

.fin-net[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
}

.net-val[b-e0w92x6fhw] {
    font-size: 16px;
    color: #4f46e5;
}

/* PAYMENT INTERFACE */
.payment-card[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    position: relative;
    overflow: hidden;
    border: none;
}

.pay-bg-pattern[b-e0w92x6fhw] {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 10.01%);
    background-size: 16px 16px;
    opacity: 0.5;
    pointer-events: none;
}

.pay-title-row[b-e0w92x6fhw] {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #c7d2fe;
    position: relative;
    z-index: 1;
}

.pay-split-row[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    font-weight: 600;
    color: #e0e7ff;
}

.pay-add-btn[b-e0w92x6fhw] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pay-mode-row[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 10px;
}

.pay-mode-lbl[b-e0w92x6fhw] {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
}

.pay-input-wrap[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pay-input[b-e0w92x6fhw] {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    width: 80px;
    text-align: right;
    outline: none;
}

.pay-check[b-e0w92x6fhw] {
    font-size: 16px;
}

.pay-due-row[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 20px;
}

.due-title[b-e0w92x6fhw] {
    font-size: 11px;
    font-weight: 700;
    color: #c7d2fe;
}

.due-sub[b-e0w92x6fhw] {
    font-size: 9px;
    color: #818cf8;
}

.due-val[b-e0w92x6fhw] {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

/* BOTTOM BAR */
.bl-bottom-bar[b-e0w92x6fhw] {
    position: fixed;
    bottom: 0;
    left: 220px;
    /* offset by sidebar */
    right: 0;
    background: #ffffff;
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.03);
    z-index: 100;
}

.nav-collapsed~main .bl-bottom-bar[b-e0w92x6fhw] {
    left: 68px;
    /* if sidebar matches this class structure */
}

.bbar-stats[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
}

.bbar-stat-item[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bbar-lbl[b-e0w92x6fhw] {
    font-size: 8px;
    font-weight: 700;
    color: #94a3b8;
    line-height: 1.2;
}

.bbar-val[b-e0w92x6fhw] {
    font-size: 16px;
    font-weight: 800;
}

.text-black[b-e0w92x6fhw] {
    color: var(--lc-secondary) !important;
}

.bbar-printer[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 180px;
}

.bbar-printer label[b-e0w92x6fhw] {
    font-size: 8px;
    font-weight: 700;
    color: #94a3b8;
}

.bbar-links[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
}

.bbar-actions[b-e0w92x6fhw] {
    display: flex;
    gap: 8px;
}

/* ── LabCare Design System: Action Buttons ── */
.bl-btn[b-e0w92x6fhw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 18px;
    height: 36px;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    user-select: none;
    -webkit-font-smoothing: antialiased;
}

.bl-btn:active[b-e0w92x6fhw] {
    transform: scale(0.96);
}

.bl-btn:disabled[b-e0w92x6fhw],
.bl-btn[disabled][b-e0w92x6fhw] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

/* SAVE — indigo primary */
.bl-btn-save[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.bl-btn-save:hover:not(:disabled)[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.45);
    transform: translateY(-1px);
}

/* CLEAR — rose danger */
.bl-btn-clear[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.bl-btn-clear:hover:not(:disabled)[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.40);
    transform: translateY(-1px);
}

/* PRINT — slate neutral */
.bl-btn-print[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(71, 85, 105, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.bl-btn-print:hover:not(:disabled)[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    box-shadow: 0 4px 14px rgba(71, 85, 105, 0.35);
    transform: translateY(-1px);
}

/* ============================================================
   X. RATE PAGE
   ============================================================ */
.rate-container[b-e0w92x6fhw] {
    background-color: #f8fafc;
    min-height: 100vh;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rate-header[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
}

.rate-header-title[b-e0w92x6fhw] {
    color: #1e293b;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rate-header-radios[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
}

.rate-radio-label[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 11px;
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rate-radio-input[b-e0w92x6fhw] {
    width: 12px;
    height: 12px;
    accent-color: #4f46e5;
}

.rate-main-card[b-e0w92x6fhw] {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
}

.rate-form-grid[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.rate-form-col[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rate-form-group[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
}

.rate-form-group-gap[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rate-label[b-e0w92x6fhw] {
    width: 8rem;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rate-label-small[b-e0w92x6fhw] {
    width: 6rem;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rate-input[b-e0w92x6fhw] {
    flex: 1;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    color: #1e293b;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
}

.rate-input:focus[b-e0w92x6fhw] {
    background: white;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.rate-input-small[b-e0w92x6fhw] {
    width: 4rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    color: #1e293b;
    font-weight: 600;
    outline: none;
    text-align: right;
    transition: all 0.2s ease;
}

.rate-input-small:focus[b-e0w92x6fhw] {
    background: white;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.rate-radio-group[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.rate-radio-item[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 11px;
    color: #475569;
    font-weight: 600;
}

.rate-radio-item-input[b-e0w92x6fhw] {
    width: 12px;
    height: 12px;
    accent-color: #4f46e5;
}

.rate-btn-default[b-e0w92x6fhw] {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 16px;
    background: #f8fafc;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-btn-default:hover[b-e0w92x6fhw] {
    background: #e2e8f0;
    color: #1e293b;
}

.rate-btn-set[b-e0w92x6fhw] {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 16px;
    background: #ffffff;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-btn-set:hover[b-e0w92x6fhw] {
    background: #f8fafc;
}

.rate-btn-set-blue[b-e0w92x6fhw] {
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    background: #eff6ff;
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-btn-set-blue:hover[b-e0w92x6fhw] {
    background: #dbeafe;
}

.rate-right-action-group[b-e0w92x6fhw] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 8px;
}

.rate-nested-group[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.rate-btn-big[b-e0w92x6fhw] {
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.rate-btn-big:hover[b-e0w92x6fhw] {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.4);
}

.rate-grid-container[b-e0w92x6fhw] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rate-grid-scroll[b-e0w92x6fhw] {
    overflow: auto;
    max-height: calc(100vh - 340px);
}

.rate-grid-scroll[b-e0w92x6fhw]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.rate-grid-scroll[b-e0w92x6fhw]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.rate-grid-scroll[b-e0w92x6fhw]::-webkit-scrollbar-track {
    background: transparent;
}

.rate-table[b-e0w92x6fhw] {
    width: 100%;
    text-align: left;
    border-collapse: separate;
    border-spacing: 0;
    min-width: max-content;
}

.rate-table thead[b-e0w92x6fhw] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f8fafc;
}

.rate-table th[b-e0w92x6fhw] {
    padding: 10px 12px;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px dashed #e2e8f0;
}

.rate-table th:last-child[b-e0w92x6fhw] {
    border-right: none;
}

.rate-table th.col-w-10[b-e0w92x6fhw] {
    width: 3rem;
}

.rate-table th.col-w-12[b-e0w92x6fhw] {
    width: 4rem;
}

.rate-table th.col-w-16[b-e0w92x6fhw] {
    width: 4.5rem;
}

.rate-table th.col-w-24[b-e0w92x6fhw] {
    width: 6rem;
}

.rate-table th.col-w-32[b-e0w92x6fhw] {
    width: 8rem;
}

.rate-table th.text-center[b-e0w92x6fhw] {
    text-align: center;
}

.rate-table th.text-right[b-e0w92x6fhw] {
    text-align: right;
}

.rate-table tbody tr[b-e0w92x6fhw] {
    transition: background-color 0.2s ease;
}

.rate-table td[b-e0w92x6fhw] {
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
    border-right: 1px dashed #f1f5f9;
    color: #1e293b;
}

.rate-table td:last-child[b-e0w92x6fhw] {
    border-right: none;
}

.rate-table tbody tr:hover:not(.rate-row-active)[b-e0w92x6fhw] {
    background-color: #f8fafc;
}

.rate-table tbody tr.rate-row-active td[b-e0w92x6fhw] {
    background: #eff6ff;
    color: #1e293b;
    border-bottom: 1px solid #bfdbfe;
    border-right: 1px dashed #bfdbfe;
}

.rate-table tbody tr.rate-row-active td:last-child[b-e0w92x6fhw] {
    border-right: none;
}

.rate-table td.text-center[b-e0w92x6fhw] {
    text-align: center;
}

.rate-table td.text-right[b-e0w92x6fhw] {
    text-align: right;
}

.rate-table td.col-sno[b-e0w92x6fhw] {
    font-weight: 700;
    color: #64748b;
    position: relative;
}

.rate-row-pointer[b-e0w92x6fhw] {
    position: absolute;
    left: 4px;
    color: #4f46e5;
    font-size: 10px;
}

.rate-table td.col-group-name[b-e0w92x6fhw],
.rate-table td.col-margin-type[b-e0w92x6fhw] {
    color: #64748b;
    font-weight: 500;
}

.rate-table td.col-patient-rate[b-e0w92x6fhw],
.rate-table td.col-special-amount[b-e0w92x6fhw] {
    color: #4f46e5;
    font-weight: 700;
}

.rate-footer-actions[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 8px 0;
}

.rate-btn-footer[b-e0w92x6fhw] {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 16px;
    background: white;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.rate-btn-footer:hover[b-e0w92x6fhw] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.rate-btn-footer.wide[b-e0w92x6fhw] {
    padding-left: 24px;
    padding-right: 24px;
}

.rate-btn-footer.primary[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.rate-btn-footer.primary:hover[b-e0w92x6fhw] {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.4);
    color: white;
}

.rate-btn-footer.danger[b-e0w92x6fhw] {
    background: #ef4444;
    color: white;
    border: none;
}

.rate-btn-footer.danger:hover[b-e0w92x6fhw] {
    background: #dc2626;
    color: white;
}

.cm-container[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    padding: 1rem 0;
}

.cm-col-1[b-e0w92x6fhw] {
    grid-column: span 1;
}

.cm-col-2[b-e0w92x6fhw] {
    grid-column: span 2;
}

.cm-col-3[b-e0w92x6fhw] {
    grid-column: span 3;
}

.cm-col-4[b-e0w92x6fhw] {
    grid-column: span 4;
}

.cm-col-5[b-e0w92x6fhw] {
    grid-column: span 5;
}

.cm-col-6[b-e0w92x6fhw] {
    grid-column: span 6;
}

.cm-col-7[b-e0w92x6fhw] {
    grid-column: span 7;
}

.cm-col-8[b-e0w92x6fhw] {
    grid-column: span 8;
}

.cm-col-9[b-e0w92x6fhw] {
    grid-column: span 9;
}

.cm-col-10[b-e0w92x6fhw] {
    grid-column: span 10;
}

.cm-col-11[b-e0w92x6fhw] {
    grid-column: span 11;
}

.cm-col-12[b-e0w92x6fhw] {
    grid-column: span 12;
}

.cm-field[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cm-field-inline[b-e0w92x6fhw] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    width: 100%;
}

.cm-label-top[b-e0w92x6fhw] {
    font-size: 0.75rem;
    /* 12px for smaller labels like screenshot */
    font-weight: 600;
    color: #7c8fa3;
    /* slate-500 - matches screenshot exactly */
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.cm-input[b-e0w92x6fhw] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: #334155;
    width: 100%;
    outline: none;
    transition: all 0.2s ease;
    height: 2.5rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.cm-input[b-e0w92x6fhw]::placeholder {
    color: #cbd5e1;
}

.cm-input:focus[b-e0w92x6fhw] {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 0 0 2px rgba(200, 213, 225, 0.15);
}

/* Date input styling */
input[type="date"].cm-input[b-e0w92x6fhw] {
    padding: 0.5rem 0.75rem;
}

input[type="date"].cm-input[b-e0w92x6fhw]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    filter: invert(0.2);
}

select.cm-input[b-e0w92x6fhw] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23cbd5e1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

.cm-flex-1[b-e0w92x6fhw] {
    flex: 1;
}

/* Width utilities for different field sizes */
.cm-w-prefix[b-e0w92x6fhw] {
    flex: 0 0 auto;
    width: 5.5rem;
}

.cm-w-initial[b-e0w92x6fhw] {
    flex: 0 0 auto;
    width: 4.5rem;
}

.cm-w-age[b-e0w92x6fhw] {
    flex: 0 0 auto;
    width: 2.75rem;
    /* 44px */
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
    text-align: center;
}

.cm-w-custcode[b-e0w92x6fhw] {
    flex: 0 0 auto;
    width: 100px;
}

.cm-w-cardno[b-e0w92x6fhw] {
    flex: 0 0 auto;
    width: 120px;
}

.cm-w-dob[b-e0w92x6fhw] {
    flex: 0 0 auto;
    width: 100px;
}

.cm-w-gender[b-e0w92x6fhw] {
    flex: 1 1 auto;
    min-width: 120px;
}

.cm-field-small[b-e0w92x6fhw] {
    flex: 0 0 auto;
    width: 110px;
}

.cm-field-medium[b-e0w92x6fhw] {
    flex: 1 1 auto;
    min-width: 150px;
    max-width: 200px;
}

.cm-field-large[b-e0w92x6fhw] {
    flex: 2 1 auto;
    min-width: 250px;
}

.cm-file-upload[b-e0w92x6fhw] {
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    padding: 1.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    background: #fafbfc;
    transition: all 0.2s ease;
}

.cm-file-upload:hover[b-e0w92x6fhw] {
    background: #f3f4f6;
    border-color: #cbd5e1;
    color: #6b7280;
}

.cm-checkbox-label[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.cm-checkbox[b-e0w92x6fhw] {
    width: 1.125rem;
    height: 1.125rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 0.375rem;
    cursor: pointer;
    accent-color: #4f46e5;
}

/* ============================================================
   9. SEARCH & FILTER INPUTS
   ============================================================ */
.search-input[b-e0w92x6fhw] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    color: #1e293b;
    outline: none;
    width: 220px;
    transition: all 0.2s;
}

.search-input:focus[b-e0w92x6fhw] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* ============================================================
   10. ALERT MESSAGES
   ============================================================ */
.alert-message[b-e0w92x6fhw] {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
}

/* ============================================================
   11. CUSTOMER MASTER FORM - WIDTH UTILITIES
   ============================================================ */
.cm-w-custcode[b-e0w92x6fhw] {
    width: 120px !important;
}

.cm-w-cardno[b-e0w92x6fhw] {
    width: 200px !important;
}

.cm-w-dob[b-e0w92x6fhw] {
    width: 100%;
}

.cm-w-gender[b-e0w92x6fhw] {
    width: 100%;
}

/* ============================================================
   12. DIRECTORY SECTION
   ============================================================ */
.directory-section-form[b-e0w92x6fhw] {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

/* ============================================================
   13. TABLE HEADERS
   ============================================================ */
.th-custcode[b-e0w92x6fhw] {
    width: 64px;
}

.th-actions[b-e0w92x6fhw] {
    width: 128px;
}

/* ============================================================
   14. MODAL FOOTER BUTTON ICONS
   ============================================================ */
.btn-icon-save[b-e0w92x6fhw] {
    margin-right: 8px;
}

/* ============================================================
   15. CHECKBOX ROW SPACING
   ============================================================ */
.cm-checkbox-row[b-e0w92x6fhw] {
    margin-top: 0.5rem;
}

/* ============================================================
   16. UNIT MASTER STYLES
   ============================================================ */
.um-grid-row[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.um-grid-cols-2[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.um-grid-cols-3[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

/* ============================================================
   25. IMAGE UPLOAD STYLES (CONTAINER MASTER)
   ============================================================ */
.image-upload-section[b-e0w92x6fhw] {
    grid-column: 1 / -1;
}

.image-upload-empty[b-e0w92x6fhw] {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 48px 24px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.image-upload-icon[b-e0w92x6fhw] {
    width: 40px;
    height: 40px;
    color: #94a3b8;
    position: relative;
    z-index: 1;
}

.image-upload-text[b-e0w92x6fhw] {
    text-align: center;
    position: relative;
    z-index: 1;
}

.image-upload-title[b-e0w92x6fhw] {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 0;
}

.image-upload-subtitle[b-e0w92x6fhw] {
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 0;
    display: none;
}

.image-upload-hint[b-e0w92x6fhw] {
    font-size: 12px;
    color: #cbd5e1;
    display: none;
}

.image-upload-input[b-e0w92x6fhw] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.image-upload-success[b-e0w92x6fhw] {
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 24px;
    background: #f0fdf4;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}

.image-upload-status[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.image-upload-status-header[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.image-upload-status-icon[b-e0w92x6fhw] {
    width: 18px;
    height: 18px;
    color: #10b981;
}

.image-upload-status-text[b-e0w92x6fhw] {
    font-size: 13px;
    font-weight: 600;
    color: #10b981;
}

.image-upload-status-subtext[b-e0w92x6fhw] {
    font-size: 11px;
    color: #059669;
}

.image-upload-preview[b-e0w92x6fhw] {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #dcfce7;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.image-upload-actions[b-e0w92x6fhw] {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}

.btn-remove-image[b-e0w92x6fhw] {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-remove-image:hover[b-e0w92x6fhw] {
    background-color: #fecaca;
    color: #991b1b;
}

.btn-remove-image-icon[b-e0w92x6fhw] {
    width: 12px;
    height: 12px;
}

.sym-container[b-e0w92x6fhw] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.sym-btn[b-e0w92x6fhw] {
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sym-btn:hover[b-e0w92x6fhw] {
    background-color: #6366f1;
    color: white;
    border-color: #6366f1;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.2);
}

.sym-btn:active[b-e0w92x6fhw] {
    transform: translateY(0);
}

/* Unit Master specific styles extracted from inline css */
.um-label-row[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.um-label[b-e0w92x6fhw] {
    margin-bottom: 0;
}

.um-error-text[b-e0w92x6fhw] {
    font-size: 11px;
    font-weight: 500;
}

.symbol-helper-section[b-e0w92x6fhw] {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.symbol-helper-header[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.symbol-title[b-e0w92x6fhw] {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

.symbol-subtitle[b-e0w92x6fhw] {
    font-size: 12px;
    color: #94a3b8;
    font-style: italic;
    margin-left: 8px;
}

.sym-btn-new[b-e0w92x6fhw] {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.sym-btn-new:hover[b-e0w92x6fhw] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: var(--lc-secondary);
}

/* ============================================================
   26. BILLING SEARCH DROPDOWN
   ============================================================ */
.bl-search-dropdown[b-e0w92x6fhw] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 4px;
    animation: slideDownFade 0.2s ease-out;
}

.bl-search-item[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bl-search-item:hover[b-e0w92x6fhw] {
    background: #f8fafc;
    padding-left: 20px;
}

.bl-search-item:last-child[b-e0w92x6fhw] {
    border-bottom: none;
}

.bl-item-info[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bl-item-name[b-e0w92x6fhw] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bl-item-meta[b-e0w92x6fhw] {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.bl-item-date[b-e0w92x6fhw] {
    font-size: 10px;
    font-weight: 700;
    color: #6366f1;
    background: #eef2ff;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
}

.bl-search-no-results[b-e0w92x6fhw] {
    padding: 24px 16px;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- DUE COLLECTION SCREEN --- */
.dc-top-section[b-e0w92x6fhw] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dc-type-header[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dc-type-radios[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dc-type-radios label[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
}

.dc-type-radios input[type="radio"][b-e0w92x6fhw] {
    width: 18px;
    height: 18px;
    accent-color: #4f46e5;
    cursor: pointer;
}

.dc-filter-btn[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.dc-panels-wrapper[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.dc-panel[b-e0w92x6fhw] {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.dc-panel-row[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.dc-panel-row.cols-2[b-e0w92x6fhw] {
    grid-template-columns: 1fr 1fr;
}

.dc-panel-row.cols-3[b-e0w92x6fhw] {
    grid-template-columns: 1fr 1fr 1fr;
}

.dc-form-group[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
}

.dc-form-group label[b-e0w92x6fhw] {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dc-input[b-e0w92x6fhw] {
    width: 100%;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dc-input:focus[b-e0w92x6fhw] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

select.dc-input[b-e0w92x6fhw] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.dc-search-btn-wrapper[b-e0w92x6fhw] {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.dc-btn-search[b-e0w92x6fhw] {
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    height: 40px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dc-btn-search:hover[b-e0w92x6fhw] {
    background-color: #4338ca;
}

/* Bottom Card */
.dc-bottom-section[b-e0w92x6fhw] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dc-actions-bar[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    width: 100%;
}

.dc-actions-left-group[b-e0w92x6fhw] {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    flex: 1;
    min-width: 280px;
}

.dc-actions-right-group[b-e0w92x6fhw] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.dc-search-input-container[b-e0w92x6fhw] {
    position: relative;
    width: 240px;
}

.dc-search-input-container svg[b-e0w92x6fhw] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.dc-search-input-container input[b-e0w92x6fhw] {
    width: 100%;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px 0 36px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
}

.dc-search-input-container input:focus[b-e0w92x6fhw] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.dc-filter-circle-btn[b-e0w92x6fhw] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dc-filter-circle-btn:hover[b-e0w92x6fhw] {
    background: #f8fafc;
    color: #4f46e5;
    border-color: #cbd5e1;
}

.dc-btn-auto-select[b-e0w92x6fhw] {
    color: #4f46e5;
    font-weight: 700;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 8px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.dc-btn-auto-select:hover:not(:disabled)[b-e0w92x6fhw] {
    color: #312e81;
}

.dc-btn-auto-select:disabled[b-e0w92x6fhw] {
    color: #cbd5e1;
    cursor: not-allowed;
}

.dc-btn-save[b-e0w92x6fhw] {
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.15);
}

.dc-btn-save:hover:not(:disabled)[b-e0w92x6fhw] {
    background-color: #4338ca;
}

.dc-btn-save:disabled[b-e0w92x6fhw] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Table */
.dc-table-wrapper[b-e0w92x6fhw] {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 24px;
}

.dc-table[b-e0w92x6fhw] {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.dc-table th[b-e0w92x6fhw] {
    background: #f8fafc;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.dc-table td[b-e0w92x6fhw] {
    padding: 12px 16px;
    font-size: 13px;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.dc-table tr:last-child td[b-e0w92x6fhw] {
    border-bottom: none;
}

.dc-table input[type="text"][b-e0w92x6fhw],
.dc-table input[type="number"][b-e0w92x6fhw] {
    width: 80px;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 13px;
    text-align: right;
}

.dc-table input[type="checkbox"][b-e0w92x6fhw] {
    width: 16px;
    height: 16px;
    accent-color: #4f46e5;
    cursor: pointer;
}

.text-red[b-e0w92x6fhw] {
    color: #ef4444;
    font-weight: 600;
}

.font-bold[b-e0w92x6fhw] {
    font-weight: 700;
}

.text-slate[b-e0w92x6fhw] {
    color: #64748b;
}

/* Footers */
.dc-footers[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.dc-footer-card[b-e0w92x6fhw] {
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.dc-footer-icon[b-e0w92x6fhw] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dc-footer-icon.red[b-e0w92x6fhw] {
    background: #fee2e2;
    color: #ef4444;
}

.dc-footer-icon.blue[b-e0w92x6fhw] {
    background: #e0e7ff;
    color: #3b82f6;
}

.dc-footer-icon.green[b-e0w92x6fhw] {
    background: #dcfce3;
    color: #22c55e;
}

.dc-footer-icon.gray[b-e0w92x6fhw] {
    background: #f1f5f9;
    color: #64748b;
}

.dc-footer-info label[b-e0w92x6fhw] {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.dc-footer-info .value[b-e0w92x6fhw] {
    font-size: 20px;
    font-weight: 700;
    color: var(--lc-secondary);
}

/* ============================================================
   DUE COLLECTION HISTORY
   ============================================================ */
.filter-body-anim[b-e0w92x6fhw] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.filter-body-anim.open[b-e0w92x6fhw] {
    grid-template-rows: 1fr;
    opacity: 1;
}

.filter-body-anim.closed[b-e0w92x6fhw] {
    grid-template-rows: 0fr;
    opacity: 0;
}

.filter-body-inner[b-e0w92x6fhw] {
    overflow: hidden;
}

.dch-filter-card[b-e0w92x6fhw] {
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dch-row[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    align-items: flex-end;
}

.dch-row-2[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dch-form-group[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dch-label[b-e0w92x6fhw] {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.dch-input[b-e0w92x6fhw] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    background: #f8fafc;
    outline: none;
    color: #334155;
    transition: border-color 0.2s, background-color 0.2s;
}

.dch-input:focus[b-e0w92x6fhw] {
    border-color: #4f46e5;
    background: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.dch-actions[b-e0w92x6fhw] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

/* ── LabCare Design System: Page-level Buttons (dch) ── */
.dch-btn-search[b-e0w92x6fhw] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 20px;
    background: #ffffff;
    color: #334155;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    user-select: none;
}

.dch-btn-search:hover[b-e0w92x6fhw] {
    background: #f8fafc;
    border-color: #94a3b8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dch-btn-search:active[b-e0w92x6fhw] {
    transform: scale(0.97);
}

.dch-btn-print[b-e0w92x6fhw] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 20px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    user-select: none;
}

.dch-btn-print:hover[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.40);
    transform: translateY(-1px);
}

.dch-btn-print:active[b-e0w92x6fhw] {
    transform: scale(0.97);
}

.master-search-item-title[b-e0w92x6fhw] {
    font-weight: 600;
    font-size: 13px;
    color: #1e293b;
}

.master-search-item-subtitle[b-e0w92x6fhw] {
    font-size: 11px;
    color: #64748b;
}

/* Extra classes for DueCollectionHistory UI */
.dch-page-container[b-e0w92x6fhw] {
    padding: 32px;
    background-color: #f8fafc;
    min-height: calc(100vh - 64px);
}

.dch-header-margin[b-e0w92x6fhw] {
    margin-bottom: 24px;
}

.dch-filter-toggle-container[b-e0w92x6fhw] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.dch-btn-filter-toggle[b-e0w92x6fhw] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 16px;
    background: #ffffff;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    user-select: none;
}

.dch-btn-filter-toggle:hover[b-e0w92x6fhw] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

.dch-btn-filter-toggle:active[b-e0w92x6fhw] {
    transform: scale(0.97);
}

.dch-grid-2-cols[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dch-table-wrapper[b-e0w92x6fhw] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    padding: 24px;
    margin-bottom: 24px;
}

.dch-table-inner[b-e0w92x6fhw] {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.dch-table[b-e0w92x6fhw] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 11.5px;
}

.dch-table-thead[b-e0w92x6fhw] {
    background: #4169e1;
    border-bottom: 1px solid #2e4cad;
}

.dch-table-th[b-e0w92x6fhw] {
    padding: 8px 10px;
    font-size: 10.5px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.dch-table-th-center[b-e0w92x6fhw] {
    padding: 8px 10px;
    font-size: 10.5px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    text-align: center;
}

.dch-table-tr[b-e0w92x6fhw] {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.dch-table-td[b-e0w92x6fhw] {
    padding: 8px 10px;
    color: #64748b;
}

.dch-table-td-bold[b-e0w92x6fhw] {
    padding: 8px 10px;
    font-weight: 600;
    color: #334155;
}

.dch-table-td-blue[b-e0w92x6fhw] {
    padding: 8px 10px;
    font-weight: 700;
    color: #2563eb;
}

.dch-table-td-dark[b-e0w92x6fhw] {
    padding: 8px 10px;
    font-weight: 700;
    color: #1e293b;
}

.dch-table-td-center[b-e0w92x6fhw] {
    padding: 8px 10px;
    text-align: center;
}

.dch-btn-tr-icon[b-e0w92x6fhw],
.dch-btn-tr-icon-danger[b-e0w92x6fhw] {
    background: none;
    border: none;
    color: #4f46e5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    outline: none;
    transition: all 0.2s;
    padding: 4px;
    border-radius: 4px;
}

.dch-btn-tr-icon:hover[b-e0w92x6fhw] {
    background: #f1f5f9;
    color: #312e81;
}

.dch-btn-tr-icon-danger[b-e0w92x6fhw] {
    color: #ef4444;
}

.dch-btn-tr-icon-danger:hover[b-e0w92x6fhw] {
    background: #fee2e2;
    color: #991b1b;
}

.dch-btn-tr-icon .material-symbols-outlined[b-e0w92x6fhw],
.dch-btn-tr-icon-danger .material-symbols-outlined[b-e0w92x6fhw] {
    font-size: 18px !important;
}

.dch-table-empty[b-e0w92x6fhw] {
    text-align: center;
    padding: 32px;
    color: #64748b;
    font-size: 14px;
}

.dch-footer-summary[b-e0w92x6fhw] {
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.dch-summary-card[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: #f0fdf4;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #dcfce3;
    min-width: 250px;
}

.dch-summary-icon[b-e0w92x6fhw] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: white;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(22, 163, 74, 0.1);
}

.dch-summary-content[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dch-summary-label[b-e0w92x6fhw] {
    font-size: 11px;
    font-weight: 800;
    color: #14532d;
    text-transform: uppercase;
}

.dch-summary-value[b-e0w92x6fhw] {
    font-size: 24px;
    font-weight: 800;
    color: #052e16;
}

/* ============================================================
   DUE COLLECTION
   ============================================================ */
.filter-types-anim[b-e0w92x6fhw] {
    transition: max-width 0.4s ease-in-out, opacity 0.3s ease-in-out, margin 0.4s ease-in-out;
    overflow: hidden;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.filter-types-anim.open[b-e0w92x6fhw] {
    max-width: 600px;
    opacity: 1;
}

.filter-types-anim.closed[b-e0w92x6fhw] {
    max-width: 0;
    opacity: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
}

.dc-pagination-footer[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    padding-top: 16px;
    margin-bottom: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   27. NAVIGATION MENU (SUBMENUS)
   ============================================================ */
.nav-submenu-btn[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    color: #475569;
    background: transparent;
    border: none;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    justify-content: space-between;
}

.nav-submenu-btn:hover[b-e0w92x6fhw] {
    background-color: rgba(99, 102, 241, 0.08);
    color: #1e293b;
}

.nav-submenu-icon[b-e0w92x6fhw] {
    font-size: 16px !important;
    transition: transform 0.3s ease;
}

.nav-submenu-icon.is-expanded[b-e0w92x6fhw] {
    transform: rotate(90deg);
}

.nav-submenu-items[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
    padding-left: 28px;
    border-left: 1px solid #e2e8f0;
    margin-left: 20px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-submenu-items.is-expanded[b-e0w92x6fhw] {
    max-height: 800px;
}

.v-nav-link.submenu-item[b-e0w92x6fhw] {
    font-size: 11.5px;
    padding: 7px 12px;
}

.nav-collapsed .nav-submenu-btn[b-e0w92x6fhw] {
    justify-content: center;
    padding: 12px;
}

.nav-collapsed .nav-submenu-icon[b-e0w92x6fhw] {
    display: none;
}

.nav-collapsed .nav-submenu-items[b-e0w92x6fhw] {
    display: none;
}

/* ============================================================
   28. BILLING PAGE
   ============================================================ */
.billing-page-wrapper[b-e0w92x6fhw] {
    padding: 24px;
    background-color: #f8fafc;
    min-height: 100vh;
}

.bl-header-bar[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    background: white;
    padding: 12px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    max-width: 100%;
}

.bl-header-item[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.bl-label[b-e0w92x6fhw] {
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.bl-select[b-e0w92x6fhw] {
    border: none;
    font-weight: 700;
    color: #1e293b;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    outline: none;
}

.bl-card[b-e0w92x6fhw] {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.bl-card:hover[b-e0w92x6fhw] {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.bl-card-title[b-e0w92x6fhw] {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.bl-input[b-e0w92x6fhw] {
    width: 100%;
    height: 42px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 16px;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.2s;
}

.bl-input:focus[b-e0w92x6fhw] {
    background: white;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* bl-btn-save override for finance section — inherits from .bl-btn above */
.bl-btn-save[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 0 28px;
    height: 38px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.bl-btn-save:hover[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.45);
    transform: translateY(-1px);
}

.finance-card[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.pay-val[b-e0w92x6fhw] {
    font-size: 24px;
    font-weight: 900;
    color: #1e293b;
}

.payment-card[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #1e293b 0%, var(--lc-secondary) 100%);
    color: white;
}

/* ============================================================
   29. MODIFY TEST MASTER
   ============================================================ */
.tm-page-container[b-e0w92x6fhw] {
    padding: 32px;
    background: #f1f5f9;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.tm-main-card[b-e0w92x6fhw] {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.tm-header-grid[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 0.5fr 2fr 1.2fr 1fr 1fr 0.8fr 0.5fr 0.8fr;
    gap: 16px;
    margin-bottom: 24px;
}

.tm-flags-container[b-e0w92x6fhw] {
    background: #f8fafc;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.tm-flags-grid[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tm-split-panel[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 32px;
}

.tm-param-card[b-e0w92x6fhw] {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tm-param-header[b-e0w92x6fhw] {
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-param-item[b-e0w92x6fhw] {
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.active-param[b-e0w92x6fhw] {
    background: #eff6ff !important;
    border-left: 4px solid #2563eb;
}

.tm-red-header[b-e0w92x6fhw] {
    background: #ef4444;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.tm-tab-btn[b-e0w92x6fhw] {
    background: none;
    border: none;
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.1em;
    padding-bottom: 12px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    margin-right: 32px;
}

.active-tab[b-e0w92x6fhw] {
    color: #6366f1;
    border-bottom-color: #6366f1;
}

.tm-footer-bar[b-e0w92x6fhw] {
    padding: 20px 32px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-form-label-tiny[b-e0w92x6fhw] {
    font-size: 9px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
    display: block;
}

.tm-subtab-bar[b-e0w92x6fhw] {
    padding: 0 32px;
    border-top: 1px solid #e2e8f0;
}

/* ============================================================
   30. CUSTOMER MASTER
   ============================================================ */
.cm-input option[b-e0w92x6fhw] {
    color: #1e293b !important;
    background: #ffffff !important;
}

/* ============================================================
   31. RECONNECT MODAL
   ============================================================ */
#components-reconnect-modal[b-e0w92x6fhw] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-e0w92x6fhw 0.5s both;
}

#components-reconnect-modal[open][b-e0w92x6fhw] {
    animation: components-reconnect-modal-slideUp-b-e0w92x6fhw 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-e0w92x6fhw 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-e0w92x6fhw]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-e0w92x6fhw 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-e0w92x6fhw {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-e0w92x6fhw {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-e0w92x6fhw {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-e0w92x6fhw] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-e0w92x6fhw] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

#components-reconnect-modal button:hover[b-e0w92x6fhw] {
    background-color: #3b6ea2;
}

.components-rejoining-animation[b-e0w92x6fhw] {
    position: relative;
    width: 80px;
    height: 80px;
}

.components-rejoining-animation div[b-e0w92x6fhw] {
    position: absolute;
    border: 3px solid #0087ff;
    opacity: 1;
    border-radius: 50%;
    animation: components-rejoining-animation-b-e0w92x6fhw 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-e0w92x6fhw] {
    animation-delay: -0.5s;
}

@keyframes components-rejoining-animation-b-e0w92x6fhw {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}


.dc-type-label[b-e0w92x6fhw] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.dc-type-radio-label[b-e0w92x6fhw] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
}

.dc-type-radio-input[b-e0w92x6fhw] {
    width: 16px;
    height: 16px;
    accent-color: #4f46e5;
    margin: 0;
    cursor: pointer;
}

.dc-panel-inner[b-e0w92x6fhw] {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    margin-bottom: 20px;
}

.dc-panel-type-container[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 20px;
}

.dc-actions-group[b-e0w92x6fhw] {
    display: flex;
    gap: 16px;
    min-width: 300px;
}

.dc-actions-select[b-e0w92x6fhw] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    background: white;
    outline: none;
}

.dc-actions-input[b-e0w92x6fhw] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    background: white;
    outline: none;
}

.dc-table-thead[b-e0w92x6fhw] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.dc-table-tr[b-e0w92x6fhw] {
    border-bottom: 1px solid #f1f5f9;
}

.dc-table-th-checkbox[b-e0w92x6fhw] {
    width: 48px;
    padding: 12px 16px;
}

.dc-table-checkbox[b-e0w92x6fhw] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
}

.dc-table-td[b-e0w92x6fhw] {
    padding: 12px 16px;
}

.dc-table-td-bold[b-e0w92x6fhw] {
    padding: 12px 16px;
    font-weight: 700;
}

.dc-table-td-number[b-e0w92x6fhw] {
    width: 80px;
    text-align: right;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 4px 8px;
}

.dc-search-input[b-e0w92x6fhw] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 36px 8px 12px;
    font-size: 14px;
    background: white;
    outline: none;
}



.dc-footers-container[b-e0w92x6fhw] {
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.dc-footer-card-inner[b-e0w92x6fhw] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.dc-empty-row[b-e0w92x6fhw] {
    text-align: center;
    padding: 20px;
    color: #64748b;
}

/* ============================================================
   32. GLOBAL UTILITY CLASSES (LC-*)
   ============================================================ */
.lc-flex-between-center[b-e0w92x6fhw] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.lc-mb-0[b-e0w92x6fhw] {
    margin-bottom: 0 !important;
}

.lc-mb-4[b-e0w92x6fhw] {
    margin-bottom: 4px !important;
}

.lc-font-11[b-e0w92x6fhw] {
    font-size: 11px !important;
}

.lc-font-14[b-e0w92x6fhw] {
    font-size: 14px !important;
}

.lc-font-16[b-e0w92x6fhw] {
    font-size: 16px !important;
}

.lc-font-500[b-e0w92x6fhw] {
    font-weight: 500 !important;
}

.lc-font-700[b-e0w92x6fhw] {
    font-weight: 700 !important;
}

.lc-cursor-pointer[b-e0w92x6fhw] {
    cursor: pointer !important;
}

.lc-grid-span-2[b-e0w92x6fhw] {
    grid-column: span 2 !important;
}

.lc-overflow-auto-max-480[b-e0w92x6fhw] {
    max-height: 480px !important;
    overflow-y: auto !important;
}

.lc-text-uppercase[b-e0w92x6fhw] {
    text-transform: uppercase !important;
}

.lc-letter-spacing-05[b-e0w92x6fhw] {
    letter-spacing: 0.5px !important;
}

.lc-bg-none[b-e0w92x6fhw] {
    background: none !important;
}

.lc-border-slate[b-e0w92x6fhw] {
    border: 1px solid #e2e8f0 !important;
}

.lc-width-100[b-e0w92x6fhw] {
    width: 100px !important;
}

.lc-position-relative[b-e0w92x6fhw] {
    position: relative !important;
}

.lc-top-100[b-e0w92x6fhw] {
    top: 100% !important;
}

.lc-left-0[b-e0w92x6fhw] {
    left: 0 !important;
}

.lc-right-0[b-e0w92x6fhw] {
    right: 0 !important;
}

.lc-bg-success-light[b-e0w92x6fhw] {
    background: rgba(34, 197, 94, 0.1) !important;
}

.lc-bg-danger-light[b-e0w92x6fhw] {
    background: rgba(239, 68, 68, 0.1) !important;
}

.lc-status-pill[b-e0w92x6fhw] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 10px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
}

.lc-status-pill-success[b-e0w92x6fhw] {
    background: #ecfdf5 !important;
    color: #059669 !important;
}

.lc-status-pill-danger[b-e0w92x6fhw] {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

.lc-dot[b-e0w92x6fhw] {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

.lc-dot-success[b-e0w92x6fhw] {
    background: #059669 !important;
}

.lc-dot-danger[b-e0w92x6fhw] {
    background: #dc2626 !important;
}

.lc-font-13[b-e0w92x6fhw] {
    font-size: 13px !important;
}

.lc-color-slate-500[b-e0w92x6fhw] {
    color: #64748b !important;
}

.lc-text-blue[b-e0w92x6fhw] {
    color: #2563eb !important;
}

.lc-text-white[b-e0w92x6fhw] {
    color: white !important;
}

.lc-text-red[b-e0w92x6fhw] {
    color: #ef4444 !important;
}

.lc-search-input[b-e0w92x6fhw] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 8px 16px 8px 36px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    outline: none !important;
    width: 220px !important;
}

.lc-alert[b-e0w92x6fhw] {
    margin: 20px 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-textarea[b-e0w92x6fhw] {
    height: auto !important;
    min-height: 80px !important;
}

.lc-mr-8[b-e0w92x6fhw] {
    margin-right: 8px !important;
}

.lc-mr-4[b-e0w92x6fhw] {
    margin-right: 4px !important;
}

.lc-font-10[b-e0w92x6fhw] {
    font-size: 10px !important;
}

.lc-font-12[b-e0w92x6fhw] {
    font-size: 12px !important;
}

.lc-mt-neg-4[b-e0w92x6fhw] {
    margin-top: -4px !important;
}

.lc-initials-avatar[b-e0w92x6fhw] {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #eef2ff !important;
    color: #4f46e5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 11px !important;
}

.lc-m-0[b-e0w92x6fhw] {
    margin: 0 !important;
}

.lc-mt-3[b-e0w92x6fhw] {
    margin-top: 3px !important;
}

.lc-mt-2[b-e0w92x6fhw] {
    margin-top: 2px !important;
}

.lc-max-width-150-ellipsis[b-e0w92x6fhw] {
    max-width: 150px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.lc-pt-0[b-e0w92x6fhw] {
    padding-top: 0 !important;
}

.lc-shadow-none[b-e0w92x6fhw] {
    box-shadow: none !important;
}

.lc-border-none[b-e0w92x6fhw] {
    border: none !important;
}

.lc-flex-start[b-e0w92x6fhw] {
    display: flex !important;
    justify-content: flex-start !important;
}

.lc-gap-16[b-e0w92x6fhw] {
    gap: 16px !important;
}

.lc-flex-center-inline[b-e0w92x6fhw] {
    display: inline-flex !important;
    align-items: center !important;
}

.lc-gap-6[b-e0w92x6fhw] {
    gap: 6px !important;
}

.lc-bg-slate-50[b-e0w92x6fhw] {
    background: #f8fafc !important;
}

.lc-rounded-8[b-e0w92x6fhw] {
    border-radius: 8px !important;
}

.lc-color-slate-800[b-e0w92x6fhw] {
    color: #1e293b !important;
}

.lc-mb-12[b-e0w92x6fhw] {
    margin-bottom: 12px !important;
}

.lc-gap-8[b-e0w92x6fhw] {
    gap: 8px !important;
}

.lc-marker-icon-purple[b-e0w92x6fhw] {
    font-size: 18px !important;
    color: #4f46e5 !important;
}

.lc-alert-info[b-e0w92x6fhw] {
    background: #eff6ff !important;
    border: 1px solid #3b82f6 !important;
    color: #1e40af !important;
    border-left-width: 4px !important;
    border-radius: 8px !important;
}

.lc-text-blue-500[b-e0w92x6fhw] {
    color: #3b82f6 !important;
}

.lc-color-indigo-900[b-e0w92x6fhw] {
    color: #1e3a8a !important;
}

.lc-alert-warning[b-e0w92x6fhw] {
    background: #fffbeb !important;
    border: 1px solid #f59e0b !important;
    color: #92400e !important;
    border-left-width: 4px !important;
    border-radius: 8px !important;
}

.lc-text-orange-500[b-e0w92x6fhw] {
    color: #f59e0b !important;
}

.lc-color-orange-900[b-e0w92x6fhw] {
    color: #78350f !important;
}

.lc-color-slate-400[b-e0w92x6fhw] {
    color: #94a3b8 !important;
}

.lc-p-10[b-e0w92x6fhw] {
    padding: 10px !important;
}

.lc-checkbox-scroll-container[b-e0w92x6fhw] {
    max-height: 100px !important;
    overflow-y: auto !important;
    border: 1px solid #e2e8f0 !important;
    padding: 6px !important;
    border-radius: 4px !important;
    background: white !important;
}

.lc-btn-indigo-sm[b-e0w92x6fhw] {
    padding: 4px 12px !important;
    height: auto !important;
    font-size: 12px !important;
    background: #4f46e5 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}

.lc-bg-indigo-50[b-e0w92x6fhw] {
    background: #eef2ff !important;
}

.lc-border-indigo-200[b-e0w92x6fhw] {
    border: 1px solid #c7d2fe !important;
}

.lc-mx-neg-5[b-e0w92x6fhw] {
    margin-left: -5px !important;
    margin-right: -5px !important;
}

.lc-color-indigo-700[b-e0w92x6fhw] {
    color: #4338ca !important;
}

.lc-font-800[b-e0w92x6fhw] {
    font-weight: 800 !important;
}

.lc-color-indigo-800[b-e0w92x6fhw] {
    color: #1e40af !important;
}

.lc-block[b-e0w92x6fhw] {
    display: block !important;
}

.lc-grid-auto-fill-180[b-e0w92x6fhw] {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
}

.lc-overflow-auto-max-150[b-e0w92x6fhw] {
    max-height: 150px !important;
    overflow-y: auto !important;
}

.lc-mapping-tag[b-e0w92x6fhw] {
    background: #eef2ff !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.lc-gap-2[b-e0w92x6fhw] {
    gap: 2px !important;
}

.lc-color-blue-400[b-e0w92x6fhw] {
    color: #60a5fa !important;
}

.lc-btn-cancel-icon[b-e0w92x6fhw] {
    color: #f87171 !important;
    border: none !important;
    background: transparent !important;
    padding: 0 4px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
}

.lc-pt-16[b-e0w92x6fhw] {
    padding-top: 16px !important;
}

.lc-rounded-t-0[b-e0w92x6fhw] {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.lc-width-80[b-e0w92x6fhw] {
    width: 80px !important;
}

.lc-color-slate-600[b-e0w92x6fhw] {
    color: #475569 !important;
}

.lc-search-input-field-custom[b-e0w92x6fhw] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 8px 16px 8px 36px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    outline: none !important;
    width: 220px !important;
}

.lc-role-filter-select[b-e0w92x6fhw] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    outline: none !important;
}

.lc-alert-danger-custom[b-e0w92x6fhw] {
    margin: 20px 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-modal-max-700[b-e0w92x6fhw] {
    max-width: 700px !important;
}

.lc-alert-danger-sm[b-e0w92x6fhw] {
    padding: 10px 15px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
}

.lc-text-danger[b-e0w92x6fhw] {
    color: #ef4444 !important;
}

.lc-relative[b-e0w92x6fhw] {
    position: relative !important;
}

.lc-pr-40[b-e0w92x6fhw] {
    padding-right: 40px !important;
}

.lc-pwd-toggle-btn[b-e0w92x6fhw] {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
}

.lc-width-fit[b-e0w92x6fhw] {
    width: fit-content !important;
}

.lc-mt-0[b-e0w92x6fhw] {
    margin-top: 0 !important;
}

.lc-mt-16[b-e0w92x6fhw] {
    margin-top: 16px !important;
}

.lc-mt-8[b-e0w92x6fhw] {
    margin-top: 8px !important;
}

.lc-p-8-18[b-e0w92x6fhw] {
    padding: 8px 18px !important;
}

.lc-vertical-middle[b-e0w92x6fhw] {
    vertical-align: middle !important;
}

.lc-mr-4[b-e0w92x6fhw] {
    margin-right: 4px !important;
}

.lc-color-green-500[b-e0w92x6fhw] {
    color: #22c55e !important;
}

.lc-mr-6[b-e0w92x6fhw] {
    margin-right: 6px !important;
}

.lc-animate-spin[b-e0w92x6fhw] {
    animation: spin 1s linear infinite !important;
}

.lc-avatar-initials-mini[b-e0w92x6fhw] {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #e0e7ff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #4f46e5 !important;
    flex-shrink: 0 !important;
}

.lc-color-orange-500[b-e0w92x6fhw] {
    color: #f59e0b !important;
}

.lc-width-120[b-e0w92x6fhw] {
    width: 120px !important;
}

.lc-role-badge[b-e0w92x6fhw] {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    display: inline-block !important;
}

.lc-role-badge-admin[b-e0w92x6fhw] {
    background: #ede9fe !important;
    color: #7c3aed !important;
}

.lc-role-badge-staff[b-e0w92x6fhw] {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
}

.lc-role-badge-labtech[b-e0w92x6fhw] {
    background: #dcfce7 !important;
    color: #15803d !important;
}

.lc-role-badge-receptionist[b-e0w92x6fhw] {
    background: #fef9c3 !important;
    color: #b45309 !important;
}

.lc-role-badge-unknown[b-e0w92x6fhw] {
    background: #f1f5f9 !important;
    color: #64748b !important;
}

.lc-status-pill-gray[b-e0w92x6fhw] {
    background: rgba(15, 23, 42, 0.05) !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    cursor: pointer !important;
    gap: 10px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
}

.lc-status-dot-green[b-e0w92x6fhw] {
    background: #10b981 !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
}

.lc-dropdown-pos-top-100[b-e0w92x6fhw] {
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
}

.lc-toast-success[b-e0w92x6fhw] {
    border: 1px solid #16a34a !important;
    padding: 6px 8px !important;
    display: block !important;
    border-radius: 6px !important;
    background: #f0fdf4 !important;
}

.lc-gap-10[b-e0w92x6fhw] {
    gap: 10px !important;
}

.lc-height-40[b-e0w92x6fhw] {
    height: 40px !important;
}

.lc-width-64[b-e0w92x6fhw] {
    width: 64px !important;
}

.lc-width-128[b-e0w92x6fhw] {
    width: 128px !important;
}

.lc-p-48[b-e0w92x6fhw] {
    padding: 48px !important;
}

.lc-italic[b-e0w92x6fhw] {
    font-style: italic !important;
}

.lc-font-mono[b-e0w92x6fhw] {
    font-family: monospace !important;
}

.lc-color-slate-900[b-e0w92x6fhw] {
    color: #1e293b !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   VIEW BILLS PAGE STYLES
   ───────────────────────────────────────────────────────────────────────── */
.view-bills-page[b-e0w92x6fhw] {
    padding: 24px;
    background: #f8fafc;
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.view-bills-page .header-section[b-e0w92x6fhw] {
    margin-bottom: 24px;
}

.view-bills-page .page-title[b-e0w92x6fhw] {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.view-bills-page .page-subtitle[b-e0w92x6fhw] {
    font-size: 14px;
    color: #64748b;
    margin-top: 4px;
}

.view-bills-page .filter-card[b-e0w92x6fhw] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin-bottom: 24px;
}

.view-bills-page .filter-grid[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 20px;
}

.view-bills-page .filter-item label[b-e0w92x6fhw] {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.view-bills-page .form-control[b-e0w92x6fhw],
.view-bills-page .form-select[b-e0w92x6fhw] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 13px;
    color: #1e293b;
}

.view-bills-page .btn-refresh[b-e0w92x6fhw],
.view-bills-page .btn-close-counter[b-e0w92x6fhw] {
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 12px;
    text-transform: uppercase;
}

.view-bills-page .btn-refresh[b-e0w92x6fhw] {
    background: #2563eb;
}

.view-bills-page .btn-refresh:hover[b-e0w92x6fhw] {
    background: #1d4ed8;
}

.view-bills-page .btn-close-counter[b-e0w92x6fhw] {
    background: #475569;
}

.view-bills-page .btn-close-counter:hover[b-e0w92x6fhw] {
    background: #334155;
}

.view-bills-page .filter-action[b-e0w92x6fhw] {
    display: flex;
    gap: 12px;
}

.view-bills-page .search-grid[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.view-bills-page .search-item[b-e0w92x6fhw] {
    position: relative;
}

.view-bills-page .search-icon[b-e0w92x6fhw] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 20px;
}

.view-bills-page .search-input[b-e0w92x6fhw] {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    font-size: 13px;
    transition: 0.2s;
}

.view-bills-page .table-container[b-e0w92x6fhw] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    max-width: 100%;
}

.view-bills-page .premium-table[b-e0w92x6fhw] {
    width: 100%;
    min-width: 1200px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.view-bills-page .premium-table th[b-e0w92x6fhw] {
    background: #ffffff;
    border-bottom: 2px solid #f1f5f9;
    padding: 16px;
    text-align: left;
    font-weight: 700;
    color: #475569;
    font-size: 11px;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    z-index: 5;
}

.view-bills-page .premium-table td[b-e0w92x6fhw] {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.view-bills-page .sid-text[b-e0w92x6fhw] {
    font-weight: 700;
    color: #2563eb;
}

.view-bills-page .pat-id[b-e0w92x6fhw] {
    font-weight: 600;
    color: #1e293b;
}

.view-bills-page .pat-name[b-e0w92x6fhw] {
    font-weight: 700;
    color: var(--lc-secondary);
}

.view-bills-page .mobile-text[b-e0w92x6fhw] {
    color: #64748b;
    font-size: 12px;
}

.view-bills-page .action-icons[b-e0w92x6fhw] {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.view-bills-page .icon-btn[b-e0w92x6fhw] {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    transition: 0.2s;
    padding: 4px;
    border-radius: 4px;
}

.view-bills-page .icon-btn:hover[b-e0w92x6fhw] {
    background: #f1f5f9;
    color: #1e293b;
}

.view-bills-page .icon-btn.text-danger:hover[b-e0w92x6fhw] {
    background: #fee2e2;
    color: #ef4444;
}

.view-bills-page .footer-section[b-e0w92x6fhw] {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-bills-page .results-info[b-e0w92x6fhw] {
    font-size: 13px;
    color: #64748b;
}

.view-bills-page .pagination[b-e0w92x6fhw] {
    display: flex;
    gap: 4px;
}

.view-bills-page .pg-btn[b-e0w92x6fhw] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: 0.2s;
}

.view-bills-page .pg-btn:hover[b-e0w92x6fhw] {
    border-color: #2563eb;
    color: #2563eb;
}

.view-bills-page .pg-btn.active[b-e0w92x6fhw] {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.view-bills-page .loader-overlay[b-e0w92x6fhw] {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.view-bills-page .loader[b-e0w92x6fhw] {
    width: 32px;
    height: 32px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.view-bills-page .settled-row[b-e0w92x6fhw] {
    border-left: 4px solid #10b981;
}

.view-bills-page .pending-row[b-e0w92x6fhw] {
    border-left: 4px solid #f59e0b;
}

.lc-text-center[b-e0w92x6fhw] {
    text-align: center !important;
}

.lc-text-right[b-e0w92x6fhw] {
    text-align: right !important;
}

.lc-text-left[b-e0w92x6fhw] {
    text-align: left !important;
}

.lc-font-700[b-e0w92x6fhw] {
    font-weight: 700 !important;
}

.lc-font-600[b-e0w92x6fhw] {
    font-weight: 600 !important;
}

.lc-font-800[b-e0w92x6fhw] {
    font-weight: 800 !important;
}

.lc-color-green-500[b-e0w92x6fhw] {
    color: #10b981 !important;
}

.lc-color-red-500[b-e0w92x6fhw] {
    color: #ef4444 !important;
}

.lc-color-orange-500[b-e0w92x6fhw] {
    color: #f97316 !important;
}

.lc-cursor-pointer[b-e0w92x6fhw] {
    cursor: pointer !important;
}

.lc-rounded-pill-input[b-e0w92x6fhw] {
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    padding: 10px 18px !important;
    transition: all 0.2s ease !important;
}

.lc-rounded-pill-input:focus[b-e0w92x6fhw] {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    background: white !important;
    outline: none !important;
}

.lc-modal-close-btn-effect[b-e0w92x6fhw] {
    transition: transform 0.2s !important;
}

.lc-modal-close-btn-effect:hover[b-e0w92x6fhw] {
    transform: scale(1.1) !important;
    color: #ef4444 !important;
}

.lc-fadeInUp[b-e0w92x6fhw] {
    animation: fadeInUp 0.4s ease-out !important;
}

.lc-width-100[b-e0w92x6fhw] {
    width: 100px !important;
}

.lc-width-150[b-e0w92x6fhw] {
    width: 150px !important;
}

.lc-width-180[b-e0w92x6fhw] {
    width: 180px !important;
}

.lc-w-220[b-e0w92x6fhw] {
    width: 220px !important;
}

.lc-circle-btn-32[b-e0w92x6fhw] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    background: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   RATE MASTER PAGE STYLES
   ───────────────────────────────────────────────────────────────────────── */
.rate-container[b-e0w92x6fhw] {
    background: #f8fafc;
    padding: 24px;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.rate-header[b-e0w92x6fhw] {
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: white;
    background: white;
}

.rate-header-radios[b-e0w92x6fhw] {
    display: flex;
    gap: 24px;
}

.rate-radio-label[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
}

.rate-radio-input[b-e0w92x6fhw] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    outline: none;
    transition: 0.2s;
}

.rate-radio-input:checked[b-e0w92x6fhw] {
    background: #4f46e5;
    border-color: #4f46e5;
    box-shadow: inset 0 0 0 3px white;
}

.rate-main-card[b-e0w92x6fhw] {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px #00000010;
    border: 1px solid #e2e8f0;
}

.rate-form-grid[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 48px;
}

.rate-form-col[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rate-form-group[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.rate-label[b-e0w92x6fhw] {
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    color: #475569;
    width: 100px;
}

.rate-input[b-e0w92x6fhw] {
    flex: 1;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 12px;
    outline: none;
}

.rate-input:focus[b-e0w92x6fhw] {
    border-color: #4f46e5;
}

.rate-radio-group[b-e0w92x6fhw] {
    display: flex;
    gap: 16px;
    flex: 1;
}

.rate-radio-item[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 11px;
}

.rate-radio-item-input[b-e0w92x6fhw] {
    cursor: pointer;
    width: 14px;
    height: 14px;
}

.rate-form-group-gap[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
}

.rate-label-small[b-e0w92x6fhw] {
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    color: #475569;
    width: 100px;
}

.rate-btn-default[b-e0w92x6fhw] {
    height: 36px;
    padding: 0 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.rate-right-action-group[b-e0w92x6fhw] {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.rate-nested-group[b-e0w92x6fhw] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rate-input-small[b-e0w92x6fhw] {
    width: 60px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    text-align: center;
}

.rate-btn-set[b-e0w92x6fhw] {
    height: 36px;
    padding: 0 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
}

.rate-btn-set-blue[b-e0w92x6fhw] {
    height: 36px;
    padding: 0 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
}

.rate-btn-big[b-e0w92x6fhw] {
    width: 140px;
    height: 84px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rate-grid-container[b-e0w92x6fhw] {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px #00000010;
}

.rate-grid-scroll[b-e0w92x6fhw] {
    max-height: 500px;
    overflow-y: auto;
}

.rate-table[b-e0w92x6fhw] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.rate-table th[b-e0w92x6fhw] {
    padding: 12px 16px;
    text-align: left;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 800;
    white-space: nowrap;
}

.rate-table td[b-e0w92x6fhw] {
    padding: 8px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
    white-space: nowrap;
}

.rate-row-active[b-e0w92x6fhw] {
    background: #f1f5f9;
}

.rate-row-pointer[b-e0w92x6fhw] {
    color: #555;
    margin-right: 4px;
}

.rate-footer-actions[b-e0w92x6fhw] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.rate-btn-footer[b-e0w92x6fhw] {
    height: 40px;
    padding: 0 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    cursor: pointer;
}

.rate-btn-footer.wide[b-e0w92x6fhw] {
    min-width: 100px;
}

.rate-btn-footer.primary[b-e0w92x6fhw] {
    background: #4f46e5;
    color: white;
    border: none;
}

.cm-input option[b-e0w92x6fhw],
.form-control option[b-e0w92x6fhw] {
    color: #1e293b !important;
    background: #ffffff !important;
}

.lc-width-25p[b-e0w92x6fhw] {
    width: 25% !important;
}

.lc-width-15p[b-e0w92x6fhw] {
    width: 15% !important;
}

.lc-width-20p[b-e0w92x6fhw] {
    width: 20% !important;
}

.lc-width-140[b-e0w92x6fhw] {
    width: 140px !important;
}

.lc-p-40[b-e0w92x6fhw] {
    padding: 40px !important;
}

.lc-mb-0[b-e0w92x6fhw] {
    margin-bottom: 0px !important;
}

.lc-mb-20[b-e0w92x6fhw] {
    margin-bottom: 20px !important;
}

.lc-mt-2px[b-e0w92x6fhw] {
    margin-top: 2px !important;
}

.lc-mt-neg-4[b-e0w92x6fhw] {
    margin-top: -4px !important;
}

.lc-mr-8[b-e0w92x6fhw] {
    margin-right: 8px !important;
}

.lc-gap-16[b-e0w92x6fhw] {
    gap: 16px !important;
}

.lc-gap-12[b-e0w92x6fhw] {
    gap: 12px !important;
}

.lc-gap-8[b-e0w92x6fhw] {
    gap: 8px !important;
}

.lc-rounded-lg[b-e0w92x6fhw] {
    border-radius: 8px !important;
}

.lc-rounded-12[b-e0w92x6fhw] {
    border-radius: 12px !important;
}

.lc-rounded-20[b-e0w92x6fhw] {
    border-radius: 20px !important;
}

.lc-rounded-full[b-e0w92x6fhw] {
    border-radius: 50% !important;
}

.lc-rounded-t-0[b-e0w92x6fhw] {
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
}

.lc-shadow-sm[b-e0w92x6fhw] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.lc-icon-24[b-e0w92x6fhw] {
    font-size: 24px !important;
}

.lc-icon-18[b-e0w92x6fhw] {
    font-size: 18px !important;
}

.lc-text-10[b-e0w92x6fhw] {
    font-size: 10px !important;
}

.lc-text-11[b-e0w92x6fhw] {
    font-size: 11px !important;
}

.lc-text-12[b-e0w92x6fhw] {
    font-size: 12px !important;
}

.lc-text-13[b-e0w92x6fhw] {
    font-size: 13px !important;
}

.lc-text-18[b-e0w92x6fhw] {
    font-size: 18px !important;
}

.lc-uppercase[b-e0w92x6fhw] {
    text-transform: uppercase !important;
}

.lc-ls-05[b-e0w92x6fhw] {
    letter-spacing: 0.5px !important;
}

.lc-w-40[b-e0w92x6fhw] {
    width: 40px !important;
}

.lc-h-40[b-e0w92x6fhw] {
    height: 40px !important;
}

.lc-w-6[b-e0w92x6fhw] {
    width: 6px !important;
}

.lc-h-6[b-e0w92x6fhw] {
    height: 6px !important;
}

.lc-w-200[b-e0w92x6fhw] {
    width: 200px !important;
}

.lc-w-220[b-e0w92x6fhw] {
    width: 220px !important;
}

.lc-text-white[b-e0w92x6fhw] {
    color: #ffffff !important;
}

.lc-animate-pulse[b-e0w92x6fhw] {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

.lc-alert-danger-custom[b-e0w92x6fhw] {
    margin: 20px 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-alert-danger-sm[b-e0w92x6fhw] {
    padding: 10px 15px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
}

.lc-alert-success-custom[b-e0w92x6fhw] {
    margin-bottom: 20px !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-bg-danger-light[b-e0w92x6fhw] {
    background-color: #fef2f2 !important;
}

.lc-bg-success-light[b-e0w92x6fhw] {
    background-color: #f0fdf4 !important;
}

.lc-abs-center-y[b-e0w92x6fhw] {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.lc-left-12[b-e0w92x6fhw] {
    left: 12px !important;
}

.lc-right-12[b-e0w92x6fhw] {
    right: 12px !important;
}

.lc-p-8-16-8-36[b-e0w92x6fhw] {
    padding: 8px 16px 8px 36px !important;
}

.lc-grid[b-e0w92x6fhw] {
    display: grid !important;
}

.lc-grid-cols-80-1fr[b-e0w92x6fhw] {
    grid-template-columns: 80px 1fr !important;
}

.lc-grid-cols-3[b-e0w92x6fhw] {
    grid-template-columns: repeat(3, 1fr) !important;
}

.lc-grid-cols-4[b-e0w92x6fhw] {
    grid-template-columns: repeat(4, 1fr) !important;
}

.lc-grid-cols-5[b-e0w92x6fhw] {
    grid-template-columns: repeat(5, 1fr) !important;
}

.lc-flex-between[b-e0w92x6fhw] {
    justify-content: space-between !important;
}

.lc-mb-4px[b-e0w92x6fhw] {
    margin-bottom: 4px !important;
}

.lc-font-500[b-e0w92x6fhw] {
    font-weight: 500 !important;
}





/* Styles from Billing.razor */
.no-spin[b-e0w92x6fhw]::-webkit-inner-spin-button,
.no-spin[b-e0w92x6fhw]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spin[b-e0w92x6fhw] {
    -moz-appearance: textfield;
}

.pay-input.no-spin[b-e0w92x6fhw] {
    appearance: textfield;
}

.bl-id-type-select[b-e0w92x6fhw] {
    background: transparent;
    color: white;
    border: none;
    width: 100%;
    height: 100%;
    padding: 0 8px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    outline: none;
}

.bl-id-type-select option[b-e0w92x6fhw] {
    color: #1e293b !important;
    background: #ffffff !important;
    text-transform: none;
}



.bl-id-input[b-e0w92x6fhw] {
    flex: 1;
    border: none;
    padding: 10px 12px;
    font-size: 13px;
    outline: none;
}

.lc-bg-white[b-e0w92x6fhw] {
    background-color: #ffffff !important;
}

.lc-border-slate-200[b-e0w92x6fhw] {
    border: 1px solid #e2e8f0 !important;
}

.lc-outline-none[b-e0w92x6fhw] {
    outline: none !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   TOAST NOTIFICATION STYLES
   ───────────────────────────────────────────────────────────────────────── */
.toast-container[b-e0w92x6fhw] {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-item[b-e0w92x6fhw] {
    min-width: 300px;
    max-width: 450px;
    padding: 16px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
    animation: toast-in-b-e0w92x6fhw 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 6px solid #ccc;
}

.toast-item.show[b-e0w92x6fhw] {
    opacity: 1;
    transform: translateX(0);
}

.toast-item.hide[b-e0w92x6fhw] {
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast-item.success[b-e0w92x6fhw] {
    border-left-color: #22c55e;
}

.toast-item.error[b-e0w92x6fhw] {
    border-left-color: #ef4444;
}

.toast-item.warning[b-e0w92x6fhw] {
    border-left-color: #f59e0b;
}

.toast-item.info[b-e0w92x6fhw] {
    border-left-color: #3b82f6;
}

.toast-item.success .icon[b-e0w92x6fhw] {
    color: #22c55e;
}

.toast-item.error .icon[b-e0w92x6fhw] {
    color: #ef4444;
}

.toast-item.warning .icon[b-e0w92x6fhw] {
    color: #f59e0b;
}

.toast-item.info .icon[b-e0w92x6fhw] {
    color: #3b82f6;
}

.toast-content[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-content .icon[b-e0w92x6fhw] {
    font-variation-settings: 'FILL' 1;
}

.toast-content .message[b-e0w92x6fhw] {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.toast-item .close-btn[b-e0w92x6fhw] {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.toast-item .close-btn:hover[b-e0w92x6fhw] {
    color: #475569;
}

@keyframes toast-in-b-e0w92x6fhw {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   PREMIUM BILLING SHARED STYLES
   ───────────────────────────────────────────────────────────────────────── */
:root[b-e0w92x6fhw] {
    --premium-blue: #2563eb;
    --premium-blue-light: #eff6ff;
    --premium-blue-dark: #1e40af;
    --premium-green: #10b981;
    --premium-green-light: #ecfdf5;
    --premium-red: #ef4444;
    --premium-red-light: #fef2f2;
    --premium-gray-text: #64748b;
    --premium-dark-text: #1e293b;
    --premium-border: #e2e8f0;
    --premium-bg: #f8fafc;
    --premium-card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --premium-card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.premium-page-container[b-e0w92x6fhw] {
    padding: 24px;
    background-color: var(--premium-bg);
    min-height: 100vh;
    font-family: 'Public Sans', sans-serif;
}

.premium-header[b-e0w92x6fhw] {
    margin-bottom: 32px;
}

.premium-title[b-e0w92x6fhw] {
    font-size: 28px;
    font-weight: 800;
    color: var(--premium-dark-text);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.premium-subtitle[b-e0w92x6fhw] {
    font-size: 14px;
    color: var(--premium-gray-text);
    font-weight: 500;
}

.premium-filter-card[b-e0w92x6fhw] {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--premium-card-shadow);
    border: 1px solid var(--premium-border);
    margin-bottom: 24px;
}

.premium-filter-grid[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    align-items: flex-end;
}

.premium-form-group[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.premium-label[b-e0w92x6fhw] {
    font-size: 11px;
    font-weight: 700;
    color: var(--premium-gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-input[b-e0w92x6fhw],
.premium-select[b-e0w92x6fhw] {
    height: 44px;
    border-radius: 8px;
    border: 1.5px solid var(--premium-border);
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--premium-dark-text);
    background-color: #fff;
    transition: all 0.2s;
    outline: none;
}

.premium-input:focus[b-e0w92x6fhw],
.premium-select:focus[b-e0w92x6fhw] {
    border-color: var(--premium-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.premium-search-wrapper[b-e0w92x6fhw] {
    position: relative;
    display: flex;
    align-items: center;
}

.premium-search-icon[b-e0w92x6fhw] {
    position: absolute;
    left: 12px;
    color: var(--premium-gray-text);
    font-size: 18px;
}

.premium-search-input[b-e0w92x6fhw] {
    padding-left: 40px !important;
}

.premium-btn-refresh[b-e0w92x6fhw] {
    height: 44px;
    background: var(--premium-blue);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-btn-refresh:hover[b-e0w92x6fhw] {
    background: var(--premium-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.premium-search-bar-row[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.premium-table-card[b-e0w92x6fhw] {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--premium-card-shadow);
    border: 1px solid var(--premium-border);
}

.premium-table[b-e0w92x6fhw] {
    width: 100%;
    border-collapse: collapse;
}

.premium-table th[b-e0w92x6fhw] {
    background: #f8fafc;
    padding: 16px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: var(--premium-gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--premium-border);
}

.premium-table td[b-e0w92x6fhw] {
    padding: 16px 12px;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--premium-dark-text);
    vertical-align: middle;
}

.premium-table tbody tr:hover[b-e0w92x6fhw] {
    background-color: #f8fafc;
}

.sid-text[b-e0w92x6fhw] {
    font-weight: 700;
    color: #475569;
}

.patient-id[b-e0w92x6fhw] {
    font-weight: 800;
    color: #1e293b;
}

.patient-name[b-e0w92x6fhw] {
    font-weight: 700;
    display: block;
}

.mobile-text[b-e0w92x6fhw] {
    font-size: 12px;
    color: var(--premium-gray-text);
    font-weight: 500;
}

.amount-text[b-e0w92x6fhw] {
    font-weight: 700;
}

.discount-text[b-e0w92x6fhw] {
    color: var(--premium-red);
    font-weight: 600;
}

.total-text[b-e0w92x6fhw] {
    font-weight: 800;
    color: var(--premium-dark-text);
}

.paid-text[b-e0w92x6fhw] {
    font-weight: 700;
    color: var(--premium-green);
}

.balance-text[b-e0w92x6fhw] {
    font-weight: 700;
}

.action-buttons[b-e0w92x6fhw] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.action-btn[b-e0w92x6fhw] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--premium-border);
    background: white;
    color: var(--premium-gray-text);
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover[b-e0w92x6fhw] {
    background: var(--premium-blue-light);
    color: var(--premium-blue);
    border-color: var(--premium-blue);
}

.premium-footer[b-e0w92x6fhw] {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-top: 1px solid var(--premium-border);
}

.pagination-info[b-e0w92x6fhw] {
    font-size: 13px;
    color: var(--premium-gray-text);
    font-weight: 500;
}

.pagination-controls[b-e0w92x6fhw] {
    display: flex;
    gap: 4px;
}

.page-btn[b-e0w92x6fhw] {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--premium-border);
    background: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.page-btn.active[b-e0w92x6fhw] {
    background: var(--premium-blue);
    color: white;
    border-color: var(--premium-blue);
}

.page-btn:hover:not(.active)[b-e0w92x6fhw] {
    background: #f1f5f9;
}

.totals-row[b-e0w92x6fhw] {
    background: #f8fafc !important;
}

.totals-label[b-e0w92x6fhw] {
    font-weight: 800;
    text-transform: uppercase;
    text-align: right;
    padding-right: 24px !important;
}

.total-val[b-e0w92x6fhw] {
    font-weight: 800;
    font-size: 15px;
}

.bl-datetime-inline[b-e0w92x6fhw] {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    cursor: pointer !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   TEST MASTER (MODIFY TEST) UI STYLES
   ───────────────────────────────────────────────────────────────────────── */
.tm-page-wrapper[b-e0w92x6fhw] {
    padding: 20px;
    background: #f8fafc;
    min-height: 100vh;
    font-family: 'Public Sans', sans-serif;
}

.tm-top-actions[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tm-action-links[b-e0w92x6fhw] {
    display: flex;
    gap: 20px;
}

.tm-action-link[b-e0w92x6fhw] {
    font-size: 11px;
    font-weight: 700;
    color: #4f46e5;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.tm-action-link:hover[b-e0w92x6fhw] {
    text-decoration: underline;
}

.tm-user-profile[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tm-user-info[b-e0w92x6fhw] {
    text-align: right;
}

.tm-user-name[b-e0w92x6fhw] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    display: block;
}

.tm-user-role[b-e0w92x6fhw] {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

.tm-user-avatar[b-e0w92x6fhw] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tm-main-grid[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
}

.tm-card[b-e0w92x6fhw] {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 24px;
    position: relative;
}

/* Test Details Header Section */
.tm-test-details-card[b-e0w92x6fhw] {
    grid-column: 1 / span 2;
    margin-bottom: 20px;
}

.tm-test-row[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 8px;
}

.tm-form-group[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tm-label[b-e0w92x6fhw] {
    font-size: 10px;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tm-input[b-e0w92x6fhw] {
    height: 36px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.2s;
    background: #f8fafc;
}

.tm-input:focus[b-e0w92x6fhw] {
    border-color: #4f46e5;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

.tm-input-accent[b-e0w92x6fhw] {
    border-color: #4f46e5;
    background: #eff6ff;
}

.tm-table-select[b-e0w92x6fhw] {
    width: 100%;
    height: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 4px;
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    cursor: pointer;
}

.tm-table-select:focus[b-e0w92x6fhw] {
    border-color: #4f46e5;
    background: #fff;
}

/* Type & Status Section */
.tm-flex-row[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 12px;
}

.tm-type-item[b-e0w92x6fhw],
.tm-status-item[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.tm-type-item span[b-e0w92x6fhw],
.tm-status-item span[b-e0w92x6fhw] {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.tm-radio[b-e0w92x6fhw],
.tm-checkbox[b-e0w92x6fhw] {
    width: 16px;
    height: 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.tm-radio:checked[b-e0w92x6fhw] {
    border-color: #4f46e5;
    border-width: 5px;
}

.tm-checkbox[b-e0w92x6fhw] {
    border-radius: 4px;
}

.tm-checkbox:checked[b-e0w92x6fhw] {
    background-color: #4f46e5;
    border-color: #4f46e5;
}

.tm-checkbox:checked[b-e0w92x6fhw]::after {
    content: '✔';
    position: absolute;
    color: white;
    font-size: 10px;
    left: 2px;
    top: -1px;
}

/* Parameters Panel */
.tm-params-panel[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tm-params-card[b-e0w92x6fhw] {
    padding: 0;
    overflow: hidden;
}

.tm-card-header-slim[b-e0w92x6fhw] {
    padding: 12px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.tm-card-title-slim[b-e0w92x6fhw] {
    font-size: 12px;
    font-weight: 800;
    color: #1e293b;
}

.tm-link-blue[b-e0w92x6fhw] {
    font-size: 10px;
    font-weight: 700;
    color: #4f46e5;
    cursor: pointer;
    text-decoration: none;
}

.tm-link-red[b-e0w92x6fhw] {
    font-size: 10px;
    font-weight: 700;
    color: #ef4444;
    cursor: pointer;
    text-decoration: none;
}

.tm-param-table[b-e0w92x6fhw] {
    width: 100%;
    border-collapse: collapse;
}

.tm-param-table th[b-e0w92x6fhw] {
    background: #f8fafc;
    padding: 10px 16px;
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e8f0;
}

.tm-param-row[b-e0w92x6fhw] {
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s;
}

.tm-param-row:hover[b-e0w92x6fhw] {
    background: #f8fafc;
}

.tm-param-row.active[b-e0w92x6fhw] {
    background: #eff6ff;
}

.tm-param-cell[b-e0w92x6fhw] {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.tm-param-input[b-e0w92x6fhw] {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

/* Normal Values Panel */
.tm-values-card[b-e0w92x6fhw] {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tm-values-header[b-e0w92x6fhw] {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-tabs[b-e0w92x6fhw] {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 24px;
    background: #f8fafc;
}

.tm-tab[b-e0w92x6fhw] {
    padding: 14px 0;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    border: none;
    background: transparent;
}

.tm-tab.active[b-e0w92x6fhw] {
    color: #4f46e5;
}

.tm-tab.active[b-e0w92x6fhw]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #4f46e5;
}

.tm-value-row[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px;
}

.tm-quill-editor[b-e0w92x6fhw] {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    min-height: 120px;
    margin-top: 8px;
}

.tm-editor-toolbar[b-e0w92x6fhw] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 4px 8px;
    display: flex;
    gap: 12px;
}

.tm-editor-btn[b-e0w92x6fhw] {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.tm-editor-btn:hover[b-e0w92x6fhw] {
    background: #e2e8f0;
}

.tm-editor-content[b-e0w92x6fhw] {
    padding: 16px;
    min-height: 100px;
    font-size: 14px;
    outline: none;
}

/* Bottom Action Bar */
.tm-bottom-bar[b-e0w92x6fhw] {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 16px 16px;
    margin-top: 20px;
}

.tm-date-range[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px 12px;
}

.tm-date-input[b-e0w92x6fhw] {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    width: 90px;
    cursor: pointer;
}

.tm-btn-row[b-e0w92x6fhw] {
    display: flex;
    gap: 10px;
}

.tm-btn[b-e0w92x6fhw] {
    height: 38px;
    padding: 0 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.tm-btn-outline[b-e0w92x6fhw] {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.tm-btn-primary[b-e0w92x6fhw] {
    background: #4f46e5;
    color: #fff;
}

.tm-btn-danger[b-e0w92x6fhw] {
    background: #ef4444;
    color: #fff;
}

.tm-btn-dark[b-e0w92x6fhw] {
    background: #1e293b;
    color: #fff;
}

.tm-btn-secondary[b-e0w92x6fhw] {
    background: #f3f4f6;
    color: #4b5563;
}

.tm-update-btn[b-e0w92x6fhw] {
    background: #fff;
    border: 1.5px solid #f97316;
    color: #f97316;
    padding: 8px 24px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-end;
    margin: 24px;
    margin-top: 0;
}

.tm-update-btn:hover[b-e0w92x6fhw] {
    background: #fff7ed;
    transform: translateY(-1px);
}

/* Special styling for input groups in image */
.tm-input-group[b-e0w92x6fhw] {
    position: relative;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    padding: 0 12px;
    height: 36px;
}

.tm-input-group input[b-e0w92x6fhw] {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 13px;
    font-weight: 600;
}

.tm-input-group .material-symbols-outlined[b-e0w92x6fhw] {
    color: #94a3b8;
    font-size: 18px;
}

.tm-btn-blue[b-e0w92x6fhw] {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.tm-btn-black[b-e0w92x6fhw] {
    background: #000;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

/* Status section checkboxes specifically matching the image style */
.tm-status-grid[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    align-items: center;
    margin-left: 20px;
    margin-top: 4px;
}

.tm-status-box[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 2px 0;
}

.tm-status-check[b-e0w92x6fhw] {
    width: 12px;
    height: 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.tm-status-box:hover .tm-status-check[b-e0w92x6fhw] {
    border-color: #4f46e5;
}

.tm-status-box.active .tm-status-check[b-e0w92x6fhw] {
    border-color: #4f46e5;
    border-width: 4px;
}

.tm-status-label[b-e0w92x6fhw] {
    font-size: 10px;
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
}

.tm-sep-row[b-e0w92x6fhw] {
    height: 1px;
    background: #f1f5f9;
    width: 100%;
    margin: 2px 0;
}

/* Flex & Layout Utilities */
.display-flex[b-e0w92x6fhw] {
    display: flex;
}

.flex-col[b-e0w92x6fhw] {
    flex-direction: column;
}

.flex-1[b-e0w92x6fhw] {
    flex: 1;
}

.align-center[b-e0w92x6fhw] {
    align-items: center;
}

.justify-center[b-e0w92x6fhw] {
    justify-content: center;
}

.justify-between[b-e0w92x6fhw] {
    justify-content: space-between;
}

.justify-end[b-e0w92x6fhw] {
    justify-content: flex-end;
}

.gap-4[b-e0w92x6fhw] {
    gap: 4px;
}

.gap-8[b-e0w92x6fhw] {
    gap: 8px;
}

.gap-12[b-e0w92x6fhw] {
    gap: 12px;
}

.gap-16[b-e0w92x6fhw] {
    gap: 16px;
}

.gap-24[b-e0w92x6fhw] {
    gap: 24px;
}

.gap-32[b-e0w92x6fhw] {
    gap: 32px;
}

/* Spacing Utilities */
.mt-4[b-e0w92x6fhw] {
    margin-top: 4px;
}

.mt-8[b-e0w92x6fhw] {
    margin-top: 8px;
}

.mt-12[b-e0w92x6fhw] {
    margin-top: 12px;
}

.mt-20[b-e0w92x6fhw] {
    margin-top: 20px;
}

.mb-16[b-e0w92x6fhw] {
    margin-bottom: 16px;
}

.my-16[b-e0w92x6fhw] {
    margin: 16px 0;
}

.ml-4[b-e0w92x6fhw] {
    margin-left: 4px;
}

.ml-20[b-e0w92x6fhw] {
    margin-left: 20px;
}

.p-12[b-e0w92x6fhw] {
    padding: 12px;
}

.p-24[b-e0w92x6fhw] {
    padding: 24px;
}

/* Sizing Utilities */
.w-full[b-e0w92x6fhw] {
    width: 100%;
}

.w-48[b-e0w92x6fhw] {
    width: 48px;
}

.h-24[b-e0w92x6fhw] {
    height: 24px;
}

.h-28[b-e0w92x6fhw] {
    height: 28px;
}

.h-32[b-e0w92x6fhw] {
    height: 32px;
}

.h-80[b-e0w92x6fhw] {
    height: 80px;
}

/* Font Utilities */
.font-11[b-e0w92x6fhw] {
    font-size: 11px;
}

.font-14[b-e0w92x6fhw] {
    font-size: 14px;
}

.lc-outline-none[b-e0w92x6fhw] {
    outline: none;
}

/* NORMAL VALUES TAB LAYOUTS */
.tm-tab-content-grid[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    flex: 1;
}

.tm-tab-left-col[b-e0w92x6fhw],
.tm-tab-right-col[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
}

.tm-specimen-table-wrapper[b-e0w92x6fhw] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.tm-specimen-table[b-e0w92x6fhw] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.tm-specimen-table th[b-e0w92x6fhw] {
    background: #f8fafc;
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.tm-specimen-table td[b-e0w92x6fhw] {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
}

.tm-specimen-table tr:last-child td[b-e0w92x6fhw] {
    border-bottom: none;
}

.tm-specimen-table tr:hover[b-e0w92x6fhw] {
    background: #f1f5f9;
}

.tm-checkbox[b-e0w92x6fhw] {
    width: 14px;
    height: 14px;
    accent-color: #2563eb;
    cursor: pointer;
}

.tm-btn-icon-gray[b-e0w92x6fhw] {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    color: #64748b;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.tm-btn-icon-gray:hover[b-e0w92x6fhw] {
    background: #e2e8f0;
    color: #1e293b;
}

.tm-btn-icon-red[b-e0w92x6fhw] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: #fee2e2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-icon-red:hover[b-e0w92x6fhw] {
    background: #fecaca;
    color: #dc2626;
    transform: scale(1.05);
}

.tm-update-btn[b-e0w92x6fhw] {
    background: #fff;
    border: 1px solid #f97316;
    color: #f97316;
    padding: 4px 20px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-update-btn:hover[b-e0w92x6fhw] {
    background: #fff7ed;
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.1);
}

.tm-values-header-accent[b-e0w92x6fhw] {
    background: #e11d48;
    color: #fff;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tm-values-subheader[b-e0w92x6fhw] {
    padding: 12px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tm-link-orange[b-e0w92x6fhw] {
    color: #f97316;
    text-decoration: none;
}

.tm-link-orange:hover[b-e0w92x6fhw] {
    text-decoration: underline;
}

.tm-detailed-range-section[b-e0w92x6fhw] {
    border-top: 1px solid #e2e8f0;
}

.tm-specimen-table-container[b-e0w92x6fhw] {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 12px;
}

.tm-specimen-table-modern[b-e0w92x6fhw] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.tm-specimen-table-modern th[b-e0w92x6fhw] {
    background: #fff;
    padding: 6px 10px;
    text-align: left;
    font-weight: 500;
    color: #1e293b;
    border-bottom: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
}

.tm-specimen-table-modern th:last-child[b-e0w92x6fhw] {
    border-right: none;
}

.tm-specimen-table-modern td[b-e0w92x6fhw] {
    padding: 4px 10px;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #cbd5e1;
    color: #334155;
}

.tm-specimen-table-modern td:last-child[b-e0w92x6fhw] {
    border-right: none;
}

.tm-specimen-table-modern tr:last-child td[b-e0w92x6fhw] {
    border-bottom: none;
}

.tm-specimen-table-modern tr:hover td[b-e0w92x6fhw] {
    background: #f8fafc;
}

.tm-specimen-row-active td[b-e0w92x6fhw] {
    background: #eff6ff !important;
    border-left: 3px solid #4f46e5;
}

.text-red[b-e0w92x6fhw] {
    color: #ef4444 !important;
}

.fw-600[b-e0w92x6fhw] {
    font-weight: 600;
}

.bl-scan-btn[b-e0w92x6fhw] {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
}

.bl-scan-btn:hover[b-e0w92x6fhw] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

.bl-scan-btn .material-symbols-outlined[b-e0w92x6fhw] {
    font-size: 16px;
}


.bl-scan-icon-only[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2), 0 2px 4px -1px rgba(79, 70, 229, 0.1);
}

.bl-scan-icon-only:hover[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.bl-yt-search-group[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    height: 40px;
}

.bl-yt-search-group:focus-within[b-e0w92x6fhw] {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: white;
}

.bl-yt-input[b-e0w92x6fhw] {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    outline: none !important;
    height: 100% !important;
}

.bl-yt-button[b-e0w92x6fhw] {
    background: #f1f5f9;
    border: none;
    border-left: 1.5px solid #e2e8f0;
    color: #4f46e5;
    width: 44px;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.bl-yt-button:hover[b-e0w92x6fhw] {
    background: #e2e8f0;
    color: #1e293b;
}

.bl-yt-button.has-scan[b-e0w92x6fhw] {
    color: #10b981;
}

.bl-yt-button .material-icons[b-e0w92x6fhw] {
    font-size: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    width: 24px;
    height: 24px;
}

.bl-scan-status-container[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #10b981;
}

.bl-scan-tick[b-e0w92x6fhw] {
    color: #10b981;
    font-size: 18px !important;
}

.bl-scan-cancel[b-e0w92x6fhw] {
    color: #ef4444;
    font-size: 16px !important;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.bl-scan-cancel:hover[b-e0w92x6fhw] {
    opacity: 1;
}

.bl-scan-path-badge[b-e0w92x6fhw] {
    background: #f1f5f9;
    color: #64748b;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
}

/* ===============================================
   Result Entry - Premium Modern Design
   =============================================== */

/* Container */
.re-container[b-e0w92x6fhw] {
    padding: 16px 20px 80px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1e293b;
    background: #f8fafc;
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Common form elements */
.re-label[b-e0w92x6fhw] {
    font-size: 0.7rem;
    font-weight: 650;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.re-input[b-e0w92x6fhw],
.re-select[b-e0w92x6fhw],
.re-input-date[b-e0w92x6fhw],
.re-input-time[b-e0w92x6fhw],
.re-textarea[b-e0w92x6fhw] {
    padding: 4px 8px;
    border-radius: 6px;
    border: 1.5px solid #e2e8f0;
    font-size: 0.8rem;
    color: #1e293b;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.re-input:focus[b-e0w92x6fhw],
.re-select:focus[b-e0w92x6fhw],
.re-input-date:focus[b-e0w92x6fhw],
.re-input-time:focus[b-e0w92x6fhw],
.re-textarea:focus[b-e0w92x6fhw] {
    border-color: #6366f1;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.re-input[b-e0w92x6fhw],
.re-select[b-e0w92x6fhw],
.re-input-date[b-e0w92x6fhw],
.re-input-time[b-e0w92x6fhw] {
    height: 30px;
}

.re-select[b-e0w92x6fhw] {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%2394a3b8' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 24px;
    cursor: pointer;
}

.re-input-yellow[b-e0w92x6fhw] {
    background-color: #fefce8;
    border-color: #fde68a;
    color: #92400e;
}

.re-input-yellow:focus[b-e0w92x6fhw] {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* Header Section */
.re-header-section[b-e0w92x6fhw] {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.re-breadcrumb[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    font-family: inherit;
    font-size: 0.9rem;
}

.re-breadcrumb i.fa-home[b-e0w92x6fhw] {
    color: #4f46e5;
    font-size: 1rem;
    margin-right: 12px;
}

.re-breadcrumb span.text-muted[b-e0w92x6fhw] {
    color: #64748b;
    margin-right: 12px;
}

.re-breadcrumb i.fa-chevron-right[b-e0w92x6fhw] {
    color: #cbd5e1;
    font-size: 0.7rem;
    margin-right: 12px;
}

.re-breadcrumb span.text-active[b-e0w92x6fhw] {
    color: var(--lc-secondary);
    font-weight: 600;
}

.re-header-right[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1;
}

/* Sample Card */
.re-sample-card[b-e0w92x6fhw] {
    background: #fff;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #e9edf3;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.re-field-group[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Custom Checkbox/Radio */
.re-check-label[b-e0w92x6fhw],
.re-radio-label[b-e0w92x6fhw] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    user-select: none;
}

.re-check-label input[type="checkbox"][b-e0w92x6fhw],
.re-radio-label input[type="radio"][b-e0w92x6fhw] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    outline: none;
    transition: all 0.2s;
    position: relative;
    cursor: pointer;
}

.re-radio-label input[type="radio"][b-e0w92x6fhw] {
    border-radius: 50%;
}

.re-check-label input[type="checkbox"]:checked[b-e0w92x6fhw],
.re-radio-label input[type="radio"]:checked[b-e0w92x6fhw] {
    background-color: #6366f1;
    border-color: #6366f1;
}

.re-check-label input[type="checkbox"]:checked[b-e0w92x6fhw]::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
}

.re-radio-label input[type="radio"]:checked[b-e0w92x6fhw]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Tabs */
.re-tabs-container[b-e0w92x6fhw] {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 2px;
    padding: 0 4px;
}

.re-tab[b-e0w92x6fhw] {
    background: transparent;
    border: none;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.re-tab:hover[b-e0w92x6fhw] {
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.05);
}

.re-tab.active[b-e0w92x6fhw] {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
    background: rgba(99, 102, 241, 0.08);
}

/* Main Content Area */
.re-main-content[b-e0w92x6fhw] {
    display: flex;
    gap: 24px;
    flex-grow: 1;
    align-items: flex-start;
    position: relative;
}

.re-panel-card[b-e0w92x6fhw] {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9edf3;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.re-left-panel[b-e0w92x6fhw] {
    width: 100%;
    min-height: 390px;
}

.re-right-panel[b-e0w92x6fhw] {
    position: absolute;
    top: 10px;
    right: 16px;
    width: 320px;
    z-index: 50;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
    border: 1px solid #cbd5e1;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

/* Table Actions */
.re-panel-header[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    background: #fafbff;
}

/* ===== BILLED TESTS DROPDOWN ===== */
.re-bt-wrapper[b-e0w92x6fhw] {
    position: relative;
}

.re-billed-tests[b-e0w92x6fhw] {
    color: #ef4444;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fef2f2;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #fecaca;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
}

.re-billed-tests:hover[b-e0w92x6fhw],
.re-billed-tests.active[b-e0w92x6fhw] {
    background: #fee2e2;
    border-color: #fca5a5;
}

.re-bt-chevron[b-e0w92x6fhw] {
    font-size: 0.6rem;
    transition: transform 0.25s ease;
    margin-left: 2px;
}

.re-bt-chevron.up[b-e0w92x6fhw] {
    transform: rotate(180deg);
}

/* ===== ADVANCE FILTER DROPDOWN ===== */
.re-af-wrapper[b-e0w92x6fhw] {
    position: relative;
}

.re-advance-filter[b-e0w92x6fhw] {
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    padding: 0 12px;
    height: 30px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 650;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    user-select: none;
}

.re-advance-filter:hover[b-e0w92x6fhw],
.re-advance-filter.active[b-e0w92x6fhw] {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #1e293b;
}

.re-af-chevron[b-e0w92x6fhw] {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
    color: #94a3b8;
}

.re-af-chevron.up[b-e0w92x6fhw] {
    transform: rotate(180deg);
}

.re-af-dropdown[b-e0w92x6fhw] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 200;
    overflow: hidden;
    animation: re-bt-appear-b-e0w92x6fhw 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.re-af-dropdown-header[b-e0w92x6fhw] {
    padding: 8px 12px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.re-af-dropdown-body[b-e0w92x6fhw] {
    max-height: 280px;
    overflow-y: auto;
}

.re-af-item[b-e0w92x6fhw] {
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s;
}

.re-af-item:hover[b-e0w92x6fhw] {
    background: #f8fafc;
    color: #4f46e5;
}

.re-af-item.selected[b-e0w92x6fhw] {
    background: #eff6ff;
    color: #2563eb;
    position: relative;
    padding-left: 28px;
}

.re-af-item.selected[b-e0w92x6fhw]::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 10px;
    font-size: 0.7rem;
}

.re-af-overlay[b-e0w92x6fhw] {
    position: fixed;
    inset: 0;
    z-index: 199;
}

/* ===== TEST SEARCH ===== */
.re-search-wrapper[b-e0w92x6fhw] {
    position: relative;
    display: flex;
    align-items: center;
}

.re-test-search[b-e0w92x6fhw] {
    min-width: 180px;
    padding-right: 28px !important;
}

.re-clear-search[b-e0w92x6fhw] {
    position: absolute;
    right: 6px;
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 4px;
    font-size: 0.75rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.re-clear-search:hover[b-e0w92x6fhw] {
    color: #ef4444;
}

/* Dropdown Panel */
.re-bt-dropdown[b-e0w92x6fhw] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 240px;
    max-width: 320px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
    z-index: 200;
    overflow: hidden;
    animation: re-bt-appear-b-e0w92x6fhw 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes re-bt-appear-b-e0w92x6fhw {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Dropdown Header */
.re-bt-dropdown-header[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: linear-gradient(to right, #fef2f2, #fff);
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ef4444;
    gap: 8px;
}

.re-bt-count[b-e0w92x6fhw] {
    background: #fecaca;
    color: #b91c1c;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
}

/* Dropdown Body */
.re-bt-dropdown-body[b-e0w92x6fhw] {
    max-height: 220px;
    overflow-y: auto;
    padding: 4px 0;
}

.re-bt-dropdown-body[b-e0w92x6fhw]::-webkit-scrollbar {
    width: 4px;
}

.re-bt-dropdown-body[b-e0w92x6fhw]::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

/* Individual Test Item */
.re-bt-item[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s;
    user-select: none;
}

.re-bt-item:hover[b-e0w92x6fhw] {
    background: #f8fafc;
}

.re-bt-item.selected[b-e0w92x6fhw] {
    color: #1e293b;
}

.re-bt-item input[type="checkbox"][b-e0w92x6fhw] {
    width: 14px;
    height: 14px;
    accent-color: #ef4444;
    cursor: pointer;
    flex-shrink: 0;
}

.re-bt-item-name[b-e0w92x6fhw] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Empty State */
.re-bt-empty[b-e0w92x6fhw] {
    padding: 16px 12px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Dropdown Footer */
.re-bt-dropdown-footer[b-e0w92x6fhw] {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid #f1f5f9;
    background: #fafbff;
}

.re-bt-apply-btn[b-e0w92x6fhw] {
    flex: 1;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s;
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.25);
}

.re-bt-apply-btn:hover[b-e0w92x6fhw] {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(239, 68, 68, 0.35);
}

.re-bt-reset-btn[b-e0w92x6fhw] {
    background: #fff;
    color: #64748b;
    border: 1.5px solid #e2e8f0;
    border-radius: 7px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.re-bt-reset-btn:hover[b-e0w92x6fhw] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #334155;
}

/* Click-outside Overlay */
.re-bt-overlay[b-e0w92x6fhw] {
    position: fixed;
    inset: 0;
    z-index: 199;
    background: transparent;
    cursor: default;
}

.re-delta-link[b-e0w92x6fhw] {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    padding: 6px 10px;
    border-radius: 6px;
}

.re-delta-link:hover[b-e0w92x6fhw] {
    color: #4338ca;
    background: #eef2ff;
}

.re-btn-danger[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.re-btn-danger:hover[b-e0w92x6fhw] {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

/* Table Area */
.re-table-wrapper[b-e0w92x6fhw] {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 500px;
}

.re-data-table[b-e0w92x6fhw] {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
}

.re-data-table th[b-e0w92x6fhw] {
    padding: 10px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f1f5f9;
    border-bottom: 2px solid #94a3b8;
    text-align: left;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2;
}

.re-data-table td[b-e0w92x6fhw] {
    padding: 6px 12px;
    font-size: 0.8rem;
    color: #334155;
    font-weight: 600;
    border-bottom: 1px solid #b8c4d0;
    border-right: 1px solid #c8d2dc;
    vertical-align: middle;
    background: #fff;
}

.re-data-table td:last-child[b-e0w92x6fhw] {
    border-right: none;
}

.re-col-center[b-e0w92x6fhw] {
    text-align: center;
}

.re-edit-cell[b-e0w92x6fhw] {
    padding: 6px 8px !important;
    background: #ffffff !important;
}

.re-t-input[b-e0w92x6fhw] {
    width: 100%;
    height: 32px;
    border: 1.5px solid #94a3b8;
    border-radius: 6px;
    background: #f1f5f9;
    padding: 0 10px;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--lc-secondary);
    font-weight: 700;
    box-sizing: border-box;
}

.re-t-input:focus[b-e0w92x6fhw] {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3.5px rgba(79, 70, 229, 0.15);
}

.re-bg-red[b-e0w92x6fhw] {
    background-color: #fee2e2 !important;
    /* High/Low Red */
}

.re-bg-yellow[b-e0w92x6fhw] {
    background-color: #ffedd5 !important;
    /* Borderline Orange */
}

.re-bg-green[b-e0w92x6fhw] {
    background-color: #dcfce7 !important;
    /* Normal Green */
}

.re-bg-yellow .re-t-input[b-e0w92x6fhw],
.re-bg-red .re-t-input[b-e0w92x6fhw],
.re-bg-green .re-t-input[b-e0w92x6fhw] {
    background: inherit !important;
}

/* ===============================================
   Result Search - Premium Modern Design
   =============================================== */

.re-header-main[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 24px;
}

.re-patient-info[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.re-avatar[b-e0w92x6fhw] {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.re-patient-details[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
}

.re-patient-name[b-e0w92x6fhw] {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--lc-secondary);
    margin: 0;
}

.re-patient-meta[b-e0w92x6fhw] {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.re-header-actions[b-e0w92x6fhw] {
    display: flex;
    gap: 12px;
}

.re-entry-badge[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.re-select-minimal[b-e0w92x6fhw] {
    border: none;
    background: transparent;
    font-weight: 700;
    color: #4f46e5;
    cursor: pointer;
    outline: none;
}

.re-card[b-e0w92x6fhw] {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.re-card-header[b-e0w92x6fhw] {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    background: #fafbff;
}

.re-card-title[b-e0w92x6fhw] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-card-body[b-e0w92x6fhw] {
    padding: 16px;
}

.re-grid-search[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: flex-end;
}

.re-grid-3[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.re-field[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.re-item-primary[b-e0w92x6fhw] {
    font-weight: 600;
    color: #1e293b;
}

.re-item-secondary[b-e0w92x6fhw] {
    font-size: 0.75rem;
    color: #64748b;
}

.re-dropdown-item[b-e0w92x6fhw] {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
}

.re-dropdown-item:hover[b-e0w92x6fhw] {
    background: #f8fafc;
}

.re-search-dropdown[b-e0w92x6fhw] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
}

.re-search-input-wrap[b-e0w92x6fhw] {
    position: relative;
}

.re-content-layout[b-e0w92x6fhw] {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.re-main-panel[b-e0w92x6fhw] {
    flex: 1;
    min-width: 0;
}

.re-side-panel[b-e0w92x6fhw] {
    width: 350px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}

.re-table-container[b-e0w92x6fhw] {
    width: 100%;
    overflow-x: auto;
}

.re-table[b-e0w92x6fhw] {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
}

.re-table th[b-e0w92x6fhw] {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.re-table td[b-e0w92x6fhw] {
    padding: 12px 16px;
    font-size: 0.85rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
}

.re-row-selected[b-e0w92x6fhw] {
    background: #eff6ff !important;
}

.re-empty-state[b-e0w92x6fhw] {
    padding: 48px;
    text-align: center;
    color: #94a3b8;
}

.re-empty-icon[b-e0w92x6fhw] {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.2;
}

.re-badge[b-e0w92x6fhw] {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.re-badge-warning[b-e0w92x6fhw] {
    background: #fef3c7;
    color: #b45309;
}

.re-badge-success[b-e0w92x6fhw] {
    background: #dcfce7;
    color: #15803d;
}

.re-badge-info[b-e0w92x6fhw] {
    background: #e0e7ff;
    color: #4338ca;
}

.re-pill-group[b-e0w92x6fhw] {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
    width: fit-content;
}

.re-pill[b-e0w92x6fhw] {
    padding: 4px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.re-pill.active[b-e0w92x6fhw] {
    background: #fff;
    color: #4f46e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.re-pill input[b-e0w92x6fhw] {
    display: none;
}

.re-filter-row[b-e0w92x6fhw] {
    display: flex;
    gap: 32px;
    align-items: center;
}

.re-btn-primary[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.re-btn-secondary[b-e0w92x6fhw] {
    background: #fff;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-input-calculated[b-e0w92x6fhw] {
    background-color: #f0f9ff !important;
    border-color: #bae6fd !important;
    color: #0369a1 !important;
    font-weight: 700 !important;
    cursor: default;
}

/* Status Indicator Dots */
.re-status-wrapper[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 8px;
}

.re-status-dot[b-e0w92x6fhw] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    /* Default/None */
    flex-shrink: 0;
}

.re-status-dot.normal[b-e0w92x6fhw] {
    background-color: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.re-status-dot.high[b-e0w92x6fhw] {
    background-color: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.re-status-dot.low[b-e0w92x6fhw] {
    background-color: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

/* Table Footer */
.re-table-footer[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid #f1f5f9;
    background: #fafbff;
}

.re-tf-left[b-e0w92x6fhw],
.re-tf-right[b-e0w92x6fhw] {
    display: flex;
    gap: 12px;
    align-items: center;
}

.re-link-btn[b-e0w92x6fhw] {
    background: none;
    border: none;
    color: #4f46e5;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.re-link-btn:hover[b-e0w92x6fhw] {
    background: #eef2ff;
    color: #4338ca;
}

.re-text-danger[b-e0w92x6fhw] {
    color: #ef4444;
}

.re-text-danger:hover[b-e0w92x6fhw] {
    background: #fef2f2;
    color: #dc2626;
}

/* Right Panel Styles */
.re-rp-header[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 10px 12px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.re-rp-header i[b-e0w92x6fhw] {
    color: #4f46e5;
    font-size: 1rem;
}

.re-btn-close-popup[b-e0w92x6fhw] {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    border-radius: 4px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.re-btn-close-popup:hover[b-e0w92x6fhw] {
    background: #f1f5f9;
    color: #ef4444;
}

.re-btn-close-popup i[b-e0w92x6fhw] {
    color: inherit;
    font-size: 1rem;
}

.re-rp-tabs[b-e0w92x6fhw] {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 8px;
}

.re-rp-tab[b-e0w92x6fhw] {
    background: none;
    border: none;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    color: #64748b;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    margin-bottom: -1px;
}

.re-rp-tab:hover[b-e0w92x6fhw] {
    color: #4f46e5;
}

.re-rp-tab.active[b-e0w92x6fhw] {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
}

.re-rp-content[b-e0w92x6fhw] {
    padding: 8px 12px;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.re-form-group[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.re-row-group[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.re-control[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.re-textarea[b-e0w92x6fhw] {
    resize: vertical;
    min-height: 24px;
}

.re-flex-spacer[b-e0w92x6fhw] {
    flex-grow: 1;
}

.re-rp-footer[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
    background: #fafbff;
}

.re-btn-update[b-e0w92x6fhw] {
    background: #fff;
    color: #4f46e5;
    border: 1.5px solid #c7d2fe;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.re-btn-update:hover[b-e0w92x6fhw] {
    background: #eef2ff;
    border-color: #818cf8;
    transform: translateY(-1px);
}

/* Bottom Bar */
.re-footer-bar[b-e0w92x6fhw] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    flex-wrap: wrap;
    gap: 12px;
}

.re-footer-centered[b-e0w92x6fhw] {
    justify-content: center;
}

.re-footer-left[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.re-label-bold[b-e0w92x6fhw] {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.85rem;
}

.re-footer-divider[b-e0w92x6fhw] {
    width: 1px;
    height: 20px;
    background: #cbd5e1;
    margin: 0 4px;
}

.re-footer-right[b-e0w92x6fhw] {
    display: flex;
    gap: 12px;
}

.re-btn-action[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: #334155;
    font-family: 'Inter', sans-serif;
}

.re-btn-action:hover[b-e0w92x6fhw] {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.re-btn-action-primary[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.re-btn-action-primary:hover[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #fff;
    border: none;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

/* Responsive Layout */
@media (max-width: 1200px) {
    .re-main-content[b-e0w92x6fhw] {
        flex-direction: column;
    }

    .re-left-panel[b-e0w92x6fhw],
    .re-right-panel[b-e0w92x6fhw] {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .re-header-section[b-e0w92x6fhw],
    .re-sample-card[b-e0w92x6fhw] {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .re-header-right[b-e0w92x6fhw] {
        justify-content: flex-start;
    }

    .re-container[b-e0w92x6fhw] {
        padding: 16px 16px 120px;
    }

    .re-footer-bar[b-e0w92x6fhw] {
        padding: 12px 16px;
    }
}

/* Fixed Values Modal - Premium Design */
.re-modal-overlay[b-e0w92x6fhw] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    /* Sleek backdrop */
    z-index: 1000;
    backdrop-filter: blur(4px);
    animation: fadeInModal-b-e0w92x6fhw 0.2s ease-out;
}

@keyframes fadeInModal-b-e0w92x6fhw {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.re-modal[b-e0w92x6fhw] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: inherit;
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Soft border for elegance */
    animation: scaleInModal-b-e0w92x6fhw 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleInModal-b-e0w92x6fhw {
    from {
        transform: translate(-50%, -45%) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.re-modal-titlebar[b-e0w92x6fhw] {
    background: #f8fafc;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.re-modal-titlebar button[b-e0w92x6fhw] {
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 1.2rem;
    line-height: 1;
    transition: color 0.15s ease;
}

.re-modal-titlebar button:hover[b-e0w92x6fhw] {
    color: #ef4444;
}

.re-modal-header[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.re-modal-body[b-e0w92x6fhw] {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fdfdfd;
}

.re-modal-footer[b-e0w92x6fhw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

/* Modal Buttons */
.re-btn-outline[b-e0w92x6fhw] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.re-btn-outline:hover:not(:disabled)[b-e0w92x6fhw] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
}

.re-btn-outline:active:not(:disabled)[b-e0w92x6fhw] {
    transform: translateY(0);
}

.re-btn-outline:disabled[b-e0w92x6fhw] {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f5f9;
}

/* Destructive Button Exception */
.btn-delete:hover:not(:disabled)[b-e0w92x6fhw] {
    border-color: #fca5a5 !important;
    color: #ef4444 !important;
    background: #fef2f2 !important;
}

/* Primary Button Exception */
.re-btn-save[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.re-btn-save:hover[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(99, 102, 241, 0.4);
}

/* Print Button */
.re-btn-print[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.re-btn-print:hover[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(14, 165, 233, 0.4);
}

/* Improved Table styling inside Modal */
.re-fv-table-wrapper[b-e0w92x6fhw] {
    height: 150px;
    overflow-y: auto;
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.re-fv-table[b-e0w92x6fhw] {
    border-collapse: collapse;
    width: 100%;
}

.re-fv-table th[b-e0w92x6fhw] {
    background: #f8fafc !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding: 8px 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 2;
}

.re-fv-table td[b-e0w92x6fhw] {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.85rem;
    color: #334155;
    transition: background-color 0.15s;
    font-weight: 500;
}

.re-fv-table tbody tr:hover:not(.active-row) td[b-e0w92x6fhw] {
    background-color: #f8fafc;
}

.re-fv-table .active-row td[b-e0w92x6fhw] {
    background: #eef2ff !important;
    color: #4f46e5 !important;
    border-bottom-color: #e0e7ff;
    font-weight: 600;
}

.re-fv-table .active-row i.fa-caret-right[b-e0w92x6fhw] {
    color: #4f46e5;
}

.re-fv-table .active-row input.re-t-input[b-e0w92x6fhw] {
    color: #4f46e5;
    font-weight: 600;
}

/* ===== SAVE TOAST NOTIFICATION ===== */
.re-save-toast[b-e0w92x6fhw] {
    position: fixed;
    bottom: 72px;
    /* sit just above the footer bar */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    animation: re-toast-in-b-e0w92x6fhw 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.re-save-toast.success[b-e0w92x6fhw] {
    background: #f0fdf4;
    color: #15803d;
    border: 1.5px solid #bbf7d0;
}

.re-save-toast.success i[b-e0w92x6fhw] {
    color: #16a34a;
    font-size: 1rem;
}

.re-save-toast.error[b-e0w92x6fhw] {
    background: #fef2f2;
    color: #b91c1c;
    border: 1.5px solid #fecaca;
}

.re-save-toast.error i[b-e0w92x6fhw] {
    color: #dc2626;
    font-size: 1rem;
}

@keyframes re-toast-in-b-e0w92x6fhw {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== SAVE BUTTON SPINNER ===== */
.re-save-spinner[b-e0w92x6fhw] {
    width: 14px;
    height: 14px;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: re-spin-b-e0w92x6fhw 0.65s linear infinite;
    flex-shrink: 0;
}

@keyframes re-spin-b-e0w92x6fhw {
    to {
        transform: rotate(360deg);
    }
}

/* ===== SAVING OVERLAY BANNER ===== */
.re-saving-overlay[b-e0w92x6fhw] {
    position: fixed;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    box-shadow: 0 8px 28px rgba(79, 70, 229, 0.45);
    z-index: 600;
    white-space: nowrap;
    animation: re-toast-in-b-e0w92x6fhw 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.01em;
}

/* Save button pulsing glow while saving */
.re-btn-saving[b-e0w92x6fhw] {
    animation: re-btn-pulse-b-e0w92x6fhw 1.2s ease-in-out infinite !important;
    pointer-events: none;
}

@keyframes re-btn-pulse-b-e0w92x6fhw {
    0% {
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    }

    50% {
        box-shadow: 0 4px 24px rgba(79, 70, 229, 0.7);
    }

    100% {
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    }
}

/* ===== DOT BUTTON (…) ===== */
.re-dot-btn[b-e0w92x6fhw] {
    background: transparent;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    width: 28px;
    height: 22px;
    font-size: 0.9rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.18s ease;
    letter-spacing: 0.05em;
}

.re-dot-btn:hover[b-e0w92x6fhw] {
    background: #eef2ff;
    border-color: #6366f1;
    color: #4f46e5;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.18);
    transform: translateY(-1px);
}

/* ===== COMBINED ROW (Text + PrintResultOnly) ===== */
.re-row-combined td[b-e0w92x6fhw] {
    background-color: #f0fdf4 !important;
    border-left: 3px solid #86efac;
}

.re-combined-cell[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.re-combined-label[b-e0w92x6fhw] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #166534;
    white-space: nowrap;
    min-width: 140px;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.re-combined-result[b-e0w92x6fhw] {
    flex: 1;
    background: #f0fdf4 !important;
    color: #15803d !important;
    border: 1.5px solid #bbf7d0 !important;
    border-radius: 6px !important;
}

.re-combined-result:focus[b-e0w92x6fhw] {
    border-color: #16a34a !important;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15) !important;
    background: #fff !important;
}

/* ===== ROW DETAIL POPUP ===== */
.re-row-detail-modal[b-e0w92x6fhw] {
    width: 560px;
    max-width: 96vw;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.re-row-detail-body[b-e0w92x6fhw] {
    overflow-y: auto;
    padding: 16px !important;
    gap: 0 !important;
}

.re-rd-grid[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}

.re-rd-field[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.re-rd-field-span[b-e0w92x6fhw] {
    grid-column: 1 / -1;
}

.re-rd-field .re-input[b-e0w92x6fhw] {
    width: 100%;
    box-sizing: border-box;
}

.re-rd-field input[readonly][b-e0w92x6fhw] {
    background: #f8fafc;
    color: #94a3b8;
    cursor: default;
}

/* Authorization Buttons */
.re-btn-action-primary[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: white;
    border-color: #4f46e5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.re-btn-action-primary:hover:not(:disabled)[b-e0w92x6fhw] {
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
    background: linear-gradient(135deg, #4338ca, #3730a3);
}

.re-btn-action-info[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border-color: #0ea5e9;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.re-btn-action-info:hover:not(:disabled)[b-e0w92x6fhw] {
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
    background: linear-gradient(135deg, #0284c7, #0369a1);
}

.re-btn-action-success[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.re-btn-action-success:hover:not(:disabled)[b-e0w92x6fhw] {
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
    background: linear-gradient(135deg, #059669, #047857);
}

.re-footer-names[b-e0w92x6fhw] {
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-right: 16px;
}

.re-footer-names div[b-e0w92x6fhw] {
    min-width: 120px;
}

.re-footer-names small[b-e0w92x6fhw] {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
}

/* Detailed Normal Values Table */
.re-nv-table-container[b-e0w92x6fhw] {
    max-height: 250px;
    overflow-y: auto;
}

.re-nv-row:hover[b-e0w92x6fhw] {
    background-color: #f1f5f9;
}

.re-nv-row.active[b-e0w92x6fhw] {
    background-color: #eef2ff;
}

.re-dual-input-container[b-e0w92x6fhw] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    margin-top: 4px;
}

.re-focus-blue[b-e0w92x6fhw] {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.re-check-row-right[b-e0w92x6fhw] {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.re-row-grid[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.re-form-grid[b-e0w92x6fhw] {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.re-form-grid .re-label[b-e0w92x6fhw] {
    margin-bottom: 0;
    font-weight: 500;
    color: #334155;
    font-size: 0.8rem;
}

.re-row-flex[b-e0w92x6fhw] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.re-panel-footer[b-e0w92x6fhw] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
}

.re-grid-input[b-e0w92x6fhw] {
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    padding: 4px;
    font-size: 0.8rem;
    text-align: center;
    color: #1e293b;
}

.re-grid-input:focus[b-e0w92x6fhw] {
    border-color: #6366f1;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
    border-radius: 4px;
}

.re-btn-add-nv[b-e0w92x6fhw] {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    padding: 6px;
    width: 100%;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.re-btn-add-nv:hover[b-e0w92x6fhw] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #475569;
}

.re-btn-mini[b-e0w92x6fhw] {
    height: 32px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    color: #64748b;
    font-weight: 700;
}

.re-btn-mini:hover[b-e0w92x6fhw] {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.re-nv-header[b-e0w92x6fhw] {
    background: #f8fafc;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-nv-mini-table[b-e0w92x6fhw] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    background: #fff;
}

.re-nv-mini-table th[b-e0w92x6fhw] {
    background: #f1f5f9;
    padding: 8px;
    text-align: center;
    color: #64748b;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
}

.re-nv-mini-table td[b-e0w92x6fhw] {
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.re-btn-primary[b-e0w92x6fhw] {
    background: #4f46e5;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-btn-primary:hover[b-e0w92x6fhw] {
    background: #4338ca;
}

/* GLOBAL INPUT FONT WEIGHT OVERRIDE */
input:not([type="checkbox"]):not([type="radio"])[b-e0w92x6fhw],
select[b-e0w92x6fhw],
textarea[b-e0w92x6fhw] {
    font-weight: 700 !important;
}

input:not([type="checkbox"]):not([type="radio"])[b-e0w92x6fhw]::placeholder,
textarea[b-e0w92x6fhw]::placeholder {
    font-weight: 300 !important;
}

input:not([type="checkbox"]):not([type="radio"])[b-e0w92x6fhw]::-webkit-input-placeholder,
textarea[b-e0w92x6fhw]::-webkit-input-placeholder {
    font-weight: 300 !important;
}

input:not([type="checkbox"]):not([type="radio"])[b-e0w92x6fhw]::-moz-placeholder,
textarea[b-e0w92x6fhw]::-moz-placeholder {
    font-weight: 300 !important;
}

input:not([type="checkbox"]):not([type="radio"]):-ms-input-placeholder[b-e0w92x6fhw],
textarea:-ms-input-placeholder[b-e0w92x6fhw] {
    font-weight: 300 !important;
}

select option[b-e0w92x6fhw] {
    font-weight: 300 !important;
}

select.select-placeholder[b-e0w92x6fhw] {
    font-weight: 300 !important;
    color: #94a3b8 !important;
}

select.select-placeholder option:not([value=""]):not([value="0"])[b-e0w92x6fhw] {
    font-weight: 300 !important;
    color: #1e293b !important;
}

/* CUSTOM COMPACT TABLE OVERRIDES FOR CONSISTENCY */
.directory-table th[b-e0w92x6fhw] {
    font-size: 0.75rem !important;
    padding: 8px 12px !important;
}

.directory-table td[b-e0w92x6fhw] {
    font-size: 0.78rem !important;
    padding: 8px 12px !important;
}

/* ============================================================
   16. LC TABLE & TEXT STYLE CLASSES (FROM TEST-TYPE-MASTER)
   ============================================================ */
.lc-table-container[b-e0w92x6fhw] {
    width: 100%;
    overflow-x: auto;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.lc-table[b-e0w92x6fhw] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-e0w92x6fhw] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-e0w92x6fhw] {
    padding: 8px 12px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    white-space: nowrap !important;
}

.lc-table th:first-child[b-e0w92x6fhw] {
    border-top-left-radius: 12px !important;
}

.lc-table th:last-child[b-e0w92x6fhw] {
    border-top-right-radius: 12px !important;
}

.lc-table td[b-e0w92x6fhw] {
    padding: 8px 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 12px !important;
    vertical-align: middle !important;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    white-space: nowrap !important;
}

.lc-table tbody tr:last-child td[b-e0w92x6fhw] {
    border-bottom: none !important;
}

.lc-table-row:hover[b-e0w92x6fhw] {
    background: rgba(248, 250, 252, 0.8) !important;
}

.font-bold[b-e0w92x6fhw] {
    font-weight: 700 !important;
}

.text-indigo-600[b-e0w92x6fhw] {
    color: #4f46e5 !important;
}

.lc-color-slate-500[b-e0w92x6fhw] {
    color: #64748b !important;
}

.lc-font-mono[b-e0w92x6fhw] {
    font-family: monospace !important;
}

.lc-font-700[b-e0w92x6fhw] {
    font-weight: 700 !important;
}

.lc-font-13[b-e0w92x6fhw] {
    font-size: 12px !important;
}

.text-slate-800[b-e0w92x6fhw] {
    color: #1e293b !important;
    font-size: 13px !important;
}

.text-slate-500[b-e0w92x6fhw] {
    color: #64748b !important;
}

.text-slate-400[b-e0w92x6fhw] {
    color: #94a3b8 !important;
}

.font-12[b-e0w92x6fhw] {
    font-size: 11px !important;
}

.font-18[b-e0w92x6fhw] {
    font-size: 18px !important;
}

.italic[b-e0w92x6fhw] {
    font-style: italic !important;
}

.lc-btn[b-e0w92x6fhw] {
    padding: 8px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-e0w92x6fhw] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-e0w92x6fhw] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-e0w92x6fhw] {
    color: #4f46e5;
}

/* TABS FOR CLIENT-SPECIFIC / ALL TENANTS FILTER */
.tabs-card[b-e0w92x6fhw] {
    display: flex;
    gap: 8px;
    margin: 0 0 12px 0;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.tab-btn[b-e0w92x6fhw] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover[b-e0w92x6fhw] {
    background-color: #f8fafc;
    color: #334155;
}

.tab-btn.active[b-e0w92x6fhw] {
    background-color: #eef2ff;
    border-color: #c7d2fe;
    color: #4f46e5;
}

.tab-icon[b-e0w92x6fhw] {
    font-size: 16px;
}

.tab-badge[b-e0w92x6fhw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background-color: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
}

.tab-btn.active .tab-badge[b-e0w92x6fhw] {
    background-color: #c7d2fe;
    color: #4338ca;
}

/* SUBTLE EMPTY STATE STYLES WITH ANIMATION */
.empty-state-subtle[b-e0w92x6fhw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 16px;
    animation: subtle-fade-b-e0w92x6fhw 0.5s ease-out;
}

.empty-state-dot[b-e0w92x6fhw] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #cbd5e1;
    animation: subtle-pulse-b-e0w92x6fhw 2.5s infinite ease-in-out;
}

@keyframes subtle-fade-b-e0w92x6fhw {
    from {
        opacity: 0;
        transform: translateY(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtle-pulse-b-e0w92x6fhw {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
        background-color: #cbd5e1;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
        background-color: #818cf8;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.6;
        background-color: #cbd5e1;
    }
}

/* ============================================================
   17. COMPACT TWO-COLUMN NEW CUSTOMER FORM
   ============================================================ */
.form-grid-layout[b-e0w92x6fhw] {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.form-column[b-e0w92x6fhw] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-column-divider[b-e0w92x6fhw] {
    width: 1px;
    background-color: #f1f5f9;
    align-self: stretch;
    margin: 0 4px;
}

.form-section-title[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #4f46e5;
    margin: 0 0 4px 0;
    padding-bottom: 6px;
    border-bottom: 1px dashed #e2e8f0;
}

.form-section-title span[b-e0w92x6fhw] {
    font-size: 1.1rem;
}

.form-flags-row[b-e0w92x6fhw] {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.form-column .cm-container[b-e0w92x6fhw] {
    gap: 10px 16px !important;
    padding: 0 !important;
}

/* COMPACT INPUT FIELD OVERRIDES */
.cm-input[b-e0w92x6fhw] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 12px !important;
    height: 36px !important;
    font-size: 0.825rem !important;
    color: #334155;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.cm-field[b-e0w92x6fhw] {
    gap: 4px !important;
}

.modal-body[b-e0w92x6fhw] {
    padding: 16px 24px !important;
}

/* Compact upload button inside form columns */
.form-column .cm-file-upload[b-e0w92x6fhw] {
    padding: 8px 12px !important;
    min-height: 36px !important;
    height: auto !important;
}

.modal-footer-bar[b-e0w92x6fhw] {
    padding: 12px 24px !important;
}

.cm-add-quick-btn[b-e0w92x6fhw] {
    padding: 0;
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #4f46e5;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.cm-add-quick-btn:hover[b-e0w92x6fhw] {
    background-color: #4338ca;
}

.cm-add-quick-btn span[b-e0w92x6fhw] {
    font-size: 20px;
}

.cm-w-100[b-e0w92x6fhw] {
    width: 100%;
}

/* Styles for Search Bar from UOM Master */
.relative-positioned[b-e0w92x6fhw] {
    position: relative;
}

.lc-rounded-pill-input[b-e0w92x6fhw] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-e0w92x6fhw] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-e0w92x6fhw] {
    width: 220px;
}

.search-icon[b-e0w92x6fhw] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

/* Premium Segmented Toggle Button Styles */
.pay-type-toggle[b-e0w92x6fhw] {
    display: flex;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 2px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e2e8f0;
    height: 36px;
    align-items: center;
}

.pay-type-toggle .toggle-btn[b-e0w92x6fhw] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
    height: calc(100% - 2px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pay-type-toggle .toggle-btn.active[b-e0w92x6fhw] {
    background: #ffffff;
    color: #4f46e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.pay-type-toggle .toggle-btn:hover:not(.active)[b-e0w92x6fhw] {
    color: #334155;
    background: rgba(255, 255, 255, 0.5);
}

/* Standard Button Styles for Doctor Master and its Sub-Modals */
.btn-save[b-e0w92x6fhw],
.btn-save-new[b-e0w92x6fhw] {
    background-color: #4f46e5 !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    cursor: pointer !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: background-color 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.btn-save:hover[b-e0w92x6fhw],
.btn-save-new:hover[b-e0w92x6fhw] {
    background-color: #4338ca !important;
}

.btn-cancel[b-e0w92x6fhw],
.btn-delete-text[b-e0w92x6fhw] {
    background-color: #ffffff !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    cursor: pointer !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-cancel:hover[b-e0w92x6fhw],
.btn-delete-text:hover[b-e0w92x6fhw] {
    background-color: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #1e293b !important;
}

.btn-delete[b-e0w92x6fhw] {
    background-color: #ef4444 !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    cursor: pointer !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: background-color 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-delete:hover[b-e0w92x6fhw] {
    background-color: #dc2626 !important;
}

/* Selected state for custom file upload */
.cm-file-upload.selected[b-e0w92x6fhw] {
    background: #e0e7ff !important;
    border-color: #818cf8 !important;
    color: #4f46e5 !important;
}

/* ============================================================
   18. HIGH-EFFICIENCY COMPACT DOCTOR MASTER MODAL LAYOUT
   ============================================================ */

/* Compact horizontal photo header bar */
.profile-photo-hero-bar[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 14px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.profile-photo-hero-bar[b-e0w92x6fhw]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1, #3b82f6);
}

.profile-hero-left[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.profile-avatar-box[b-e0w92x6fhw] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #ffffff;
    border: 1.5px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.profile-avatar-box.has-photo[b-e0w92x6fhw] {
    border: 2px solid #6366f1;
}

.profile-avatar-img[b-e0w92x6fhw] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-avatar-placeholder[b-e0w92x6fhw] {
    color: #6366f1;
}

.profile-avatar-placeholder .avatar-icon[b-e0w92x6fhw] {
    font-size: 24px;
}

.profile-hero-info[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-hero-title[b-e0w92x6fhw] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.profile-hero-subtitle[b-e0w92x6fhw] {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    line-height: 1.2;
}

.profile-hero-actions[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-upload[b-e0w92x6fhw] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    margin: 0;
    transition: all 0.2s ease;
}

.btn-hero-upload:hover[b-e0w92x6fhw] {
    background: linear-gradient(135deg, #4338ca, #4f46e5);
}

.btn-hero-remove[b-e0w92x6fhw] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 5px 8px;
    background: #fef2f2;
    color: #ef4444 !important;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    cursor: pointer;
}

.status-summary-card[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.status-summary-item[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-label[b-e0w92x6fhw] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

.status-badge[b-e0w92x6fhw] {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
}

.status-badge.badge-regular[b-e0w92x6fhw] {
    background: #dcfce7;
    color: #166534;
}

.status-badge.badge-visiting[b-e0w92x6fhw] {
    background: #fef9c3;
    color: #854d0e;
}

.status-badge.badge-pay[b-e0w92x6fhw] {
    background: #e0e7ff;
    color: #3730a3;
}

/* Compact role pills */
.role-options-card[b-e0w92x6fhw] {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px 8px;
}

.role-option-pill[b-e0w92x6fhw] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    margin: 0;
}

.role-option-pill.selected[b-e0w92x6fhw] {
    background: #e0e7ff;
    border-color: #6366f1;
    color: #4f46e5;
}

/* Tight vertical spacing overrides for modal body */
.modal-body[b-e0w92x6fhw] {
    padding: 12px 20px !important;
}

.form-grid-layout[b-e0w92x6fhw] {
    gap: 16px !important;
}

.form-section-title[b-e0w92x6fhw] {
    font-size: 0.8rem !important;
    margin: 0 0 6px 0 !important;
    padding-bottom: 4px !important;
}

.cm-label-top[b-e0w92x6fhw] {
    font-size: 0.75rem !important;
    margin-bottom: 2px !important;
    font-weight: 600 !important;
}

.cm-input[b-e0w92x6fhw] {
    height: 32px !important;
    padding: 4px 10px !important;
    font-size: 0.8rem !important;
}

.pay-type-toggle[b-e0w92x6fhw] {
    height: 32px !important;
}

.pay-type-toggle .toggle-btn[b-e0w92x6fhw] {
    padding: 4px 8px !important;
    font-size: 0.75rem !important;
}

/* Custom Scrollbar for Modal Body */
.modal-body[b-e0w92x6fhw]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-e0w92x6fhw]::-webkit-scrollbar-track {
    background: #f8fafc;
}

.modal-body[b-e0w92x6fhw]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Executive Table Hover Effects */
.table-hover-row:hover[b-e0w92x6fhw] {
    background-color: #f8fafc !important;
}

.action-hover-btn:hover[b-e0w92x6fhw] {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}
/* Master dashboard theme */
:global(.main-content):has(.referral-page)[b-e0w92x6fhw] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.referral-page[b-e0w92x6fhw] { height: calc(100vh - 1.5rem) !important; min-height: 0 !important; padding: 0 !important; gap: .6rem !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.lab-header-card[b-e0w92x6fhw] { flex: 0 0 auto !important; padding: .15rem 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.lab-title-text[b-e0w92x6fhw] { color: #07547c !important; font-size: 1.85rem !important; }
.referral-page > div[style*="background"][b-e0w92x6fhw] { border-color: #dbe8f3 !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; }
.referral-page table[b-e0w92x6fhw] { border-color: #dfe7f1 !important; }
.referral-page table thead tr[b-e0w92x6fhw] { background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.referral-page table thead th[b-e0w92x6fhw] { color: #fff !important; background: transparent !important; font-size: .7rem !important; padding: .55rem .7rem !important; }
.referral-page table tbody td[b-e0w92x6fhw] { height: 44px !important; padding: .5rem .7rem !important; font-size: .78rem !important; color: #526b82 !important; }
.referral-page .table-hover-row:hover[b-e0w92x6fhw] { background: #f0f8ff !important; }
/* /Components/Pages/DoctorPatientList.razor.rz.scp.css */
/* Background blobs & animation */
.animated-background[b-9zsgp81rl1] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.floating-blob[b-9zsgp81rl1] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: float-b-9zsgp81rl1 20s infinite alternate;
}

.blob-1[b-9zsgp81rl1] {
    width: 450px;
    height: 450px;
    background: #e2f1ff;
    top: -5%;
    left: -5%;
}

.blob-2[b-9zsgp81rl1] {
    width: 450px;
    height: 450px;
    background: #f1f5f9;
    bottom: -10%;
    right: -5%;
}

@keyframes float-b-9zsgp81rl1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

.dashboard-container[b-9zsgp81rl1] {
    margin: 1.25rem auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 3rem);
    overflow: hidden;
}

.dashboard-header[b-9zsgp81rl1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.dashboard-title h1[b-9zsgp81rl1] {
    font-size: 1.85rem;
    font-weight: 800;
    color: #034f75;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
}

.dashboard-title p[b-9zsgp81rl1] {
    color: #64748b;
    font-size: 0.9rem;
}

.btn-header-action[b-9zsgp81rl1] {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #0369a1;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-header-action:hover:not(:disabled)[b-9zsgp81rl1] {
    background: #f0f9ff;
    border-color: #0284c7;
    color: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.12);
}

/* Premium Filter Card matching requested mockup image */
.filter-card[b-9zsgp81rl1] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.45rem 0.65rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    overflow: visible;
}

.filter-flex[b-9zsgp81rl1] {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    align-items: flex-end;
    width: 100%;
}

.filter-flex .filter-group[b-9zsgp81rl1] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1 1 auto;
    max-width: none;
}

.filter-flex .filter-date-col[b-9zsgp81rl1] {
    flex: 0 0 115px;
    max-width: 115px;
}

.filter-flex .filter-doc-col[b-9zsgp81rl1] {
    flex: 1 1 110px;
    min-width: 95px;
}

.filter-flex .filter-status-col[b-9zsgp81rl1] {
    flex: 0.8 1 90px;
    min-width: 80px;
}

.filter-flex .filter-type-col[b-9zsgp81rl1] {
    flex: 0.7 1 75px;
    min-width: 65px;
}

.filter-flex .filter-slot-col[b-9zsgp81rl1] {
    flex: 0.75 1 85px;
    min-width: 75px;
}

.filter-flex .filter-pagination-col[b-9zsgp81rl1] {
    flex: 0.55 1 60px;
    min-width: 55px;
}

.filter-flex .filter-search-col[b-9zsgp81rl1] {
    flex: 1.2 1 120px;
    min-width: 100px;
}

.filter-flex .filter-category-col[b-9zsgp81rl1] {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.filter-flex .filter-action-group[b-9zsgp81rl1] {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
}

.btn-category-toggle[b-9zsgp81rl1] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: #026aa7;
    border: 1.5px solid #0284c7;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 8px;
    height: 32px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-category-toggle:hover[b-9zsgp81rl1] {
    background: #f0f9ff;
    border-color: #0284c7;
}

.btn-category-toggle.active-filter[b-9zsgp81rl1] {
    outline: 2px solid #0284c7 !important;
    outline-offset: 1px !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25) !important;
}

/* Category Dropdown Popover */
.category-dropdown-wrapper[b-9zsgp81rl1] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.category-popover-menu[b-9zsgp81rl1] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    z-index: 1050;
    min-width: 200px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    animation: fadeInSlide-b-9zsgp81rl1 0.15s ease-out;
}

@keyframes fadeInSlide-b-9zsgp81rl1 {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-popover-item[b-9zsgp81rl1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.category-popover-item:hover[b-9zsgp81rl1] {
    background: #f1f5f9;
    color: #026aa7;
}

.category-popover-item.selected[b-9zsgp81rl1] {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
}

.category-popover-divider[b-9zsgp81rl1] {
    height: 1px;
    background: #e2e8f0;
    margin: 2px 0;
}

.cat-pop-count[b-9zsgp81rl1] {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 8px;
    background: #e2e8f0;
    color: #475569;
}

.category-popover-item.selected .cat-pop-count[b-9zsgp81rl1] {
    background: #0284c7;
    color: #ffffff;
}

/* Dark mode support */
html[data-theme="dark"] .category-popover-menu[b-9zsgp81rl1],
body.dark-mode .category-popover-menu[b-9zsgp81rl1] {
    background: #0f172a;
    border-color: #334155;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .category-popover-item[b-9zsgp81rl1],
body.dark-mode .category-popover-item[b-9zsgp81rl1] {
    color: #cbd5e1;
}

html[data-theme="dark"] .category-popover-item:hover[b-9zsgp81rl1],
body.dark-mode .category-popover-item:hover[b-9zsgp81rl1] {
    background: #1e293b;
    color: #38bdf8;
}

html[data-theme="dark"] .category-popover-item.selected[b-9zsgp81rl1],
body.dark-mode .category-popover-item.selected[b-9zsgp81rl1] {
    background: #0369a1;
    color: #ffffff;
}

html[data-theme="dark"] .cat-pop-count[b-9zsgp81rl1],
body.dark-mode .cat-pop-count[b-9zsgp81rl1] {
    background: #334155;
    color: #cbd5e1;
}

html[data-theme="dark"] .category-popover-divider[b-9zsgp81rl1],
body.dark-mode .category-popover-divider[b-9zsgp81rl1] {
    background: #334155;
}

html[data-theme="dark"] .btn-category-toggle[b-9zsgp81rl1],
body.dark-mode .btn-category-toggle[b-9zsgp81rl1] {
    background: #1e293b;
    border-color: #334155;
    color: #38bdf8;
}

html[data-theme="dark"] .btn-category-toggle:hover[b-9zsgp81rl1],
body.dark-mode .btn-category-toggle:hover[b-9zsgp81rl1] {
    background: #334155;
}

.filter-flex .filter-label[b-9zsgp81rl1] {
    font-size: 0.65rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    margin-bottom: 0;
}

.filter-flex .filter-select[b-9zsgp81rl1],
.filter-flex .filter-input[b-9zsgp81rl1] {
    background: #ffffff;
    border: 1.2px solid #cbd5e1;
    border-radius: 7px;
    padding: 0.2rem 0.45rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: #334155;
    height: 32px;
    line-height: 1.3;
    transition: all 0.15s ease-in-out;
    box-sizing: border-box;
}

.filter-flex .filter-select:focus[b-9zsgp81rl1],
.filter-flex .filter-input:focus[b-9zsgp81rl1] {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}

.filter-flex .btn-reset[b-9zsgp81rl1] {
    background: #ffffff;
    border: 1.2px solid #0284c7;
    color: #0284c7;
    font-weight: 700;
    font-size: 0.76rem;
    padding: 0.2rem 0.65rem;
    border-radius: 7px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease-in-out;
    box-sizing: border-box;
}

.filter-flex .btn-reset:hover[b-9zsgp81rl1] {
    background: #f0f9ff;
    border-color: #0284c7;
}

/* Premium Stats Popup Card Overlay */
.stats-popup-card[b-9zsgp81rl1] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    z-index: 10000;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    animation: fadeIn-b-9zsgp81rl1 0.2s ease-out;
}

@keyframes fadeIn-b-9zsgp81rl1 {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.stats-popup-header[b-9zsgp81rl1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #f1f5f9;
}

.stats-popup-header span[b-9zsgp81rl1] {
    font-size: 0.68rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-popup-header .close-btn[b-9zsgp81rl1] {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.15s ease;
}

.stats-popup-header .close-btn:hover[b-9zsgp81rl1] {
    color: #475569;
}

.stats-popup-list[b-9zsgp81rl1] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.stat-popup-item[b-9zsgp81rl1] {
    display: flex;
    align-items: center;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: all 0.15s ease;
}

.stat-popup-item:hover[b-9zsgp81rl1] {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.stat-popup-item i[b-9zsgp81rl1] {
    font-size: 0.95rem;
    margin-right: 0.65rem;
    width: 20px;
    text-align: center;
}

.stat-popup-item.blue i[b-9zsgp81rl1] { color: #0284c7; }
.stat-popup-item.green i[b-9zsgp81rl1] { color: #059669; }
.stat-popup-item.orange i[b-9zsgp81rl1] { color: #d97706; }
.stat-popup-item.purple i[b-9zsgp81rl1] { color: #7c3aed; }

.stat-popup-item .label[b-9zsgp81rl1] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    flex-grow: 1;
}

.stat-popup-item .num[b-9zsgp81rl1] {
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.1rem 0.5rem;
    border-radius: 12px;
}

.stat-popup-item.blue .num[b-9zsgp81rl1] { background: #e0f2fe; color: #0369a1; }
.stat-popup-item.green .num[b-9zsgp81rl1] { background: #d1fae5; color: #065f46; }
.stat-popup-item.orange .num[b-9zsgp81rl1] { background: #fef3c7; color: #b45309; }
.stat-popup-item.purple .num[b-9zsgp81rl1] { background: #f3e8ff; color: #5b21b6; }

/* Pagination Footer */
.pagination-footer[b-9zsgp81rl1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid #eaecf0;
    background-color: #ffffff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    margin-top: -1px;
}

.pagination-info[b-9zsgp81rl1] {
    font-size: 0.82rem;
    color: #64748b;
}

.pagination-info-highlight[b-9zsgp81rl1] {
    font-weight: 700;
    color: #334155;
}

.pagination-btns[b-9zsgp81rl1] {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pagination-btns .page-btn[b-9zsgp81rl1] {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #475569;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pagination-btns .page-btn:hover:not(.active):not(:disabled)[b-9zsgp81rl1] {
    background: #f0f9ff;
    border-color: #0284c7;
    color: #0284c7;
}

.pagination-btns .page-btn:disabled[b-9zsgp81rl1] {
    opacity: 0.45;
    cursor: not-allowed;
}

.pagination-btns .page-btn.active[b-9zsgp81rl1] {
    background: #026aa7;
    border-color: #026aa7;
    color: #ffffff;
    font-weight: 700;
}

/* Loading State */
.loading-state[b-9zsgp81rl1] {
    text-align: center;
    padding: 4rem;
    color: #0284c7;
}

.loading-state p[b-9zsgp81rl1] {
    font-weight: 600;
    margin-top: 0.75rem;
}

/* Table Card */
.table-card[b-9zsgp81rl1] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.table-responsive[b-9zsgp81rl1] {
    overflow-x: auto;
    overflow-y: auto;
    max-height: calc(100vh - 290px);
    min-height: 300px;
    flex: 1;
}

.medico-table[b-9zsgp81rl1] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.medico-table th[b-9zsgp81rl1] {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0.5rem 0.6rem;
    background: #026aa7;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: none;
}

.medico-table th:last-child[b-9zsgp81rl1] {
    border-right: none;
}

.medico-table td[b-9zsgp81rl1] {
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid #eaecf0;
    background-color: #ffffff;
    color: #344054;
    font-weight: 500;
    font-size: 0.78rem;
    vertical-align: middle;
}

.medico-table tr:hover td[b-9zsgp81rl1] {
    background: #f8fafc;
}

/* VIP Highlight & Badge Styles */
.vip-badge-row[b-9zsgp81rl1] {
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.vip-badge[b-9zsgp81rl1] {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fcd34d;
    color: #b45309;
    padding: 2px 7px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 0.75rem;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 4px rgba(217, 119, 6, 0.12);
    line-height: 1.2;
}

.vip-badge i[b-9zsgp81rl1] {
    font-size: 0.7rem;
    color: #d97706;
}

.vip-role-tag[b-9zsgp81rl1] {
    font-size: 0.72rem;
    color: #92400e;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 4px;
    padding: 1px 6px;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.3;
}

.vip-action-container[b-9zsgp81rl1] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    justify-content: center;
    align-items: center;
}

.btn-vip-active[b-9zsgp81rl1] {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1.2px solid #fcd34d;
    color: #92400e;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.78rem;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.15);
    transition: all 0.2s ease-in-out;
}

.btn-vip-active:hover[b-9zsgp81rl1] {
    background: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
    color: #78350f;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25);
}

.btn-vip-active i[b-9zsgp81rl1] {
    font-size: 0.75rem;
    color: #d97706;
}

.btn-mark-vip[b-9zsgp81rl1] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.78rem;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease-in-out;
}

.btn-mark-vip:hover[b-9zsgp81rl1] {
    background: #fef3c7;
    color: #b45309;
    border-color: #fcd34d;
    transform: translateY(-1px);
}

.btn-mark-vip i[b-9zsgp81rl1] {
    font-size: 0.75rem;
    color: #94a3b8;
}

.btn-mark-vip:hover i[b-9zsgp81rl1] {
    color: #d97706;
}

.vip-cell-role[b-9zsgp81rl1] {
    font-size: 0.72rem;
    color: #b45309;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    text-align: center;
    max-width: 115px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.medico-table tr.vip-row td[b-9zsgp81rl1] {
    background-color: #fffdf5 !important;
}

.medico-table tr.vip-row:hover td[b-9zsgp81rl1] {
    background-color: #fffbeb !important;
}

.medico-table td.vip-highlighted[b-9zsgp81rl1] {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
    border-left: 1.5px solid #fde68a !important;
    border-right: 1.5px solid #fde68a !important;
    box-shadow: inset 0 0 8px rgba(217, 119, 6, 0.05);
}

.medico-table tr.vip-row td.vip-highlighted[b-9zsgp81rl1] {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
}

.medico-table tr:hover td.vip-highlighted[b-9zsgp81rl1],
.medico-table tr.vip-row:hover td.vip-highlighted[b-9zsgp81rl1] {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
}

/* Token badge circle gradient */
.badge-op-container[b-9zsgp81rl1] {
    display: flex;
    justify-content: flex-start;
}

.badge-op[b-9zsgp81rl1] {
    color: #0369a1;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1.5px solid #7dd3fc;
    padding: 0 10px;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 34px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12);
    transition: all 0.2s ease;
}

/* Patient info styles */
.patient-name-container[b-9zsgp81rl1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.patient-icon[b-9zsgp81rl1] {
    color: #64748b;
    font-size: 1rem;
}

.patient-name[b-9zsgp81rl1] {
    font-weight: 700;
    color: #0f172a;
}

.patient-id-badge[b-9zsgp81rl1] {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.time-badge[b-9zsgp81rl1] {
    background: #f1f5f9;
    color: #334155;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.booking-ref-block[b-9zsgp81rl1] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.booking-no[b-9zsgp81rl1] {
    font-family: monospace;
    font-weight: 700;
    color: #64748b;
}

.booking-type-label[b-9zsgp81rl1] {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    display: inline-block;
    align-self: flex-start;
}

.booking-type-label.online[b-9zsgp81rl1] {
    background: #e0f2fe;
    color: #0369a1;
}

.booking-type-label.walkin[b-9zsgp81rl1],
.booking-type-label.walk-in[b-9zsgp81rl1] {
    background: #f3e8ff;
    color: #7c3aed;
}

.notes-text[b-9zsgp81rl1] {
    font-size: 0.82rem;
    color: #64748b;
    max-width: 450px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Status Pill Badges */
.status-pill[b-9zsgp81rl1] {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    display: inline-block;
    text-align: center;
}

.status-pill.booked[b-9zsgp81rl1],
.status-pill.waiting[b-9zsgp81rl1] {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.status-pill.in_consultation[b-9zsgp81rl1],
.status-pill.in-consultation[b-9zsgp81rl1] {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.status-pill.confirmed[b-9zsgp81rl1] {
    background: #d1fae5;
    color: #065f46;
}

.status-pill.completed[b-9zsgp81rl1],
.status-pill.visited[b-9zsgp81rl1] {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.status-pill.cancelled[b-9zsgp81rl1] {
    background: #fee2e2;
    color: #991b1b;
}

/* Empty State */
.empty-state[b-9zsgp81rl1] {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon[b-9zsgp81rl1] {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
    display: block;
}

.empty-state h3[b-9zsgp81rl1] {
    font-size: 1.2rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.25rem;
}

.empty-state p[b-9zsgp81rl1] {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Floating Action Button for Doctor Status Quick Access */
.doctor-status-fab-container[b-9zsgp81rl1] {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
}

.doctor-status-fab-drag-handle[b-9zsgp81rl1] {
    cursor: move;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    background: #f1f5f9;
    font-size: 1.15rem;
    transition: all 0.2s ease;
}

.doctor-status-fab-drag-handle:hover[b-9zsgp81rl1] {
    background: #e2e8f0;
    color: #0f172a;
}

.doctor-status-fab[b-9zsgp81rl1] {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1.2rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.doctor-status-fab:hover[b-9zsgp81rl1] {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 14px 30px -4px rgba(37, 99, 235, 0.6), 0 6px 15px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.doctor-status-fab:active[b-9zsgp81rl1] {
    transform: translateY(-1px) scale(0.98);
}

.fab-icon-pulse[b-9zsgp81rl1] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.fab-icon-pulse[b-9zsgp81rl1]::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    animation: fab-pulse-b-9zsgp81rl1 2s infinite ease-out;
}

@keyframes fab-pulse-b-9zsgp81rl1 {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

.fab-label[b-9zsgp81rl1] {
    letter-spacing: 0.01em;
}

/* Scoped Doctor Status Update Popup Modal */
.doc-status-modal-backdrop[b-9zsgp81rl1] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    z-index: 10000;
    animation: fadeIn-b-9zsgp81rl1 0.2s ease;
}

.doc-status-popup-modal[b-9zsgp81rl1] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-status-popup-header[b-9zsgp81rl1] {
    background: #ffffff;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.doc-status-popup-title[b-9zsgp81rl1] {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.doc-status-close-btn[b-9zsgp81rl1] {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #64748b;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.doc-status-close-btn:hover[b-9zsgp81rl1] {
    background: #fee2e2;
    color: #ef4444;
}

.doc-status-popup-body[b-9zsgp81rl1] {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: calc(90vh - 130px);
}

.doc-status-popup-footer[b-9zsgp81rl1] {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.doc-status-form-group[b-9zsgp81rl1] {
    margin-bottom: 1rem;
}

.doc-status-label[b-9zsgp81rl1] {
    display: block;
    font-size: 0.775rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.doc-status-btn-cancel[b-9zsgp81rl1] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 0.6rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
}

.doc-status-btn-save[b-9zsgp81rl1] {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.doc-status-btn-save:hover[b-9zsgp81rl1] {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.doc-status-search-wrapper[b-9zsgp81rl1] {
    position: relative;
    width: 100%;
}

.doc-status-search-icon[b-9zsgp81rl1] {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
}

.doc-status-search-input[b-9zsgp81rl1] {
    width: 100%;
    padding: 0.65rem 2.5rem 0.65rem 2.5rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.875rem;
    color: #0f172a;
    font-weight: 600;
}

.doc-status-search-input:focus[b-9zsgp81rl1] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.doc-status-arrow-icon[b-9zsgp81rl1] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.doc-status-clear-btn[b-9zsgp81rl1] {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
}

.doc-status-dropdown-list[b-9zsgp81rl1] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 220px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 100;
    padding: 0.35rem;
}

.doc-status-dropdown-item[b-9zsgp81rl1] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
}

.doc-status-dropdown-item:hover[b-9zsgp81rl1], .doc-status-dropdown-item.selected[b-9zsgp81rl1] {
    background: #f1f5f9;
}

.doc-status-dropdown-item.selected[b-9zsgp81rl1] {
    border-left: 3px solid #2563eb;
    background: #eff6ff;
}

.doc-status-item-avatar[b-9zsgp81rl1] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #0284c7;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.doc-status-item-avatar img[b-9zsgp81rl1] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doc-status-item-details[b-9zsgp81rl1] {
    flex-grow: 1;
    min-width: 0;
}

.doc-status-item-name[b-9zsgp81rl1] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}

.doc-status-item-spec[b-9zsgp81rl1] {
    font-size: 0.725rem;
    color: #64748b;
}

.doc-status-item-tag[b-9zsgp81rl1] {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
}

.doc-status-active-preview[b-9zsgp81rl1] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.doc-status-doctor-avatar[b-9zsgp81rl1] {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.doc-status-doctor-avatar img[b-9zsgp81rl1] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doc-status-preview-info h4[b-9zsgp81rl1] {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.doc-status-spec-title[b-9zsgp81rl1] {
    font-size: 0.775rem;
    color: #64748b;
    display: block;
    margin-bottom: 0.25rem;
}

.doc-status-current-tag[b-9zsgp81rl1] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-on-duty[b-9zsgp81rl1] { background: #d1fae5; color: #047857; }
.badge-in-opd[b-9zsgp81rl1] { background: #e0f2fe; color: #0369a1; }
.badge-break[b-9zsgp81rl1] { background: #fef3c7; color: #b45309; }
.badge-busy[b-9zsgp81rl1] { background: #ffe4e6; color: #be123c; }
.badge-leave[b-9zsgp81rl1] { background: #fae8ff; color: #86198f; }
.badge-off-duty[b-9zsgp81rl1] { background: #f1f5f9; color: #475569; }

.doc-status-options-grid[b-9zsgp81rl1] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.doc-status-option-btn[b-9zsgp81rl1] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.75rem;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.8rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.doc-status-option-btn.active[b-9zsgp81rl1] {
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.doc-status-option-btn.active.on-duty[b-9zsgp81rl1] { background: #ecfdf5; border-color: #10b981; color: #047857; }
.doc-status-option-btn.active.in-opd[b-9zsgp81rl1] { background: #f0f9ff; border-color: #0284c7; color: #0369a1; }
.doc-status-option-btn.active.break[b-9zsgp81rl1] { background: #fffbeb; border-color: #f59e0b; color: #b45309; }
.doc-status-option-btn.active.busy[b-9zsgp81rl1] { background: #fff1f2; border-color: #f43f5e; color: #be123c; }
.doc-status-option-btn.active.leave[b-9zsgp81rl1] { background: #fdf4ff; border-color: #c084fc; color: #86198f; }
.doc-status-option-btn.active.off-duty[b-9zsgp81rl1] { background: #f8fafc; border-color: #94a3b8; color: #334155; }

.doc-status-chips[b-9zsgp81rl1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.4rem;
}

.doc-status-chip-btn[b-9zsgp81rl1] {
    padding: 0.25rem 0.6rem;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
}

.doc-status-chip-btn.clear[b-9zsgp81rl1] {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #fca5a5;
}

.doc-status-input[b-9zsgp81rl1] {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.875rem;
    color: #0f172a;
    font-weight: 500;
}

.doc-status-empty-placeholder[b-9zsgp81rl1], .doc-status-empty-dropdown[b-9zsgp81rl1] {
    padding: 1.5rem 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* ==========================================
   DOCTOR PATIENT LIST TABS STYLING
   ========================================== */
.medico-tabs[b-9zsgp81rl1] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(2, 132, 199, 0.1);
    padding-bottom: 2px;
}

.tab-btn[b-9zsgp81rl1] {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #64748b;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover[b-9zsgp81rl1] {
    color: #034f75;
}

.tab-btn.active[b-9zsgp81rl1] {
    color: #0284c7;
    border-bottom-color: #0284c7;
}

/* ==========================================
   IP ADMISSIONS ADAPTED STYLES
   ========================================== */
/* Glass Filters Control Board */
.filters-card[b-9zsgp81rl1] {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 14px;
    padding: 0.5rem 0.8rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.filters-row[b-9zsgp81rl1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: flex-end;
}

.filter-group[b-9zsgp81rl1] {
    flex: 1 1 140px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.filter-group label[b-9zsgp81rl1] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
}

.filter-control[b-9zsgp81rl1] {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 500;
    background: #f8fafc;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.filter-control:hover[b-9zsgp81rl1] {
    background: #ffffff;
    border-color: #94a3b8;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transform: translateY(-1px);
}

.filter-control:focus[b-9zsgp81rl1] {
    outline: none;
    background: #ffffff;
    border-color: #026aa7;
    box-shadow: 0 0 0 4px rgba(2, 106, 167, 0.15), 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

/* Actions Menu & Select Dropdown */
.btn-group-actions[b-9zsgp81rl1] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-action[b-9zsgp81rl1] {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-action.register[b-9zsgp81rl1] {
    color: #026aa7;
    border-color: #93c5fd;
    background: #f0f9ff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.btn-action.register:hover[b-9zsgp81rl1] {
    background: #026aa7;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(2, 106, 167, 0.15);
}

.btn-action.vitals[b-9zsgp81rl1] {
    color: #ec4899;
    border-color: #fbcfe8;
    background: #fdf2f8;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.btn-action.vitals:hover[b-9zsgp81rl1] {
    background: #ec4899;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(236, 72, 153, 0.15);
}

.status-badge[b-9zsgp81rl1] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    letter-spacing: 0.2px;
}

.status-badge.unregistered[b-9zsgp81rl1],
.status-badge.pending[b-9zsgp81rl1] {
    background: #f1f5f9;
    color: #475569;
}

.status-badge.waiting[b-9zsgp81rl1] {
    background: #fef3c7;
    color: #b45309;
}

.status-badge.in_consultation[b-9zsgp81rl1] {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.completed[b-9zsgp81rl1] {
    background: #d1fae5;
    color: #065f46;
}

/* Glassmorphic Modals */
.glass-modal[b-9zsgp81rl1] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #f8fafc !important;
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    width: 100%;
    max-width: 750px;
    max-height: 90vh;
    z-index: 1001;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header[b-9zsgp81rl1],
.modal-body[b-9zsgp81rl1],
.modal-footer[b-9zsgp81rl1] {
    background: #f8fafc !important;
}

.large-modal-custom[b-9zsgp81rl1] {
    max-width: 850px !important;
    width: 85vw !important;
}

.glass-modal .filter-control[b-9zsgp81rl1] {
    padding: 0.45rem 0.65rem;
    font-size: 0.80rem;
    border-radius: 6px;
}

.glass-modal .form-group label[b-9zsgp81rl1] {
    font-size: 0.80rem;
    font-weight: 700;
}

.um-grid-cols-4[b-9zsgp81rl1] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

.modal-header[b-9zsgp81rl1] {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3[b-9zsgp81rl1] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #026aa7;
    margin: 0;
}

.close-btn[b-9zsgp81rl1] {
    border: none;
    background: none;
    font-size: 1.75rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s ease;
}

.close-btn:hover[b-9zsgp81rl1],
.close-btn:focus[b-9zsgp81rl1] {
    color: #ef4444 !important;
}

.close-btn:active[b-9zsgp81rl1] {
    color: #dc2626 !important;
}

.modal-body[b-9zsgp81rl1] {
    padding: 1.75rem;
    flex: 1;
    overflow-y: auto;
}

.form-group[b-9zsgp81rl1] {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label[b-9zsgp81rl1] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.3px;
    margin: 0;
    display: block;
}

.modal-footer[b-9zsgp81rl1] {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn-modal[b-9zsgp81rl1] {
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-modal.cancel[b-9zsgp81rl1] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
}

.btn-modal.cancel:hover[b-9zsgp81rl1] {
    background: #f1f5f9;
}

.btn-modal.confirm[b-9zsgp81rl1] {
    background: #10b981;
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.15);
}

.btn-modal.confirm:hover[b-9zsgp81rl1] {
    background: #059669;
}

.empty-state[b-9zsgp81rl1] {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

.empty-state i[b-9zsgp81rl1] {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
    display: block;
}

.empty-state h4[b-9zsgp81rl1] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.5rem;
}

.empty-state p[b-9zsgp81rl1] {
    font-size: 0.9rem;
    margin: 0;
}

.readonly-input[b-9zsgp81rl1] {
    background-color: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1e40af;
    font-weight: 700;
}

/* VIP Highlight Styles */
.medico-table tr.vip-row td[b-9zsgp81rl1],
.recent-checkins-table tr.vip-row td[b-9zsgp81rl1],
tr.vip-row td[b-9zsgp81rl1] {
    background-color: #fffdf5 !important;
}

.medico-table tr.vip-row:hover td[b-9zsgp81rl1],
.recent-checkins-table tr.vip-row:hover td[b-9zsgp81rl1],
tr.vip-row:hover td[b-9zsgp81rl1] {
    background-color: #fffbeb !important;
}

/* Actions Dropdown styling */
.actions-dropdown-container[b-9zsgp81rl1] {
    position: relative;
    display: inline-block;
}

.btn-action-dots[b-9zsgp81rl1] {
    background: transparent;
    border: none;
    color: #64748b;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action-dots:hover[b-9zsgp81rl1] {
    background-color: #f1f5f9;
    color: #0f172a;
}

.actions-dropdown-menu[b-9zsgp81rl1] {
    position: absolute;
    right: 0;
    top: 100%;
    transform: none;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    z-index: 1000;
    margin-top: 4px;
    min-width: 170px;
    align-items: stretch;
}

.action-item-btn[b-9zsgp81rl1] {
    background: transparent;
    border: none;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    text-align: left;
    transition: all 0.15s ease;
    width: 100%;
    box-sizing: border-box;
}

.action-item-btn:hover[b-9zsgp81rl1] {
    background-color: #f1f5f9;
}

.action-item-btn i[b-9zsgp81rl1] {
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
}

.action-item-btn.update i[b-9zsgp81rl1] {
    color: #3b82f6;
}
.action-item-btn.casesheet i[b-9zsgp81rl1] {
    color: #4f46e5;
}
.action-item-btn.discharge i[b-9zsgp81rl1] {
    color: #059669;
}
.action-item-btn.cancel i[b-9zsgp81rl1] {
    color: #ef4444;
}

.action-item-btn.disabled[b-9zsgp81rl1] {
    color: #cbd5e1;
    cursor: not-allowed;
}

.action-item-btn.disabled i[b-9zsgp81rl1] {
    color: #cbd5e1;
}

.medico-table td[b-9zsgp81rl1] {
    overflow: visible !important;
}

/* Status select dropdown styled as a badge */
.status-select[b-9zsgp81rl1] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 1.6rem 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background-color: #f8fafc;
    color: #334155;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.2px;
    cursor: pointer;
    outline: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Remove default dropdown arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    /* Custom arrow using background image svg */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e40af' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.55rem center;
    background-size: 0.65rem;
}

.status-select.waiting[b-9zsgp81rl1] {
    background-color: #fef3c7;
    color: #b45309;
    border-color: #fde68a;
}

.status-select.in_consultation[b-9zsgp81rl1] {
    background-color: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}

.status-select.report[b-9zsgp81rl1] {
    background-color: #f5f3ff;
    color: #6d28d9;
    border-color: #ddd6fe;
}

.status-select.arrived[b-9zsgp81rl1] {
    background-color: #f0fdfa;
    color: #0f766e;
    border-color: #99f6e4;
}

.status-select.booked[b-9zsgp81rl1] {
    background-color: #ecfeff;
    color: #0e7490;
    border-color: #a5f3fc;
}

.status-select.completed[b-9zsgp81rl1] {
    background-color: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

.status-select.cancelled[b-9zsgp81rl1] {
    background-color: #fee2e2;
    color: #b91c1c;
    border-color: #fecaca;
}

.status-select:not(:disabled):hover[b-9zsgp81rl1] {
    filter: brightness(0.97);
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.12);
}

.status-select:disabled[b-9zsgp81rl1] {
    cursor: not-allowed;
    opacity: 0.72;
}

.status-select.admitted[b-9zsgp81rl1] {
    background-color: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.status-select.admitted:hover[b-9zsgp81rl1] {
    background-color: #dbeafe;
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.1);
}

.status-select:focus[b-9zsgp81rl1] {
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}

.doctor-vitals-trigger[b-9zsgp81rl1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: linear-gradient(145deg, #eff6ff, #dbeafe);
    color: #0369a1;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.doctor-vitals-trigger i[b-9zsgp81rl1] {
    font-size: 0.95rem;
}

.doctor-vitals-trigger:not(:disabled):hover[b-9zsgp81rl1] {
    transform: translateY(-1px);
    background: linear-gradient(145deg, #dbeafe, #bfdbfe);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.18);
}

.doctor-vitals-trigger:disabled[b-9zsgp81rl1] {
    cursor: not-allowed;
    opacity: 0.6;
}

.doctor-vitals-backdrop[b-9zsgp81rl1] {
    position: fixed;
    inset: 0;
    z-index: 1070;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(3px);
}

.doctor-vitals-modal[b-9zsgp81rl1] {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1080;
    width: min(680px, calc(100vw - 32px));
    transform: translate(-50%, -50%);
    overflow: hidden;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.doctor-vitals-modal-header[b-9zsgp81rl1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(120deg, #f8fbff, #eff6ff);
}

.doctor-vitals-modal-header h3[b-9zsgp81rl1] {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 4px;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
}

.doctor-vitals-modal-header h3 i[b-9zsgp81rl1] {
    color: #0284c7;
}

.doctor-vitals-modal-header span[b-9zsgp81rl1] {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
}

.doctor-vitals-close[b-9zsgp81rl1] {
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 1.6rem;
    line-height: 1;
}

.doctor-vitals-modal-body[b-9zsgp81rl1] {
    padding: 24px 22px;
}

.doctor-vitals-grid[b-9zsgp81rl1] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    justify-items: start;
}

.doctor-vitals-field[b-9zsgp81rl1] {
    min-width: 0;
    width: 100%;
}

.doctor-vitals-field label[b-9zsgp81rl1] {
    display: block;
    margin-bottom: 6px;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.doctor-vitals-field .form-control[b-9zsgp81rl1] {
    box-sizing: border-box;
    width: 100%;
    max-width: 112px;
    min-width: 0;
    border-color: #cbd5e1;
    border-radius: 9px;
    font-size: 0.85rem;
}

.doctor-vitals-bp-inputs[b-9zsgp81rl1] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    width: 100%;
    max-width: 128px;
    gap: 6px;
}

.doctor-vitals-bp-inputs span[b-9zsgp81rl1] {
    color: #64748b;
    font-weight: 700;
}

.doctor-vitals-loading[b-9zsgp81rl1] {
    display: flex;
    min-height: 100px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #475569;
    font-weight: 600;
}

.doctor-vitals-modal-footer[b-9zsgp81rl1] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 22px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.doctor-vitals-cancel[b-9zsgp81rl1],
.doctor-vitals-save[b-9zsgp81rl1] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 9px;
    font-size: 0.82rem;
    font-weight: 700;
}

.doctor-vitals-cancel[b-9zsgp81rl1] {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
}

.doctor-vitals-save[b-9zsgp81rl1] {
    border: 1px solid #0284c7;
    background: #0284c7;
    color: #ffffff;
}

.doctor-vitals-save:disabled[b-9zsgp81rl1] {
    cursor: not-allowed;
    opacity: 0.7;
}

@media (max-width: 640px) {
    .doctor-vitals-grid[b-9zsgp81rl1] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .doctor-vitals-modal-header[b-9zsgp81rl1],
    .doctor-vitals-modal-footer[b-9zsgp81rl1] {
        padding-right: 16px;
        padding-left: 16px;
    }
}

.badge-obs-unbilled[b-9zsgp81rl1] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    font-weight: 700;
    font-family: monospace;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.badge-obs-unbilled:hover[b-9zsgp81rl1] {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #f87171;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.15);
}

/* Bills & Paid Status Badges - Horizontal Left-Right Layout */
.bill-paid-status-container[b-9zsgp81rl1] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 170px !important;
    white-space: nowrap !important;
}

.status-badge-pill[b-9zsgp81rl1] {
    font-size: 0.71rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.25;
}

.status-badge-pill.unbilled[b-9zsgp81rl1] {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.status-badge-pill.billed[b-9zsgp81rl1] {
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.btn-bill-status[b-9zsgp81rl1] {
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.73rem;
    font-weight: 700;
    border: none;
    cursor: default;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.btn-bill-status.unpaid[b-9zsgp81rl1] {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.btn-bill-status.paid[b-9zsgp81rl1] {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.btn-nurse-chart-link[b-9zsgp81rl1] {
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-nurse-chart-link:hover[b-9zsgp81rl1] {
    background: #4f46e5;
    color: #ffffff !important;
    border-color: #4f46e5;
    box-shadow: 0 2px 5px rgba(79, 70, 229, 0.3);
}

.btn-nurse-chart-link:hover i[b-9zsgp81rl1] {
    color: #ffffff !important;
}

/* Billing Status Header Dropdown Styles */
.billing-status-dropdown-wrapper[b-9zsgp81rl1] {
    position: relative;
    display: inline-block;
}

.billing-status-popover-menu[b-9zsgp81rl1] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 1000;
    min-width: 190px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    animation: fadeInSlide-b-9zsgp81rl1 0.15s ease-out;
}

.billing-status-popover-item[b-9zsgp81rl1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.billing-status-popover-item:hover[b-9zsgp81rl1] {
    background: #f1f5f9;
    color: #026aa7;
}

.billing-status-popover-item.selected[b-9zsgp81rl1] {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
}

.billing-status-popover-divider[b-9zsgp81rl1] {
    height: 1px;
    background: #e2e8f0;
    margin: 3px 0;
}

.status-pop-badge[b-9zsgp81rl1] {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 8px;
    background: #e2e8f0;
    color: #475569;
}

.status-pop-badge.paid-badge[b-9zsgp81rl1] {
    background: #dcfce7;
    color: #166534;
}

.status-pop-badge.unpaid-badge[b-9zsgp81rl1] {
    background: #fee2e2;
    color: #991b1b;
}

.status-pop-badge.all-badge[b-9zsgp81rl1] {
    background: #e0f2fe;
    color: #0369a1;
}

.billing-status-popover-item.selected .status-pop-badge[b-9zsgp81rl1] {
    box-shadow: 0 0 0 1px currentColor;
}



.dashboard-title[b-9zsgp81rl1] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.doctor-patient-current-doctor[b-9zsgp81rl1] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #cfe7f5;
    border-radius: 999px;
    padding: 0.32rem 0.7rem;
    color: #075985;
    background: #f0f9ff;
    font-size: 0.72rem;
    font-weight: 750;
    white-space: nowrap;
}

.doctor-patient-current-doctor i[b-9zsgp81rl1] {
    font-size: 0.85rem;
}

@media (max-width: 700px) {
    .dashboard-header[b-9zsgp81rl1] {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .dashboard-header > div:last-child[b-9zsgp81rl1] {
        width: 100%;
        flex-wrap: wrap;
    }
}
.vip-status-backdrop[b-9zsgp81rl1] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.vip-status-modal[b-9zsgp81rl1] {
    position: fixed;
    z-index: 1060;
    top: 50%;
    left: 50%;
    width: min(460px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.3);
    animation: vip-status-enter-b-9zsgp81rl1 180ms ease-out;
}

.vip-status-modal-header[b-9zsgp81rl1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    color: #ffffff;
    background: linear-gradient(120deg, #075985 0%, #0369a1 55%, #0284c7 100%);
}

.vip-status-heading[b-9zsgp81rl1] {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
}

.vip-status-heading-icon[b-9zsgp81rl1] {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 13px;
    color: #fbbf24;
    background: rgba(255, 255, 255, 0.13);
    font-size: 1.1rem;
}

.vip-status-heading h3[b-9zsgp81rl1] {
    margin: 0;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.vip-status-heading p[b-9zsgp81rl1] {
    margin: 0.2rem 0 0;
    color: rgba(239, 246, 255, 0.84);
    font-size: 0.76rem;
}

.vip-status-close[b-9zsgp81rl1] {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: background 150ms ease, transform 150ms ease;
}

.vip-status-close:hover[b-9zsgp81rl1] {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.2);
}

.vip-status-modal-body[b-9zsgp81rl1] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.35rem 1.4rem;
    background: #ffffff;
}

.vip-status-patient-card[b-9zsgp81rl1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.85rem;
    border: 1px solid #dbeafe;
    border-radius: 13px;
    background: linear-gradient(135deg, #f8fbff 0%, #eff6ff 100%);
}

.vip-status-patient-icon[b-9zsgp81rl1] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #0369a1;
    background: #dbeafe;
    font-size: 1.1rem;
}

.vip-status-patient-info[b-9zsgp81rl1] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.vip-status-eyebrow[b-9zsgp81rl1] {
    color: #64748b;
    font-size: 0.67rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vip-status-patient-info strong[b-9zsgp81rl1] {
    overflow: hidden;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vip-status-patient-id[b-9zsgp81rl1] {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 0.3rem 0.5rem;
    border: 1px solid #dbeafe;
    border-radius: 7px;
    color: #475569;
    background: #ffffff;
    font-size: 0.7rem;
    font-weight: 650;
}

.vip-status-form-group[b-9zsgp81rl1] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vip-status-form-group label[b-9zsgp81rl1] {
    color: #334155;
    font-size: 0.76rem;
    font-weight: 750;
}

.vip-status-input[b-9zsgp81rl1] {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    padding: 0.65rem 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    outline: none;
    color: #0f172a;
    background: #ffffff;
    font: inherit;
    font-size: 0.86rem;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.vip-status-input[b-9zsgp81rl1]::placeholder {
    color: #94a3b8;
}

.vip-status-input:focus[b-9zsgp81rl1] {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14);
}

.vip-status-modal-footer[b-9zsgp81rl1] {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    padding: 0.9rem 1.4rem;
    border-top: 1px solid #e8eef5;
    background: #f8fafc;
}

.vip-status-cancel[b-9zsgp81rl1],
.vip-status-save[b-9zsgp81rl1] {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 9px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.vip-status-cancel[b-9zsgp81rl1] {
    border: 1px solid #cbd5e1;
    color: #475569;
    background: #ffffff;
}

.vip-status-cancel:hover[b-9zsgp81rl1] {
    background: #f1f5f9;
}

.vip-status-save[b-9zsgp81rl1] {
    border: 1px solid #b45309;
    color: #ffffff;
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 3px 8px rgba(180, 83, 9, 0.22);
}

.vip-status-save:hover:not(:disabled)[b-9zsgp81rl1] {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(180, 83, 9, 0.28);
}

.vip-status-save:disabled[b-9zsgp81rl1] {
    opacity: 0.7;
    cursor: wait;
}

.vip-status-close:focus-visible[b-9zsgp81rl1],
.vip-status-cancel:focus-visible[b-9zsgp81rl1],
.vip-status-save:focus-visible[b-9zsgp81rl1],
.vip-status-input:focus-visible[b-9zsgp81rl1] {
    outline: 3px solid rgba(14, 165, 233, 0.45);
    outline-offset: 2px;
}

@keyframes vip-status-enter-b-9zsgp81rl1 {
    from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (max-width: 480px) {
    .vip-status-modal-header[b-9zsgp81rl1] {
        padding: 0.95rem 1rem;
    }

    .vip-status-modal-body[b-9zsgp81rl1] {
        padding: 1.05rem 1rem;
    }

    .vip-status-modal-footer[b-9zsgp81rl1] {
        padding: 0.8rem 1rem;
    }

    .vip-status-patient-card[b-9zsgp81rl1] {
        flex-wrap: wrap;
    }

    .vip-status-patient-id[b-9zsgp81rl1] {
        margin-left: 3.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vip-status-modal[b-9zsgp81rl1] {
        animation: none;
    }

    .vip-status-close[b-9zsgp81rl1],
    .vip-status-input[b-9zsgp81rl1],
    .vip-status-cancel[b-9zsgp81rl1],
    .vip-status-save[b-9zsgp81rl1] {
        transition: none;
    }
}
/* /Components/Pages/DoctorSpecialtyMaster.razor.rz.scp.css */
.referral-page[b-4inp6aemvd] {
    padding: 16px 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.flex-between[b-4inp6aemvd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-4inp6aemvd] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-4inp6aemvd] {
    display: flex;
}

.align-center[b-4inp6aemvd] {
    align-items: center;
}

.flex-center[b-4inp6aemvd] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-4inp6aemvd] {
    gap: 8px;
}

.gap-12[b-4inp6aemvd] {
    gap: 12px;
}

.gap-16[b-4inp6aemvd] {
    gap: 16px;
}

.p-2[b-4inp6aemvd] {
    padding: 8px;
}

.p-4[b-4inp6aemvd] {
    padding: 16px;
}

.p-48[b-4inp6aemvd] {
    padding: 48px;
}

.rounded-lg[b-4inp6aemvd] {
    border-radius: 8px;
}

.shadow-sm[b-4inp6aemvd] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-4inp6aemvd] {
    margin: 0;
}

.mt-2px[b-4inp6aemvd] {
    margin-top: 2px;
}

.mb-0[b-4inp6aemvd] {
    margin-bottom: 0;
}

.mt-0[b-4inp6aemvd] {
    margin-top: 0;
}

.relative-positioned[b-4inp6aemvd] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-4inp6aemvd] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04);
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.lab-title-text[b-4inp6aemvd] {
    color: #312e81;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-4inp6aemvd] {
    background-color: #eef2ff;
}

.text-indigo-600[b-4inp6aemvd] {
    color: #4f46e5;
}

.icon-lg[b-4inp6aemvd] {
    font-size: 24px;
}

.status-pulse-dot[b-4inp6aemvd] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-4inp6aemvd 2s infinite;
}

.status-text[b-4inp6aemvd] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-4inp6aemvd] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-4inp6aemvd] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-4inp6aemvd] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-4inp6aemvd] {
    width: 220px;
}

.btn-new-entry[b-4inp6aemvd] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-4inp6aemvd] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-4inp6aemvd] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.lc-table-container[b-4inp6aemvd] {
    width: 100%;
    flex: 1;
    overflow-y: auto;
    max-height: calc(100vh - 260px);
}

.lc-table[b-4inp6aemvd] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-4inp6aemvd] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.lc-table th[b-4inp6aemvd] {
    padding: 0.625rem 1.25rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lc-table td[b-4inp6aemvd] {
    padding: 0.5rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13.5px;
    vertical-align: middle;
}

.lc-table tbody tr:last-child td[b-4inp6aemvd] {
    border-bottom: none;
}

.lc-table-row:hover[b-4inp6aemvd] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-4inp6aemvd] {
    font-weight: 700;
}

.text-indigo-600[b-4inp6aemvd] {
    color: #4f46e5;
}

.lc-color-slate-500[b-4inp6aemvd] {
    color: #64748b;
}

.lc-font-mono[b-4inp6aemvd] {
    font-family: monospace;
}

.lc-font-700[b-4inp6aemvd] {
    font-weight: 700;
}

.lc-font-13[b-4inp6aemvd] {
    font-size: 13px;
}

.text-slate-800[b-4inp6aemvd] {
    color: #1e293b;
}

.text-slate-500[b-4inp6aemvd] {
    color: #64748b;
}

.text-slate-400[b-4inp6aemvd] {
    color: #94a3b8;
}

.font-12[b-4inp6aemvd] {
    font-size: 12px;
}

.font-18[b-4inp6aemvd] {
    font-size: 18px;
}

.italic[b-4inp6aemvd] {
    font-style: italic;
}

/* Action buttons */
.lc-btn[b-4inp6aemvd] {
    padding: 8px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-4inp6aemvd] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-4inp6aemvd] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-4inp6aemvd] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-4inp6aemvd] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-4inp6aemvd] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-4inp6aemvd 0.3s ease-out;
}

.modal-header-bar[b-4inp6aemvd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-4inp6aemvd] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-4inp6aemvd] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-4inp6aemvd] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-4inp6aemvd] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-section[b-4inp6aemvd] {
    margin-bottom: 0;
}

.form-group[b-4inp6aemvd] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-4inp6aemvd] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-input[b-4inp6aemvd] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
}

.lab-input:focus[b-4inp6aemvd] {
    outline: none;
    border-color: #4f46e5;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.um-grid-row[b-4inp6aemvd] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.um-grid-cols-3[b-4inp6aemvd] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.modal-footer-bar[b-4inp6aemvd] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-4inp6aemvd] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-4inp6aemvd] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-4inp6aemvd] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-delete[b-4inp6aemvd] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.btn-delete:hover:not(:disabled)[b-4inp6aemvd] {
    text-decoration: underline;
}

.btn-delete:disabled[b-4inp6aemvd] {
    opacity: 0.4;
    cursor: not-allowed;
}

.text-danger[b-4inp6aemvd] {
    color: #ef4444;
}

.alert[b-4inp6aemvd] {
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
}

.alert-danger[b-4inp6aemvd] {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success[b-4inp6aemvd] {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

/* Animations */
@keyframes lc-pulse-b-4inp6aemvd {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-4inp6aemvd] {
    animation: lc-fadeInUp-b-4inp6aemvd 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-4inp6aemvd {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR DOCTOR SPECIALTY MASTER
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .referral-page[b-4inp6aemvd],
[data-theme="dark"] .referral-page[b-4inp6aemvd] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-4inp6aemvd],
[data-theme="dark"] .lab-header-card[b-4inp6aemvd] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-4inp6aemvd],
[data-theme="dark"] .lab-title-text[b-4inp6aemvd] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .status-text[b-4inp6aemvd],
[data-theme="dark"] .status-text[b-4inp6aemvd] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input[b-4inp6aemvd],
[data-theme="dark"] .lc-rounded-pill-input[b-4inp6aemvd] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .search-icon i[b-4inp6aemvd],
:host-context([data-theme="dark"]) .search-icon span[b-4inp6aemvd],
[data-theme="dark"] .search-icon i[b-4inp6aemvd],
[data-theme="dark"] .search-icon span[b-4inp6aemvd] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .directory-section[b-4inp6aemvd],
[data-theme="dark"] .directory-section[b-4inp6aemvd] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lc-table thead tr[b-4inp6aemvd],
[data-theme="dark"] .lc-table thead tr[b-4inp6aemvd] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table th[b-4inp6aemvd],
[data-theme="dark"] .lc-table th[b-4inp6aemvd] {
    background: #0f172a !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-table td[b-4inp6aemvd],
[data-theme="dark"] .lc-table td[b-4inp6aemvd] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .lc-table-row:hover td[b-4inp6aemvd],
[data-theme="dark"] .lc-table-row:hover td[b-4inp6aemvd] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .lc-btn[b-4inp6aemvd],
[data-theme="dark"] .lc-btn[b-4inp6aemvd] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-btn:hover[b-4inp6aemvd],
[data-theme="dark"] .lc-btn:hover[b-4inp6aemvd] {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #7dd3fc !important;
}

:host-context([data-theme="dark"]) .modal-form-card[b-4inp6aemvd],
[data-theme="dark"] .modal-form-card[b-4inp6aemvd] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-header-bar[b-4inp6aemvd],
:host-context([data-theme="dark"]) .modal-body[b-4inp6aemvd],
:host-context([data-theme="dark"]) .modal-footer-bar[b-4inp6aemvd],
[data-theme="dark"] .modal-header-bar[b-4inp6aemvd],
[data-theme="dark"] .modal-body[b-4inp6aemvd],
[data-theme="dark"] .modal-footer-bar[b-4inp6aemvd] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header-bar h3[b-4inp6aemvd],
[data-theme="dark"] .modal-header-bar h3[b-4inp6aemvd] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lab-input[b-4inp6aemvd],
[data-theme="dark"] .lab-input[b-4inp6aemvd] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .form-group label[b-4inp6aemvd],
[data-theme="dark"] .form-group label[b-4inp6aemvd] {
    color: #cbd5e1 !important;
}
/* Master dashboard theme */
:global(.main-content):has(.referral-page)[b-4inp6aemvd] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.referral-page[b-4inp6aemvd] { height: calc(100vh - 1.5rem) !important; min-height: 0 !important; padding: 0 !important; gap: .6rem !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.lab-header-card[b-4inp6aemvd] { flex: 0 0 78px !important; padding: .15rem 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.icon-box-container[b-4inp6aemvd] { background: #e4f4ff !important; }
.text-indigo-600[b-4inp6aemvd] { color: #0876ad !important; }
.lab-title-text[b-4inp6aemvd] { color: #07547c !important; font-size: 1.85rem !important; font-weight: 800 !important; }
.status-text[b-4inp6aemvd] { color: #647b90 !important; font-size: .78rem !important; text-transform: none !important; letter-spacing: 0 !important; }
.lc-rounded-pill-input[b-4inp6aemvd] { width: 280px !important; height: 40px !important; border-radius: 10px !important; border-color: #cbd9e8 !important; }
.btn-new-entry[b-4inp6aemvd] { height: 40px !important; padding: 0 1.15rem !important; border-radius: 10px !important; background: #087bb5 !important; }
.directory-section[b-4inp6aemvd] { flex: 1 1 auto !important; min-height: 0 !important; margin: 0 !important; border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; background: #fff !important; }
.lc-table-container[b-4inp6aemvd] { max-height: none !important; overflow: auto !important; }
.lc-table thead tr[b-4inp6aemvd] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.lc-table th[b-4inp6aemvd] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.lc-table td[b-4inp6aemvd] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.lc-table tbody tr[b-4inp6aemvd] { height: 44px !important; background: #fff !important; }
.lc-table tbody tr:nth-child(even)[b-4inp6aemvd] { background: #f8fbfe !important; }
.lc-table-row:hover[b-4inp6aemvd] { background: #f0f8ff !important; }
.text-slate-800[b-4inp6aemvd] { color: #1e293b !important; }
.lc-btn[b-4inp6aemvd], .lc-circle-btn-32[b-4inp6aemvd] { width: 28px !important; height: 28px !important; padding: 0 !important; border: 1px solid #dbe8f3 !important; border-radius: 8px !important; background: #f8fbff !important; color: #0876ad !important; }
/* /Components/Pages/DoctorTypeMaster.razor.rz.scp.css */
.referral-page[b-vf84n4tgsp] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-vf84n4tgsp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-vf84n4tgsp] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-vf84n4tgsp] {
    display: flex;
}

.align-center[b-vf84n4tgsp] {
    align-items: center;
}

.flex-center[b-vf84n4tgsp] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-vf84n4tgsp] {
    gap: 8px;
}

.gap-12[b-vf84n4tgsp] {
    gap: 12px;
}

.gap-16[b-vf84n4tgsp] {
    gap: 16px;
}

.p-2[b-vf84n4tgsp] {
    padding: 8px;
}

.p-4[b-vf84n4tgsp] {
    padding: 16px;
}

.p-48[b-vf84n4tgsp] {
    padding: 48px;
}

.rounded-lg[b-vf84n4tgsp] {
    border-radius: 8px;
}

.shadow-sm[b-vf84n4tgsp] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-vf84n4tgsp] {
    margin: 0;
}

.mt-2px[b-vf84n4tgsp] {
    margin-top: 2px;
}

.mb-0[b-vf84n4tgsp] {
    margin-bottom: 0;
}

.mt-0[b-vf84n4tgsp] {
    margin-top: 0;
}

.relative-positioned[b-vf84n4tgsp] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-vf84n4tgsp] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04);
    padding: 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
}

.lab-title-text[b-vf84n4tgsp] {
    color: #312e81;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-vf84n4tgsp] {
    background-color: #eef2ff;
}

.text-indigo-600[b-vf84n4tgsp] {
    color: #4f46e5;
}

.icon-lg[b-vf84n4tgsp] {
    font-size: 24px;
}

.status-pulse-dot[b-vf84n4tgsp] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-vf84n4tgsp 2s infinite;
}

.status-text[b-vf84n4tgsp] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-vf84n4tgsp] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-vf84n4tgsp] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-vf84n4tgsp] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-vf84n4tgsp] {
    width: 220px;
}

.btn-new-entry[b-vf84n4tgsp] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-vf84n4tgsp] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-vf84n4tgsp] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.lc-table-container[b-vf84n4tgsp] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-vf84n4tgsp] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-vf84n4tgsp] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-vf84n4tgsp] {
    padding: 1rem 1.5rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lc-table td[b-vf84n4tgsp] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    vertical-align: middle;
}

.lc-table tbody tr:last-child td[b-vf84n4tgsp] {
    border-bottom: none;
}

.lc-table-row:hover[b-vf84n4tgsp] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-vf84n4tgsp] {
    font-weight: 700;
}

.text-indigo-600[b-vf84n4tgsp] {
    color: #4f46e5;
}

.lc-color-slate-500[b-vf84n4tgsp] {
    color: #64748b;
}

.lc-font-mono[b-vf84n4tgsp] {
    font-family: monospace;
}

.lc-font-700[b-vf84n4tgsp] {
    font-weight: 700;
}

.lc-font-13[b-vf84n4tgsp] {
    font-size: 13px;
}

.text-slate-800[b-vf84n4tgsp] {
    color: #1e293b;
}

.text-slate-500[b-vf84n4tgsp] {
    color: #64748b;
}

.text-slate-400[b-vf84n4tgsp] {
    color: #94a3b8;
}

.font-12[b-vf84n4tgsp] {
    font-size: 12px;
}

.font-18[b-vf84n4tgsp] {
    font-size: 18px;
}

.italic[b-vf84n4tgsp] {
    font-style: italic;
}

/* Action buttons */
.lc-btn[b-vf84n4tgsp] {
    padding: 8px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-vf84n4tgsp] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-vf84n4tgsp] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-vf84n4tgsp] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-vf84n4tgsp] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-vf84n4tgsp] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-vf84n4tgsp 0.3s ease-out;
}

.modal-header-bar[b-vf84n4tgsp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-vf84n4tgsp] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-vf84n4tgsp] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-vf84n4tgsp] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-vf84n4tgsp] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-section[b-vf84n4tgsp] {
    margin-bottom: 0;
}

.form-group[b-vf84n4tgsp] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-vf84n4tgsp] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-input[b-vf84n4tgsp] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
}

.lab-input:focus[b-vf84n4tgsp] {
    outline: none;
    border-color: #4f46e5;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.um-grid-row[b-vf84n4tgsp] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.um-grid-cols-3[b-vf84n4tgsp] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.modal-footer-bar[b-vf84n4tgsp] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-vf84n4tgsp] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-vf84n4tgsp] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-vf84n4tgsp] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-delete[b-vf84n4tgsp] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.btn-delete:hover:not(:disabled)[b-vf84n4tgsp] {
    text-decoration: underline;
}

.btn-delete:disabled[b-vf84n4tgsp] {
    opacity: 0.4;
    cursor: not-allowed;
}

.text-danger[b-vf84n4tgsp] {
    color: #ef4444;
}

.alert[b-vf84n4tgsp] {
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
}

.alert-danger[b-vf84n4tgsp] {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success[b-vf84n4tgsp] {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

/* Animations */
@keyframes lc-pulse-b-vf84n4tgsp {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-vf84n4tgsp] {
    animation: lc-fadeInUp-b-vf84n4tgsp 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-vf84n4tgsp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR DOCTOR TYPE MASTER
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .referral-page[b-vf84n4tgsp],
[data-theme="dark"] .referral-page[b-vf84n4tgsp] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-vf84n4tgsp],
[data-theme="dark"] .lab-header-card[b-vf84n4tgsp] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-vf84n4tgsp],
[data-theme="dark"] .lab-title-text[b-vf84n4tgsp] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .status-text[b-vf84n4tgsp],
[data-theme="dark"] .status-text[b-vf84n4tgsp] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input[b-vf84n4tgsp],
[data-theme="dark"] .lc-rounded-pill-input[b-vf84n4tgsp] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .search-icon i[b-vf84n4tgsp],
:host-context([data-theme="dark"]) .search-icon span[b-vf84n4tgsp],
[data-theme="dark"] .search-icon i[b-vf84n4tgsp],
[data-theme="dark"] .search-icon span[b-vf84n4tgsp] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .directory-section[b-vf84n4tgsp],
[data-theme="dark"] .directory-section[b-vf84n4tgsp] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lc-table thead tr[b-vf84n4tgsp],
[data-theme="dark"] .lc-table thead tr[b-vf84n4tgsp] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table th[b-vf84n4tgsp],
[data-theme="dark"] .lc-table th[b-vf84n4tgsp] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-table td[b-vf84n4tgsp],
[data-theme="dark"] .lc-table td[b-vf84n4tgsp] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .lc-table-row:hover td[b-vf84n4tgsp],
[data-theme="dark"] .lc-table-row:hover td[b-vf84n4tgsp] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .lc-btn[b-vf84n4tgsp],
[data-theme="dark"] .lc-btn[b-vf84n4tgsp] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-btn:hover[b-vf84n4tgsp],
[data-theme="dark"] .lc-btn:hover[b-vf84n4tgsp] {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #7dd3fc !important;
}

:host-context([data-theme="dark"]) .modal-form-card[b-vf84n4tgsp],
[data-theme="dark"] .modal-form-card[b-vf84n4tgsp] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-header-bar[b-vf84n4tgsp],
:host-context([data-theme="dark"]) .modal-body[b-vf84n4tgsp],
:host-context([data-theme="dark"]) .modal-footer-bar[b-vf84n4tgsp],
[data-theme="dark"] .modal-header-bar[b-vf84n4tgsp],
[data-theme="dark"] .modal-body[b-vf84n4tgsp],
[data-theme="dark"] .modal-footer-bar[b-vf84n4tgsp] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header-bar h3[b-vf84n4tgsp],
[data-theme="dark"] .modal-header-bar h3[b-vf84n4tgsp] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lab-input[b-vf84n4tgsp],
[data-theme="dark"] .lab-input[b-vf84n4tgsp] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .form-group label[b-vf84n4tgsp],
[data-theme="dark"] .form-group label[b-vf84n4tgsp] {
    color: #cbd5e1 !important;
}
/* Master dashboard theme */
:global(.main-content):has(.referral-page)[b-vf84n4tgsp] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.referral-page[b-vf84n4tgsp] { height: calc(100vh - 1.5rem) !important; min-height: 0 !important; padding: 0 !important; gap: .6rem !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.lab-header-card[b-vf84n4tgsp] { flex: 0 0 78px !important; padding: .15rem 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.icon-box-container[b-vf84n4tgsp] { background: #e4f4ff !important; }
.text-indigo-600[b-vf84n4tgsp] { color: #0876ad !important; }
.lab-title-text[b-vf84n4tgsp] { color: #07547c !important; font-size: 1.85rem !important; font-weight: 800 !important; }
.status-text[b-vf84n4tgsp] { color: #647b90 !important; font-size: .78rem !important; text-transform: none !important; letter-spacing: 0 !important; }
.lc-rounded-pill-input[b-vf84n4tgsp] { width: 280px !important; height: 40px !important; border-radius: 10px !important; border-color: #cbd9e8 !important; }
.btn-new-entry[b-vf84n4tgsp] { height: 40px !important; padding: 0 1.15rem !important; border-radius: 10px !important; background: #087bb5 !important; }
.directory-section[b-vf84n4tgsp] { flex: 1 1 auto !important; min-height: 0 !important; margin: 0 !important; border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; background: #fff !important; }
.lc-table-container[b-vf84n4tgsp] { max-height: none !important; overflow: auto !important; }
.lc-table thead tr[b-vf84n4tgsp] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.lc-table th[b-vf84n4tgsp] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.lc-table td[b-vf84n4tgsp] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.lc-table tbody tr[b-vf84n4tgsp] { height: 44px !important; background: #fff !important; }
.lc-table tbody tr:nth-child(even)[b-vf84n4tgsp] { background: #f8fbfe !important; }
.lc-table-row:hover[b-vf84n4tgsp] { background: #f0f8ff !important; }
.text-slate-800[b-vf84n4tgsp] { color: #1e293b !important; }
.lc-btn[b-vf84n4tgsp], .lc-circle-btn-32[b-vf84n4tgsp] { width: 28px !important; height: 28px !important; padding: 0 !important; border: 1px solid #dbe8f3 !important; border-radius: 8px !important; background: #f8fbff !important; color: #0876ad !important; }
/* /Components/Pages/DueCollection.razor.rz.scp.css */
.due-collection-wrapper[b-jv9stkrlim] {

    margin: 0 auto;
    padding: 0.25rem 1rem 1rem 1rem;
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}


/* Navigation Tabs */
.due-tabs[b-jv9stkrlim] {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
}

.tab-btn[b-jv9stkrlim] {
    background: transparent;
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease-in-out;
    margin-bottom: -4px;
}

.tab-btn:hover[b-jv9stkrlim] {
    color: #1e293b;
    background-color: #f1f5f9;
    border-radius: 6px 6px 0 0;
}

.tab-btn.active[b-jv9stkrlim] {
    color: #087bb5;
    border-bottom-color: #087bb5;
}

.tab-btn i[b-jv9stkrlim] {
    font-size: 1rem;
}

/* Controls Card */
.controls-card[b-jv9stkrlim] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

.controls-left[b-jv9stkrlim],
.controls-right[b-jv9stkrlim] {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

.control-group[b-jv9stkrlim] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.control-group label[b-jv9stkrlim] {
    font-size: 0.65rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.control-select[b-jv9stkrlim],
.control-input[b-jv9stkrlim] {
    height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.2s ease-in-out;
    background: #ffffff;
    color: #1e293b;
}

.control-select:focus[b-jv9stkrlim],
.control-input:focus[b-jv9stkrlim] {
    border-color: #087bb5;
    box-shadow: 0 0 0 3px rgba(8, 123, 181, 0.1);
}

.paymode-group .control-select[b-jv9stkrlim] {
    min-width: 140px;
}

.amount-group .control-input[b-jv9stkrlim] {
    max-width: 150px;
}

.amount-field-container[b-jv9stkrlim] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link[b-jv9stkrlim] {
    background: none;
    border: none;
    color: #087bb5;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: color 0.2s;
}

.btn-link:hover[b-jv9stkrlim] {
    color: #3730a3;
}

.btn-link:disabled[b-jv9stkrlim] {
    color: #a5b4fc;
    cursor: not-allowed;
    text-decoration: none;
}

.search-group[b-jv9stkrlim] {
    min-width: 250px;
}

.search-input-wrapper[b-jv9stkrlim] {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-input-wrapper i[b-jv9stkrlim] {
    position: absolute;
    left: 0.75rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.search-input-wrapper .control-input[b-jv9stkrlim] {
    padding-left: 2.25rem;
    padding-right: 2rem;
    width: 100%;
}

.clear-search-btn[b-jv9stkrlim] {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.clear-search-btn:hover[b-jv9stkrlim] {
    color: #64748b;
}

.control-actions[b-jv9stkrlim] {
    display: flex;
    gap: 0.5rem;
}

.btn-filter[b-jv9stkrlim] {
    background: #ffffff;
    color: #64748b;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.btn-filter:hover[b-jv9stkrlim],
.btn-filter.active[b-jv9stkrlim] {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
}

.btn-save[b-jv9stkrlim] {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0 1.25rem;
    height: 38px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.2);
    transition: all 0.2s;
}

.btn-save:hover:not(:disabled)[b-jv9stkrlim] {
    background: #2563eb;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.btn-save:disabled[b-jv9stkrlim] {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

/* Pagination Container */
.due-pagination-container[b-jv9stkrlim] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
    padding: 0.5rem 0.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Bottom Summary Cards */
.due-bottom-summary-grid[b-jv9stkrlim] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.summary-card-lg[b-jv9stkrlim] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

.summary-card-lg.balance[b-jv9stkrlim] {
    border-left: 4px solid #087bb5;
}

.summary-card-lg.count[b-jv9stkrlim] {
    border-left: 4px solid #0891b2;
}

.summary-card-lg.collected[b-jv9stkrlim] {
    border-left: 4px solid #10b981;
}

.summary-card-lg.concession[b-jv9stkrlim] {
    border-left: 4px solid #f59e0b;
}

.summary-card-lg.balance .card-icon-bg[b-jv9stkrlim] {
    background: rgba(8, 123, 181, 0.08);
    color: #087bb5;
}

.summary-card-lg.count .card-icon-bg[b-jv9stkrlim] {
    background: rgba(8, 145, 178, 0.08);
    color: #0891b2;
}

.summary-card-lg.collected .card-icon-bg[b-jv9stkrlim] {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
}

.summary-card-lg.concession .card-icon-bg[b-jv9stkrlim] {
    background: rgba(245, 158, 11, 0.08);
    color: #f59e0b;
}

.card-icon-bg[b-jv9stkrlim] {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.card-info-content[b-jv9stkrlim] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.summary-label[b-jv9stkrlim] {
    font-size: 0.72rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value[b-jv9stkrlim] {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
}

/* Advanced Filter Card */
.advanced-filter-card[b-jv9stkrlim] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-type-row[b-jv9stkrlim] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.type-label[b-jv9stkrlim] {
    font-size: 0.75rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.5px;
}

.radio-options[b-jv9stkrlim] {
    display: flex;
    gap: 1.5rem;
}

.radio-label[b-jv9stkrlim] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.radio-label input[type="radio"][b-jv9stkrlim] {
    accent-color: #087bb5;
    width: 16px;
    height: 16px;
}

.filter-boxes-grid[b-jv9stkrlim] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .filter-boxes-grid[b-jv9stkrlim] {
        grid-template-columns: 1fr;
    }
}

.filter-box-card[b-jv9stkrlim] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group-filter[b-jv9stkrlim] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group-filter label[b-jv9stkrlim] {
    font-size: 0.65rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select[b-jv9stkrlim],
.filter-input[b-jv9stkrlim] {
    height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    outline: none;
    background: #ffffff;
    color: #1e293b;
    width: 100%;
    transition: all 0.2s;
}

.filter-select:focus[b-jv9stkrlim],
.filter-input:focus[b-jv9stkrlim] {
    border-color: #087bb5;
    box-shadow: 0 0 0 3px rgba(8, 123, 181, 0.1);
}

.filter-row-dates[b-jv9stkrlim] {
    display: flex;
    gap: 1rem;
}

.flex-1[b-jv9stkrlim] {
    flex: 1;
}

.filter-actions-row[b-jv9stkrlim] {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.filter-actions-right[b-jv9stkrlim] {
    display: flex;
    gap: 0.75rem;
}

.btn-reset-filters[b-jv9stkrlim] {
    background: #ffffff;
    color: #64748b;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.55rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.btn-reset-filters:hover[b-jv9stkrlim] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #475569;
}

.btn-search-blue[b-jv9stkrlim] {
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.55rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    transition: all 0.2s;
}

.btn-search-blue:hover[b-jv9stkrlim] {
    background: #1d4ed8;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.row-input[b-jv9stkrlim],
.row-select[b-jv9stkrlim] {
    width: 100%;
    height: 28px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    outline: none;
    transition: all 0.15s ease-in-out;
    background-color: #ffffff;
    color: #0f172a;
}

.row-input:focus[b-jv9stkrlim],
.row-select:focus[b-jv9stkrlim] {
    border-color: #087bb5;
    box-shadow: 0 0 0 2px rgba(8, 123, 181, 0.15);
}

.row-input:disabled[b-jv9stkrlim],
.row-select:disabled[b-jv9stkrlim] {
    background-color: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

.row-selected[b-jv9stkrlim] {
    background-color: #f8fafc;
}

.advance-use-group label.flicker-effect[b-jv9stkrlim],
.advance-use-group input.flicker-effect[b-jv9stkrlim] {
    color: #087bb5;
    font-weight: 700;
}


/* Header Card with Gradient */
.due-header-card[b-jv9stkrlim] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(8, 123, 181, 0.1);
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(8, 123, 181, 0.03), 0 2px 4px -1px rgba(8, 123, 181, 0.02);
    flex-wrap: wrap;
}

.header-icon-container[b-jv9stkrlim] {
    background: #ffffff;
    color: #087bb5;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(8, 123, 181, 0.08);
    border: 1px solid rgba(8, 123, 181, 0.1);
}

.header-text-container h1[b-jv9stkrlim] {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: #1e1b4b;
}

.header-text-container p[b-jv9stkrlim] {
    font-size: 0.68rem;
    margin: 0.25rem 0 0 0;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
}

.header-status-dot[b-jv9stkrlim] {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 6px;
}

.header-right-section[b-jv9stkrlim] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-left: auto;
}

.header-summary-cards[b-jv9stkrlim] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.header-summary-card[b-jv9stkrlim] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    min-width: 105px;
    transition: all 0.2s ease;
}

.header-summary-card.balance[b-jv9stkrlim] {
    border-left: 3.5px solid #087bb5;
}

.header-summary-card.count[b-jv9stkrlim] {
    border-left: 3.5px solid #0891b2;
}

.header-summary-card.collected[b-jv9stkrlim] {
    border-left: 3.5px solid #10b981;
}

.header-summary-card.discount[b-jv9stkrlim] {
    border-left: 3.5px solid #ec4899;
}

.header-summary-card.concession[b-jv9stkrlim] {
    border-left: 3.5px solid #f59e0b;
}

.header-summary-label[b-jv9stkrlim] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.header-summary-value[b-jv9stkrlim] {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
}

.header-summary-value.text-balance[b-jv9stkrlim] {
    color: #087bb5;
}

.header-summary-value.text-count[b-jv9stkrlim] {
    color: #0891b2;
}

.header-summary-value.text-collected[b-jv9stkrlim] {
    color: #10b981;
}

.header-summary-value.text-discount[b-jv9stkrlim] {
    color: #db2777;
}

.header-summary-value.text-concession[b-jv9stkrlim] {
    color: #d97706;
}

/* Filter Trigger Row */
.filter-trigger-row[b-jv9stkrlim] {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.btn-history-filter-trigger[b-jv9stkrlim] {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
}

.btn-history-filter-trigger:hover[b-jv9stkrlim],
.btn-history-filter-trigger.active[b-jv9stkrlim] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

/* --- Redesigned Collection History Filter UI --- */
.hist-filter-card[b-jv9stkrlim] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.hist-filter-body[b-jv9stkrlim] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.hist-filter-row-3[b-jv9stkrlim],
.hist-filter-row-2[b-jv9stkrlim] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.hist-fg[b-jv9stkrlim] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hist-fg label[b-jv9stkrlim] {
    font-size: 0.65rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hist-input[b-jv9stkrlim],
.hist-select[b-jv9stkrlim] {
    height: 38px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #ffffff;
    color: #1e293b;
    width: 100%;
}

.hist-input:focus[b-jv9stkrlim],
.hist-select:focus[b-jv9stkrlim] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.hist-filter-actions[b-jv9stkrlim] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.btn-hist-reset[b-jv9stkrlim] {
    background: #ffffff;
    color: #64748b;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.55rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.btn-hist-reset:hover[b-jv9stkrlim] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #475569;
}

.btn-hist-search[b-jv9stkrlim] {
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.55rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    transition: all 0.2s;
}

.btn-hist-search:hover[b-jv9stkrlim] {
    background: #1d4ed8;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.btn-hist-print[b-jv9stkrlim] {
    background: #07547c;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.55rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 6px -1px rgba(7, 84, 124, 0.2);
    transition: all 0.2s;
}

.btn-hist-print:hover[b-jv9stkrlim] {
    background: #087bb5;
}

/* Custom Table Layout */
.table-container[b-jv9stkrlim] {
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    overflow: hidden;
}

.due-table[b-jv9stkrlim] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.due-table th[b-jv9stkrlim] {
    background: #f8fafc;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.5px;
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.col-collected[b-jv9stkrlim],
.col-concession[b-jv9stkrlim] {
    width: 110px;
}

.col-paymode[b-jv9stkrlim] {
    width: 125px;
    min-width: 110px;
}

.due-table td[b-jv9stkrlim] {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.due-table tr:last-child td[b-jv9stkrlim] {
    border-bottom: none;
}

.due-table tbody tr:hover[b-jv9stkrlim] {
    background: #fdfdfd;
}

/* --- History Action Buttons & Badges --- */
.btn-hist-action[b-jv9stkrlim] {
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.btn-hist-action.blue[b-jv9stkrlim] {
    color: #2563eb;
}

.btn-hist-action.blue:hover[b-jv9stkrlim] {
    background: #eff6ff;
    border-color: #3b82f6;
}

.btn-hist-action.red[b-jv9stkrlim] {
    color: #dc2626;
}

.btn-hist-action.red:hover[b-jv9stkrlim] {
    background: #fef2f2;
    border-color: #fca5a5;
}

.badge-paymode[b-jv9stkrlim] {
    background: #eff6ff;
    color: #3b82f6;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
}

.badge-monthly[b-jv9stkrlim] {
    background: #fef3c7;
    color: #d97706;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
}

/* --- Pagination Controls --- */
.pagination-info[b-jv9stkrlim] {
    font-size: 0.85rem;
    color: #64748b;
}

.pagination-buttons[b-jv9stkrlim] {
    display: flex;
    gap: 0.35rem;
}

.pag-btn[b-jv9stkrlim] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.pag-btn:hover:not(:disabled)[b-jv9stkrlim] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

.pag-btn.active[b-jv9stkrlim] {
    background: #07547c;
    color: white;
    border-color: #07547c;
}

.pag-btn:disabled[b-jv9stkrlim] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- History Bottom Container (Pagination + Collected Amt Card) --- */
.history-bottom-container[b-jv9stkrlim] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.history-pagination-left[b-jv9stkrlim] {
    display: flex;
    align-items: center;
}

.collected-amt-card-right[b-jv9stkrlim] {
    background: #f0fdf4;
    border: 1px solid rgba(5, 150, 105, 0.15);
    border-radius: 12px;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 220px;
    box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.05);
}

.collected-amt-icon-bg[b-jv9stkrlim] {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.collected-amt-info[b-jv9stkrlim] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.collected-amt-label[b-jv9stkrlim] {
    font-size: 0.72rem;
    font-weight: 800;
    color: #065f46;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.collected-amt-val[b-jv9stkrlim] {
    font-size: 1.6rem;
    font-weight: 800;
    color: #064e3b;
}

/* Modal dialog */
.modal-backdrop-custom[b-jv9stkrlim] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-card-custom[b-jv9stkrlim] {
    background: white;
    border-radius: 16px;
    width: 500px;
    max-width: 90vw;
    overflow: hidden;
}

.modal-header-custom[b-jv9stkrlim] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-custom h3[b-jv9stkrlim] {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.modal-header-custom .close-btn[b-jv9stkrlim] {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
}

.modal-body-custom[b-jv9stkrlim] {
    padding: 1.5rem;
}

.modal-footer-custom[b-jv9stkrlim] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn-secondary-custom[b-jv9stkrlim] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-secondary-custom:hover[b-jv9stkrlim] {
    background: #cbd5e1;
}

.btn-danger-custom[b-jv9stkrlim] {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-danger-custom:hover[b-jv9stkrlim] {
    background: #dc2626;
}

.control-textarea[b-jv9stkrlim] {
    width: 100%;
    min-height: 80px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    outline: none;
    resize: vertical;
}

/* Helpers */
.font-mono[b-jv9stkrlim] {
    font-family: monospace;
}

.font-sm[b-jv9stkrlim] {
    font-size: 0.75rem;
}

.font-bold[b-jv9stkrlim] {
    font-weight: 700;
}

.font-semibold[b-jv9stkrlim] {
    font-weight: 600;
}

.font-xxl[b-jv9stkrlim] {
    font-size: 2rem;
    color: #cbd5e1;
}

.text-end[b-jv9stkrlim] {
    text-align: right;
}

.text-center[b-jv9stkrlim] {
    text-align: center;
}

.text-danger[b-jv9stkrlim] {
    color: #ef4444;
}

.text-success[b-jv9stkrlim] {
    color: #10b981;
}

.text-primary[b-jv9stkrlim] {
    color: #087bb5;
}

.text-info[b-jv9stkrlim] {
    color: #06b6d4;
}

.mt-3[b-jv9stkrlim] {
    margin-top: 1rem;
}

.ms-3[b-jv9stkrlim] {
    margin-left: 1rem;
}

/* /Components/Pages/Home.razor.rz.scp.css */
/* Dashboard Layout */
.dashboard-container[b-44t9xpvtwc][b-jv9stkrlim] {
    padding: 1.5rem;
    animation: fadeIn-b-44t9xpvtwc-b-jv9stkrlim 0.5s ease-out;
}

@keyframes fadeIn-b-44t9xpvtwc-b-jv9stkrlim {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Welcome Section */
.welcome-section[b-44t9xpvtwc][b-jv9stkrlim] {
    background: linear-gradient(135deg, #004c7a 0%, #0074b1 100%);
    border-radius: 24px;
    padding: 3rem;
    color: white;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 76, 122, 0.2);
}

.welcome-section[b-44t9xpvtwc][b-jv9stkrlim]::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
}

/* Patient Advance UI Styles */
.advance-tab-layout[b-jv9stkrlim] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.advance-summary-container[b-jv9stkrlim] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

.patient-info-header[b-jv9stkrlim] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.patient-info-header .avatar-circle[b-jv9stkrlim] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eff6ff;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.patient-info-header h2[b-jv9stkrlim] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.patient-info-header p[b-jv9stkrlim] {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0.15rem 0 0 0;
}

.history-summary-grid[b-jv9stkrlim] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 992px) {
    .history-summary-grid[b-jv9stkrlim] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .history-summary-grid[b-jv9stkrlim] {
        grid-template-columns: 1fr;
    }
}

.summary-card-sm[b-jv9stkrlim] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.summary-card-sm .label[b-jv9stkrlim] {
    font-size: 0.62rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-card-sm .value[b-jv9stkrlim] {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1e293b;
}

.summary-card-sm.blue[b-jv9stkrlim] {
    border-left: 4px solid #3b82f6;
}

.summary-card-sm.green[b-jv9stkrlim] {
    border-left: 4px solid #10b981;
}

.summary-card-sm.orange[b-jv9stkrlim] {
    border-left: 4px solid #f97316;
}

.summary-card-sm.border-thick.highlight-balance[b-jv9stkrlim] {
    border: 2.5px solid #10b981;
}

.advance-content-layout[b-jv9stkrlim] {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 992px) {
    .advance-content-layout[b-jv9stkrlim] {
        flex-direction: column;
    }
}

.advance-left-column[b-jv9stkrlim] {
    flex: 0 0 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.advance-left-column .action-box[b-jv9stkrlim],
.advance-left-column .compact-action-box[b-jv9stkrlim] {
    width: 100%;
}

@media (max-width: 992px) {
    .advance-left-column[b-jv9stkrlim] {
        flex: 1;
    }
}

.advance-toggle-pills[b-jv9stkrlim] {
    display: inline-flex;
    background: #f1f5f9;
    padding: 0.25rem;
    border-radius: 30px;
    gap: 0.25rem;
    border: 1px solid #cbd5e1;
    align-self: center;
}

.toggle-pill-btn[b-jv9stkrlim] {
    background: transparent;
    border: none;
    padding: 0.45rem 1.25rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.toggle-pill-btn:hover[b-jv9stkrlim] {
    color: #1e293b;
}

.toggle-pill-btn.active[b-jv9stkrlim] {
    background: #ffffff;
    color: #087bb5;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.action-box[b-jv9stkrlim] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.action-box.deposit-theme[b-jv9stkrlim] {
    border-top: 4px solid #10b981;
}

.action-box.refund-theme[b-jv9stkrlim] {
    border-top: 4px solid #f97316;
}

.action-box h3[b-jv9stkrlim] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group-custom[b-jv9stkrlim] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group-custom label[b-jv9stkrlim] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
}

.btn-success-custom[b-jv9stkrlim] {
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
}

.btn-success-custom:hover:not(:disabled)[b-jv9stkrlim] {
    background: #059669;
}

.btn-warning-custom[b-jv9stkrlim] {
    background: #f97316;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.2);
}

.btn-warning-custom:hover:not(:disabled)[b-jv9stkrlim] {
    background: #ea580c;
}

.ledger-history-box[b-jv9stkrlim] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    flex: 1 1 auto;
    min-width: 0;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.ledger-history-box .table-container[b-jv9stkrlim] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow-y: auto;
    flex: 1 1 auto;
    max-height: 420px;
}

.ledger-history-box h3[b-jv9stkrlim] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.small-ledger-table[b-jv9stkrlim] {
    width: 100%;
}

.small-ledger-table th[b-jv9stkrlim],
.small-ledger-table td[b-jv9stkrlim] {
    padding: 0.65rem 1rem !important;
    font-size: 0.85rem !important;
}

.badge-paymode.deposit[b-jv9stkrlim] {
    background: #dcfce7;
    color: #16a34a;
    font-weight: 700;
}

.badge-paymode.refund[b-jv9stkrlim],
.badge-paymode.refunded[b-jv9stkrlim] {
    background: #fee2e2;
    color: #dc2626;
    font-weight: 700;
}

.badge-paymode.used[b-jv9stkrlim] {
    background: #dbeafe;
    color: #2563eb;
    font-weight: 700;
}

.text-success[b-jv9stkrlim] {
    color: #10b981 !important;
}

.text-warning[b-jv9stkrlim] {
    color: #f97316 !important;
}

.text-danger[b-jv9stkrlim] {
    color: #ef4444 !important;
}

.btn-primary-custom[b-jv9stkrlim] {
    background: #07547c !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 6px -1px rgba(7, 84, 124, 0.2);
    transition: all 0.2s;
}

.btn-primary-custom:hover:not(:disabled)[b-jv9stkrlim] {
    background: #087bb5 !important;
}

.btn-primary-custom:disabled[b-jv9stkrlim] {
    background: #a5b4fc !important;
    color: #ffffff !important;
    cursor: not-allowed;
    box-shadow: none;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR DUE COLLECTION
   ═══════════════════════════════════════════════════════════════ */
.btn-history-filter-trigger[b-jv9stkrlim] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s;
    cursor: pointer;
}

:host-context([data-theme="dark"]) .due-collection-wrapper[b-jv9stkrlim],
[data-theme="dark"] .due-collection-wrapper[b-jv9stkrlim] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .due-header-card[b-jv9stkrlim],
[data-theme="dark"] .due-header-card[b-jv9stkrlim],
:host-context([data-theme="dark"]) .controls-card[b-jv9stkrlim],
[data-theme="dark"] .controls-card[b-jv9stkrlim],
:host-context([data-theme="dark"]) .advanced-filter-card[b-jv9stkrlim],
[data-theme="dark"] .advanced-filter-card[b-jv9stkrlim],
:host-context([data-theme="dark"]) .filters-card[b-jv9stkrlim],
[data-theme="dark"] .filters-card[b-jv9stkrlim],
:host-context([data-theme="dark"]) .table-container[b-jv9stkrlim],
[data-theme="dark"] .table-container[b-jv9stkrlim],
:host-context([data-theme="dark"]) .summary-card-lg[b-jv9stkrlim],
[data-theme="dark"] .summary-card-lg[b-jv9stkrlim],
:host-context([data-theme="dark"]) .advance-summary-container[b-jv9stkrlim],
[data-theme="dark"] .advance-summary-container[b-jv9stkrlim],
:host-context([data-theme="dark"]) .summary-card-sm[b-jv9stkrlim],
[data-theme="dark"] .summary-card-sm[b-jv9stkrlim],
:host-context([data-theme="dark"]) .header-summary-card[b-jv9stkrlim],
[data-theme="dark"] .header-summary-card[b-jv9stkrlim],
:host-context([data-theme="dark"]) .action-box[b-jv9stkrlim],
[data-theme="dark"] .action-box[b-jv9stkrlim],
:host-context([data-theme="dark"]) .ledger-history-box[b-jv9stkrlim],
[data-theme="dark"] .ledger-history-box[b-jv9stkrlim],
:host-context([data-theme="dark"]) .modal-card-custom[b-jv9stkrlim],
[data-theme="dark"] .modal-card-custom[b-jv9stkrlim] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .header-summary-label[b-jv9stkrlim],
[data-theme="dark"] .header-summary-label[b-jv9stkrlim] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .header-summary-value.text-balance[b-jv9stkrlim],
[data-theme="dark"] .header-summary-value.text-balance[b-jv9stkrlim] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .header-summary-value.text-count[b-jv9stkrlim],
[data-theme="dark"] .header-summary-value.text-count[b-jv9stkrlim] {
    color: #22d3ee !important;
}

:host-context([data-theme="dark"]) .header-summary-value.text-collected[b-jv9stkrlim],
[data-theme="dark"] .header-summary-value.text-collected[b-jv9stkrlim] {
    color: #34d399 !important;
}

:host-context([data-theme="dark"]) .header-summary-value.text-discount[b-jv9stkrlim],
[data-theme="dark"] .header-summary-value.text-discount[b-jv9stkrlim] {
    color: #f472b6 !important;
}

:host-context([data-theme="dark"]) .header-summary-value.text-concession[b-jv9stkrlim],
[data-theme="dark"] .header-summary-value.text-concession[b-jv9stkrlim] {
    color: #fbbf24 !important;
}

:host-context([data-theme="dark"]) .btn-history-filter-trigger[b-jv9stkrlim],
[data-theme="dark"] .btn-history-filter-trigger[b-jv9stkrlim] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .btn-history-filter-trigger:hover[b-jv9stkrlim],
:host-context([data-theme="dark"]) .btn-history-filter-trigger.active[b-jv9stkrlim],
[data-theme="dark"] .btn-history-filter-trigger:hover[b-jv9stkrlim],
[data-theme="dark"] .btn-history-filter-trigger.active[b-jv9stkrlim] {
    background: #0f172a !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .control-input[b-jv9stkrlim],
:host-context([data-theme="dark"]) .control-select[b-jv9stkrlim],
:host-context([data-theme="dark"]) .filter-input[b-jv9stkrlim],
:host-context([data-theme="dark"]) .filter-select[b-jv9stkrlim],
:host-context([data-theme="dark"]) .row-input[b-jv9stkrlim],
:host-context([data-theme="dark"]) .form-control-custom[b-jv9stkrlim],
:host-context([data-theme="dark"]) .control-textarea[b-jv9stkrlim],
[data-theme="dark"] .control-input[b-jv9stkrlim],
[data-theme="dark"] .control-select[b-jv9stkrlim],
[data-theme="dark"] .filter-input[b-jv9stkrlim],
[data-theme="dark"] .filter-select[b-jv9stkrlim],
[data-theme="dark"] .row-input[b-jv9stkrlim],
[data-theme="dark"] .form-control-custom[b-jv9stkrlim],
[data-theme="dark"] .control-textarea[b-jv9stkrlim] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .control-group label[b-jv9stkrlim],
:host-context([data-theme="dark"]) .form-group-filter label[b-jv9stkrlim],
:host-context([data-theme="dark"]) .type-label[b-jv9stkrlim],
:host-context([data-theme="dark"]) .radio-label[b-jv9stkrlim],
[data-theme="dark"] .control-group label[b-jv9stkrlim],
[data-theme="dark"] .form-group-filter label[b-jv9stkrlim],
[data-theme="dark"] .type-label[b-jv9stkrlim],
[data-theme="dark"] .radio-label[b-jv9stkrlim] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .due-header-card h1[b-jv9stkrlim],
:host-context([data-theme="dark"]) .summary-value[b-jv9stkrlim],
[data-theme="dark"] .due-header-card h1[b-jv9stkrlim],
[data-theme="dark"] .summary-value[b-jv9stkrlim] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .summary-label[b-jv9stkrlim],
[data-theme="dark"] .summary-label[b-jv9stkrlim] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .due-table th[b-jv9stkrlim],
[data-theme="dark"] .due-table th[b-jv9stkrlim] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .due-table td[b-jv9stkrlim],
[data-theme="dark"] .due-table td[b-jv9stkrlim] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .col-customer-name[b-jv9stkrlim],
:host-context([data-theme="dark"]) td.col-customer-name[b-jv9stkrlim],
[data-theme="dark"] .col-customer-name[b-jv9stkrlim],
[data-theme="dark"] td.col-customer-name[b-jv9stkrlim] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .due-table tbody tr:hover td[b-jv9stkrlim],
[data-theme="dark"] .due-table tbody tr:hover td[b-jv9stkrlim] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .tab-btn[b-jv9stkrlim],
[data-theme="dark"] .tab-btn[b-jv9stkrlim] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .tab-btn:hover[b-jv9stkrlim],
[data-theme="dark"] .tab-btn:hover[b-jv9stkrlim] {
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .tab-btn.active[b-jv9stkrlim],
[data-theme="dark"] .tab-btn.active[b-jv9stkrlim] {
    color: #38bdf8 !important;
    border-bottom-color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .due-tabs[b-jv9stkrlim],
[data-theme="dark"] .due-tabs[b-jv9stkrlim] {
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .due-pagination-container[b-jv9stkrlim],
[data-theme="dark"] .due-pagination-container[b-jv9stkrlim] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .pag-btn[b-jv9stkrlim],
[data-theme="dark"] .pag-btn[b-jv9stkrlim] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .pag-btn.active[b-jv9stkrlim],
[data-theme="dark"] .pag-btn.active[b-jv9stkrlim] {
    background: #38bdf8 !important;
    color: #0f172a !important;
}

.autocomplete-item:hover[b-jv9stkrlim],
.autocomplete-item.active-focused[b-jv9stkrlim] {
    background-color: #e0f2fe !important;
    color: #026aa7 !important;
    border-left: 4px solid #0284c7 !important;
}

:host-context([data-theme="dark"]) .autocomplete-dropdown[b-jv9stkrlim],
[data-theme="dark"] .autocomplete-dropdown[b-jv9stkrlim] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .autocomplete-item[b-jv9stkrlim],
[data-theme="dark"] .autocomplete-item[b-jv9stkrlim] {
    color: #f8fafc !important;
    border-bottom-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .autocomplete-item:hover[b-jv9stkrlim],
[data-theme="dark"] .autocomplete-item:hover[b-jv9stkrlim],
:host-context([data-theme="dark"]) .autocomplete-item.active-focused[b-jv9stkrlim],
[data-theme="dark"] .autocomplete-item.active-focused[b-jv9stkrlim] {
    background-color: #1e293b !important;
    color: #38bdf8 !important;
    border-left: 4px solid #38bdf8 !important;
}

/* ==========================================================================
   OUTPATIENT VISITING DASHBOARD THEME & ONE-VIEW LOCK FOR DUE COLLECTION
   ========================================================================== */

:global(.main-content):has(.due-collection-wrapper)[b-jv9stkrlim] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    padding: 0.25rem 0.65rem !important;
    box-sizing: border-box !important;
    background: #f1f5fb !important;
}

.due-collection-wrapper[b-jv9stkrlim] {
    height: calc(100vh - 1.25rem) !important;
    max-height: calc(100vh - 1.25rem) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.3rem !important;
    padding: 0.2rem 0.5rem 0.3rem 0.5rem !important;
    box-sizing: border-box !important;
    background: #f1f5fb !important;
    max-width: none !important;
    margin: 0 !important;
}

/* --- HEADER CONSOLE --- */
.due-header-card[b-jv9stkrlim] {
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    padding: 0.2rem 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.65rem !important;
    min-height: 48px !important;
}

.header-left-section[b-jv9stkrlim] {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.header-icon-container[b-jv9stkrlim] {
    width: 38px !important;
    height: 38px !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #087bb5, #07547c) !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
    color: #ffffff !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 17px !important;
    flex-shrink: 0 !important;
}

.header-text-container[b-jv9stkrlim] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
}

.title-with-badge[b-jv9stkrlim] {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.header-text-container h1[b-jv9stkrlim] {
    color: #07547c !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.kutty-user-badge[b-jv9stkrlim] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    padding: 1px 7px !important;
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #7dd3fc !important;
    border-radius: 9999px !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
}

.header-text-container p[b-jv9stkrlim] {
    font-size: 0.72rem !important;
    margin: 0 !important;
    color: #64748b !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
}

.header-status-dot[b-jv9stkrlim] {
    width: 6px !important;
    height: 6px !important;
    background-color: #10b981 !important;
    border-radius: 50% !important;
    margin-right: 6px !important;
    display: inline-block !important;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25) !important;
}

.header-right-section[b-jv9stkrlim] {
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    flex-wrap: wrap !important;
    margin-left: auto !important;
}

/* --- SUMMARY BADGES IN HEADER --- */
.header-summary-cards[b-jv9stkrlim] {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    flex-wrap: wrap !important;
}

.header-summary-card[b-jv9stkrlim] {
    background: #ffffff !important;
    border: 1px solid #dbe8f3 !important;
    border-radius: 8px !important;
    padding: 0.2rem 0.55rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    min-width: 0 !important;
    height: 34px !important;
    box-sizing: border-box !important;
    transition: all 0.15s ease !important;
}

.header-summary-card:hover[b-jv9stkrlim] {
    border-color: #7bc8ed !important;
    box-shadow: 0 2px 6px rgba(8, 123, 181, 0.08) !important;
    transform: translateY(-1px) !important;
}

.header-summary-card.balance[b-jv9stkrlim] {
    border-color: #fca5a5 !important;
    background: #fff5f5 !important;
}

.header-summary-card.count[b-jv9stkrlim] {
    border-color: #bae6fd !important;
    background: #f0f9ff !important;
}

.header-summary-card.discount[b-jv9stkrlim] {
    border-color: #f5d0fe !important;
    background: #fdf4ff !important;
}

.header-summary-card.collected[b-jv9stkrlim] {
    border-color: #a7f3d0 !important;
    background: #f0fdf4 !important;
}

.header-summary-card.concession[b-jv9stkrlim] {
    border-color: #fde68a !important;
    background: #fffbeb !important;
}

.header-summary-label[b-jv9stkrlim] {
    font-size: 0.60rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.header-summary-value[b-jv9stkrlim] {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

.header-summary-value.text-balance[b-jv9stkrlim] { color: #dc2626 !important; }
.header-summary-value.text-count[b-jv9stkrlim] { color: #0369a1 !important; }
.header-summary-value.text-discount[b-jv9stkrlim] { color: #c026d3 !important; }
.header-summary-value.text-collected[b-jv9stkrlim] { color: #16a34a !important; }
.header-summary-value.text-concession[b-jv9stkrlim] { color: #d97706 !important; }

/* Filter Trigger Button */
.btn-history-filter-trigger[b-jv9stkrlim] {
    background: #ffffff !important;
    color: #0876ad !important;
    border: 1px solid #087bb5 !important;
    border-radius: 8px !important;
    padding: 0 0.85rem !important;
    height: 34px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    transition: all 0.18s ease !important;
}

.btn-history-filter-trigger:hover[b-jv9stkrlim],
.btn-history-filter-trigger.active[b-jv9stkrlim] {
    background: #087bb5 !important;
    color: #ffffff !important;
    border-color: #087bb5 !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
}

/* --- TAB LAYOUT (FLEX FILL & OVERFLOW PROTECT) --- */
.tab-content[b-jv9stkrlim],
.collect-tab-layout[b-jv9stkrlim] {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    gap: 0.3rem !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* --- ADVANCED FILTER CARD (COMPACT 28px) --- */
.advanced-filter-card[b-jv9stkrlim] {
    background: #ffffff !important;
    border: 1px solid #dbe8f3 !important;
    border-radius: 8px !important;
    padding: 0.35rem 0.65rem !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    margin-bottom: 0.2rem !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.filter-type-row[b-jv9stkrlim] {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0 0 0.25rem 0 !important;
    border-bottom: 1px dashed #e2e8f0 !important;
    margin-bottom: 0.3rem !important;
}

.filter-type-row .type-label[b-jv9stkrlim] {
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    letter-spacing: 0.4px !important;
}

.radio-options[b-jv9stkrlim] {
    display: flex !important;
    gap: 0.85rem !important;
    align-items: center !important;
}

.radio-label[b-jv9stkrlim] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    cursor: pointer !important;
    margin: 0 !important;
}

.radio-label input[type="radio"][b-jv9stkrlim] {
    accent-color: #087bb5 !important;
}

.form-group-filter[b-jv9stkrlim] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.form-group-filter label[b-jv9stkrlim] {
    font-size: 0.60rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.filter-select[b-jv9stkrlim],
.filter-input[b-jv9stkrlim] {
    height: 28px !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 6px !important;
    padding: 0 0.5rem !important;
    font-size: 0.76rem !important;
    outline: none !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-sizing: border-box !important;
    transition: all 0.15s ease !important;
}

.filter-select:focus[b-jv9stkrlim],
.filter-input:focus[b-jv9stkrlim] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 2px rgba(7, 133, 194, 0.12) !important;
}

.btn-reset-filters[b-jv9stkrlim] {
    height: 28px !important;
    background: #ffffff !important;
    color: #526b82 !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 6px !important;
    padding: 0 0.65rem !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
}

.btn-reset-filters:hover[b-jv9stkrlim] {
    background: #f1f5fb !important;
    border-color: #94a3b8 !important;
    color: #1e293b !important;
}

.btn-search-blue[b-jv9stkrlim] {
    height: 28px !important;
    background: #087bb5 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0 0.85rem !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    box-shadow: 0 2px 6px rgba(8, 123, 181, 0.2) !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
}

.btn-search-blue:hover[b-jv9stkrlim] {
    background: #05689b !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.3) !important;
}

/* --- CONTROLS / TOOLBAR --- */
.controls-card[b-jv9stkrlim] {
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 8px !important;
    padding: 0.25rem 0.65rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    flex-shrink: 0 !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    margin-bottom: 0.2rem !important;
}

.controls-card .controls-left[b-jv9stkrlim] {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 0.78rem !important;
}

.controls-card .controls-right[b-jv9stkrlim] {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-left: auto !important;
}

.controls-card .search-input-wrapper[b-jv9stkrlim] {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.controls-card .control-input[b-jv9stkrlim] {
    height: 28px !important;
    font-size: 0.76rem !important;
    border-radius: 6px !important;
    border: 1px solid #cbd9e8 !important;
    padding: 0 0.5rem 0 1.8rem !important;
    width: 220px !important;
    box-sizing: border-box !important;
}

.controls-card .search-input-wrapper i.bi-search[b-jv9stkrlim] {
    position: absolute !important;
    left: 8px !important;
    font-size: 0.74rem !important;
    color: #64748b !important;
    pointer-events: none !important;
}

.controls-card .btn-save[b-jv9stkrlim] {
    height: 28px !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    padding: 0 0.85rem !important;
    background: #087bb5 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(8, 123, 181, 0.2) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

.controls-card .btn-save:hover:not(:disabled)[b-jv9stkrlim] {
    background: #05689b !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.3) !important;
}

.controls-card .btn-save:disabled[b-jv9stkrlim] {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    background: #94a3b8 !important;
}

/* --- HIGH-DENSITY TABLE CONTAINER (FLEX FILL & SCROLL INTERNALLY) --- */
.table-container[b-jv9stkrlim] {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 4px rgba(30, 64, 175, 0.04) !important;
    margin-top: 0 !important;
}

.due-table[b-jv9stkrlim] {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 0.76rem !important;
}

.due-table thead tr[b-jv9stkrlim],
.due-table th[b-jv9stkrlim] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.3px !important;
    padding: 0.45rem 0.65rem !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

.due-table th:last-child[b-jv9stkrlim] {
    border-right: none !important;
}

.due-table td[b-jv9stkrlim] {
    padding: 0.35rem 0.65rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    color: #334155 !important;
    background: #ffffff !important;
    font-size: 0.76rem !important;
    vertical-align: middle !important;
}

.due-table tbody tr:nth-child(even) td[b-jv9stkrlim] {
    background: #fbfdff !important;
}

.due-table tbody tr:hover td[b-jv9stkrlim] {
    background: #f0f8ff !important;
}

.due-table td strong[b-jv9stkrlim] {
    color: #087bb5 !important;
}
/* /Components/Pages/DueCollectionHistory.razor.rz.scp.css */
.due-collection-wrapper[b-pfblec8n48] {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}


/* Header Card with Gradient */
.due-header-card[b-pfblec8n48] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.03), 0 2px 4px -1px rgba(79, 70, 229, 0.02);
}

.header-left-section[b-pfblec8n48] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.header-icon-container[b-pfblec8n48] {
    background: #ffffff;
    color: #4f46e5;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.header-text-container h1[b-pfblec8n48] {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: #1e1b4b;
}

.header-text-container p[b-pfblec8n48] {
    font-size: 0.68rem;
    margin: 0.25rem 0 0 0;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
}

.header-status-dot[b-pfblec8n48] {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 6px;
}

/* Filter Trigger Row */
.filter-trigger-row[b-pfblec8n48] {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.btn-history-filter-trigger[b-pfblec8n48] {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
}

.btn-history-filter-trigger:hover[b-pfblec8n48],
.btn-history-filter-trigger.active[b-pfblec8n48] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

/* --- Redesigned Collection History Filter UI --- */
.hist-filter-card[b-pfblec8n48] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.hist-filter-body[b-pfblec8n48] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.hist-filter-row-3[b-pfblec8n48],
.hist-filter-row-2[b-pfblec8n48] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.hist-filter-row-4[b-pfblec8n48] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
}

.hist-filter-row-2-cols[b-pfblec8n48] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .hist-filter-row-4[b-pfblec8n48] {
        grid-template-columns: 1fr 1fr;
    }
    .hist-filter-row-2-cols[b-pfblec8n48] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hist-filter-row-4[b-pfblec8n48] {
        grid-template-columns: 1fr;
    }
}

.hist-fg[b-pfblec8n48] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hist-fg label[b-pfblec8n48] {
    font-size: 0.65rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hist-input[b-pfblec8n48],
.hist-select[b-pfblec8n48] {
    height: 38px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #ffffff;
    color: #1e293b;
    width: 100%;
}

.hist-input:focus[b-pfblec8n48],
.hist-select:focus[b-pfblec8n48] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.hist-filter-actions[b-pfblec8n48] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.btn-hist-reset[b-pfblec8n48] {
    background: #ffffff;
    color: #64748b;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.55rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.btn-hist-reset:hover[b-pfblec8n48] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #475569;
}

.btn-hist-search[b-pfblec8n48] {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.55rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.btn-hist-search:hover[b-pfblec8n48] {
    background: #f8fafc;
    border-color: #94a3b8;
}

.btn-hist-print[b-pfblec8n48] {
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.55rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    transition: all 0.2s;
}

.btn-hist-print:hover[b-pfblec8n48] {
    background: #1d4ed8;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* Custom Table Layout */
.table-container[b-pfblec8n48] {
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    overflow-y: auto;
    height: 650px;
    max-height: 650px;
    position: relative;
}

.due-table[b-pfblec8n48] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.due-table th[b-pfblec8n48] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f8fafc;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.5px;
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}

.due-table td[b-pfblec8n48] {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.due-table tr:last-child td[b-pfblec8n48] {
    border-bottom: none;
}

.due-table tbody tr:hover[b-pfblec8n48] {
    background: #fdfdfd;
}

/* --- History Action Buttons & Badges --- */
.btn-hist-action[b-pfblec8n48] {
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.btn-hist-action.blue[b-pfblec8n48] {
    color: #2563eb;
}

.btn-hist-action.blue:hover[b-pfblec8n48] {
    background: #eff6ff;
    border-color: #3b82f6;
}

.btn-hist-action.green[b-pfblec8n48] {
    color: #16a34a;
}

.btn-hist-action.green:hover[b-pfblec8n48] {
    background: #f0fdf4;
    border-color: #4ade80;
}

.btn-hist-action.red[b-pfblec8n48] {
    color: #dc2626;
}

.btn-hist-action.red:hover[b-pfblec8n48] {
    background: #fef2f2;
    border-color: #fca5a5;
}

.badge-paymode[b-pfblec8n48] {
    background: #eff6ff;
    color: #3b82f6;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
}

.badge-monthly[b-pfblec8n48] {
    background: #fef3c7;
    color: #d97706;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
}

/* --- Pagination Controls --- */
.pagination-info[b-pfblec8n48] {
    font-size: 0.85rem;
    color: #64748b;
}

.pagination-buttons[b-pfblec8n48] {
    display: flex;
    gap: 0.35rem;
}

.pag-btn[b-pfblec8n48] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.pag-btn:hover:not(:disabled)[b-pfblec8n48] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

.pag-btn.active[b-pfblec8n48] {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

.pag-btn:disabled[b-pfblec8n48] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- History Bottom Container (Pagination + Collected Amt Card) --- */
.history-bottom-container[b-pfblec8n48] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.history-pagination-left[b-pfblec8n48] {
    display: flex;
    align-items: center;
}

.collected-amt-card-right[b-pfblec8n48] {
    background: #f0fdf4;
    border: 1px solid rgba(5, 150, 105, 0.15);
    border-radius: 12px;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 220px;
    box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.05);
}

.collected-amt-icon-bg[b-pfblec8n48] {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.collected-amt-info[b-pfblec8n48] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.collected-amt-label[b-pfblec8n48] {
    font-size: 0.72rem;
    font-weight: 800;
    color: #065f46;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.collected-amt-val[b-pfblec8n48] {
    font-size: 1.6rem;
    font-weight: 800;
    color: #064e3b;
}

/* Modal dialog */
.modal-backdrop-custom[b-pfblec8n48] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-card-custom[b-pfblec8n48] {
    background: white;
    border-radius: 16px;
    width: 500px;
    max-width: 90vw;
    overflow: hidden;
}

.modal-header-custom[b-pfblec8n48] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-custom h3[b-pfblec8n48] {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.modal-header-custom .close-btn[b-pfblec8n48] {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
}

.modal-body-custom[b-pfblec8n48] {
    padding: 1.5rem;
}

.modal-footer-custom[b-pfblec8n48] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn-secondary-custom[b-pfblec8n48] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-secondary-custom:hover[b-pfblec8n48] {
    background: #cbd5e1;
}

.btn-danger-custom[b-pfblec8n48] {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-danger-custom:hover[b-pfblec8n48] {
    background: #dc2626;
}

.control-textarea[b-pfblec8n48] {
    width: 100%;
    min-height: 80px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    outline: none;
    resize: vertical;
}

/* Helpers */
.font-mono[b-pfblec8n48] {
    font-family: monospace;
}

.font-sm[b-pfblec8n48] {
    font-size: 0.75rem;
}

.font-bold[b-pfblec8n48] {
    font-weight: 700;
}

.font-semibold[b-pfblec8n48] {
    font-weight: 600;
}

.font-xxl[b-pfblec8n48] {
    font-size: 2rem;
    color: #cbd5e1;
}

.text-end[b-pfblec8n48] {
    text-align: right;
}

.text-center[b-pfblec8n48] {
    text-align: center;
}

.text-danger[b-pfblec8n48] {
    color: #ef4444;
}

.text-success[b-pfblec8n48] {
    color: #10b981;
}

.text-primary[b-pfblec8n48] {
    color: #4f46e5;
}

.text-info[b-pfblec8n48] {
    color: #06b6d4;
}

.mt-3[b-pfblec8n48] {
    margin-top: 1rem;
}

.ms-3[b-pfblec8n48] {
    margin-left: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR DUE COLLECTION HISTORY
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .due-collection-wrapper[b-pfblec8n48],
[data-theme="dark"] .due-collection-wrapper[b-pfblec8n48] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .due-header-card[b-pfblec8n48],
[data-theme="dark"] .due-header-card[b-pfblec8n48],
:host-context([data-theme="dark"]) .hist-filter-card[b-pfblec8n48],
[data-theme="dark"] .hist-filter-card[b-pfblec8n48],
:host-context([data-theme="dark"]) .table-container[b-pfblec8n48],
[data-theme="dark"] .table-container[b-pfblec8n48],
:host-context([data-theme="dark"]) .modal-card-custom[b-pfblec8n48],
[data-theme="dark"] .modal-card-custom[b-pfblec8n48] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .header-icon-container[b-pfblec8n48],
[data-theme="dark"] .header-icon-container[b-pfblec8n48] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .header-text-container h1[b-pfblec8n48],
[data-theme="dark"] .header-text-container h1[b-pfblec8n48] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .btn-history-filter-trigger[b-pfblec8n48],
[data-theme="dark"] .btn-history-filter-trigger[b-pfblec8n48],
:host-context([data-theme="dark"]) .btn-hist-reset[b-pfblec8n48],
[data-theme="dark"] .btn-hist-reset[b-pfblec8n48],
:host-context([data-theme="dark"]) .btn-hist-search[b-pfblec8n48],
[data-theme="dark"] .btn-hist-search[b-pfblec8n48] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .btn-history-filter-trigger:hover[b-pfblec8n48],
:host-context([data-theme="dark"]) .btn-history-filter-trigger.active[b-pfblec8n48],
:host-context([data-theme="dark"]) .btn-hist-reset:hover[b-pfblec8n48],
:host-context([data-theme="dark"]) .btn-hist-search:hover[b-pfblec8n48],
[data-theme="dark"] .btn-history-filter-trigger:hover[b-pfblec8n48],
[data-theme="dark"] .btn-history-filter-trigger.active[b-pfblec8n48],
[data-theme="dark"] .btn-hist-reset:hover[b-pfblec8n48],
[data-theme="dark"] .btn-hist-search:hover[b-pfblec8n48] {
    background: #0f172a !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .hist-input[b-pfblec8n48],
:host-context([data-theme="dark"]) .hist-select[b-pfblec8n48],
:host-context([data-theme="dark"]) .control-textarea[b-pfblec8n48],
[data-theme="dark"] .hist-input[b-pfblec8n48],
[data-theme="dark"] .hist-select[b-pfblec8n48],
[data-theme="dark"] .control-textarea[b-pfblec8n48] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .hist-fg label[b-pfblec8n48],
[data-theme="dark"] .hist-fg label[b-pfblec8n48] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .due-table th[b-pfblec8n48],
[data-theme="dark"] .due-table th[b-pfblec8n48] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .due-table td[b-pfblec8n48],
[data-theme="dark"] .due-table td[b-pfblec8n48] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .due-table tbody tr:hover td[b-pfblec8n48],
[data-theme="dark"] .due-table tbody tr:hover td[b-pfblec8n48] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .pag-btn[b-pfblec8n48],
[data-theme="dark"] .pag-btn[b-pfblec8n48] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .pag-btn.active[b-pfblec8n48],
[data-theme="dark"] .pag-btn.active[b-pfblec8n48] {
    background: #38bdf8 !important;
    color: #0f172a !important;
}

:host-context([data-theme="dark"]) .collected-amt-card-right[b-pfblec8n48],
[data-theme="dark"] .collected-amt-card-right[b-pfblec8n48] {
    background: #064e3b !important;
    border-color: #059669 !important;
}

:host-context([data-theme="dark"]) .collected-amt-label[b-pfblec8n48],
:host-context([data-theme="dark"]) .collected-amt-val[b-pfblec8n48],
[data-theme="dark"] .collected-amt-label[b-pfblec8n48],
[data-theme="dark"] .collected-amt-val[b-pfblec8n48] {
    color: #a7f3d0 !important;
}

:host-context([data-theme="dark"]) .modal-header-custom[b-pfblec8n48],
:host-context([data-theme="dark"]) .modal-footer-custom[b-pfblec8n48],
[data-theme="dark"] .modal-header-custom[b-pfblec8n48],
[data-theme="dark"] .modal-footer-custom[b-pfblec8n48] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

/* Outpatient dashboard visual language */
:global(.main-content):has(.due-collection-wrapper)[b-pfblec8n48] {
    padding: .5rem .75rem !important;
    background: #f1f5fb !important;
}

.due-collection-wrapper[b-pfblec8n48] {
    max-width: none !important;
    height: calc(100vh - 1.25rem) !important;
    box-sizing: border-box !important;
    padding: 0.25rem 0.75rem 0.5rem 0.75rem !important;
    gap: 0.35rem !important;
    background: #f1f5fb !important;
    display: flex !important;
    flex-direction: column !important;
}

/* --- HEADER CARD --- */
.due-header-card[b-pfblec8n48] {
    padding: 0.2rem 0 !important;
    min-height: 48px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 0.65rem !important;
}

.header-left-section[b-pfblec8n48] {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.header-icon-container[b-pfblec8n48] {
    width: 38px !important;
    height: 38px !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #087bb5, #07547c) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, .2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 17px !important;
    flex-shrink: 0 !important;
}

.header-text-container[b-pfblec8n48] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
}

.title-with-badge[b-pfblec8n48] {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.header-text-container h1[b-pfblec8n48] {
    color: #07547c !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.kutty-user-badge[b-pfblec8n48] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    padding: 1px 7px !important;
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #7dd3fc !important;
    border-radius: 9999px !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
}

.header-text-container p[b-pfblec8n48] {
    font-size: 0.72rem !important;
    margin: 0 !important;
    color: #64748b !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
}

.header-status-dot[b-pfblec8n48] {
    width: 6px !important;
    height: 6px !important;
    background-color: #10b981 !important;
    border-radius: 50% !important;
    margin-right: 6px !important;
    display: inline-block !important;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25) !important;
}

.header-right-section[b-pfblec8n48] {
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    flex-wrap: wrap !important;
    margin-left: auto !important;
}

/* --- SUMMARY BADGE CARDS IN HEADER --- */
.header-summary-cards[b-pfblec8n48] {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    flex-wrap: wrap !important;
}

.header-summary-card[b-pfblec8n48] {
    background: #ffffff !important;
    border: 1px solid #dbe8f3 !important;
    border-radius: 8px !important;
    padding: 0.2rem 0.55rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    min-width: 0 !important;
    height: 34px !important;
    box-sizing: border-box !important;
    transition: all 0.15s ease !important;
}

.header-summary-card:hover[b-pfblec8n48] {
    border-color: #7bc8ed !important;
    box-shadow: 0 2px 6px rgba(8, 123, 181, 0.08) !important;
    transform: translateY(-1px) !important;
}

.header-summary-card.collected[b-pfblec8n48] {
    border-color: #a7f3d0 !important;
    background: #f0fdf4 !important;
}

.header-summary-card.count[b-pfblec8n48] {
    border-color: #bae6fd !important;
    background: #f0f9ff !important;
}

.header-summary-label[b-pfblec8n48] {
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.header-summary-value[b-pfblec8n48] {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

.header-summary-value.text-collected[b-pfblec8n48] { color: #16a34a !important; }
.header-summary-value.text-count[b-pfblec8n48] { color: #0369a1 !important; }

/* Filter Trigger Button */
.btn-history-filter-trigger[b-pfblec8n48] {
    height: 34px !important;
    padding: 0 0.85rem !important;
    border-radius: 8px !important;
    border: 1px solid #087bb5 !important;
    color: #0876ad !important;
    background: #fff !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    transition: all 0.18s ease !important;
}

.btn-history-filter-trigger:hover[b-pfblec8n48],
.btn-history-filter-trigger.active[b-pfblec8n48] {
    color: #fff !important;
    background: #087bb5 !important;
    border-color: #087bb5 !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
}

/* --- COMPACT 2-ROW FILTER CARD --- */
.hist-filter-card[b-pfblec8n48] {
    background: #ffffff !important;
    border: 1px solid #dbe8f3 !important;
    border-radius: 8px !important;
    padding: 0.35rem 0.65rem !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.3rem !important;
    margin-bottom: 0.25rem !important;
    box-sizing: border-box !important;
}

.filter-row[b-pfblec8n48] {
    display: flex !important;
    align-items: flex-end !important;
    flex-wrap: wrap !important;
    gap: 0.45rem !important;
    width: 100% !important;
}

.hist-fg[b-pfblec8n48] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.hist-fg label[b-pfblec8n48] {
    font-size: 0.60rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.hist-input[b-pfblec8n48],
.hist-select[b-pfblec8n48] {
    height: 28px !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 6px !important;
    padding: 0 0.5rem !important;
    font-size: 0.76rem !important;
    outline: none !important;
    background: #ffffff !important;
    color: #1e293b !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.15s ease !important;
}

.hist-input:focus[b-pfblec8n48],
.hist-select:focus[b-pfblec8n48] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 2px rgba(7, 133, 194, 0.12) !important;
}

.hist-filter-actions[b-pfblec8n48] {
    display: flex !important;
    gap: 0.35rem !important;
    align-items: flex-end !important;
    margin-left: auto !important;
    margin-top: 0 !important;
}

.btn-hist-reset[b-pfblec8n48] {
    background: #ffffff !important;
    color: #526b82 !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 6px !important;
    padding: 0 0.65rem !important;
    height: 28px !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
}

.btn-hist-reset:hover[b-pfblec8n48] {
    background: #f1f5fb !important;
    border-color: #94a3b8 !important;
    color: #1e293b !important;
}

.btn-hist-search[b-pfblec8n48] {
    background: #087bb5 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0 0.85rem !important;
    height: 28px !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    box-shadow: 0 2px 6px rgba(8, 123, 181, 0.2) !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
}

.btn-hist-search:hover[b-pfblec8n48] {
    background: #05689b !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.3) !important;
    transform: translateY(-1px) !important;
}

.btn-hist-print[b-pfblec8n48] {
    background: #0284c7 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0 0.85rem !important;
    height: 28px !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.2) !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
}

.btn-hist-print:hover[b-pfblec8n48] {
    background: #0369a1 !important;
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.3) !important;
    transform: translateY(-1px) !important;
}

/* --- TABLE WRAPPER & HIGH-DENSITY GRID --- */
.table-container[b-pfblec8n48] {
    flex: 1 1 0 !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 2px 6px rgba(30, 64, 175, 0.04) !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    margin-top: 0 !important;
}

.table-container[b-pfblec8n48]::-webkit-scrollbar {
    width: 7px !important;
    height: 7px !important;
    display: block !important;
}
.table-container[b-pfblec8n48]::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
    border-radius: 4px !important;
}
.table-container[b-pfblec8n48]::-webkit-scrollbar-thumb {
    background: #94a3b8 !important;
    border-radius: 4px !important;
}
.table-container[b-pfblec8n48]::-webkit-scrollbar-thumb:hover {
    background: #64748b !important;
}

.due-table th[b-pfblec8n48] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: #0876ad !important;
    background: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    padding: 5px 8px !important;
    height: 32px !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    white-space: nowrap !important;
}

.due-table th:last-child[b-pfblec8n48] {
    border-right: none !important;
}

.due-table td[b-pfblec8n48] {
    padding: 0.4rem 0.65rem !important;
    color: #334155 !important;
    border-bottom: 1px solid #edf2f7 !important;
    background: #fff !important;
    font-size: 0.76rem !important;
    vertical-align: middle !important;
}

.due-table tbody tr:nth-child(even) td[b-pfblec8n48] {
    background: #fbfdff !important;
}

.due-table tbody tr:hover td[b-pfblec8n48] {
    background: #f0f8ff !important;
}

/* --- BOTTOM PAGINATION CONTAINER --- */
.history-bottom-container[b-pfblec8n48] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 0.75rem !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 8px !important;
    margin-top: 0.25rem !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.03) !important;
}

.history-pagination-left[b-pfblec8n48] {
    display: flex !important;
    align-items: center !important;
}

.pagination-info[b-pfblec8n48] {
    font-size: 0.76rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.pagination-buttons[b-pfblec8n48] {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    margin-left: auto !important;
}

.pag-btn[b-pfblec8n48] {
    min-width: 28px !important;
    height: 26px !important;
    padding: 0 0.4rem !important;
    border-radius: 6px !important;
    border: 1px solid #dbe8f3 !important;
    background: #f8fbff !important;
    color: #0876ad !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.pag-btn:hover:not(:disabled)[b-pfblec8n48] {
    background: #e4f4ff !important;
    color: #0876ad !important;
    border-color: #a9ddfa !important;
}

.pag-btn.active[b-pfblec8n48] {
    background: #0876ad !important;
    border-color: #0876ad !important;
    color: #ffffff !important;
}

.pag-btn:disabled[b-pfblec8n48] {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}
/* /Components/Pages/EditProfile.razor.rz.scp.css */
/* 
 * ==========================================
 * TenantMaster Registration UI Design System
 * Modern Glassmorphism & Cyber-Indigo Theme
 * ==========================================
 */

.register-container[b-kpgp7xa5l6] {
    /* Color Palette */
    --bg-dark: #07070b;
    --bg-dark-gradient: radial-gradient(circle at 50% 50%, #151030 0%, #07070d 70%, #030305 100%);
    --primary: #6366f1;
    /* Deep Indigo */
    --primary-rgb: 99, 102, 241;
    --accent: #06b6d4;
    /* Neon Cyan */
    --accent-rgb: 6, 182, 212;
    --accent-glow: rgba(6, 182, 212, 0.2);
    --primary-glow: rgba(99, 102, 241, 0.15);

    /* Neutral Shades */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;

    /* Glassmorphism Specs */
    --glass-bg: rgba(13, 20, 48, 0.75);
    --glass-border: rgba(0, 240, 255, 0.18);
    --glass-border-focus: rgba(6, 182, 212, 0.4);
    --glass-shine: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);

    /* System Status */
    --success: #10b981;
    /* Emerald */
    --success-rgb: 16, 185, 129;
    --error: #f43f5e;
    /* Rose Crimson */
    --error-rgb: 244, 63, 94;
    --warning: #f59e0b;
    /* Amber */
    --warning-rgb: 245, 158, 11;

    /* Layout & Shadow */
    --card-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px -10px rgba(99, 102, 241, 0.15);
    --font-primary: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --font-secondary: 'Public Sans', sans-serif;
}

/* --- Base & Scrollbar --- */
*[b-kpgp7xa5l6] {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Ensure all layout wrappers are transparent to show fixed body background */
[b-kpgp7xa5l6] .app-container,
[b-kpgp7xa5l6] .main-content,
[b-kpgp7xa5l6] .page {
    background: transparent !important;
    background-color: transparent !important;
}

body[b-kpgp7xa5l6] {
    background: var(--bg-dark-gradient);
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    transition: background 0.5s ease, color 0.5s ease, background-color 0.5s ease;
}

/* Light Theme Variable Overrides on container layer */
.register-container.light-theme[b-kpgp7xa5l6] {
    --bg-dark: #f8fafc;
    --bg-dark-gradient: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    --text-main: #0f172a;
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(99, 102, 241, 0.15);
    --card-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.08), 0 0 40px rgba(99, 102, 241, 0.03);
}

.register-container.light-theme .form-control[b-kpgp7xa5l6],
.register-container.light-theme[b-kpgp7xa5l6]  .form-control {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

.register-container.light-theme .form-control:focus[b-kpgp7xa5l6],
.register-container.light-theme[b-kpgp7xa5l6]  .form-control:focus {
    border-color: #6366f1 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2) !important;
}

.register-container.light-theme .form-control[b-kpgp7xa5l6]::placeholder,
.register-container.light-theme[b-kpgp7xa5l6]  .form-control::placeholder {
    color: #94a3b8 !important;
}

.register-container.light-theme .form-label[b-kpgp7xa5l6] {
    color: #334155 !important;
}

.register-container.light-theme .section-title h3[b-kpgp7xa5l6] {
    color: #1e293b !important;
}

.register-container.light-theme .section-title[b-kpgp7xa5l6] {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.register-container.light-theme .modal-card[b-kpgp7xa5l6] {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.2), 0 0 40px rgba(99, 102, 241, 0.1) !important;
}

.register-container.light-theme .modal-title[b-kpgp7xa5l6] {
    background: linear-gradient(135deg, #0f172a, #ff007f) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.register-container.light-theme .security-reqs[b-kpgp7xa5l6] {
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.register-container.light-theme .security-reqs h4[b-kpgp7xa5l6] {
    color: #0f172a !important;
}

/* Custom Scrollbar for sleek appearance */
[b-kpgp7xa5l6]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

[b-kpgp7xa5l6]::-webkit-scrollbar-track {
    background: rgba(7, 7, 11, 0.5);
}

[b-kpgp7xa5l6]::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 10px;
}

[b-kpgp7xa5l6]::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* --- App Root Container --- */
.page[b-kpgp7xa5l6] {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

main[b-kpgp7xa5l6] {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    z-index: 10;
}

/* --- Animated Glowing Background Elements --- */
.register-container[b-kpgp7xa5l6] {
    position: relative;
    width: 100% !important;
    min-width: 100vw !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 2rem 1rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Ambient glow blobs */
.register-container[b-kpgp7xa5l6]::before,
.register-container[b-kpgp7xa5l6]::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.45;
    mix-blend-mode: screen;
    animation: pulse-glow-b-kpgp7xa5l6 15s infinite alternate ease-in-out;
}

.register-container[b-kpgp7xa5l6]::before {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, var(--primary) 0%, rgba(99, 102, 241, 0) 70%);
    top: -10%;
    left: -15%;
}

.register-container[b-kpgp7xa5l6]::after {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent) 0%, rgba(6, 182, 212, 0) 70%);
    bottom: -15%;
    right: -20%;
    animation-delay: -5s;
}

@keyframes pulse-glow-b-kpgp7xa5l6 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, -30px) scale(1.1);
    }
}

/* Background decorator icon */
.bg-decorator[b-kpgp7xa5l6] {
    position: absolute;
    bottom: -2%;
    left: -8%;
    color: rgba(99, 102, 241, 0.04);
    pointer-events: none;
    user-select: none;
    z-index: -1;
}

.bg-decorator span[b-kpgp7xa5l6] {
    font-size: 15rem;
    transform: rotate(-15deg);
    display: block;
}

/* --- Frosted Glass Card --- */
.register-card[b-kpgp7xa5l6] {
    width: 100%;
    max-width: 1280px;
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 28px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    overflow: hidden;
    position: relative;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

/* --- Modern Grid Layout for Single Page Display --- */
.registration-grid[b-kpgp7xa5l6] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    position: relative;
}

/* Vertical Divider */
.registration-grid[b-kpgp7xa5l6]::after {
    content: '';
    position: absolute;
    top: 5%;
    bottom: 5%;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.06) 20%, rgba(255, 255, 255, 0.06) 80%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(-50%);
}

.registration-column[b-kpgp7xa5l6] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Glassmorphic Password Modal Popup styles */
.modal-overlay[b-kpgp7xa5l6] {
    position: fixed;
    inset: 0;
    background: rgba(5, 4, 15, 0.65);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: modal-fade-in-b-kpgp7xa5l6 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-card[b-kpgp7xa5l6] {
    width: 100%;
    max-width: 500px;
    background: rgba(13, 12, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 50px rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: modal-scale-up-b-kpgp7xa5l6 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-header[b-kpgp7xa5l6] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1rem;
}

.modal-title[b-kpgp7xa5l6] {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-subtitle[b-kpgp7xa5l6] {
    font-family: var(--font-secondary);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.modal-body[b-kpgp7xa5l6] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal-footer[b-kpgp7xa5l6] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.25rem;
    margin-top: 0.5rem;
}

@keyframes modal-fade-in-b-kpgp7xa5l6 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modal-scale-up-b-kpgp7xa5l6 {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(15px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.register-card[b-kpgp7xa5l6]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02) 40%, rgba(6, 182, 212, 0.1) 70%, rgba(6, 182, 212, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

/* --- Card Header & Progress Tracker --- */
.card-header[b-kpgp7xa5l6] {
    padding: 1rem 2rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.progress-header[b-kpgp7xa5l6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.step-badge[b-kpgp7xa5l6] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.step-badge.active[b-kpgp7xa5l6] {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--text-dark);
    font-weight: 800;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
    border-color: transparent;
}

.step-text[b-kpgp7xa5l6] {
    font-family: var(--font-secondary);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
}

.progress-bar[b-kpgp7xa5l6] {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill[b-kpgp7xa5l6] {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    box-shadow: 0 0 10px var(--accent);
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Alert Block --- */
.alert[b-kpgp7xa5l6] {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
    animation: slide-down-b-kpgp7xa5l6 0.4s ease forwards;
}

.alert-error[b-kpgp7xa5l6] {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: #fda4af;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.1);
}

.alert-success[b-kpgp7xa5l6] {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #a7f3d0;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
}

@keyframes slide-down-b-kpgp7xa5l6 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Card Body --- */
.card-body[b-kpgp7xa5l6] {
    padding: 1rem 2rem 0.5rem;
}

.page-title[b-kpgp7xa5l6] {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    margin-bottom: 0.25rem;
}

.page-subtitle[b-kpgp7xa5l6] {
    font-family: var(--font-secondary);
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.section-title[b-kpgp7xa5l6] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title span[b-kpgp7xa5l6] {
    color: var(--accent);
    font-size: 1.2rem;
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
}

.section-title h3[b-kpgp7xa5l6] {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #f1f5f9;
}

/* --- Form Layout & Fields --- */
.form-grid[b-kpgp7xa5l6] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0.75rem 1rem;
}

.form-group[b-kpgp7xa5l6] {
    grid-column: span 6;
    /* 2-column by default */
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group.full-width[b-kpgp7xa5l6] {
    grid-column: span 12;
}

/* Form Label */
.form-label[b-kpgp7xa5l6] {
    font-family: var(--font-secondary);
    font-size: 0.775rem;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.lbl-req[b-kpgp7xa5l6]::after {
    content: '*';
    color: var(--error);
    font-weight: bold;
    margin-left: 2px;
}

.optional[b-kpgp7xa5l6] {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Form Control Inputs */
.form-control[b-kpgp7xa5l6],
[b-kpgp7xa5l6] .form-control {
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px;
    padding: 0.55rem 0.85rem;
    color: #0f172a !important;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-control[b-kpgp7xa5l6]::placeholder,
[b-kpgp7xa5l6] .form-control::placeholder {
    color: #94a3b8 !important;
    font-weight: 300;
}

.form-control:hover[b-kpgp7xa5l6],
[b-kpgp7xa5l6] .form-control:hover {
    border-color: #cbd5e1 !important;
    background: #ffffff !important;
}

.form-control:focus[b-kpgp7xa5l6],
[b-kpgp7xa5l6] .form-control:focus {
    border-color: #6366f1 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2) !important;
}

/* Form Select Styling */
.form-select-wrapper[b-kpgp7xa5l6] {
    position: relative;
    width: 100%;
}

[b-kpgp7xa5l6] .form-select-wrapper select.form-control,
.form-select-wrapper[b-kpgp7xa5l6]  select.form-control,
[b-kpgp7xa5l6] select.form-control,
.form-select-wrapper select.form-control[b-kpgp7xa5l6] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding-right: 2.5rem !important;
    cursor: pointer;
}

.form-select-wrapper[b-kpgp7xa5l6]::after {
    content: 'expand_more';
    font-family: 'Material Icons Outlined';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    font-size: 1.25rem;
    transition: color 0.3s;
}

.form-select-wrapper:focus-within[b-kpgp7xa5l6]::after {
    color: var(--accent);
}

select.form-control option[b-kpgp7xa5l6],
[b-kpgp7xa5l6] select option,
[b-kpgp7xa5l6] option {
    background: #ffffff !important;
    color: #0f172a !important;
    padding: 10px;
}

/* Light theme options styling overrides */
.register-container.light-theme[b-kpgp7xa5l6]  select option,
.register-container.light-theme[b-kpgp7xa5l6]  option,
.register-container.light-theme select.form-control option[b-kpgp7xa5l6] {
    background: #ffffff !important;
    color: #0f172a !important;
}

/* Validation styling */
.form-control.invalid[b-kpgp7xa5l6] {
    border-color: var(--error) !important;
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.15) !important;
}

.validation-message[b-kpgp7xa5l6] {
    color: #fda4af;
    font-family: var(--font-secondary);
    font-size: 0.775rem;
    font-weight: 500;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.validation-message[b-kpgp7xa5l6]::before {
    content: 'error_outline';
    font-family: 'Material Icons Outlined';
    font-size: 0.9rem;
    vertical-align: middle;
}

/* --- STEP 3: Password Visuals --- */
.password-step-container[b-kpgp7xa5l6] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.password-group[b-kpgp7xa5l6] {
    grid-column: span 12;
}

.input-icon-wrapper[b-kpgp7xa5l6] {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-left[b-kpgp7xa5l6] {
    position: absolute;
    left: 1rem;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    font-size: 1.25rem;
}

.input-icon-wrapper .form-control[b-kpgp7xa5l6] {
    padding-left: 2.75rem;
    padding-right: 2.75rem;
}

.input-icon-right[b-kpgp7xa5l6] {
    position: absolute;
    right: 0.75rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.input-icon-right:hover[b-kpgp7xa5l6] {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

/* Security Checklist */
.security-reqs[b-kpgp7xa5l6] {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.25rem;
    margin-top: 0.5rem;
}

.security-reqs h4[b-kpgp7xa5l6] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.req-grid[b-kpgp7xa5l6] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.req-item[b-kpgp7xa5l6] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.req-icon[b-kpgp7xa5l6] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.req-icon span[b-kpgp7xa5l6] {
    font-size: 10px;
    font-weight: 900;
    color: transparent;
    transition: color 0.3s;
}

/* Valid item state */
.req-item.valid[b-kpgp7xa5l6] {
    color: #a7f3d0;
}

.req-item.valid .req-icon[b-kpgp7xa5l6] {
    background: var(--success);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
    transform: scale(1.1);
}

.req-item.valid .req-icon span[b-kpgp7xa5l6] {
    color: var(--text-dark);
}

/* --- Card Footer & Buttons --- */
.card-footer[b-kpgp7xa5l6] {
    padding: 0.75rem 2rem 1rem;
    border-top: 1px solid rgba(0, 240, 255, 0.15) !important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    background: rgba(13, 20, 48, 0.5) !important;
}

/* Button Base */
.btn[b-kpgp7xa5l6] {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    outline: none;
    user-select: none;
}

.btn-primary[b-kpgp7xa5l6] {
    background: linear-gradient(135deg, #ff007f 0%, #7928ca 50%, #00f0ff 100%);
    background-size: 200% 200%;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(255, 0, 127, 0.4), 0 0 30px rgba(0, 240, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: gradient-shift-b-kpgp7xa5l6 6s ease infinite alternate;
}

.btn-primary[b-kpgp7xa5l6]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover[b-kpgp7xa5l6] {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 30px rgba(255, 0, 127, 0.65), 0 0 40px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover[b-kpgp7xa5l6]::before {
    left: 100%;
}

.btn-primary:active[b-kpgp7xa5l6] {
    transform: translateY(1px) scale(0.97);
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
}

.btn-primary:disabled[b-kpgp7xa5l6] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

@keyframes gradient-shift-b-kpgp7xa5l6 {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.btn-text[b-kpgp7xa5l6] {
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
}

.btn-text:hover[b-kpgp7xa5l6] {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn span.material-icons-outlined[b-kpgp7xa5l6] {
    font-size: 1.15rem;
    transition: transform 0.3s;
}

.btn-primary:hover span.material-icons-outlined[b-kpgp7xa5l6] {
    transform: translateX(3px);
}

/* --- Registration Success Screen --- */
.register-success-wrapper[b-kpgp7xa5l6] {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(20px);
    padding: 4rem 3rem;
    text-align: center;
    width: 100%;
    max-width: 550px;
    animation: zoom-in-blur-b-kpgp7xa5l6 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.success-illustration[b-kpgp7xa5l6] {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 20px rgba(6, 182, 212, 0.3));
    animation: float-b-kpgp7xa5l6 4s ease-in-out infinite;
}

.success-title[b-kpgp7xa5l6] {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
}

.success-subtitle[b-kpgp7xa5l6] {
    font-family: var(--font-secondary);
    color: var(--text-muted);
    font-size: 1rem;
}

@keyframes zoom-in-blur-b-kpgp7xa5l6 {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

@keyframes float-b-kpgp7xa5l6 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* --- Toast Notification System --- */
.toast-container[b-kpgp7xa5l6] {
    position: fixed;
    top: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 9999;
    max-width: 400px;
    width: calc(100vw - 4rem);
}

.toast-item[b-kpgp7xa5l6] {
    background: rgba(13, 12, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-item.show[b-kpgp7xa5l6] {
    transform: translateX(0);
    opacity: 1;
}

.toast-item.hide[b-kpgp7xa5l6] {
    transform: translateX(120%);
    opacity: 0;
}

.toast-content[b-kpgp7xa5l6] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast-content .icon[b-kpgp7xa5l6] {
    font-size: 1.5rem;
}

.toast-content .message[b-kpgp7xa5l6] {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    font-weight: 550;
    color: #e2e8f0;
    line-height: 1.4;
}

.toast-item .close-btn[b-kpgp7xa5l6] {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.toast-item .close-btn:hover[b-kpgp7xa5l6] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* Toast Color Variations */
.toast-item.success[b-kpgp7xa5l6] {
    border-left: 4px solid var(--success);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15), 0 0 15px rgba(16, 185, 129, 0.1);
}

.toast-item.success .icon[b-kpgp7xa5l6] {
    color: var(--success);
}

.toast-item.error[b-kpgp7xa5l6] {
    border-left: 4px solid var(--error);
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.15), 0 0 15px rgba(244, 63, 94, 0.1);
}

.toast-item.error .icon[b-kpgp7xa5l6] {
    color: var(--error);
}

.toast-item.warning[b-kpgp7xa5l6] {
    border-left: 4px solid var(--warning);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15), 0 0 15px rgba(245, 158, 11, 0.1);
}

.toast-item.warning .icon[b-kpgp7xa5l6] {
    color: var(--warning);
}

.toast-item.info[b-kpgp7xa5l6] {
    border-left: 4px solid var(--accent);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15), 0 0 15px rgba(6, 182, 212, 0.1);
}

.toast-item.info .icon[b-kpgp7xa5l6] {
    color: var(--accent);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .register-card[b-kpgp7xa5l6] {
        border-radius: 20px;
    }

    .card-header[b-kpgp7xa5l6] {
        padding: 1.5rem 1.5rem 1rem;
    }

    .card-body[b-kpgp7xa5l6] {
        padding: 1.5rem;
    }

    .card-footer[b-kpgp7xa5l6] {
        padding: 1.25rem 1.5rem;
    }

    .form-group[b-kpgp7xa5l6] {
        grid-column: span 12;
    }

    .req-grid[b-kpgp7xa5l6] {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .toast-container[b-kpgp7xa5l6] {
        top: 1rem;
        right: 1rem;
        width: calc(100vw - 2rem);
    }
}

/* --- Theme Selection Toggle Button --- */
.theme-toggle-btn[b-kpgp7xa5l6] {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    user-select: none;
    z-index: 10;
}

.theme-toggle-btn span[b-kpgp7xa5l6] {
    color: inherit !important;
}

.theme-toggle-btn:hover[b-kpgp7xa5l6] {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.theme-toggle-btn span.material-icons-outlined[b-kpgp7xa5l6] {
    font-size: 1.15rem;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.theme-toggle-btn:hover span.material-icons-outlined[b-kpgp7xa5l6] {
    transform: rotate(45deg);
}

.register-container.light-theme .theme-toggle-btn[b-kpgp7xa5l6] {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    color: #0f172a !important;
}

.register-container.light-theme .theme-toggle-btn:hover[b-kpgp7xa5l6] {
    background: rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

/* --- Multi-Product Checkbox List --- */
.product-checkbox-grid[b-kpgp7xa5l6] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 0.4rem;
    width: 100%;
}

.product-checkbox-card[b-kpgp7xa5l6] {
    background: rgba(13, 12, 29, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-checkbox-card:hover[b-kpgp7xa5l6] {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.product-checkbox-card.active[b-kpgp7xa5l6] {
    background: rgba(6, 182, 212, 0.08);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2), inset 0 0 10px rgba(6, 182, 212, 0.05);
}

.checkbox-custom span[b-kpgp7xa5l6] {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.2s, transform 0.2s;
}

.product-checkbox-card.active .checkbox-custom span[b-kpgp7xa5l6] {
    color: var(--accent);
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
    transform: scale(1.05);
}

.product-info[b-kpgp7xa5l6] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.product-info .product-name[b-kpgp7xa5l6] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f1f5f9;
}

.product-info .product-code[b-kpgp7xa5l6] {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    font-family: var(--font-secondary);
}

.product-error-alert[b-kpgp7xa5l6] {
    background: rgba(244, 63, 94, 0.05);
    border: 1px dashed rgba(244, 63, 94, 0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    color: #fda4af;
    font-size: 0.85rem;
    grid-column: 1 / -1;
}

.register-container.light-theme .product-checkbox-card[b-kpgp7xa5l6] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

.register-container.light-theme .product-checkbox-card:hover[b-kpgp7xa5l6] {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

.register-container.light-theme .product-checkbox-card.active[b-kpgp7xa5l6] {
    background: rgba(99, 102, 241, 0.1) !important;
    border-color: #6366f1 !important;
}

/* Custom Theme Container Overrides */
.register-container[b-kpgp7xa5l6] {
    background: var(--bg-dark-gradient) !important;
    background-color: var(--bg-dark) !important;
    color: var(--text-main) !important;
}

/* Dark theme explicit text colors */
.register-container .page-title[b-kpgp7xa5l6],
.register-container .modal-title[b-kpgp7xa5l6],
.register-container h2[b-kpgp7xa5l6],
.register-container h3[b-kpgp7xa5l6] {
    color: #ffffff;
}

.register-container .page-subtitle[b-kpgp7xa5l6],
.register-container .modal-subtitle[b-kpgp7xa5l6],
.register-container p[b-kpgp7xa5l6] {
    color: #94a3b8;
}

.register-container .form-label[b-kpgp7xa5l6] {
    color: #cbd5e1;
}

/* Light theme explicit text colors */
.register-container.light-theme .register-card[b-kpgp7xa5l6] {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
}

.register-container.light-theme .page-title[b-kpgp7xa5l6],
.register-container.light-theme .modal-title[b-kpgp7xa5l6],
.register-container.light-theme h2[b-kpgp7xa5l6],
.register-container.light-theme h3[b-kpgp7xa5l6] {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

.register-container.light-theme .page-subtitle[b-kpgp7xa5l6],
.register-container.light-theme .modal-subtitle[b-kpgp7xa5l6],
.register-container.light-theme p[b-kpgp7xa5l6] {
    color: #475569 !important;
}

.register-container.light-theme .product-name[b-kpgp7xa5l6] {
    color: #0f172a !important;
}

.register-container.light-theme .product-code[b-kpgp7xa5l6] {
    color: #64748b !important;
}

.register-container.light-theme .card-footer[b-kpgp7xa5l6] {
    background: #ffffff !important;
    border-top: 1px solid #cbd5e1 !important;
}
/* /Components/Pages/FeeCategoryMaster.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════
   FEE CATEGORY MASTER — MEDICO CLINICAL DESIGN SYSTEM (COMPACT & PROPER)
   ═══════════════════════════════════════════════════════════════════ */

:global(.main-content):has(.referral-page)[b-ys60yqdi89] {
    padding: 0.75rem 1rem !important;
    background: #f1f5fb !important;
}

:global(.app-container:has(.referral-page))[b-ys60yqdi89],
:global(.app-main-wrapper:has(.referral-page))[b-ys60yqdi89],
:global(.main-content:has(.referral-page))[b-ys60yqdi89] {
    background: transparent !important;
}

.referral-page[b-ys60yqdi89] {
    height: calc(100vh - 1.5rem) !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
    background: transparent !important;
}

/* ═══════════════════════════════════════════════════════════════════
   HEADER CONSOLE
   ═══════════════════════════════════════════════════════════════════ */
.lab-header-card[b-ys60yqdi89] {
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    padding: 0.2rem 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
}

.header-left-group[b-ys60yqdi89] {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.header-icon-box[b-ys60yqdi89] {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #087bb5, #07547c) !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
}

.header-text-group[b-ys60yqdi89] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
}

.title-row[b-ys60yqdi89] {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.lab-title-text[b-ys60yqdi89] {
    color: #07547c !important;
    font-size: 1.18rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.3px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.count-badge[b-ys60yqdi89] {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #7dd3fc !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    padding: 1px 7px !important;
    border-radius: 9999px !important;
}

.header-subtitle-row[b-ys60yqdi89] {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.status-pulse-dot[b-ys60yqdi89] {
    width: 6px !important;
    height: 6px !important;
    background: #10b981 !important;
    border-radius: 50% !important;
    display: inline-block !important;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25) !important;
    animation: lc-pulse-b-ys60yqdi89 2s infinite !important;
}

.status-text[b-ys60yqdi89] {
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    color: #64748b !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.header-right-group[b-ys60yqdi89] {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
}

.search-input-wrapper[b-ys60yqdi89] {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.search-icon[b-ys60yqdi89] {
    position: absolute !important;
    left: 10px !important;
    color: #0876ad !important;
    font-size: 12px !important;
    pointer-events: none !important;
}

.lc-search-input[b-ys60yqdi89] {
    width: 240px !important;
    height: 34px !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    border: 1px solid #cbd9e8 !important;
    background: #ffffff !important;
    padding: 0 28px 0 30px !important;
    font-size: 0.78rem !important;
    outline: none !important;
    color: #1e293b !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.lc-search-input:focus[b-ys60yqdi89] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.search-clear-btn[b-ys60yqdi89] {
    position: absolute !important;
    right: 8px !important;
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    font-size: 12px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.search-clear-btn:hover[b-ys60yqdi89] {
    color: #64748b !important;
}

.btn-new-entry[b-ys60yqdi89] {
    height: 34px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    background: #087bb5 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 0.76rem !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(8, 123, 181, 0.2) !important;
    transition: all 0.18s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
}

.btn-new-entry:hover[b-ys60yqdi89] {
    background: #05689b !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.3) !important;
}

.btn-new-entry:active[b-ys60yqdi89] {
    transform: translateY(0) !important;
}

.btn-new-entry i[b-ys60yqdi89] {
    font-size: 12px !important;
}

/* ═══════════════════════════════════════════════════════════════════
   STATS MINI BAR
   ═══════════════════════════════════════════════════════════════════ */
.stats-mini-bar[b-ys60yqdi89] {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.55rem !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.stat-mini-card[b-ys60yqdi89] {
    min-height: 48px !important;
    padding: 6px 12px !important;
    background: #ffffff !important;
    border: 1px solid #dbe8f3 !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    position: relative !important;
    user-select: none !important;
    transition: all 0.15s ease !important;
}

.stat-mini-card:hover[b-ys60yqdi89] {
    border-color: #7bc8ed !important;
    box-shadow: 0 2px 6px rgba(8, 123, 181, 0.08) !important;
    transform: translateY(-1px) !important;
}

.stat-mini-card.active-filter[b-ys60yqdi89] {
    border-color: #0876ad !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 1.5px #0876ad, 0 3px 8px rgba(8, 123, 181, 0.1) !important;
}

.stat-mini-icon[b-ys60yqdi89] {
    width: 32px !important;
    height: 32px !important;
    border-radius: 7px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
}

.stat-icon-primary[b-ys60yqdi89] {
    background: #e0f2fe !important;
    color: #0876ad !important;
}

.stat-icon-success[b-ys60yqdi89] {
    background: #ecfdf5 !important;
    color: #059669 !important;
}

.stat-icon-danger[b-ys60yqdi89] {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

.stat-content[b-ys60yqdi89] {
    display: flex !important;
    flex-direction: column !important;
}

.stat-mini-value[b-ys60yqdi89] {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.1 !important;
}

.stat-mini-label[b-ys60yqdi89] {
    font-size: 0.66rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    margin-top: 1px !important;
}

.filter-indicator-dot[b-ys60yqdi89] {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #0876ad !important;
}

/* ═══════════════════════════════════════════════════════════════════
   DIRECTORY TABLE & BALANCED COLUMN LAYOUT
   ═══════════════════════════════════════════════════════════════════ */
.directory-section[b-ys60yqdi89] {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.04) !important;
    overflow: hidden !important;
}

.lc-table-container[b-ys60yqdi89] {
    flex: 1 1 auto !important;
    overflow: auto !important;
    width: 100% !important;
}

.lc-table[b-ys60yqdi89] {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
}

.lc-table thead tr[b-ys60yqdi89] {
    height: 34px !important;
    background: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 2 !important;
}

.lc-table th[b-ys60yqdi89] {
    height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.75rem !important;
    color: #ffffff !important;
    background: transparent !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
}

.lc-table th:last-child[b-ys60yqdi89] {
    border-right: none !important;
}

.lc-table tbody tr[b-ys60yqdi89] {
    height: 38px !important;
    min-height: 38px !important;
    background: #ffffff !important;
    transition: background-color 0.15s ease !important;
}

.lc-table tbody tr:nth-child(even)[b-ys60yqdi89] {
    background: #f8fbfe !important;
}

.lc-table-row:hover[b-ys60yqdi89] {
    background: #f0f8ff !important;
}

.lc-table td[b-ys60yqdi89] {
    height: 38px !important;
    min-height: 38px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.75rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    font-size: 0.78rem !important;
    color: #526b82 !important;
    vertical-align: middle !important;
}

/* Precise Column Widths & Alignments */
.col-category[b-ys60yqdi89] {
    width: 42% !important;
    padding-left: 14px !important;
}

.col-status[b-ys60yqdi89] {
    width: 18% !important;
    padding-left: 10px !important;
}

.col-created[b-ys60yqdi89] {
    width: 24% !important;
    padding-left: 10px !important;
}

.col-actions[b-ys60yqdi89] {
    width: 16% !important;
    text-align: center !important;
    padding-right: 14px !important;
}

/* Category Avatar & Title */
.category-name-cell[b-ys60yqdi89] {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.category-avatar-box[b-ys60yqdi89] {
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
    background: #e0f2fe !important;
    color: #0876ad !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    flex-shrink: 0 !important;
    border: 1px solid rgba(8, 123, 181, 0.15) !important;
}

.category-title-text[b-ys60yqdi89] {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
}

/* Status Pill */
.status-pill[b-ys60yqdi89] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 2px 7px !important;
    border-radius: 9999px !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
}

.status-pill-dot[b-ys60yqdi89] {
    width: 5px !important;
    height: 5px !important;
    border-radius: 50% !important;
}

.status-pill-active[b-ys60yqdi89] {
    background-color: #e7f8ef !important;
    color: #16834d !important;
    border: 1px solid #bbf7d0 !important;
}

.status-pill-active .status-pill-dot[b-ys60yqdi89] {
    background-color: #10b981 !important;
    box-shadow: 0 0 0 1.5px rgba(16, 185, 129, 0.25) !important;
}

.status-pill-inactive[b-ys60yqdi89] {
    background-color: #fff0f0 !important;
    color: #c24141 !important;
    border: 1px solid #fecaca !important;
}

.status-pill-inactive .status-pill-dot[b-ys60yqdi89] {
    background-color: #ef4444 !important;
}

/* Date & Time Cell (IST) */
.date-time-cell[b-ys60yqdi89] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
}

.date-text[b-ys60yqdi89] {
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    font-family: inherit !important;
}

.time-text[b-ys60yqdi89] {
    font-size: 0.67rem !important;
    font-weight: 500 !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
}

.time-text i[b-ys60yqdi89] {
    font-size: 10px !important;
    color: #94a3b8 !important;
}

/* Action Buttons */
.lc-circle-btn-32[b-ys60yqdi89],
.lc-btn[b-ys60yqdi89] {
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
    background: #f8fbff !important;
    border: 1px solid #dbe8f3 !important;
    color: #0876ad !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    padding: 0 !important;
}

.lc-circle-btn-32:hover[b-ys60yqdi89],
.lc-btn:hover[b-ys60yqdi89] {
    background: #e0f2fe !important;
    border-color: #a9ddf3 !important;
    transform: translateY(-1px) !important;
}

.edit-btn:hover[b-ys60yqdi89] {
    background: #e0f2fe !important;
    border-color: #a9ddf3 !important;
    color: #0876ad !important;
}

.delete-btn[b-ys60yqdi89] {
    color: #dc2626 !important;
}

.delete-btn:hover[b-ys60yqdi89] {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #dc2626 !important;
}

.lc-circle-btn-32 span[b-ys60yqdi89],
.lc-btn span[b-ys60yqdi89] {
    font-size: 14px !important;
    line-height: 1 !important;
}

/* Empty State */
.empty-state-box[b-ys60yqdi89] {
    padding: 36px 20px !important;
    text-align: center !important;
}

.empty-state-icon[b-ys60yqdi89] {
    width: 44px !important;
    height: 44px !important;
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    margin: 0 auto 10px auto !important;
}

.empty-state-title[b-ys60yqdi89] {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 3px !important;
}

.empty-state-desc[b-ys60yqdi89] {
    font-size: 12px !important;
    color: #64748b !important;
    max-width: 320px !important;
    margin: 0 auto !important;
}

/* ═══════════════════════════════════════════════════════════════════
   ANIMATIONS & RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@keyframes lc-pulse-b-ys60yqdi89 {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.lc-fadeInUp[b-ys60yqdi89] {
    animation: lc-fadeInUp-b-ys60yqdi89 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lc-fadeInUp-b-ys60yqdi89 {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .referral-page[b-ys60yqdi89] {
        height: auto !important;
        padding: 0.5rem !important;
    }
    .lab-header-card[b-ys60yqdi89] {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .header-right-group[b-ys60yqdi89] {
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .lc-search-input[b-ys60yqdi89] {
        width: 100% !important;
    }
    .btn-new-entry[b-ys60yqdi89] {
        justify-content: center !important;
    }
    .stats-mini-bar[b-ys60yqdi89] {
        grid-template-columns: 1fr !important;
    }
}




/* Fee Category Master single-viewport theme */
:global(html:has(.fee-category-master-page))[b-ys60yqdi89],
:global(body:has(.fee-category-master-page))[b-ys60yqdi89] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.fee-category-master-page))[b-ys60yqdi89],
:global(.app-main-wrapper:has(.fee-category-master-page))[b-ys60yqdi89] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.fee-category-master-page)[b-ys60yqdi89] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.referral-page.fee-category-master-page[b-ys60yqdi89] {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.referral-page.fee-category-master-page .lab-header-card[b-ys60yqdi89] {
    flex: 0 0 auto !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.referral-page.fee-category-master-page .lab-title-text[b-ys60yqdi89] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
}

.referral-page.fee-category-master-page .count-badge[b-ys60yqdi89] {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #7dd3fc !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 9999px !important;
}

.referral-page.fee-category-master-page .status-text[b-ys60yqdi89] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.referral-page.fee-category-master-page .lc-search-input[b-ys60yqdi89] {
    width: 260px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    font-size: 0.82rem !important;
    padding: 0 1rem 0 2.2rem !important;
}

.referral-page.fee-category-master-page .btn-new-entry[b-ys60yqdi89] {
    height: 36px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
}

.referral-page.fee-category-master-page .btn-new-entry:hover[b-ys60yqdi89] {
    background: #05689b !important;
}

.referral-page.fee-category-master-page .stats-mini-bar[b-ys60yqdi89] {
    flex: 0 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
    margin: 0 !important;
}

.referral-page.fee-category-master-page .stat-mini-card[b-ys60yqdi89] {
    min-height: 48px !important;
    padding: 6px 12px !important;
    border-radius: 10px !important;
    border: 1px solid #dfe7f1 !important;
    background: rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 2px 6px rgba(30, 64, 175, 0.03) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.referral-page.fee-category-master-page .stat-mini-value[b-ys60yqdi89] {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

.referral-page.fee-category-master-page .stat-mini-label[b-ys60yqdi89] {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #64748b !important;
}

.referral-page.fee-category-master-page .directory-section[b-ys60yqdi89] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.referral-page.fee-category-master-page .lc-table-container[b-ys60yqdi89] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
}

.referral-page.fee-category-master-page .lc-table[b-ys60yqdi89] {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.referral-page.fee-category-master-page .lc-table thead tr th[b-ys60yqdi89],
.referral-page .lc-table th[b-ys60yqdi89] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.75rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.fee-category-master-page .lc-table thead tr th:last-child[b-ys60yqdi89],
.referral-page .lc-table th:last-child[b-ys60yqdi89] {
    border-right: none !important;
}

.referral-page.fee-category-master-page .lc-table tbody tr[b-ys60yqdi89] {
    height: 34px !important;
    min-height: 34px !important;
}

.referral-page.fee-category-master-page .lc-table tbody tr:nth-child(even) td[b-ys60yqdi89] {
    background: #fbfdff !important;
}

.referral-page.fee-category-master-page .lc-table-row:hover td[b-ys60yqdi89] {
    background: #f0f8ff !important;
}

.referral-page.fee-category-master-page .lc-table td[b-ys60yqdi89] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.75rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    color: #334155 !important;
    font-size: 0.76rem !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.fee-category-master-page .lc-btn[b-ys60yqdi89],
.referral-page.fee-category-master-page .lc-circle-btn-32[b-ys60yqdi89] {
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.referral-page.fee-category-master-page .lc-btn:hover[b-ys60yqdi89],
.referral-page.fee-category-master-page .lc-circle-btn-32:hover[b-ys60yqdi89] {
    border-color: #bae6fd !important;
    background: #f0f9ff !important;
    color: #0369a1 !important;
}
/* /Components/Pages/Feetype.razor.rz.scp.css */
/* ========== PAGE LAYOUT ========== */
/* Override the global main-content padding for this page only */
:global(.main-content):has(.cm-page)[b-4eb1hc0m8d] {
    padding: 0 !important;
}

.cm-page[b-4eb1hc0m8d] {
    padding: 0.8rem 1rem 1rem;
    background: #ffffff;
    min-height: 100vh;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* ========== HEADER CARD ========== */
.cm-header-card[b-4eb1hc0m8d] {
    background: linear-gradient(100deg, #e0ebff 0%, #e8f0ff 100%);
    border-radius: 14px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(80, 80, 200, 0.07);
}

.cm-header-left[b-4eb1hc0m8d] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.cm-title[b-4eb1hc0m8d] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e1b4b;
    margin: 0;
    line-height: 1.2;
}

.cm-subtitle[b-4eb1hc0m8d] {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 600;
}

.cm-header-right[b-4eb1hc0m8d] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Search Box */
.cm-search-box[b-4eb1hc0m8d] {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0.55rem 1.2rem 0.55rem 2.2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    min-width: 210px;
}

.cm-search-icon[b-4eb1hc0m8d] {
    position: absolute;
    left: 0.8rem;
    color: #9ca3af;
    font-size: 0.8rem;
}

.cm-search-input[b-4eb1hc0m8d] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.83rem;
    color: #374151;
    width: 100%;
}

/* New Button */
.cm-btn-new[b-4eb1hc0m8d] {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.3);
    transition: background 0.2s;
}

.cm-btn-new:hover[b-4eb1hc0m8d] {
    background: #4338ca;
}

/* ========== TABLE CARD ========== */
.cm-table-card[b-4eb1hc0m8d] {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(80, 80, 200, 0.07);
}

/* ========== TABLE ========== */
.cm-table[b-4eb1hc0m8d] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.cm-table tbody tr[b-4eb1hc0m8d] {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.cm-table tbody tr:last-child[b-4eb1hc0m8d] {
    border-bottom: none;
}

.cm-table tbody tr:hover[b-4eb1hc0m8d] {
    background: #fafbff;
}

.cm-table td[b-4eb1hc0m8d] {
    padding: 0.75rem 0.9rem;
    font-size: 0.82rem;
    color: #374151;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cm-table th[b-4eb1hc0m8d] {
    padding: 0.85rem 0.9rem;
    font-size: 0.68rem;
    font-weight: 800;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: left;
    background: white;
}

/* Column widths */
.cm-table th:nth-child(1)[b-4eb1hc0m8d], .cm-table td.col-orderno[b-4eb1hc0m8d] { width: 80px; }
.cm-table th:nth-child(2)[b-4eb1hc0m8d], .cm-table td.col-shortname[b-4eb1hc0m8d] { width: 130px; }
.cm-table th:nth-child(3)[b-4eb1hc0m8d], .cm-table td.col-name[b-4eb1hc0m8d] { width: 220px; }
.cm-table th:nth-child(4)[b-4eb1hc0m8d], .cm-table td.col-commission[b-4eb1hc0m8d] { width: 140px; }
.cm-table th:nth-child(5)[b-4eb1hc0m8d], .cm-table td.col-ratetype[b-4eb1hc0m8d] { width: 140px; }
.cm-table th:nth-child(6)[b-4eb1hc0m8d], .cm-table td.col-narration[b-4eb1hc0m8d] { width: auto; }
.cm-table th:nth-child(7)[b-4eb1hc0m8d], .cm-table td.col-date-entered[b-4eb1hc0m8d] { width: 155px; }
.cm-table th:nth-child(8)[b-4eb1hc0m8d], .cm-table td.col-date-modified[b-4eb1hc0m8d] { width: 155px; }
.cm-table th:nth-child(9)[b-4eb1hc0m8d], .cm-table td.col-action[b-4eb1hc0m8d] { width: 100px; }

.col-ratetype[b-4eb1hc0m8d] {
    font-weight: 500;
}

/* Rate Type Badges */
.rate-type-badge[b-4eb1hc0m8d] {
    padding: 0.3rem 0.6rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 0.03em;
}

.rate-type-badge.commission[b-4eb1hc0m8d] {
    background: #eef2ff;
    color: #4f46e5;
}

.rate-type-badge.scheme[b-4eb1hc0m8d] {
    background: #ecfdf5;
    color: #059669;
}

.rate-type-badge.special[b-4eb1hc0m8d] {
    background: #fff7ed;
    color: #d97706;
}

.rate-type-badge.ic[b-4eb1hc0m8d] {
    background: #fdf2f8;
    color: #db2777;
}

.rate-type-badge.none[b-4eb1hc0m8d] {
    background: #f3f4f6;
    color: #6b7280;
}

/* Column-specific */
.col-orderno[b-4eb1hc0m8d] {
    font-weight: 700;
    color: #4f46e5 !important;
}

.col-shortname[b-4eb1hc0m8d] {
    color: #6b7280 !important;
}

.counter-name-text[b-4eb1hc0m8d] {
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-commission[b-4eb1hc0m8d] {
    color: #4f46e5;
    font-weight: 600;
}

.col-narration[b-4eb1hc0m8d] {
    color: #374151;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
}

.col-action[b-4eb1hc0m8d] {
    display: flex !important;
    gap: 0.35rem;
    align-items: center;
}

/* Date columns */
.date-line[b-4eb1hc0m8d] {
    display: block;
    font-size: 0.78rem;
    color: #374151;
    line-height: 1.4;
    white-space: nowrap;
}

.ampm-line[b-4eb1hc0m8d] {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
}

.ampm-line.am[b-4eb1hc0m8d] { color: #6b7280; }
.ampm-line.pm[b-4eb1hc0m8d] { color: #4f46e5; }

/* Action buttons */
.cm-action-btn[b-4eb1hc0m8d] {
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    margin-right: 2px;
    color: #9ca3af;
    transition: all 0.15s;
}

.cm-action-btn.edit:hover[b-4eb1hc0m8d] {
    border-color: #4f46e5;
    color: #4f46e5;
    background: #eef2ff;
}

.cm-action-btn.delete:hover[b-4eb1hc0m8d] {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

/* Empty row */
.cm-empty-row[b-4eb1hc0m8d] {
    text-align: center;
    padding: 3rem 1rem !important;
    color: #9ca3af;
    font-size: 0.85rem;
}

.cm-empty-row i[b-4eb1hc0m8d] {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

/* ========== MODAL BACKDROP ========== */
.cm-backdrop[b-4eb1hc0m8d] {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 40, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

/* ========== MODAL ========== */
.cm-modal[b-4eb1hc0m8d] {
    background: white;
    border-radius: 18px;
    width: 880px;
    max-width: 96vw;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    animation: modalIn-b-4eb1hc0m8d 0.18s ease;
}

@keyframes modalIn-b-4eb1hc0m8d {
    from { opacity: 0; transform: translateY(-10px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.cm-modal-header[b-4eb1hc0m8d] {
    padding: 1.6rem 2.2rem 1.2rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cm-modal-title[b-4eb1hc0m8d] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
}

.cm-close-btn[b-4eb1hc0m8d] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.cm-close-btn:hover[b-4eb1hc0m8d] { color: #64748b; }

/* ========== MODAL BODY ========== */
.cm-modal-body[b-4eb1hc0m8d] {
    padding: 2rem 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Field group */
.cm-field-group[b-4eb1hc0m8d] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cm-label[b-4eb1hc0m8d] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-transform: none;
}

.cm-input[b-4eb1hc0m8d] {
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cm-input:focus[b-4eb1hc0m8d] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.cm-input[b-4eb1hc0m8d]::placeholder { color: #cbd5e1; }

.cm-select[b-4eb1hc0m8d] {
    appearance: auto;
    cursor: pointer;
    background: #f8fafc;
}

/* Form rows */
.cm-form-row[b-4eb1hc0m8d] {
    display: grid;
    gap: 1.25rem;
}

.cm-form-row.three-cols[b-4eb1hc0m8d] {
    grid-template-columns: repeat(3, 1fr);
}

/* ========== MODAL FOOTER ========== */
.cm-modal-footer[b-4eb1hc0m8d] {
    padding: 1.2rem 2.2rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cm-btn-delete[b-4eb1hc0m8d] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    padding: 0.4rem 0;
    transition: color 0.15s;
}

.cm-btn-delete:hover[b-4eb1hc0m8d] { color: #dc2626; }

.cm-btn-cancel[b-4eb1hc0m8d] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #64748b;
    border-radius: 10px;
    padding: 0.7rem 2rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.cm-btn-cancel:hover[b-4eb1hc0m8d] {
    background: #f1f5f9;
    color: #334155;
    border-color: #94a3b8;
}

.cm-btn-save[b-4eb1hc0m8d] {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.7rem 2rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.cm-btn-save:hover[b-4eb1hc0m8d] { background: #4338ca; }

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR FEE TYPE MASTER
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .cm-page[b-4eb1hc0m8d],
[data-theme="dark"] .cm-page[b-4eb1hc0m8d] {
    background: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .cm-header-card[b-4eb1hc0m8d],
[data-theme="dark"] .cm-header-card[b-4eb1hc0m8d],
:host-context([data-theme="dark"]) .cm-table-card[b-4eb1hc0m8d],
[data-theme="dark"] .cm-table-card[b-4eb1hc0m8d],
:host-context([data-theme="dark"]) .cm-modal[b-4eb1hc0m8d],
[data-theme="dark"] .cm-modal[b-4eb1hc0m8d] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .cm-title[b-4eb1hc0m8d],
:host-context([data-theme="dark"]) .cm-modal-title[b-4eb1hc0m8d],
:host-context([data-theme="dark"]) .counter-name-text[b-4eb1hc0m8d],
[data-theme="dark"] .cm-title[b-4eb1hc0m8d],
[data-theme="dark"] .cm-modal-title[b-4eb1hc0m8d],
[data-theme="dark"] .counter-name-text[b-4eb1hc0m8d] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .cm-subtitle[b-4eb1hc0m8d],
:host-context([data-theme="dark"]) .cm-label[b-4eb1hc0m8d],
:host-context([data-theme="dark"]) .col-narration[b-4eb1hc0m8d],
:host-context([data-theme="dark"]) .date-line[b-4eb1hc0m8d],
[data-theme="dark"] .cm-subtitle[b-4eb1hc0m8d],
[data-theme="dark"] .cm-label[b-4eb1hc0m8d],
[data-theme="dark"] .col-narration[b-4eb1hc0m8d],
[data-theme="dark"] .date-line[b-4eb1hc0m8d] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .cm-search-box[b-4eb1hc0m8d],
[data-theme="dark"] .cm-search-box[b-4eb1hc0m8d] {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .cm-search-icon[b-4eb1hc0m8d],
[data-theme="dark"] .cm-search-icon[b-4eb1hc0m8d] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .cm-search-input[b-4eb1hc0m8d],
:host-context([data-theme="dark"]) .cm-input[b-4eb1hc0m8d],
:host-context([data-theme="dark"]) .cm-select[b-4eb1hc0m8d],
[data-theme="dark"] .cm-search-input[b-4eb1hc0m8d],
[data-theme="dark"] .cm-input[b-4eb1hc0m8d],
[data-theme="dark"] .cm-select[b-4eb1hc0m8d] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .cm-table th[b-4eb1hc0m8d],
[data-theme="dark"] .cm-table th[b-4eb1hc0m8d] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .cm-table tbody tr[b-4eb1hc0m8d],
[data-theme="dark"] .cm-table tbody tr[b-4eb1hc0m8d] {
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .cm-table td[b-4eb1hc0m8d],
[data-theme="dark"] .cm-table td[b-4eb1hc0m8d] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .cm-table tbody tr:hover td[b-4eb1hc0m8d],
[data-theme="dark"] .cm-table tbody tr:hover td[b-4eb1hc0m8d] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .col-orderno[b-4eb1hc0m8d],
:host-context([data-theme="dark"]) .col-commission[b-4eb1hc0m8d],
[data-theme="dark"] .col-orderno[b-4eb1hc0m8d],
[data-theme="dark"] .col-commission[b-4eb1hc0m8d] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .col-shortname[b-4eb1hc0m8d],
[data-theme="dark"] .col-shortname[b-4eb1hc0m8d] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .cm-action-btn[b-4eb1hc0m8d],
[data-theme="dark"] .cm-action-btn[b-4eb1hc0m8d] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .cm-action-btn.edit:hover[b-4eb1hc0m8d],
[data-theme="dark"] .cm-action-btn.edit:hover[b-4eb1hc0m8d] {
    background: rgba(56, 189, 248, 0.15) !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .cm-action-btn.delete:hover[b-4eb1hc0m8d],
[data-theme="dark"] .cm-action-btn.delete:hover[b-4eb1hc0m8d] {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: #ef4444 !important;
    color: #fca5a5 !important;
}

:host-context([data-theme="dark"]) .cm-modal-header[b-4eb1hc0m8d],
:host-context([data-theme="dark"]) .cm-modal-footer[b-4eb1hc0m8d],
[data-theme="dark"] .cm-modal-header[b-4eb1hc0m8d],
[data-theme="dark"] .cm-modal-footer[b-4eb1hc0m8d] {
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .rate-type-badge.commission[b-4eb1hc0m8d],
[data-theme="dark"] .rate-type-badge.commission[b-4eb1hc0m8d] {
    background: rgba(56, 189, 248, 0.15) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

:host-context([data-theme="dark"]) .rate-type-badge.scheme[b-4eb1hc0m8d],
[data-theme="dark"] .rate-type-badge.scheme[b-4eb1hc0m8d] {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #6ee7b7 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

:host-context([data-theme="dark"]) .rate-type-badge.special[b-4eb1hc0m8d],
[data-theme="dark"] .rate-type-badge.special[b-4eb1hc0m8d] {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #fde047 !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

:host-context([data-theme="dark"]) .rate-type-badge.ic[b-4eb1hc0m8d],
[data-theme="dark"] .rate-type-badge.ic[b-4eb1hc0m8d] {
    background: rgba(236, 72, 153, 0.15) !important;
    color: #f472b6 !important;
    border: 1px solid rgba(236, 72, 153, 0.3) !important;
}

:host-context([data-theme="dark"]) .rate-type-badge.none[b-4eb1hc0m8d],
[data-theme="dark"] .rate-type-badge.none[b-4eb1hc0m8d] {
    background: #0f172a !important;
    color: #cbd5e1 !important;
    border: 1px solid #334155 !important;
}


/* Master dashboard theme */
:global(.main-content):has(.cm-page)[b-4eb1hc0m8d] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.cm-page[b-4eb1hc0m8d] { min-height: calc(100vh - 1.5rem) !important; padding: 0 !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.cm-header-card[b-4eb1hc0m8d] { height: 78px !important; box-sizing: border-box !important; padding: .15rem 0 !important; margin-bottom: .6rem !important; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; }
.cm-title[b-4eb1hc0m8d] { color: #07547c !important; font-size: 1.85rem !important; }
.cm-subtitle[b-4eb1hc0m8d] { color: #647b90 !important; }
.cm-search-box[b-4eb1hc0m8d] { min-width: 280px !important; height: 40px !important; box-sizing: border-box !important; border: 1px solid #cbd9e8 !important; border-radius: 10px !important; box-shadow: none !important; }
.cm-search-input[b-4eb1hc0m8d] { font-size: .78rem !important; }
.cm-btn-new[b-4eb1hc0m8d] { height: 40px !important; padding: 0 1.15rem !important; border-radius: 10px !important; background: #087bb5 !important; box-shadow: 0 3px 8px rgba(8,123,181,.2) !important; }
.cm-table-card[b-4eb1hc0m8d] { overflow: auto !important; border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; }
.cm-table[b-4eb1hc0m8d] { border-collapse: collapse !important; }
.cm-table thead tr[b-4eb1hc0m8d] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.cm-table th[b-4eb1hc0m8d] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.cm-table td[b-4eb1hc0m8d] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.cm-table tbody tr[b-4eb1hc0m8d] { height: 44px !important; background: #fff !important; }
.cm-table tbody tr:nth-child(even)[b-4eb1hc0m8d] { background: #f8fbfe !important; }
.cm-table tbody tr:hover[b-4eb1hc0m8d] { background: #f0f8ff !important; }
.counter-name-text[b-4eb1hc0m8d], .col-name[b-4eb1hc0m8d] { color: #1e293b !important; }
.rate-type-badge[b-4eb1hc0m8d] { border-radius: 999px !important; }
.cm-action-btn[b-4eb1hc0m8d] { width: 28px !important; height: 28px !important; border-radius: 8px !important; border-color: #dbe8f3 !important; background: #f8fbff !important; }
.cm-action-btn.edit:hover[b-4eb1hc0m8d] { border-color: #a9ddf3 !important; color: #0876ad !important; background: #e4f4ff !important; }
/* /Components/Pages/FloorMaster.razor.rz.scp.css */
.referral-page[b-8ryaxwmdts] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-8ryaxwmdts] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-8ryaxwmdts] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-8ryaxwmdts] {
    display: flex;
}

.align-center[b-8ryaxwmdts] {
    align-items: center;
}

.flex-center[b-8ryaxwmdts] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-8ryaxwmdts] {
    gap: 8px;
}

.gap-12[b-8ryaxwmdts] {
    gap: 12px;
}

.gap-16[b-8ryaxwmdts] {
    gap: 16px;
}

.p-2[b-8ryaxwmdts] {
    padding: 8px;
}

.p-4[b-8ryaxwmdts] {
    padding: 16px;
}

.p-48[b-8ryaxwmdts] {
    padding: 48px;
}

.rounded-lg[b-8ryaxwmdts] {
    border-radius: 8px;
}

.shadow-sm[b-8ryaxwmdts] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-8ryaxwmdts] {
    margin: 0;
}

.mt-2px[b-8ryaxwmdts] {
    margin-top: 2px;
}

.mb-0[b-8ryaxwmdts] {
    margin-bottom: 0;
}

.mt-0[b-8ryaxwmdts] {
    margin-top: 0;
}

.relative-positioned[b-8ryaxwmdts] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-8ryaxwmdts] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04);
    padding: 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
}

.lab-title-text[b-8ryaxwmdts] {
    color: #312e81;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-8ryaxwmdts] {
    background-color: #eef2ff;
}

.text-indigo-600[b-8ryaxwmdts] {
    color: #4f46e5;
}

.icon-lg[b-8ryaxwmdts] {
    font-size: 24px;
}

.status-pulse-dot[b-8ryaxwmdts] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-8ryaxwmdts 2s infinite;
}

.status-text[b-8ryaxwmdts] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-8ryaxwmdts] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-8ryaxwmdts] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-8ryaxwmdts] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-8ryaxwmdts] {
    width: 220px;
}

.btn-new-entry[b-8ryaxwmdts] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-8ryaxwmdts] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-8ryaxwmdts] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.lc-table-container[b-8ryaxwmdts] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-8ryaxwmdts] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-8ryaxwmdts] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-8ryaxwmdts] {
    padding: 1rem 1.5rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lc-table td[b-8ryaxwmdts] {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    vertical-align: middle;
}

.lc-table tbody tr:last-child td[b-8ryaxwmdts] {
    border-bottom: none;
}

.lc-table-row:hover[b-8ryaxwmdts] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-8ryaxwmdts] {
    font-weight: 700;
}

.text-indigo-600[b-8ryaxwmdts] {
    color: #4f46e5;
}

.lc-color-slate-500[b-8ryaxwmdts] {
    color: #64748b;
}

.lc-font-mono[b-8ryaxwmdts] {
    font-family: monospace;
}

.lc-font-700[b-8ryaxwmdts] {
    font-weight: 700;
}

.lc-font-13[b-8ryaxwmdts] {
    font-size: 13px;
}

.text-slate-800[b-8ryaxwmdts] {
    color: #1e293b;
}

.text-slate-700[b-8ryaxwmdts] {
    color: #334155;
}

.text-slate-600[b-8ryaxwmdts] {
    color: #475569;
}

.text-slate-500[b-8ryaxwmdts] {
    color: #64748b;
}

.text-slate-400[b-8ryaxwmdts] {
    color: #94a3b8;
}

.font-12[b-8ryaxwmdts] {
    font-size: 12px;
}

.font-18[b-8ryaxwmdts] {
    font-size: 18px;
}

.italic[b-8ryaxwmdts] {
    font-style: italic;
}

/* Action buttons */
.lc-btn[b-8ryaxwmdts] {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-8ryaxwmdts] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-8ryaxwmdts] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-8ryaxwmdts] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-8ryaxwmdts] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-8ryaxwmdts] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 800px;
    max-height: 95vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-8ryaxwmdts 0.3s ease-out;
}

.modal-header-bar[b-8ryaxwmdts] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-8ryaxwmdts] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-8ryaxwmdts] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-8ryaxwmdts] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-8ryaxwmdts] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-section[b-8ryaxwmdts] {
    margin-bottom: 0;
}

.form-group[b-8ryaxwmdts] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-8ryaxwmdts] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-input[b-8ryaxwmdts] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
}

.lab-input:focus[b-8ryaxwmdts] {
    outline: none;
    border-color: #4f46e5;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.um-grid-row[b-8ryaxwmdts] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.um-grid-cols-4[b-8ryaxwmdts] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-5[b-8ryaxwmdts] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-2[b-8ryaxwmdts] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.modal-footer-bar[b-8ryaxwmdts] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-8ryaxwmdts] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-8ryaxwmdts] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-8ryaxwmdts] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-delete[b-8ryaxwmdts] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.btn-delete:hover:not(:disabled)[b-8ryaxwmdts] {
    text-decoration: underline;
}

.btn-delete:disabled[b-8ryaxwmdts] {
    opacity: 0.4;
    cursor: not-allowed;
}

.text-danger[b-8ryaxwmdts] {
    color: #ef4444;
}

/* Animations */
@keyframes lc-pulse-b-8ryaxwmdts {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-8ryaxwmdts] {
    animation: lc-fadeInUp-b-8ryaxwmdts 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-8ryaxwmdts {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Delete Confirmation Modal */
.delete-confirm-card[b-8ryaxwmdts] {
    max-width: 450px !important;
}

.delete-confirm-body[b-8ryaxwmdts] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem !important;
}

.delete-warning-icon[b-8ryaxwmdts] {
    font-size: 48px !important;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.delete-message[b-8ryaxwmdts] {
    font-size: 14px;
    color: #475569;
    font-weight: 600;
    margin: 0;
}

.delete-footer-bar[b-8ryaxwmdts] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 1.25rem 2rem !important;
}

.btn-secondary-outline[b-8ryaxwmdts] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-secondary-outline:hover[b-8ryaxwmdts] {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

.btn-danger-filled[b-8ryaxwmdts] {
    background: #ef4444;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 10px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
    transition: all 0.2s;
}

.btn-danger-filled:hover[b-8ryaxwmdts] {
    background-color: #dc2626;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR FLOOR MASTER
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .referral-page[b-8ryaxwmdts],
[data-theme="dark"] .referral-page[b-8ryaxwmdts] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-8ryaxwmdts],
[data-theme="dark"] .lab-header-card[b-8ryaxwmdts] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-8ryaxwmdts],
[data-theme="dark"] .lab-title-text[b-8ryaxwmdts] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .status-text[b-8ryaxwmdts],
[data-theme="dark"] .status-text[b-8ryaxwmdts] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input[b-8ryaxwmdts],
[data-theme="dark"] .lc-rounded-pill-input[b-8ryaxwmdts] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .search-icon i[b-8ryaxwmdts],
:host-context([data-theme="dark"]) .search-icon span[b-8ryaxwmdts],
[data-theme="dark"] .search-icon i[b-8ryaxwmdts],
[data-theme="dark"] .search-icon span[b-8ryaxwmdts] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .directory-section[b-8ryaxwmdts],
[data-theme="dark"] .directory-section[b-8ryaxwmdts] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lc-table thead tr[b-8ryaxwmdts],
[data-theme="dark"] .lc-table thead tr[b-8ryaxwmdts] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table th[b-8ryaxwmdts],
[data-theme="dark"] .lc-table th[b-8ryaxwmdts] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-table td[b-8ryaxwmdts],
[data-theme="dark"] .lc-table td[b-8ryaxwmdts] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .lc-table-row:hover td[b-8ryaxwmdts],
[data-theme="dark"] .lc-table-row:hover td[b-8ryaxwmdts] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .lc-btn[b-8ryaxwmdts],
[data-theme="dark"] .lc-btn[b-8ryaxwmdts] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-btn:hover[b-8ryaxwmdts],
[data-theme="dark"] .lc-btn:hover[b-8ryaxwmdts] {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #7dd3fc !important;
}

:host-context([data-theme="dark"]) .lc-btn span[b-8ryaxwmdts],
[data-theme="dark"] .lc-btn span[b-8ryaxwmdts] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .modal-form-card[b-8ryaxwmdts],
[data-theme="dark"] .modal-form-card[b-8ryaxwmdts] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-header-bar[b-8ryaxwmdts],
:host-context([data-theme="dark"]) .modal-body[b-8ryaxwmdts],
:host-context([data-theme="dark"]) .modal-footer-bar[b-8ryaxwmdts],
[data-theme="dark"] .modal-header-bar[b-8ryaxwmdts],
[data-theme="dark"] .modal-body[b-8ryaxwmdts],
[data-theme="dark"] .modal-footer-bar[b-8ryaxwmdts] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header-bar h3[b-8ryaxwmdts],
[data-theme="dark"] .modal-header-bar h3[b-8ryaxwmdts] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lab-input[b-8ryaxwmdts],
[data-theme="dark"] .lab-input[b-8ryaxwmdts] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .form-group label[b-8ryaxwmdts],
[data-theme="dark"] .form-group label[b-8ryaxwmdts] {
    color: #cbd5e1 !important;
}
/* Floor Master dashboard theme */
:global(html:has(.floor-master-page))[b-8ryaxwmdts],
:global(body:has(.floor-master-page))[b-8ryaxwmdts] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.floor-master-page))[b-8ryaxwmdts],
:global(.app-main-wrapper:has(.floor-master-page))[b-8ryaxwmdts] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.floor-master-page)[b-8ryaxwmdts] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.referral-page.floor-master-page[b-8ryaxwmdts] {
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.referral-page.floor-master-page .lab-header-card[b-8ryaxwmdts] {
    flex: 0 0 auto !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.referral-page.floor-master-page .lab-title-text[b-8ryaxwmdts] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
}

.referral-page.floor-master-page .status-text[b-8ryaxwmdts] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.referral-page.floor-master-page .bg-indigo-50[b-8ryaxwmdts] {
    background: #e0f2fe !important;
}

.referral-page.floor-master-page .lc-rounded-pill-input[b-8ryaxwmdts] {
    width: 260px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    font-size: 0.82rem !important;
    padding: 0 1rem 0 2.2rem !important;
}

.referral-page.floor-master-page .lc-rounded-pill-input:focus[b-8ryaxwmdts] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.referral-page.floor-master-page .btn-new-entry[b-8ryaxwmdts] {
    height: 36px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

.referral-page.floor-master-page .btn-new-entry:hover[b-8ryaxwmdts] {
    background: #05689b !important;
}

.referral-page.floor-master-page .directory-section[b-8ryaxwmdts] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.referral-page.floor-master-page .lc-table-container[b-8ryaxwmdts] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
}

.referral-page.floor-master-page .lc-table[b-8ryaxwmdts] {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.referral-page.floor-master-page .lc-table thead tr th[b-8ryaxwmdts],
.referral-page .lc-table th[b-8ryaxwmdts] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.75rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.floor-master-page .lc-table thead tr th:last-child[b-8ryaxwmdts],
.referral-page .lc-table th:last-child[b-8ryaxwmdts] {
    border-right: none !important;
}

.referral-page.floor-master-page .lc-table tbody tr[b-8ryaxwmdts] {
    height: 34px !important;
    min-height: 34px !important;
}

.referral-page.floor-master-page .lc-table tbody tr:nth-child(even)[b-8ryaxwmdts] {
    background: #fbfdff !important;
}

.referral-page.floor-master-page .lc-table-row:hover[b-8ryaxwmdts] {
    background: #f0f8ff !important;
}

.referral-page.floor-master-page .lc-table td[b-8ryaxwmdts] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.75rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    color: #334155 !important;
    font-size: 0.76rem !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.floor-master-page .lc-btn[b-8ryaxwmdts],
.referral-page.floor-master-page .lc-circle-btn-32[b-8ryaxwmdts] {
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.referral-page.floor-master-page .lc-btn:hover[b-8ryaxwmdts],
.referral-page.floor-master-page .lc-circle-btn-32:hover[b-8ryaxwmdts] {
    border-color: #bae6fd !important;
    background: #f0f9ff !important;
    color: #0369a1 !important;
}

.referral-page.floor-master-page .lc-table td:last-child > div[b-8ryaxwmdts] {
    gap: 0.35rem !important;
}
/* /Components/Pages/ForgotPassword.razor.rz.scp.css */
.login-page-container[b-vnd6bgh8zu] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #e3ebfa;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 40%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px;
    overflow-y: auto;
}

.login-card[b-vnd6bgh8zu] {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 48px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.login-header[b-vnd6bgh8zu] {
    text-align: center;
    margin-bottom: 24px;
}

.brand-title[b-vnd6bgh8zu] {
    font-size: 24px;
    font-weight: 800;
    color: #1a1b1f;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.brand-highlight[b-vnd6bgh8zu] {
    color: #4f46e5;
}

.page-title[b-vnd6bgh8zu] {
    font-size: 20px;
    font-weight: 700;
    color: #4f46e5;
    margin: 0;
}

.instruction-text[b-vnd6bgh8zu] {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 24px;
}

.form-group[b-vnd6bgh8zu] {
    margin-bottom: 20px;
}

.form-label[b-vnd6bgh8zu] {
    font-size: 13px;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 8px;
    display: block;
}

.custom-input[b-vnd6bgh8zu] {
    background-color: #f0f4fc;
    border: 1px solid #d2dced;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    color: #1a1b1f;
    height: 42px;
    width: 100%;
    box-sizing: border-box;
}

.custom-input:focus[b-vnd6bgh8zu] {
    background-color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

.password-input-wrapper[b-vnd6bgh8zu] {
    position: relative;
    display: flex;
    align-items: center;
}

.btn-eye[b-vnd6bgh8zu] {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #a0aec0;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.btn-eye svg[b-vnd6bgh8zu] {
    width: 18px;
    height: 18px;
}

.btn-eye:hover[b-vnd6bgh8zu] {
    color: #4a5568;
}

.btn-continue[b-vnd6bgh8zu] {
    background-color: #4f46e5;
    color: white;
    width: 100%;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-bottom: 24px;
}

.btn-continue:hover[b-vnd6bgh8zu] {
    background-color: #4338ca;
}

.btn-continue:disabled[b-vnd6bgh8zu] {
    background-color: #a5b4fc;
    cursor: not-allowed;
}

.login-footer-links[b-vnd6bgh8zu] {
    text-align: center;
    border-top: 1px solid #f0f4fc;
    padding-top: 24px;
}

.remember-text[b-vnd6bgh8zu] {
    font-size: 13px;
    color: #718096;
}

.staff-login-link[b-vnd6bgh8zu] {
    font-size: 13px;
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.staff-login-link:hover[b-vnd6bgh8zu] {
    text-decoration: underline;
}

.page-footer[b-vnd6bgh8zu] {
    margin-top: 24px;
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #718096;
}

.page-footer a[b-vnd6bgh8zu] {
    color: #718096;
    text-decoration: none;
}

.page-footer a:hover[b-vnd6bgh8zu] {
    color: #4a5568;
}

/* Alert / Error Box Styles */
.alert[b-vnd6bgh8zu] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    text-align: left;
    word-break: break-word;
}

.alert-danger[b-vnd6bgh8zu] {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-danger .alert-icon[b-vnd6bgh8zu] {
    color: #dc2626;
}

.alert-success[b-vnd6bgh8zu] {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.alert-success .alert-icon[b-vnd6bgh8zu] {
    color: #16a34a;
}

.alert-icon[b-vnd6bgh8zu] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.alert-content[b-vnd6bgh8zu] {
    flex: 1;
}
/* /Components/Pages/GroupMaster.razor.rz.scp.css */
.referral-page[b-hbw5vr0rbs] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-hbw5vr0rbs] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-hbw5vr0rbs] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-hbw5vr0rbs] {
    display: flex;
}

.align-center[b-hbw5vr0rbs] {
    align-items: center;
}

.flex-center[b-hbw5vr0rbs] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-hbw5vr0rbs] {
    gap: 8px;
}

.gap-12[b-hbw5vr0rbs] {
    gap: 12px;
}

.gap-16[b-hbw5vr0rbs] {
    gap: 16px;
}

.p-2[b-hbw5vr0rbs] {
    padding: 8px;
}

.p-4[b-hbw5vr0rbs] {
    padding: 16px;
}

.p-48[b-hbw5vr0rbs] {
    padding: 48px;
}

.rounded-lg[b-hbw5vr0rbs] {
    border-radius: 8px;
}

.shadow-sm[b-hbw5vr0rbs] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-hbw5vr0rbs] {
    margin: 0;
}

.mt-2px[b-hbw5vr0rbs] {
    margin-top: 2px;
}

.mb-0[b-hbw5vr0rbs] {
    margin-bottom: 0;
}

.mt-0[b-hbw5vr0rbs] {
    margin-top: 0;
}

.relative-positioned[b-hbw5vr0rbs] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-hbw5vr0rbs] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04);
    padding: 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
}

.lab-title-text[b-hbw5vr0rbs] {
    color: #312e81;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-hbw5vr0rbs] {
    background-color: #eef2ff;
}

.text-indigo-600[b-hbw5vr0rbs] {
    color: #4f46e5;
}

.icon-lg[b-hbw5vr0rbs] {
    font-size: 24px;
}

.status-pulse-dot[b-hbw5vr0rbs] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-hbw5vr0rbs 2s infinite;
}

.status-text[b-hbw5vr0rbs] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-hbw5vr0rbs] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-hbw5vr0rbs] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-hbw5vr0rbs] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-hbw5vr0rbs] {
    width: 220px;
}

.btn-new-entry[b-hbw5vr0rbs] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-hbw5vr0rbs] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-hbw5vr0rbs] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.lc-table-container[b-hbw5vr0rbs] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-hbw5vr0rbs] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-hbw5vr0rbs] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-hbw5vr0rbs] {
    padding: 1rem 1.5rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lc-table td[b-hbw5vr0rbs] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    vertical-align: middle;
}

.lc-table tbody tr:last-child td[b-hbw5vr0rbs] {
    border-bottom: none;
}

.lc-table-row:hover[b-hbw5vr0rbs] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-hbw5vr0rbs] {
    font-weight: 700;
}

.text-indigo-600[b-hbw5vr0rbs] {
    color: #4f46e5;
}

.lc-color-slate-500[b-hbw5vr0rbs] {
    color: #64748b;
}

.lc-font-mono[b-hbw5vr0rbs] {
    font-family: monospace;
}

.lc-font-700[b-hbw5vr0rbs] {
    font-weight: 700;
}

.lc-font-13[b-hbw5vr0rbs] {
    font-size: 13px;
}

.text-slate-800[b-hbw5vr0rbs] {
    color: #1e293b;
}

.text-slate-500[b-hbw5vr0rbs] {
    color: #64748b;
}

.text-slate-400[b-hbw5vr0rbs] {
    color: #94a3b8;
}

.font-12[b-hbw5vr0rbs] {
    font-size: 12px;
}

.font-18[b-hbw5vr0rbs] {
    font-size: 18px;
}

.italic[b-hbw5vr0rbs] {
    font-style: italic;
}

/* Action buttons */
.lc-btn[b-hbw5vr0rbs] {
    padding: 8px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-hbw5vr0rbs] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-hbw5vr0rbs] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-hbw5vr0rbs] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-hbw5vr0rbs] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-hbw5vr0rbs] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 800px;
    max-height: 95vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-hbw5vr0rbs 0.3s ease-out;
}

.modal-header-bar[b-hbw5vr0rbs] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-hbw5vr0rbs] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-hbw5vr0rbs] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-hbw5vr0rbs] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-hbw5vr0rbs] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-section[b-hbw5vr0rbs] {
    margin-bottom: 0;
}

.form-group[b-hbw5vr0rbs] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-hbw5vr0rbs] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-input[b-hbw5vr0rbs] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
}

.lab-input:focus[b-hbw5vr0rbs] {
    outline: none;
    border-color: #4f46e5;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.um-grid-row[b-hbw5vr0rbs] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.um-grid-cols-4[b-hbw5vr0rbs] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-2[b-hbw5vr0rbs] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

/* Styled flags card for checkboxes */
.flags-card[b-hbw5vr0rbs] {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 8px;
    margin-bottom: 16px;
}

.flags-header[b-hbw5vr0rbs] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 16px;
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 8px;
}

.flags-header-icon[b-hbw5vr0rbs] {
    font-size: 16px;
    color: #64748b;
}

.flags-grid[b-hbw5vr0rbs] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.flag-item[b-hbw5vr0rbs] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.flag-item:hover[b-hbw5vr0rbs] {
    background-color: #eef2ff;
    border-color: #e0e7ff;
}

.flag-item input[type="checkbox"][b-hbw5vr0rbs] {
    width: 16px;
    height: 16px;
    accent-color: #4f46e5;
    cursor: pointer;
}

/* Badge styling for flags in directory */
.flag-badge[b-hbw5vr0rbs] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    margin-right: 4px;
    margin-bottom: 4px;
}

.bg-lab[b-hbw5vr0rbs] {
    background-color: #dbeafe;
    color: #1e40af;
}

.bg-scan[b-hbw5vr0rbs] {
    background-color: #fef3c7;
    color: #92400e;
}

.bg-charges[b-hbw5vr0rbs] {
    background-color: #d1fae5;
    color: #065f46;
}

.bg-inventory[b-hbw5vr0rbs] {
    background-color: #e0f2fe;
    color: #0369a1;
}

.bg-package[b-hbw5vr0rbs] {
    background-color: #f3e8ff;
    color: #6b21a8;
}

.bg-treatment[b-hbw5vr0rbs] {
    background-color: #ffe4e6;
    color: #9f1239;
}

.modal-footer-bar[b-hbw5vr0rbs] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-hbw5vr0rbs] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-hbw5vr0rbs] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-hbw5vr0rbs] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-delete[b-hbw5vr0rbs] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.btn-delete:hover:not(:disabled)[b-hbw5vr0rbs] {
    text-decoration: underline;
}

.btn-delete:disabled[b-hbw5vr0rbs] {
    opacity: 0.4;
    cursor: not-allowed;
}

.text-danger[b-hbw5vr0rbs] {
    color: #ef4444;
}

.alert[b-hbw5vr0rbs] {
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
}

.alert-danger[b-hbw5vr0rbs] {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success[b-hbw5vr0rbs] {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

/* Animations */
@keyframes lc-pulse-b-hbw5vr0rbs {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-hbw5vr0rbs] {
    animation: lc-fadeInUp-b-hbw5vr0rbs 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-hbw5vr0rbs {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR GROUP MASTER
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .referral-page[b-hbw5vr0rbs],
[data-theme="dark"] .referral-page[b-hbw5vr0rbs] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-hbw5vr0rbs],
[data-theme="dark"] .lab-header-card[b-hbw5vr0rbs] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-hbw5vr0rbs],
[data-theme="dark"] .lab-title-text[b-hbw5vr0rbs] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .status-text[b-hbw5vr0rbs],
[data-theme="dark"] .status-text[b-hbw5vr0rbs] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input[b-hbw5vr0rbs],
[data-theme="dark"] .lc-rounded-pill-input[b-hbw5vr0rbs] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .search-icon i[b-hbw5vr0rbs],
:host-context([data-theme="dark"]) .search-icon span[b-hbw5vr0rbs],
[data-theme="dark"] .search-icon i[b-hbw5vr0rbs],
[data-theme="dark"] .search-icon span[b-hbw5vr0rbs] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .directory-section[b-hbw5vr0rbs],
[data-theme="dark"] .directory-section[b-hbw5vr0rbs] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lc-table thead tr[b-hbw5vr0rbs],
[data-theme="dark"] .lc-table thead tr[b-hbw5vr0rbs] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table th[b-hbw5vr0rbs],
[data-theme="dark"] .lc-table th[b-hbw5vr0rbs] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-table td[b-hbw5vr0rbs],
[data-theme="dark"] .lc-table td[b-hbw5vr0rbs] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .lc-table-row:hover td[b-hbw5vr0rbs],
[data-theme="dark"] .lc-table-row:hover td[b-hbw5vr0rbs] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .lc-btn[b-hbw5vr0rbs],
[data-theme="dark"] .lc-btn[b-hbw5vr0rbs] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-btn:hover[b-hbw5vr0rbs],
[data-theme="dark"] .lc-btn:hover[b-hbw5vr0rbs] {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #7dd3fc !important;
}

:host-context([data-theme="dark"]) .modal-form-card[b-hbw5vr0rbs],
[data-theme="dark"] .modal-form-card[b-hbw5vr0rbs] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-header-bar[b-hbw5vr0rbs],
:host-context([data-theme="dark"]) .modal-body[b-hbw5vr0rbs],
:host-context([data-theme="dark"]) .modal-footer-bar[b-hbw5vr0rbs],
[data-theme="dark"] .modal-header-bar[b-hbw5vr0rbs],
[data-theme="dark"] .modal-body[b-hbw5vr0rbs],
[data-theme="dark"] .modal-footer-bar[b-hbw5vr0rbs] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header-bar h3[b-hbw5vr0rbs],
[data-theme="dark"] .modal-header-bar h3[b-hbw5vr0rbs] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lab-input[b-hbw5vr0rbs],
[data-theme="dark"] .lab-input[b-hbw5vr0rbs] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .flags-card[b-hbw5vr0rbs],
[data-theme="dark"] .flags-card[b-hbw5vr0rbs] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .flag-item[b-hbw5vr0rbs],
[data-theme="dark"] .flag-item[b-hbw5vr0rbs] {
    background-color: #1e293b !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .form-group label[b-hbw5vr0rbs],
[data-theme="dark"] .form-group label[b-hbw5vr0rbs] {
    color: #cbd5e1 !important;
}
/* Master dashboard theme */
:global(.main-content):has(.referral-page)[b-hbw5vr0rbs] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.referral-page[b-hbw5vr0rbs] { height: calc(100vh - 1.5rem) !important; min-height: 0 !important; padding: 0 !important; gap: .6rem !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.lab-header-card[b-hbw5vr0rbs] { flex: 0 0 78px !important; padding: .15rem 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.icon-box-container[b-hbw5vr0rbs] { background: #e4f4ff !important; }
.text-indigo-600[b-hbw5vr0rbs] { color: #0876ad !important; }
.lab-title-text[b-hbw5vr0rbs] { color: #07547c !important; font-size: 1.85rem !important; font-weight: 800 !important; }
.status-text[b-hbw5vr0rbs] { color: #647b90 !important; font-size: .78rem !important; text-transform: none !important; letter-spacing: 0 !important; }
.lc-rounded-pill-input[b-hbw5vr0rbs] { width: 280px !important; height: 40px !important; border-radius: 10px !important; border-color: #cbd9e8 !important; }
.btn-new-entry[b-hbw5vr0rbs] { height: 40px !important; padding: 0 1.15rem !important; border-radius: 10px !important; background: #087bb5 !important; }
.directory-section[b-hbw5vr0rbs] { flex: 1 1 auto !important; min-height: 0 !important; margin: 0 !important; border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; background: #fff !important; }
.lc-table-container[b-hbw5vr0rbs] { max-height: none !important; overflow: auto !important; }
.lc-table thead tr[b-hbw5vr0rbs] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.lc-table th[b-hbw5vr0rbs] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.lc-table td[b-hbw5vr0rbs] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.lc-table tbody tr[b-hbw5vr0rbs] { height: 44px !important; background: #fff !important; }
.lc-table tbody tr:nth-child(even)[b-hbw5vr0rbs] { background: #f8fbfe !important; }
.lc-table-row:hover[b-hbw5vr0rbs] { background: #f0f8ff !important; }
.text-slate-800[b-hbw5vr0rbs] { color: #1e293b !important; }
.lc-btn[b-hbw5vr0rbs], .lc-circle-btn-32[b-hbw5vr0rbs] { width: 28px !important; height: 28px !important; padding: 0 !important; border: 1px solid #dbe8f3 !important; border-radius: 8px !important; background: #f8fbff !important; color: #0876ad !important; }
/* /Components/Pages/HealthCheck.razor.rz.scp.css */
.health-dashboard-wrapper[b-ulvgwg8n9t] {
    position: relative;
    min-height: 100vh;
    padding: 2.5rem 1.5rem;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent 40%),
                radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.05), transparent 40%),
                #f8fafc;
    overflow-x: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Ambient glow orbs */
.health-glow-orb[b-ulvgwg8n9t] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.glow-1[b-ulvgwg8n9t] {
    width: 320px;
    height: 320px;
    top: -50px;
    right: -50px;
    background: rgba(99, 102, 241, 0.12);
}
.glow-2[b-ulvgwg8n9t] {
    width: 380px;
    height: 380px;
    bottom: 50px;
    left: -80px;
    background: rgba(16, 185, 129, 0.08);
}

.health-container[b-ulvgwg8n9t] {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
}

/* Header */
.health-header[b-ulvgwg8n9t] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.75rem 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04), 0 8px 10px -6px rgba(15, 23, 42, 0.02);
}

.health-brand-block[b-ulvgwg8n9t] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.brand-icon-shield[b-ulvgwg8n9t] {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    transition: all 0.3s ease;
}
.brand-icon-shield.healthy[b-ulvgwg8n9t] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.35);
}
.brand-icon-shield.unhealthy[b-ulvgwg8n9t] {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px -4px rgba(244, 63, 94, 0.35);
}

.health-title-row[b-ulvgwg8n9t] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.health-title[b-ulvgwg8n9t] {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0;
}

.status-pill-badge[b-ulvgwg8n9t] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.status-pill-badge.status-healthy[b-ulvgwg8n9t] {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.status-pill-badge.status-unhealthy[b-ulvgwg8n9t] {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
}

.pulse-dot[b-ulvgwg8n9t] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}
.status-healthy .pulse-dot[b-ulvgwg8n9t] {
    background-color: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green-b-ulvgwg8n9t 1.8s infinite;
}
.status-unhealthy .pulse-dot[b-ulvgwg8n9t] {
    background-color: #f43f5e;
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7);
    animation: pulse-red-b-ulvgwg8n9t 1.8s infinite;
}

@keyframes pulse-green-b-ulvgwg8n9t {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes pulse-red-b-ulvgwg8n9t {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(244, 63, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

.health-subtitle[b-ulvgwg8n9t] {
    margin: 0.25rem 0 0 0;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Header Action Controls */
.health-header-actions[b-ulvgwg8n9t] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.auto-refresh-toggle[b-ulvgwg8n9t] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.toggle-switch[b-ulvgwg8n9t] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin: 0;
}
.toggle-switch input[b-ulvgwg8n9t] {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider[b-ulvgwg8n9t] {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
}
.slider.round[b-ulvgwg8n9t] {
    border-radius: 34px;
}
.slider.round[b-ulvgwg8n9t]:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
input:checked + .slider[b-ulvgwg8n9t] {
    background-color: #4f46e5;
}
input:checked + .slider[b-ulvgwg8n9t]:before {
    transform: translateX(20px);
}

.toggle-label[b-ulvgwg8n9t] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    user-select: none;
}

.btn-health-refresh[b-ulvgwg8n9t] {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.35rem;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.35);
    transition: all 0.2s ease;
}
.btn-health-refresh:hover:not(:disabled)[b-ulvgwg8n9t] {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px 0 rgba(79, 70, 229, 0.45);
}
.btn-health-refresh:disabled[b-ulvgwg8n9t] {
    opacity: 0.7;
    cursor: not-allowed;
}

.refresh-icon[b-ulvgwg8n9t] {
    font-size: 1.1rem;
    transition: transform 0.5s linear;
}
.btn-health-refresh.refreshing .refresh-icon[b-ulvgwg8n9t] {
    animation: spin-b-ulvgwg8n9t 1s infinite linear;
}
@keyframes spin-b-ulvgwg8n9t {
    100% { transform: rotate(360deg); }
}

/* Stats Row */
.health-stats-grid[b-ulvgwg8n9t] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.stat-card[b-ulvgwg8n9t] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-card:hover[b-ulvgwg8n9t] {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.stat-icon-wrapper[b-ulvgwg8n9t] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ffffff;
    flex-shrink: 0;
}
.bg-indigo[b-ulvgwg8n9t] { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.bg-emerald[b-ulvgwg8n9t] { background: linear-gradient(135deg, #10b981, #059669); }
.bg-rose[b-ulvgwg8n9t] { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.bg-cyan[b-ulvgwg8n9t] { background: linear-gradient(135deg, #06b6d4, #0891b2); }

.stat-content[b-ulvgwg8n9t] {
    display: flex;
    flex-direction: column;
}
.stat-label[b-ulvgwg8n9t] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.stat-value[b-ulvgwg8n9t] {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}
.text-emerald[b-ulvgwg8n9t] { color: #059669 !important; }
.text-rose[b-ulvgwg8n9t] { color: #e11d48 !important; }

/* Alert Banner */
.health-alert-banner[b-ulvgwg8n9t] {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    color: #9f1239;
    box-shadow: 0 4px 6px -1px rgba(244, 63, 94, 0.06);
}
.health-alert-banner .alert-icon[b-ulvgwg8n9t] {
    font-size: 1.35rem;
    flex-shrink: 0;
}
.health-alert-banner .alert-text[b-ulvgwg8n9t] {
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-word;
}

/* API Section */
.api-cards-section[b-ulvgwg8n9t] {
    margin-bottom: 2.5rem;
}

.section-top-bar[b-ulvgwg8n9t] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.section-title[b-ulvgwg8n9t] {
    font-size: 1.18rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
}
.last-checked-tag[b-ulvgwg8n9t] {
    font-size: 0.82rem;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
}

/* API Cards Grid */
.api-cards-grid[b-ulvgwg8n9t] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.api-card[b-ulvgwg8n9t] {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}
.api-card:hover[b-ulvgwg8n9t] {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
}
.api-card.card-healthy[b-ulvgwg8n9t] {
    border-left: 5px solid #10b981;
}
.api-card.card-unhealthy[b-ulvgwg8n9t] {
    border-left: 5px solid #f43f5e;
}

.api-card-header[b-ulvgwg8n9t] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.api-name-block[b-ulvgwg8n9t] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.api-indicator-dot[b-ulvgwg8n9t] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot-healthy[b-ulvgwg8n9t] { background-color: #10b981; }
.dot-unhealthy[b-ulvgwg8n9t] { background-color: #f43f5e; }

.api-name[b-ulvgwg8n9t] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.badge-status[b-ulvgwg8n9t] {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
}
.badge-healthy[b-ulvgwg8n9t] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
.badge-unhealthy[b-ulvgwg8n9t] {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

.api-url-row[b-ulvgwg8n9t] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
    margin-bottom: 1.25rem;
}
.url-code[b-ulvgwg8n9t] {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.78rem;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}
.btn-copy-url[b-ulvgwg8n9t] {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.15rem 0.3rem;
    border-radius: 4px;
    transition: color 0.15s ease;
}
.btn-copy-url:hover[b-ulvgwg8n9t] {
    color: #4f46e5;
}

.api-card-footer[b-ulvgwg8n9t] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

.latency-pill[b-ulvgwg8n9t] {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.82rem;
    font-weight: 700;
}
.latency-fast[b-ulvgwg8n9t] {
    background: #ecfdf5;
    color: #047857;
}
.latency-medium[b-ulvgwg8n9t] {
    background: #fffbeb;
    color: #b45309;
}
.latency-slow[b-ulvgwg8n9t] {
    background: #fff7ed;
    color: #c2410c;
}
.latency-critical[b-ulvgwg8n9t] {
    background: #fff1f2;
    color: #be123c;
}

.error-reason-box[b-ulvgwg8n9t] {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    word-break: break-word;
}
.success-note[b-ulvgwg8n9t] {
    font-size: 0.82rem;
    color: #059669;
    display: flex;
    align-items: center;
    font-weight: 500;
}

/* Empty / Loading States */
.health-loading-state[b-ulvgwg8n9t], .health-empty-state[b-ulvgwg8n9t] {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}
.empty-icon[b-ulvgwg8n9t] {
    font-size: 3rem;
    color: #94a3b8;
}
.empty-title[b-ulvgwg8n9t] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0.75rem 0 0.25rem 0;
}
.empty-sub[b-ulvgwg8n9t] {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* JSON Diagnostics Section */
.json-diagnostics-section[b-ulvgwg8n9t] {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.json-header[b-ulvgwg8n9t] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.5rem;
    cursor: pointer;
    background: #f8fafc;
    border-bottom: 1px solid transparent;
    transition: background 0.2s ease;
}
.json-header:hover[b-ulvgwg8n9t] {
    background: #f1f5f9;
}
.json-header-title[b-ulvgwg8n9t] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
}

.json-status-tag[b-ulvgwg8n9t] {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
}
.json-status-tag.healthy[b-ulvgwg8n9t] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
.json-status-tag.unhealthy[b-ulvgwg8n9t] {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

.json-header-controls[b-ulvgwg8n9t] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.btn-copy-json[b-ulvgwg8n9t] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-copy-json:hover[b-ulvgwg8n9t] {
    background: #f8fafc;
    border-color: #94a3b8;
}

.chevron-icon[b-ulvgwg8n9t] {
    font-size: 0.9rem;
    color: #64748b;
    transition: transform 0.2s ease;
}
.chevron-icon.expanded[b-ulvgwg8n9t] {
    transform: rotate(180deg);
}

.json-body[b-ulvgwg8n9t] {
    padding: 1.25rem 1.5rem;
    background: #0f172a;
    border-top: 1px solid #1e293b;
}
.json-pre[b-ulvgwg8n9t] {
    margin: 0;
    max-height: 420px;
    overflow-y: auto;
}
.json-pre code[b-ulvgwg8n9t] {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.82rem;
    color: #38bdf8;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .health-header[b-ulvgwg8n9t] {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem;
    }
    .health-header-actions[b-ulvgwg8n9t] {
        width: 100%;
        justify-content: space-between;
    }
    .api-cards-grid[b-ulvgwg8n9t] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ==========================================================================
   WELCOME DASHBOARD & HERO CARD STYLES (Home.razor.css)
   ========================================================================== */

.welcome-dashboard-container[b-bamnujq5ed] {
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
    box-sizing: border-box;
    min-height: calc(100vh - 56px);
}

.welcome-loading-state[b-bamnujq5ed] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    width: 100%;
}

/* ════════ HERO WELCOME CARD ════════ */
.welcome-hero-card[b-bamnujq5ed] {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    border-radius: 20px;
    padding: 1.75rem 2rem;
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Background Ambient Orbs */
.hero-bg-orb[b-bamnujq5ed] {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.35;
}

.hero-bg-orb.orb-1[b-bamnujq5ed] {
    width: 260px;
    height: 260px;
    background: #2563eb;
    top: -80px;
    right: -40px;
}

.hero-bg-orb.orb-2[b-bamnujq5ed] {
    width: 220px;
    height: 220px;
    background: #06b6d4;
    bottom: -90px;
    left: 20%;
}

/* Hero Top Bar */
.welcome-hero-top[b-bamnujq5ed] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.greeting-badge[b-bamnujq5ed] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.35rem 0.9rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 0.2px;
}

.greeting-icon[b-bamnujq5ed] {
    color: #f59e0b;
    font-size: 0.95rem;
}

.time-badge[b-bamnujq5ed] {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.4);
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Identity Grid */
.welcome-hero-main[b-bamnujq5ed] {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
}

.identity-grid[b-bamnujq5ed] {
    display: flex;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 991px) {
    .identity-grid[b-bamnujq5ed] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .identity-divider[b-bamnujq5ed] {
        display: none;
    }
}

.hospital-identity-box[b-bamnujq5ed],
.user-identity-box[b-bamnujq5ed] {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    flex: 1;
}

.identity-icon-wrap[b-bamnujq5ed] {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hospital-icon[b-bamnujq5ed] {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-avatar-wrap[b-bamnujq5ed] {
    position: relative;
    flex-shrink: 0;
}

.user-avatar-circle[b-bamnujq5ed] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

.user-online-pulse[b-bamnujq5ed] {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background-color: #10b981;
    border: 2.5px solid #0f172a;
    border-radius: 50%;
}

.identity-details[b-bamnujq5ed] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.identity-sub-label[b-bamnujq5ed] {
    font-size: 0.68rem;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.hospital-title-text[b-bamnujq5ed] {
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.4px;
}

.user-name-text[b-bamnujq5ed] {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.identity-tags[b-bamnujq5ed] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.35rem;
    flex-wrap: wrap;
}

.badge-tag[b-bamnujq5ed] {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
}

.tenant-tag[b-bamnujq5ed] {
    background: rgba(37, 99, 235, 0.25);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.branch-tag[b-bamnujq5ed] {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.role-tag[b-bamnujq5ed] {
    background: rgba(168, 85, 247, 0.25);
    color: #c084fc;
    border: 1px solid rgba(192, 132, 252, 0.3);
}

.status-tag[b-bamnujq5ed] {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.text-emerald[b-bamnujq5ed] {
    color: #34d399 !important;
}

.identity-divider[b-bamnujq5ed] {
    width: 1px;
    height: 70px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
}

/* Hero Card Main Layout */
.welcome-hero-main[b-bamnujq5ed] {
    position: relative;
    z-index: 2;
}

/* ════════ PORTAL SECTION & GRID ════════ */
.portal-section-header[b-bamnujq5ed] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: 0.5rem;
}

.portal-title-wrap[b-bamnujq5ed] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem;
}

.portal-section-title[b-bamnujq5ed] {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.3px;
}

.portal-section-sub[b-bamnujq5ed] {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.portal-cards-grid[b-bamnujq5ed] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1100px) {
    .portal-cards-grid[b-bamnujq5ed] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .portal-cards-grid[b-bamnujq5ed] {
        grid-template-columns: 1fr;
    }
}

/* Portal Card Style */
.portal-card[b-bamnujq5ed] {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.35rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.portal-card:hover[b-bamnujq5ed] {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.08);
    border-color: #cbd5e1;
}

.portal-card-top[b-bamnujq5ed] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
}

.portal-icon-box[b-bamnujq5ed] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.portal-card:hover .portal-icon-box[b-bamnujq5ed] {
    transform: scale(1.08);
}

.portal-icon-box.op[b-bamnujq5ed] { background: #dbeafe; color: #2563eb; }
.portal-icon-box.ip[b-bamnujq5ed] { background: #e0e7ff; color: #4f46e5; }
.portal-icon-box.billing[b-bamnujq5ed] { background: #d1fae5; color: #059669; }
.portal-icon-box.lab[b-bamnujq5ed] { background: #fef3c7; color: #d97706; }
.portal-icon-box.pharmacy[b-bamnujq5ed] { background: #fae8ff; color: #a855f7; }
.portal-icon-box.admin[b-bamnujq5ed] { background: #f1f5f9; color: #475569; }

.portal-badge[b-bamnujq5ed] {
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.portal-badge.op[b-bamnujq5ed] { background: #eff6ff; color: #1d4ed8; }
.portal-badge.ip[b-bamnujq5ed] { background: #eef2ff; color: #3730a3; }
.portal-badge.billing[b-bamnujq5ed] { background: #ecfdf5; color: #047857; }
.portal-badge.lab[b-bamnujq5ed] { background: #fffbeb; color: #b45309; }
.portal-badge.pharmacy[b-bamnujq5ed] { background: #fdf4ff; color: #7e22ce; }
.portal-badge.admin[b-bamnujq5ed] { background: #f8fafc; color: #334155; }

.portal-card-title[b-bamnujq5ed] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.4rem 0;
}

.portal-card-desc[b-bamnujq5ed] {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 1.15rem 0;
    flex: 1;
    font-weight: 500;
}

.portal-actions-row[b-bamnujq5ed] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
}

.btn-portal-action[b-bamnujq5ed] {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-portal-action:hover[b-bamnujq5ed] {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    text-decoration: none;
}

/* ════════ DARK MODE OVERRIDES ════════ */
:host-context([data-theme="dark"]) .welcome-dashboard-container[b-bamnujq5ed],
[data-theme="dark"] .welcome-dashboard-container[b-bamnujq5ed] {
    background: #090d16 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .portal-section-title[b-bamnujq5ed],
[data-theme="dark"] .portal-section-title[b-bamnujq5ed] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .portal-section-sub[b-bamnujq5ed],
[data-theme="dark"] .portal-section-sub[b-bamnujq5ed] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .portal-card[b-bamnujq5ed],
[data-theme="dark"] .portal-card[b-bamnujq5ed] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}

:host-context([data-theme="dark"]) .portal-card:hover[b-bamnujq5ed],
[data-theme="dark"] .portal-card:hover[b-bamnujq5ed] {
    border-color: #2563eb !important;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.2) !important;
}

:host-context([data-theme="dark"]) .portal-card-title[b-bamnujq5ed],
[data-theme="dark"] .portal-card-title[b-bamnujq5ed] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .portal-card-desc[b-bamnujq5ed],
[data-theme="dark"] .portal-card-desc[b-bamnujq5ed] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .portal-actions-row[b-bamnujq5ed],
[data-theme="dark"] .portal-actions-row[b-bamnujq5ed] {
    border-top-color: #334155 !important;
}

:host-context([data-theme="dark"]) .btn-portal-action[b-bamnujq5ed],
[data-theme="dark"] .btn-portal-action[b-bamnujq5ed] {
    background: #0f172a !important;
    color: #cbd5e1 !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .btn-portal-action:hover[b-bamnujq5ed],
[data-theme="dark"] .btn-portal-action:hover[b-bamnujq5ed] {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}
/* /Components/Pages/IndentApproval.razor.rz.scp.css */
/* Scoped styles for Indent component */

.items-page[b-2oi1b2gip7] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-2oi1b2gip7] {
    max-width: 1320px;
    margin: 0 auto;
}

.items-content[b-2oi1b2gip7] {
    width: min(1240px, 100%);
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-2oi1b2gip7] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    border-radius: 16px !important;
    padding: 1.25rem 2rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem !important;
}

.header-card-left[b-2oi1b2gip7] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-card-icon[b-2oi1b2gip7] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
}

.header-card-icon svg[b-2oi1b2gip7] {
    stroke: #4f46e5 !important;
}

.header-card-text[b-2oi1b2gip7] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-2oi1b2gip7] {
    color: #312e81 !important;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.header-card-subheading[b-2oi1b2gip7] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-2oi1b2gip7] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-2oi1b2gip7] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.items-search-wrap[b-2oi1b2gip7] {
    position: relative;
    display: flex;
    align-items: center;
}

.items-search[b-2oi1b2gip7] {
    width: 220px;
    height: 38px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    padding-left: 2.4rem !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.items-search:focus[b-2oi1b2gip7] {
    outline: none !important;
    width: 280px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.items-search-icon[b-2oi1b2gip7] {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.view-toggle[b-2oi1b2gip7] {
    display: inline-flex;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #f8fafc !important;
    height: 38px;
    padding: 2px;
    align-items: center;
}

.view-toggle button[b-2oi1b2gip7] {
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    width: 36px;
    height: 32px;
    border-radius: 16px !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle button.active[b-2oi1b2gip7] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.add-item-btn[b-2oi1b2gip7] {
    height: 38px !important;
    border-radius: 20px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 1.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
}

.add-item-btn:hover[b-2oi1b2gip7] {
    background: #3f39c5 !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35) !important;
    transform: translateY(-1.5px);
}

.items-main-card[b-2oi1b2gip7] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-top: 1.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
}

.items-main-card .table-responsive[b-2oi1b2gip7] {
    max-height: 550px !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
}

.items-table[b-2oi1b2gip7] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

table.table.items-table thead tr th[b-2oi1b2gip7],
.items-table th[b-2oi1b2gip7] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: #ffffff !important;
    color: #8a99ad !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.8px !important;
    padding: 18px 24px !important;
    border-bottom: 2px solid #eef2f6 !important;
    text-align: left !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.items-table td[b-2oi1b2gip7] {
    border-top: none !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding: 18px 24px !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #64748b !important;
    vertical-align: middle !important;
}

.items-table td:last-child[b-2oi1b2gip7] {
    white-space: nowrap !important;
    text-align: center !important;
}

.items-table tr td:first-child[b-2oi1b2gip7] {
    color: #3b82f6 !important;
    font-weight: 700 !important;
}

.action-btn[b-2oi1b2gip7] {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.action-btn:hover[b-2oi1b2gip7] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.action-btn i[b-2oi1b2gip7] {
    font-size: 0.85rem !important;
}

.items-card-grid[b-2oi1b2gip7] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.item-card[b-2oi1b2gip7] {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.item-card:hover[b-2oi1b2gip7] {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.item-card-head[b-2oi1b2gip7] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    color: #1e293b !important;
    padding: 0.6rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.1) !important;
}

.card-item-code[b-2oi1b2gip7] {
    color: #4b5563 !important;
    font-weight: 700 !important;
    margin-right: 6px;
}

.card-item-name[b-2oi1b2gip7] {
    color: #374151 !important;
    font-weight: 700 !important;
}

.item-card-body[b-2oi1b2gip7] {
    padding: 0.75rem 1rem !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
}

.detail-row[b-2oi1b2gip7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.detail-row:last-child[b-2oi1b2gip7] {
    border-bottom: none !important;
}

.detail-row span[b-2oi1b2gip7] {
    color: #8a99ad !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.detail-row strong[b-2oi1b2gip7] {
    color: #000000 !important;
    font-weight: 600 !important;
}

.btn-cancel-modal[b-2oi1b2gip7] {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: none !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    min-width: 100px !important;
    transition: all 0.2s !important;
}

.btn-cancel-modal:hover[b-2oi1b2gip7] {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.purchase-bill-wrapper[b-2oi1b2gip7] {
    display: flex;
    gap: 2.25rem;
    flex-wrap: wrap;
}

.purchase-bill-fields[b-2oi1b2gip7] {
    flex: 1.5;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.purchase-bill-fields .premium-input[b-2oi1b2gip7] {
    padding: 0 10px !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
    height: 32px !important;
    line-height: 32px !important;
    background: #f9fafc !important;
    border: 1px solid #e5e7eb !important;
    color: #1f2937 !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
}

.purchase-bill-fields input[type="date"].premium-input[b-2oi1b2gip7],
.purchase-bill-fields input.premium-input[b-2oi1b2gip7] {
    padding: 0 10px !important;
    height: 32px !important;
    line-height: normal !important;
    background: #f9fafc !important;
    border: 1px solid #e5e7eb !important;
}

.purchase-bill-fields .field-group[b-2oi1b2gip7] {
    gap: 4px;
}

.purchase-bill-fields .field-label[b-2oi1b2gip7] {
    font-size: 0.68rem !important;
    margin-bottom: 4px !important;
    font-weight: 700 !important;
    color: #374151 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.purchase-bill-fields .form-grid[b-2oi1b2gip7] {
    gap: 12px;
}

.purchase-bill-summary[b-2oi1b2gip7] {
    flex: 0.85;
    min-width: 300px;
    max-width: 320px;
    display: flex;
    align-items: stretch;
}

.purchase-item-entry-card[b-2oi1b2gip7] {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0.7rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow-x: hidden;
    box-sizing: border-box;
}

.purchase-item-entry-header[b-2oi1b2gip7] {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(52px, 0.55fr) minmax(60px, 0.65fr) minmax(52px, 0.55fr) minmax(52px, 0.55fr) minmax(80px, 0.9fr) minmax(110px, 1fr);
    gap: 10px;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.purchase-item-entry-label[b-2oi1b2gip7] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.purchase-item-entry-label span[b-2oi1b2gip7] {
    color: #ef4444;
}

.purchase-item-entry-fields[b-2oi1b2gip7] {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(52px, 0.55fr) minmax(60px, 0.65fr) minmax(52px, 0.55fr) minmax(52px, 0.55fr) minmax(80px, 0.9fr) minmax(110px, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
}

.purchase-item-entry-fields>div[b-2oi1b2gip7],
.purchase-item-entry-header>div[b-2oi1b2gip7] {
    min-width: 0;
}

.purchase-item-input[b-2oi1b2gip7] {
    height: 28px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    font-size: 0.65rem;
    padding: 0 6px;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-input:focus[b-2oi1b2gip7] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    background: #f8fbff;
}

.purchase-item-select[b-2oi1b2gip7] {
    height: 28px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    font-size: 0.65rem;
    padding: 0 6px;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-select:focus[b-2oi1b2gip7] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    background: #f8fbff;
}

.purchase-item-add-btn[b-2oi1b2gip7] {
    background: #10b981;
    color: white;
    border: none;
    border-radius: 6px;
    height: 28px;
    font-weight: 700;
    font-size: 0.65rem;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-add-btn:hover[b-2oi1b2gip7] {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.purchase-item-add-btn:active[b-2oi1b2gip7] {
    transform: translateY(0);
}

.purchase-details-wrapper[b-2oi1b2gip7] {
    width: 100%;
    margin-bottom: 2rem;
}

.purchase-details-link[b-2oi1b2gip7] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f678f;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.purchase-details-link:hover[b-2oi1b2gip7] {
    color: #0ea5e9;
    gap: 8px;
}

.purchase-items-table-wrapper[b-2oi1b2gip7] {
    border: none !important;
    border-radius: 0;
    overflow: visible;
    background: white;
    margin-bottom: 0.5rem !important;
    box-shadow: none !important;
}

.purchase-items-table-wrapper table[b-2oi1b2gip7] {
    table-layout: fixed;
    width: 100%;
}

.purchase-items-table-wrapper .purchase-item-input[b-2oi1b2gip7],
.purchase-items-table-wrapper .purchase-item-select[b-2oi1b2gip7] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    height: 26px;
    font-size: 0.65rem;
    padding: 0 6px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    outline: none;
    transition: all 0.2s;
}

.purchase-items-table-wrapper .purchase-item-input:focus[b-2oi1b2gip7],
.purchase-items-table-wrapper .purchase-item-select:focus[b-2oi1b2gip7] {
    border-color: #0273b2;
    box-shadow: 0 0 0 2px rgba(2, 115, 178, 0.1);
    background: #f4f8fa;
}

.purchase-items-table-wrapper .purchase-item-select[b-2oi1b2gip7] {
    min-width: 130px;
}

.purchase-items-table-header[b-2oi1b2gip7] {
    background: #0273b2 !important;
    border-bottom: none;
}

.purchase-items-table-header th[b-2oi1b2gip7] {
    font-weight: 700;
    font-size: 0.72rem;
    color: #ffffff !important;
    padding: 12px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.purchase-add-row-wrapper[b-2oi1b2gip7] {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.purchase-add-row-btn[b-2oi1b2gip7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 2px dashed #0273b2 !important;
    border-radius: 10px !important;
    background: #f4f8fa !important;
    color: #0273b2 !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.45rem 1.25rem;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.22s ease-in-out;
    box-shadow: 0 2px 4px rgba(2, 115, 178, 0.05);
}

.purchase-add-row-btn:hover[b-2oi1b2gip7] {
    background: #e6f2fa !important;
    border-color: #015f94 !important;
    color: #015f94 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 115, 178, 0.12);
}

.purchase-add-row-btn i[b-2oi1b2gip7] {
    font-size: 0.95rem;
    color: #0273b2 !important;
    transition: color 0.22s ease-in-out;
}

.purchase-add-row-btn:hover i[b-2oi1b2gip7] {
    color: #015f94 !important;
}

.purchase-item-readonly[b-2oi1b2gip7] {
    display: block;
    width: 100%;
    height: 26px;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0 6px;
    line-height: 24px;
    font-size: 0.65rem;
    color: #475569;
    box-sizing: border-box;
    pointer-events: none;
    user-select: none;
    text-align: right;
}

.purchase-items-table-wrapper .purchase-item-input:disabled[b-2oi1b2gip7],
.purchase-items-table-wrapper .purchase-item-select:disabled[b-2oi1b2gip7] {
    pointer-events: none;
    cursor: default;
    background-color: white !important;
    color: #000000 !important;
    border-color: #d1d5db !important;
}

.btn-add-item-blue[b-2oi1b2gip7] {
    background: #0273b2;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(2, 115, 178, 0.3);
    transition: all 0.2s;
    white-space: nowrap;
    font-size: 0.82rem;
    height: 32px;
}

.btn-add-item-blue:hover[b-2oi1b2gip7] {
    background: #015c8f;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 115, 178, 0.4);
}

.btn-add-item-blue:active[b-2oi1b2gip7] {
    transform: translateY(0);
}

.bill-card-premium[b-2oi1b2gip7] {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 5px solid #3b82f6;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.04);
    transition: all 0.3s ease;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.25rem;
    padding: 0.4rem 0.65rem;
}

.bill-card-premium:hover[b-2oi1b2gip7] {
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.08);
    border-color: #93c5fd;
    border-left-color: #2563eb;
}

.bill-card-header-premium[b-2oi1b2gip7] {
    margin-bottom: 0.15rem;
    padding-bottom: 0.35rem;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #4f46e5;
    letter-spacing: 0.8px;
    border-bottom: 1px dashed #bfdbfe;
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-premium-gross[b-2oi1b2gip7] {
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #1e3a8a !important;
    color: #1e3a8a !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-gross:hover[b-2oi1b2gip7] {
    transform: translateY(-1.5px);
    background-color: #f1f5f9 !important;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.08);
}

.input-premium-gross:focus[b-2oi1b2gip7] {
    border-color: #2563eb !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
    outline: none;
}

.input-premium-discount[b-2oi1b2gip7] {
    background-color: #f0fdf4 !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #059669 !important;
    color: #065f46 !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-discount:hover[b-2oi1b2gip7] {
    transform: translateY(-1.5px);
    background-color: #ecfdf5 !important;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.08);
}

.input-premium-discount:focus[b-2oi1b2gip7] {
    border-color: #10b981 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18) !important;
    outline: none;
}

.input-premium-tax[b-2oi1b2gip7] {
    background-color: #fffbeb !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #d97706 !important;
    color: #92400e !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-tax:hover[b-2oi1b2gip7] {
    transform: translateY(-1.5px);
    background-color: #fef3c7 !important;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.08);
}

.input-premium-tax:focus[b-2oi1b2gip7] {
    border-color: #f59e0b !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18) !important;
    outline: none;
}

.net-payable-wrapper-premium[b-2oi1b2gip7] {
    margin-top: 0.2rem;
    padding-top: 0.5rem;
    border-top: 2px dashed rgba(99, 102, 241, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.net-payable-label-premium[b-2oi1b2gip7] {
    font-size: 0.74rem;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.net-payable-value-premium[b-2oi1b2gip7] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #4f46e5;
    text-shadow: 0 1px 2px rgba(79, 70, 229, 0.1);
}

@keyframes premium-pulse-blink-b-2oi1b2gip7 {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.65;
        transform: scale(0.97);
    }
}

.blink-payable-value[b-2oi1b2gip7] {
    animation: premium-pulse-blink-b-2oi1b2gip7 1.8s infinite ease-in-out;
    display: inline-block;
}

.btn-dotted-add[b-2oi1b2gip7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px dashed #0f678f !important;
    background: #fff !important;
    color: #0f678f !important;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 20px;
    padding: 8px 32px;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-dotted-add:hover[b-2oi1b2gip7] {
    background: rgba(15, 103, 143, 0.04) !important;
    border-color: #0d587a !important;
    color: #0d587a !important;
    transform: translateY(-1.5px);
}

.btn-dotted-add:active[b-2oi1b2gip7] {
    transform: translateY(0);
}

.purchase-bill-fields select.premium-input[b-2oi1b2gip7] {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    background-image: none !important;
    padding-right: 24px !important;
}

/* Vendor Master Specific Styles */
.items-main-card .table-responsive[b-2oi1b2gip7] {
    padding-right: 0 !important;
    overflow-x: auto !important;
}

.items-table[b-2oi1b2gip7] {
    width: 100% !important;
}

.items-table th[b-2oi1b2gip7] {
    background: #f8fafc !important;
    color: #1e293b !important;
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    padding: 12px 16px !important;
}

.items-table td[b-2oi1b2gip7] {
    white-space: normal !important;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem !important;
    padding: 3px 6px !important;
}

/* Premium Modal Styles for Vendor */
.modal-card[b-2oi1b2gip7] {
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    background: #fff;
}

.modal-header-bar[b-2oi1b2gip7] {
    background: #fff !important;
    color: #333 !important;
    padding: 24px 32px !important;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-left[b-2oi1b2gip7] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-badge[b-2oi1b2gip7] {
    background: var(--sidebar-bg);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.modal-title[b-2oi1b2gip7] {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.modal-subtitle[b-2oi1b2gip7] {
    font-size: 0.85rem;
    color: #64748b;
}

.btn-close-modal[b-2oi1b2gip7] {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-2oi1b2gip7] {
    background: #e2e8f0;
    color: #1e293b;
}

.modal-inner[b-2oi1b2gip7] {
    padding: 16px 32px !important;
    background: #fff;
}

.form-section-header[b-2oi1b2gip7] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    margin-top: 4px;
}

.form-section-icon[b-2oi1b2gip7] {
    background: var(--sidebar-bg);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.form-section-title[b-2oi1b2gip7] {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #025091;
}

.form-grid[b-2oi1b2gip7] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.col-prefix[b-2oi1b2gip7] {
    grid-column: span 3;
}

.col-main[b-2oi1b2gip7] {
    grid-column: span 9;
}

.col-2[b-2oi1b2gip7] {
    grid-column: span 2;
}

.col-3[b-2oi1b2gip7] {
    grid-column: span 3;
}

.col-4[b-2oi1b2gip7] {
    grid-column: span 4;
}

.col-5[b-2oi1b2gip7] {
    grid-column: span 5;
}

.col-6[b-2oi1b2gip7] {
    grid-column: span 6;
}

.col-7[b-2oi1b2gip7] {
    grid-column: span 7;
}

.col-8[b-2oi1b2gip7] {
    grid-column: span 8;
}

.col-9[b-2oi1b2gip7] {
    grid-column: span 9;
}

.col-10[b-2oi1b2gip7] {
    grid-column: span 10;
}

.col-11[b-2oi1b2gip7] {
    grid-column: span 11;
}

.col-12[b-2oi1b2gip7] {
    grid-column: span 12;
}

.field-group[b-2oi1b2gip7] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label[b-2oi1b2gip7] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.field-label.required[b-2oi1b2gip7]::after {
    content: " *";
    color: #ef4444;
}

.premium-input[b-2oi1b2gip7] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    font-size: 0.85rem !important;
    color: #4b5563 !important;
    transition: all 0.2s !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    box-sizing: border-box !important;
    line-height: normal !important;
}

select.premium-input[b-2oi1b2gip7],
input.premium-input[b-2oi1b2gip7],
input[type="date"].premium-input[b-2oi1b2gip7],
input[type="text"].premium-input[b-2oi1b2gip7] {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    box-sizing: border-box !important;
    padding: 6px 12px !important;
    font-size: 0.85rem !important;
}

.premium-input[b-2oi1b2gip7]::placeholder {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

.premium-input:focus[b-2oi1b2gip7] {
    background: #fff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

.modal-footer-actions[b-2oi1b2gip7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.btn-delete-text[b-2oi1b2gip7] {
    color: #ef4444;
    background: none;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-delete-text:hover[b-2oi1b2gip7] {
    background: #fef2f2;
}

.btn-save-premium[b-2oi1b2gip7] {
    background: #1c9f5f;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(28, 159, 95, 0.3);
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-save-premium:hover[b-2oi1b2gip7] {
    background: #168a52;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(28, 159, 95, 0.4);
}

.btn-save-premium:active[b-2oi1b2gip7] {
    transform: translateY(0);
}

.btn-save-premium:disabled[b-2oi1b2gip7] {
    opacity: 0.6;
    cursor: not-allowed;
}


/* Financial Summary Card Styles */
.financial-summary-card[b-2oi1b2gip7] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    padding: 1.5rem;
    font-family: 'Inter', 'Outfit', sans-serif;
}

.financial-summary-header[b-2oi1b2gip7] {
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.financial-summary-row[b-2oi1b2gip7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.financial-summary-label[b-2oi1b2gip7] {
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.financial-summary-value[b-2oi1b2gip7] {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

.financial-summary-input[b-2oi1b2gip7] {
    width: 80px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #334155;
    outline: none;
    transition: all 0.2s;
    background: #ffffff;
}

.financial-summary-input:focus[b-2oi1b2gip7] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.financial-summary-net[b-2oi1b2gip7] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.financial-summary-net-label[b-2oi1b2gip7] {
    color: #0f172a;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.financial-summary-net-value[b-2oi1b2gip7] {
    color: #4f46e5;
    font-weight: 800;
    font-size: 1.4rem;
}

/* Purchase Entry Master Compact Summary Card */
.compact-summary-card[b-2oi1b2gip7] {
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    border: 1.5px solid rgba(99, 102, 241, 0.15);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.compact-summary-card[b-2oi1b2gip7]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1, #06b6d4);
    border-radius: 14px 0 0 14px;
}

.compact-summary-card:hover[b-2oi1b2gip7] {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.18);
}

/* Physical Bill Totals - Blue-indigo gradient */
.compact-summary-card.bill-card[b-2oi1b2gip7] {
    background: linear-gradient(135deg, #eef2ff 0%, #f0fdff 100%);
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.08);
}

.compact-summary-card.bill-card[b-2oi1b2gip7]::before {
    background: linear-gradient(180deg, #6366f1, #06b6d4);
}

/* Computed Items Total - Teal-green gradient */
.compact-summary-card.items-card[b-2oi1b2gip7] {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.08);
}

.compact-summary-card.items-card[b-2oi1b2gip7]::before {
    background: linear-gradient(180deg, #10b981, #06b6d4);
}

.compact-summary-card.items-card:hover[b-2oi1b2gip7] {
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.18);
}

.compact-summary-header[b-2oi1b2gip7] {
    font-size: 0.72rem;
    font-weight: 800;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(99, 102, 241, 0.25);
    padding-left: 8px;
}

.compact-summary-card.items-card .compact-summary-header[b-2oi1b2gip7] {
    color: #10b981;
    border-bottom-color: rgba(16, 185, 129, 0.25);
}

.compact-summary-row[b-2oi1b2gip7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-left: 8px;
}

.compact-summary-label[b-2oi1b2gip7] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.compact-summary-value[b-2oi1b2gip7] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}

.compact-summary-input[b-2oi1b2gip7] {
    width: 110px;
    height: 30px;
    border-radius: 8px;
    border: 1.5px solid rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.8);
    text-align: right;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0 10px;
    color: #1e293b;
}

.compact-summary-input:focus[b-2oi1b2gip7] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    background: #fff;
}

.compact-summary-net[b-2oi1b2gip7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    padding-left: 8px;
    border-top: 1.5px solid rgba(99, 102, 241, 0.2);
}

.compact-summary-card.items-card .compact-summary-net[b-2oi1b2gip7] {
    border-top-color: rgba(16, 185, 129, 0.2);
}

.compact-summary-net-label[b-2oi1b2gip7] {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compact-summary-net-value[b-2oi1b2gip7] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #6366f1;
    letter-spacing: -0.5px;
}

.compact-summary-card.items-card .compact-summary-net-value[b-2oi1b2gip7] {
    color: #10b981;
}

/* Stock Indent Status Badges (Text Only - No Box) */
.badge-indent-pending[b-2oi1b2gip7],
.detail-row strong.badge-indent-pending[b-2oi1b2gip7] {
    background: transparent !important;
    color: #d97706 !important;
    border: none !important;
    padding: 0 !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-indent-approved[b-2oi1b2gip7],
.detail-row strong.badge-indent-approved[b-2oi1b2gip7] {
    background: transparent !important;
    color: #059669 !important;
    border: none !important;
    padding: 0 !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-indent-rejected[b-2oi1b2gip7],
.detail-row strong.badge-indent-rejected[b-2oi1b2gip7] {
    background: transparent !important;
    color: #dc2626 !important;
    border: none !important;
    padding: 0 !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

/* Stock volume indicators */
.badge-stock-high[b-2oi1b2gip7] {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-stock-low[b-2oi1b2gip7] {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #d97706 !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-stock-empty[b-2oi1b2gip7] {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

/* OVERRIDE FOR HIGH-DENSITY PURCHASE BILL FORM (e.g. ItemMaster Modal) */
.purchase-bill-fields .premium-segmented-control-joined[b-2oi1b2gip7] {
    height: 32px !important;
    border-radius: 6px !important;
    max-width: none !important;
}

.purchase-bill-fields .segment-btn-joined[b-2oi1b2gip7] {
    font-size: 0.8rem !important;
}

.purchase-bill-fields .segment-btn-joined:first-child[b-2oi1b2gip7] {
    border-right: 1px solid #e2e8f0 !important;
}

/* Tabular Grid/Real Table styling for purchase details table */
.purchase-items-table-wrapper table[b-2oi1b2gip7] {
    border-collapse: collapse !important;
    border: 1px solid #cbd5e1 !important;
    width: 100%;
}

.purchase-items-table-wrapper th[b-2oi1b2gip7],
.purchase-items-table-wrapper td[b-2oi1b2gip7] {
    border: 1px solid #cbd5e1 !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

.purchase-items-table-header th[b-2oi1b2gip7] {
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 10px 8px !important;
    font-weight: 700;
    font-size: 0.72rem;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #0273b2 !important;
}

.purchase-items-table-wrapper .purchase-item-input[b-2oi1b2gip7],
.purchase-items-table-wrapper .purchase-item-select[b-2oi1b2gip7] {
    width: 100% !important;
    height: 34px !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.purchase-items-table-wrapper .purchase-item-input:focus[b-2oi1b2gip7],
.purchase-items-table-wrapper .purchase-item-select:focus[b-2oi1b2gip7] {
    background: #f4f8fa !important;
    box-shadow: inset 0 0 0 2px rgba(2, 115, 178, 0.2) !important;
}

.purchase-items-table-wrapper .purchase-item-readonly[b-2oi1b2gip7] {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    width: 100% !important;
    height: 34px !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background-color: #f8fafc !important;
    font-weight: 600;
}

.purchase-items-table-wrapper td.purchase-items-table-footer-cell[b-2oi1b2gip7] {
    padding: 16px 24px !important;
}

.btn-approve-action[b-2oi1b2gip7] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 5px 13px !important;
    height: 30px !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.28) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
}

.btn-approve-action:hover[b-2oi1b2gip7] {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.45) !important;
    background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
    color: #ffffff !important;
}

.btn-approve-action:active[b-2oi1b2gip7] {
    transform: translateY(1px) !important;
    box-shadow: 0 1px 3px rgba(5, 150, 105, 0.2) !important;
}

.btn-approve-action i[b-2oi1b2gip7] {
    font-size: 0.85rem !important;
}
.modal-overlay[b-2oi1b2gip7] {
    position: fixed;
    inset: 0;
    background: rgba(8, 25, 40, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1050;
    overflow-y: auto;
    animation: modalFadeIn-b-2oi1b2gip7 0.3s ease-out forwards;
}

.modal-card[b-2oi1b2gip7] {
    width: min(1100px, 96%);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(3, 26, 46, 0.28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 3rem);
    animation: modalScaleIn-b-2oi1b2gip7 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-header-bar[b-2oi1b2gip7] {
    background: linear-gradient(90deg, #0f678f 0%, #0b5777 100%);
    color: #fff;
    padding: 1.05rem 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.modal-header-left[b-2oi1b2gip7] {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.modal-badge[b-2oi1b2gip7] {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .12);
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
}

.modal-title[b-2oi1b2gip7] {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
}

.modal-subtitle[b-2oi1b2gip7] {
    font-size: .92rem;
    color: rgba(255, 255, 255, .88);
    margin-top: .15rem;
}

.modal-inner[b-2oi1b2gip7] {
    padding: 0.5rem 1rem 0.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    overflow-y: auto;
    flex: 1;
}

.modal-form-wrap[b-2oi1b2gip7] {
    max-width: 100%;
    margin: 0 auto;
}

.modal-section[b-2oi1b2gip7] {
    background: #fff;
    border: 1px solid #dce9f4;
    border-radius: 12px;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.modal-row[b-2oi1b2gip7] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.modal-row.full-width[b-2oi1b2gip7] {
    grid-column: span 2;
}

.modal-label[b-2oi1b2gip7] {
    padding-top: 0;
    font-size: .72rem;
    font-weight: 700;
    color: #0b5777;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.modal-field[b-2oi1b2gip7] {
    width: 100%;
}

.modal-input[b-2oi1b2gip7],
.modal-select[b-2oi1b2gip7],
.modal-textarea[b-2oi1b2gip7] {
    border: 1px solid #e6eef8;
    border-radius: 8px;
    background: #fbfdff;
    min-height: 32px;
    padding: .4rem .6rem;
    width: 100%;
    max-width: 250px;
    font-size: .85rem;
}

.modal-textarea[b-2oi1b2gip7] {
    max-width: 100%;
    min-height: 64px;
    resize: vertical;
}

.modal-actions[b-2oi1b2gip7] {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.2rem;
}

.modal-action-btn[b-2oi1b2gip7] {
    min-width: 130px;
    padding: .65rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
}

/* Popup Styles */
.action-popup-overlay[b-2oi1b2gip7] {
    position: fixed;
    inset: 0;
    background: rgba(8, 25, 40, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1200;
    animation: modalFadeIn-b-2oi1b2gip7 0.25s ease-out forwards;
}

.action-popup-card[b-2oi1b2gip7] {
    width: min(420px, 96%);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #cfe4f2;
    box-shadow: 0 16px 36px rgba(3, 26, 46, 0.28);
    animation: modalScaleIn-b-2oi1b2gip7 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalFadeIn-b-2oi1b2gip7 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalScaleIn-b-2oi1b2gip7 {
    from {
        transform: scale(0.95) translateY(12px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.action-popup-header[b-2oi1b2gip7] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%);
    color: #312e81;
    padding: .9rem 1.2rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    font-family: 'Inter', 'Roboto', 'Segoe UI', sans-serif;
}

.pagination-bar[b-2oi1b2gip7] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-right: 1.5rem !important;
}

.page-btn[b-2oi1b2gip7] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #4b5563;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.page-btn:hover:not(:disabled)[b-2oi1b2gip7] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.page-btn.active[b-2oi1b2gip7] {
    background: #02659e !important;
    color: #ffffff !important;
    border-color: #02659e !important;
}

/* /Components/Pages/IndentRequest.razor.rz.scp.css */
/* Scoped styles for Indent component */

.items-page[b-j7p7einhcp] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-j7p7einhcp] {
    max-width: 1320px;
    margin: 0 auto;
}

.items-content[b-j7p7einhcp] {
    width: min(1240px, 100%);
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-j7p7einhcp] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    border-radius: 16px !important;
    padding: 1.25rem 2rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem !important;
}

.header-card-left[b-j7p7einhcp] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-card-icon[b-j7p7einhcp] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
}

.header-card-icon svg[b-j7p7einhcp] {
    stroke: #4f46e5 !important;
}

.header-card-text[b-j7p7einhcp] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-j7p7einhcp] {
    color: #312e81 !important;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.header-card-subheading[b-j7p7einhcp] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-j7p7einhcp] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-j7p7einhcp] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.items-search-wrap[b-j7p7einhcp] {
    position: relative;
    display: flex;
    align-items: center;
}

.items-search[b-j7p7einhcp] {
    width: 220px;
    height: 38px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    padding-left: 2.4rem !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.items-search:focus[b-j7p7einhcp] {
    outline: none !important;
    width: 280px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.items-search-icon[b-j7p7einhcp] {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.view-toggle[b-j7p7einhcp] {
    display: inline-flex;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #f8fafc !important;
    height: 38px;
    padding: 2px;
    align-items: center;
}

.view-toggle button[b-j7p7einhcp] {
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    width: 36px;
    height: 32px;
    border-radius: 16px !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle button.active[b-j7p7einhcp] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.add-item-btn[b-j7p7einhcp] {
    height: 38px !important;
    border-radius: 20px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 1.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
}

.add-item-btn:hover[b-j7p7einhcp] {
    background: #3f39c5 !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35) !important;
    transform: translateY(-1.5px);
}

.items-main-card[b-j7p7einhcp] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-top: 1.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
}

.items-main-card .table-responsive[b-j7p7einhcp] {
    max-height: 550px !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
}

.items-table[b-j7p7einhcp] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

table.table.items-table thead tr th[b-j7p7einhcp],
.items-table th[b-j7p7einhcp] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: #ffffff !important;
    color: #8a99ad !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.8px !important;
    padding: 18px 24px !important;
    border-bottom: 2px solid #eef2f6 !important;
    text-align: left !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.items-table td[b-j7p7einhcp] {
    border-top: none !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding: 18px 24px !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #64748b !important;
    vertical-align: middle !important;
}

.items-table td:last-child[b-j7p7einhcp] {
    white-space: nowrap !important;
    text-align: center !important;
}

.items-table tr td:first-child[b-j7p7einhcp] {
    color: #3b82f6 !important;
    font-weight: 700 !important;
}

.action-btn[b-j7p7einhcp] {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.action-btn:hover[b-j7p7einhcp] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.action-btn i[b-j7p7einhcp] {
    font-size: 0.85rem !important;
}

.items-card-grid[b-j7p7einhcp] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.item-card[b-j7p7einhcp] {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.item-card:hover[b-j7p7einhcp] {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.item-card-head[b-j7p7einhcp] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    color: #1e293b !important;
    padding: 0.6rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.1) !important;
}

.card-item-code[b-j7p7einhcp] {
    color: #4b5563 !important;
    font-weight: 700 !important;
    margin-right: 6px;
}

.card-item-name[b-j7p7einhcp] {
    color: #374151 !important;
    font-weight: 700 !important;
}

.item-card-body[b-j7p7einhcp] {
    padding: 0.75rem 1rem !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
}

.detail-row[b-j7p7einhcp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.detail-row:last-child[b-j7p7einhcp] {
    border-bottom: none !important;
}

.detail-row span[b-j7p7einhcp] {
    color: #8a99ad !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.detail-row strong[b-j7p7einhcp] {
    color: #000000 !important;
    font-weight: 600 !important;
}

.btn-cancel-modal[b-j7p7einhcp] {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: none !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    min-width: 100px !important;
    transition: all 0.2s !important;
}

.btn-cancel-modal:hover[b-j7p7einhcp] {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.purchase-bill-wrapper[b-j7p7einhcp] {
    display: flex;
    gap: 2.25rem;
    flex-wrap: wrap;
}

.purchase-bill-fields[b-j7p7einhcp] {
    flex: 1.5;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.purchase-bill-fields .premium-input[b-j7p7einhcp] {
    padding: 0 10px !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
    height: 32px !important;
    line-height: 32px !important;
    background: #f9fafc !important;
    border: 1px solid #e5e7eb !important;
    color: #1f2937 !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
}

.purchase-bill-fields input[type="date"].premium-input[b-j7p7einhcp],
.purchase-bill-fields input.premium-input[b-j7p7einhcp] {
    padding: 0 10px !important;
    height: 32px !important;
    line-height: normal !important;
    background: #f9fafc !important;
    border: 1px solid #e5e7eb !important;
}

.purchase-bill-fields .field-group[b-j7p7einhcp] {
    gap: 4px;
}

.purchase-bill-fields .field-label[b-j7p7einhcp] {
    font-size: 0.68rem !important;
    margin-bottom: 4px !important;
    font-weight: 700 !important;
    color: #374151 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.purchase-bill-fields .form-grid[b-j7p7einhcp] {
    gap: 12px;
}

.purchase-bill-summary[b-j7p7einhcp] {
    flex: 0.85;
    min-width: 300px;
    max-width: 320px;
    display: flex;
    align-items: stretch;
}

.purchase-item-entry-card[b-j7p7einhcp] {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0.7rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow-x: hidden;
    box-sizing: border-box;
}

.purchase-item-entry-header[b-j7p7einhcp] {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(52px, 0.55fr) minmax(60px, 0.65fr) minmax(52px, 0.55fr) minmax(52px, 0.55fr) minmax(80px, 0.9fr) minmax(110px, 1fr);
    gap: 10px;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.purchase-item-entry-label[b-j7p7einhcp] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.purchase-item-entry-label span[b-j7p7einhcp] {
    color: #ef4444;
}

.purchase-item-entry-fields[b-j7p7einhcp] {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(52px, 0.55fr) minmax(60px, 0.65fr) minmax(52px, 0.55fr) minmax(52px, 0.55fr) minmax(80px, 0.9fr) minmax(110px, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
}

.purchase-item-entry-fields>div[b-j7p7einhcp],
.purchase-item-entry-header>div[b-j7p7einhcp] {
    min-width: 0;
}

.purchase-item-input[b-j7p7einhcp] {
    height: 28px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    font-size: 0.65rem;
    padding: 0 6px;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-input:focus[b-j7p7einhcp] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    background: #f8fbff;
}

.purchase-item-select[b-j7p7einhcp] {
    height: 28px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    font-size: 0.65rem;
    padding: 0 6px;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-select:focus[b-j7p7einhcp] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    background: #f8fbff;
}

.purchase-item-add-btn[b-j7p7einhcp] {
    background: #10b981;
    color: white;
    border: none;
    border-radius: 6px;
    height: 28px;
    font-weight: 700;
    font-size: 0.65rem;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-add-btn:hover[b-j7p7einhcp] {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.purchase-item-add-btn:active[b-j7p7einhcp] {
    transform: translateY(0);
}

.purchase-details-wrapper[b-j7p7einhcp] {
    width: 100%;
    margin-bottom: 2rem;
}

.purchase-details-link[b-j7p7einhcp] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f678f;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.purchase-details-link:hover[b-j7p7einhcp] {
    color: #0ea5e9;
    gap: 8px;
}

.purchase-items-table-wrapper[b-j7p7einhcp] {
    border: none !important;
    border-radius: 0;
    overflow: visible;
    background: white;
    margin-bottom: 0.5rem !important;
    box-shadow: none !important;
}

.purchase-items-table-wrapper table[b-j7p7einhcp] {
    table-layout: fixed;
    width: 100%;
}

.purchase-items-table-wrapper .purchase-item-input[b-j7p7einhcp],
.purchase-items-table-wrapper .purchase-item-select[b-j7p7einhcp] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    height: 26px;
    font-size: 0.65rem;
    padding: 0 6px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    outline: none;
    transition: all 0.2s;
}

.purchase-items-table-wrapper .purchase-item-input:focus[b-j7p7einhcp],
.purchase-items-table-wrapper .purchase-item-select:focus[b-j7p7einhcp] {
    border-color: #0273b2;
    box-shadow: 0 0 0 2px rgba(2, 115, 178, 0.1);
    background: #f4f8fa;
}

.purchase-items-table-wrapper .purchase-item-select[b-j7p7einhcp] {
    min-width: 130px;
}

.purchase-items-table-header[b-j7p7einhcp] {
    background: #0273b2 !important;
    border-bottom: none;
}

.purchase-items-table-header th[b-j7p7einhcp] {
    font-weight: 700;
    font-size: 0.72rem;
    color: #ffffff !important;
    padding: 12px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.purchase-add-row-wrapper[b-j7p7einhcp] {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.purchase-add-row-btn[b-j7p7einhcp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 2px dashed #0273b2 !important;
    border-radius: 10px !important;
    background: #f4f8fa !important;
    color: #0273b2 !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.45rem 1.25rem;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.22s ease-in-out;
    box-shadow: 0 2px 4px rgba(2, 115, 178, 0.05);
}

.purchase-add-row-btn:hover[b-j7p7einhcp] {
    background: #e6f2fa !important;
    border-color: #015f94 !important;
    color: #015f94 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 115, 178, 0.12);
}

.purchase-add-row-btn i[b-j7p7einhcp] {
    font-size: 0.95rem;
    color: #0273b2 !important;
    transition: color 0.22s ease-in-out;
}

.purchase-add-row-btn:hover i[b-j7p7einhcp] {
    color: #015f94 !important;
}

.purchase-item-readonly[b-j7p7einhcp] {
    display: block;
    width: 100%;
    height: 26px;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0 6px;
    line-height: 24px;
    font-size: 0.65rem;
    color: #475569;
    box-sizing: border-box;
    pointer-events: none;
    user-select: none;
    text-align: right;
}

.purchase-items-table-wrapper .purchase-item-input:disabled[b-j7p7einhcp],
.purchase-items-table-wrapper .purchase-item-select:disabled[b-j7p7einhcp] {
    pointer-events: none;
    cursor: default;
    background-color: white !important;
    color: #000000 !important;
    border-color: #d1d5db !important;
}

.btn-add-item-blue[b-j7p7einhcp] {
    background: #0273b2;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(2, 115, 178, 0.3);
    transition: all 0.2s;
    white-space: nowrap;
    font-size: 0.82rem;
    height: 32px;
}

.btn-add-item-blue:hover[b-j7p7einhcp] {
    background: #015c8f;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 115, 178, 0.4);
}

.btn-add-item-blue:active[b-j7p7einhcp] {
    transform: translateY(0);
}

.bill-card-premium[b-j7p7einhcp] {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 5px solid #3b82f6;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.04);
    transition: all 0.3s ease;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.25rem;
    padding: 0.4rem 0.65rem;
}

.bill-card-premium:hover[b-j7p7einhcp] {
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.08);
    border-color: #93c5fd;
    border-left-color: #2563eb;
}

.bill-card-header-premium[b-j7p7einhcp] {
    margin-bottom: 0.15rem;
    padding-bottom: 0.35rem;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #4f46e5;
    letter-spacing: 0.8px;
    border-bottom: 1px dashed #bfdbfe;
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-premium-gross[b-j7p7einhcp] {
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #1e3a8a !important;
    color: #1e3a8a !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-gross:hover[b-j7p7einhcp] {
    transform: translateY(-1.5px);
    background-color: #f1f5f9 !important;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.08);
}

.input-premium-gross:focus[b-j7p7einhcp] {
    border-color: #2563eb !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
    outline: none;
}

.input-premium-discount[b-j7p7einhcp] {
    background-color: #f0fdf4 !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #059669 !important;
    color: #065f46 !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-discount:hover[b-j7p7einhcp] {
    transform: translateY(-1.5px);
    background-color: #ecfdf5 !important;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.08);
}

.input-premium-discount:focus[b-j7p7einhcp] {
    border-color: #10b981 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18) !important;
    outline: none;
}

.input-premium-tax[b-j7p7einhcp] {
    background-color: #fffbeb !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #d97706 !important;
    color: #92400e !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-tax:hover[b-j7p7einhcp] {
    transform: translateY(-1.5px);
    background-color: #fef3c7 !important;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.08);
}

.input-premium-tax:focus[b-j7p7einhcp] {
    border-color: #f59e0b !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18) !important;
    outline: none;
}

.net-payable-wrapper-premium[b-j7p7einhcp] {
    margin-top: 0.2rem;
    padding-top: 0.5rem;
    border-top: 2px dashed rgba(99, 102, 241, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.net-payable-label-premium[b-j7p7einhcp] {
    font-size: 0.74rem;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.net-payable-value-premium[b-j7p7einhcp] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #4f46e5;
    text-shadow: 0 1px 2px rgba(79, 70, 229, 0.1);
}

@keyframes premium-pulse-blink-b-j7p7einhcp {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.65;
        transform: scale(0.97);
    }
}

.blink-payable-value[b-j7p7einhcp] {
    animation: premium-pulse-blink-b-j7p7einhcp 1.8s infinite ease-in-out;
    display: inline-block;
}

.btn-dotted-add[b-j7p7einhcp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px dashed #0f678f !important;
    background: #fff !important;
    color: #0f678f !important;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 20px;
    padding: 8px 32px;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-dotted-add:hover[b-j7p7einhcp] {
    background: rgba(15, 103, 143, 0.04) !important;
    border-color: #0d587a !important;
    color: #0d587a !important;
    transform: translateY(-1.5px);
}

.btn-dotted-add:active[b-j7p7einhcp] {
    transform: translateY(0);
}

.purchase-bill-fields select.premium-input[b-j7p7einhcp] {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    background-image: none !important;
    padding-right: 24px !important;
}

/* Vendor Master Specific Styles */
.items-main-card .table-responsive[b-j7p7einhcp] {
    padding-right: 0 !important;
    overflow-x: auto !important;
}

.items-table[b-j7p7einhcp] {
    width: 100% !important;
}

.items-table th[b-j7p7einhcp] {
    background: #f8fafc !important;
    color: #1e293b !important;
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    padding: 12px 16px !important;
}

.items-table td[b-j7p7einhcp] {
    white-space: normal !important;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem !important;
    padding: 3px 6px !important;
}

/* Premium Modal Styles for Vendor */
.modal-card[b-j7p7einhcp] {
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    background: #fff;
}

.modal-header-bar[b-j7p7einhcp] {
    background: #fff !important;
    color: #333 !important;
    padding: 24px 32px !important;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-left[b-j7p7einhcp] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-badge[b-j7p7einhcp] {
    background: var(--sidebar-bg);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.modal-title[b-j7p7einhcp] {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.modal-subtitle[b-j7p7einhcp] {
    font-size: 0.85rem;
    color: #64748b;
}

.btn-close-modal[b-j7p7einhcp] {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-j7p7einhcp] {
    background: #e2e8f0;
    color: #1e293b;
}

.modal-inner[b-j7p7einhcp] {
    padding: 16px 32px !important;
    background: #fff;
}

.form-section-header[b-j7p7einhcp] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    margin-top: 4px;
}

.form-section-icon[b-j7p7einhcp] {
    background: var(--sidebar-bg);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.form-section-title[b-j7p7einhcp] {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #025091;
}

.form-grid[b-j7p7einhcp] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.col-prefix[b-j7p7einhcp] {
    grid-column: span 3;
}

.col-main[b-j7p7einhcp] {
    grid-column: span 9;
}

.col-2[b-j7p7einhcp] {
    grid-column: span 2;
}

.col-3[b-j7p7einhcp] {
    grid-column: span 3;
}

.col-4[b-j7p7einhcp] {
    grid-column: span 4;
}

.col-5[b-j7p7einhcp] {
    grid-column: span 5;
}

.col-6[b-j7p7einhcp] {
    grid-column: span 6;
}

.col-7[b-j7p7einhcp] {
    grid-column: span 7;
}

.col-8[b-j7p7einhcp] {
    grid-column: span 8;
}

.col-9[b-j7p7einhcp] {
    grid-column: span 9;
}

.col-10[b-j7p7einhcp] {
    grid-column: span 10;
}

.col-11[b-j7p7einhcp] {
    grid-column: span 11;
}

.col-12[b-j7p7einhcp] {
    grid-column: span 12;
}

.field-group[b-j7p7einhcp] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label[b-j7p7einhcp] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.field-label.required[b-j7p7einhcp]::after {
    content: " *";
    color: #ef4444;
}

.premium-input[b-j7p7einhcp] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    font-size: 0.85rem !important;
    color: #4b5563 !important;
    transition: all 0.2s !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    box-sizing: border-box !important;
    line-height: normal !important;
}

select.premium-input[b-j7p7einhcp],
input.premium-input[b-j7p7einhcp],
input[type="date"].premium-input[b-j7p7einhcp],
input[type="text"].premium-input[b-j7p7einhcp] {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    box-sizing: border-box !important;
    padding: 6px 12px !important;
    font-size: 0.85rem !important;
}

.premium-input[b-j7p7einhcp]::placeholder {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

.premium-input:focus[b-j7p7einhcp] {
    background: #fff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

.modal-footer-actions[b-j7p7einhcp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.btn-delete-text[b-j7p7einhcp] {
    color: #ef4444;
    background: none;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-delete-text:hover[b-j7p7einhcp] {
    background: #fef2f2;
}

.btn-save-premium[b-j7p7einhcp] {
    background: #1c9f5f;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(28, 159, 95, 0.3);
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-save-premium:hover[b-j7p7einhcp] {
    background: #168a52;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(28, 159, 95, 0.4);
}

.btn-save-premium:active[b-j7p7einhcp] {
    transform: translateY(0);
}

.btn-save-premium:disabled[b-j7p7einhcp] {
    opacity: 0.6;
    cursor: not-allowed;
}


/* Financial Summary Card Styles */
.financial-summary-card[b-j7p7einhcp] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    padding: 1.5rem;
    font-family: 'Inter', 'Outfit', sans-serif;
}

.financial-summary-header[b-j7p7einhcp] {
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.financial-summary-row[b-j7p7einhcp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.financial-summary-label[b-j7p7einhcp] {
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.financial-summary-value[b-j7p7einhcp] {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

.financial-summary-input[b-j7p7einhcp] {
    width: 80px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #334155;
    outline: none;
    transition: all 0.2s;
    background: #ffffff;
}

.financial-summary-input:focus[b-j7p7einhcp] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.financial-summary-net[b-j7p7einhcp] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.financial-summary-net-label[b-j7p7einhcp] {
    color: #0f172a;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.financial-summary-net-value[b-j7p7einhcp] {
    color: #4f46e5;
    font-weight: 800;
    font-size: 1.4rem;
}

/* Purchase Entry Master Compact Summary Card */
.compact-summary-card[b-j7p7einhcp] {
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    border: 1.5px solid rgba(99, 102, 241, 0.15);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.compact-summary-card[b-j7p7einhcp]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1, #06b6d4);
    border-radius: 14px 0 0 14px;
}

.compact-summary-card:hover[b-j7p7einhcp] {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.18);
}

/* Physical Bill Totals - Blue-indigo gradient */
.compact-summary-card.bill-card[b-j7p7einhcp] {
    background: linear-gradient(135deg, #eef2ff 0%, #f0fdff 100%);
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.08);
}

.compact-summary-card.bill-card[b-j7p7einhcp]::before {
    background: linear-gradient(180deg, #6366f1, #06b6d4);
}

/* Computed Items Total - Teal-green gradient */
.compact-summary-card.items-card[b-j7p7einhcp] {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.08);
}

.compact-summary-card.items-card[b-j7p7einhcp]::before {
    background: linear-gradient(180deg, #10b981, #06b6d4);
}

.compact-summary-card.items-card:hover[b-j7p7einhcp] {
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.18);
}

.compact-summary-header[b-j7p7einhcp] {
    font-size: 0.72rem;
    font-weight: 800;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(99, 102, 241, 0.25);
    padding-left: 8px;
}

.compact-summary-card.items-card .compact-summary-header[b-j7p7einhcp] {
    color: #10b981;
    border-bottom-color: rgba(16, 185, 129, 0.25);
}

.compact-summary-row[b-j7p7einhcp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-left: 8px;
}

.compact-summary-label[b-j7p7einhcp] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.compact-summary-value[b-j7p7einhcp] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}

.compact-summary-input[b-j7p7einhcp] {
    width: 110px;
    height: 30px;
    border-radius: 8px;
    border: 1.5px solid rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.8);
    text-align: right;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0 10px;
    color: #1e293b;
}

.compact-summary-input:focus[b-j7p7einhcp] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    background: #fff;
}

.compact-summary-net[b-j7p7einhcp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    padding-left: 8px;
    border-top: 1.5px solid rgba(99, 102, 241, 0.2);
}

.compact-summary-card.items-card .compact-summary-net[b-j7p7einhcp] {
    border-top-color: rgba(16, 185, 129, 0.2);
}

.compact-summary-net-label[b-j7p7einhcp] {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compact-summary-net-value[b-j7p7einhcp] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #6366f1;
    letter-spacing: -0.5px;
}

.compact-summary-card.items-card .compact-summary-net-value[b-j7p7einhcp] {
    color: #10b981;
}

/* Stock Indent Status Badges (Text Only - No Box) */
.badge-indent-pending[b-j7p7einhcp],
.detail-row strong.badge-indent-pending[b-j7p7einhcp] {
    background: transparent !important;
    color: #d97706 !important;
    border: none !important;
    padding: 0 !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-indent-approved[b-j7p7einhcp],
.detail-row strong.badge-indent-approved[b-j7p7einhcp] {
    background: transparent !important;
    color: #059669 !important;
    border: none !important;
    padding: 0 !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-indent-rejected[b-j7p7einhcp],
.detail-row strong.badge-indent-rejected[b-j7p7einhcp] {
    background: transparent !important;
    color: #dc2626 !important;
    border: none !important;
    padding: 0 !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

/* Stock volume indicators */
.badge-stock-high[b-j7p7einhcp] {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-stock-low[b-j7p7einhcp] {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #d97706 !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-stock-empty[b-j7p7einhcp] {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

/* OVERRIDE FOR HIGH-DENSITY PURCHASE BILL FORM (e.g. ItemMaster Modal) */
.purchase-bill-fields .premium-segmented-control-joined[b-j7p7einhcp] {
    height: 32px !important;
    border-radius: 6px !important;
    max-width: none !important;
}

.purchase-bill-fields .segment-btn-joined[b-j7p7einhcp] {
    font-size: 0.8rem !important;
}

.purchase-bill-fields .segment-btn-joined:first-child[b-j7p7einhcp] {
    border-right: 1px solid #e2e8f0 !important;
}

/* Tabular Grid/Real Table styling for purchase details table */
.purchase-items-table-wrapper table[b-j7p7einhcp] {
    border-collapse: collapse !important;
    border: 1px solid #cbd5e1 !important;
    width: 100%;
}

.purchase-items-table-wrapper th[b-j7p7einhcp],
.purchase-items-table-wrapper td[b-j7p7einhcp] {
    border: 1px solid #cbd5e1 !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

.purchase-items-table-header th[b-j7p7einhcp] {
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 10px 8px !important;
    font-weight: 700;
    font-size: 0.72rem;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #0273b2 !important;
}

.purchase-items-table-wrapper .purchase-item-input[b-j7p7einhcp],
.purchase-items-table-wrapper .purchase-item-select[b-j7p7einhcp] {
    width: 100% !important;
    height: 34px !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.purchase-items-table-wrapper .purchase-item-input:focus[b-j7p7einhcp],
.purchase-items-table-wrapper .purchase-item-select:focus[b-j7p7einhcp] {
    background: #f4f8fa !important;
    box-shadow: inset 0 0 0 2px rgba(2, 115, 178, 0.2) !important;
}

.purchase-items-table-wrapper .purchase-item-readonly[b-j7p7einhcp] {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    width: 100% !important;
    height: 34px !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background-color: #f8fafc !important;
    font-weight: 600;
}

.purchase-items-table-wrapper td.purchase-items-table-footer-cell[b-j7p7einhcp] {
    padding: 16px 24px !important;
}

.btn-approve-action[b-j7p7einhcp] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 5px 13px !important;
    height: 30px !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.28) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
}

.btn-approve-action:hover[b-j7p7einhcp] {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.45) !important;
    background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
    color: #ffffff !important;
}

.btn-approve-action:active[b-j7p7einhcp] {
    transform: translateY(1px) !important;
    box-shadow: 0 1px 3px rgba(5, 150, 105, 0.2) !important;
}

.btn-approve-action i[b-j7p7einhcp] {
    font-size: 0.85rem !important;
}
.modal-overlay[b-j7p7einhcp] {
    position: fixed;
    inset: 0;
    background: rgba(8, 25, 40, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1050;
    overflow-y: auto;
    animation: modalFadeIn-b-j7p7einhcp 0.3s ease-out forwards;
}

.modal-card[b-j7p7einhcp] {
    width: min(1100px, 96%);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(3, 26, 46, 0.28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 3rem);
    animation: modalScaleIn-b-j7p7einhcp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-header-bar[b-j7p7einhcp] {
    background: linear-gradient(90deg, #0f678f 0%, #0b5777 100%);
    color: #fff;
    padding: 1.05rem 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.modal-header-left[b-j7p7einhcp] {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.modal-badge[b-j7p7einhcp] {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .12);
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
}

.modal-title[b-j7p7einhcp] {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
}

.modal-subtitle[b-j7p7einhcp] {
    font-size: .92rem;
    color: rgba(255, 255, 255, .88);
    margin-top: .15rem;
}

.modal-inner[b-j7p7einhcp] {
    padding: 0.5rem 1rem 0.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    overflow-y: auto;
    flex: 1;
}

.modal-form-wrap[b-j7p7einhcp] {
    max-width: 100%;
    margin: 0 auto;
}

.modal-section[b-j7p7einhcp] {
    background: #fff;
    border: 1px solid #dce9f4;
    border-radius: 12px;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.modal-row[b-j7p7einhcp] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.modal-row.full-width[b-j7p7einhcp] {
    grid-column: span 2;
}

.modal-label[b-j7p7einhcp] {
    padding-top: 0;
    font-size: .72rem;
    font-weight: 700;
    color: #0b5777;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.modal-field[b-j7p7einhcp] {
    width: 100%;
}

.modal-input[b-j7p7einhcp],
.modal-select[b-j7p7einhcp],
.modal-textarea[b-j7p7einhcp] {
    border: 1px solid #e6eef8;
    border-radius: 8px;
    background: #fbfdff;
    min-height: 32px;
    padding: .4rem .6rem;
    width: 100%;
    max-width: 250px;
    font-size: .85rem;
}

.modal-textarea[b-j7p7einhcp] {
    max-width: 100%;
    min-height: 64px;
    resize: vertical;
}

.modal-actions[b-j7p7einhcp] {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.2rem;
}

.modal-action-btn[b-j7p7einhcp] {
    min-width: 130px;
    padding: .65rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
}

/* Popup Styles */
.action-popup-overlay[b-j7p7einhcp] {
    position: fixed;
    inset: 0;
    background: rgba(8, 25, 40, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1200;
    animation: modalFadeIn-b-j7p7einhcp 0.25s ease-out forwards;
}

.action-popup-card[b-j7p7einhcp] {
    width: min(420px, 96%);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #cfe4f2;
    box-shadow: 0 16px 36px rgba(3, 26, 46, 0.28);
    animation: modalScaleIn-b-j7p7einhcp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalFadeIn-b-j7p7einhcp {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalScaleIn-b-j7p7einhcp {
    from {
        transform: scale(0.95) translateY(12px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.action-popup-header[b-j7p7einhcp] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%);
    color: #312e81;
    padding: .9rem 1.2rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    font-family: 'Inter', 'Roboto', 'Segoe UI', sans-serif;
}

.pagination-bar[b-j7p7einhcp] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-right: 1.5rem !important;
}

.page-btn[b-j7p7einhcp] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #4b5563;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.page-btn:hover:not(:disabled)[b-j7p7einhcp] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.page-btn.active[b-j7p7einhcp] {
    background: #02659e !important;
    color: #ffffff !important;
    border-color: #02659e !important;
}

/* /Components/Pages/InventoryDashboard.razor.rz.scp.css */
/* Modern Non-Scrollable Dashboard Layout */
.dashboard-wrapper[b-51yx5db8gt] {
    padding: 0.45rem 0.95rem;
    background: #f8fafc;
    height: calc(100vh - 65px);
    max-height: calc(100vh - 65px);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    color: #0f172a;
    box-sizing: border-box;
    overflow: hidden;
}

/* Prominent Header Bar */
.dashboard-header[b-51yx5db8gt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 0.6rem 1rem;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    flex-wrap: nowrap;
    gap: 0.6rem;
    flex-shrink: 0;
}

.header-title[b-51yx5db8gt] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-badge[b-51yx5db8gt] {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.icon-badge.teal[b-51yx5db8gt] { background: #ccfbf1; color: #0d9488; }

.header-title h1[b-51yx5db8gt] {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    color: #0f172a;
    line-height: 1.15;
}

.header-title p[b-51yx5db8gt] {
    font-size: 0.76rem;
    color: #64748b;
    margin: 0;
}

.header-filters[b-51yx5db8gt] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: nowrap;
}

.filter-item[b-51yx5db8gt] {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.15rem 0.4rem;
    gap: 0.3rem;
}

.filter-icon[b-51yx5db8gt] {
    font-size: 0.78rem;
    color: #64748b;
}

.mode-pills[b-51yx5db8gt] {
    background: #f1f5f9;
    padding: 2px;
    border-radius: 8px;
    display: flex;
    gap: 2px;
}

.mode-pill[b-51yx5db8gt] {
    border: none;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    color: #64748b;
    background: transparent;
    transition: all 0.2s ease;
}

.mode-pill.active[b-51yx5db8gt] {
    background: #ffffff;
    color: #0d9488;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.filter-input[b-51yx5db8gt] {
    height: 28px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-size: 0.74rem;
    font-weight: 700;
    color: #0f172a;
    padding: 0.1rem 0.4rem;
    background-color: #ffffff;
}

.filter-input:focus[b-51yx5db8gt] {
    border-color: #0d9488;
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.15);
}

/* SignalR Live Stream Connected Badge */
.signalr-live-badge[b-51yx5db8gt] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.pulse-dot[b-51yx5db8gt] {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulseAnimation-b-51yx5db8gt 1.6s infinite;
}

@keyframes pulseAnimation-b-51yx5db8gt {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* 6 KPI Metric Cards Grid */
.kpi-grid-6[b-51yx5db8gt] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.4rem;
    flex-shrink: 0;
}

.kpi-card[b-51yx5db8gt] {
    background: #ffffff;
    padding: 0.35rem 0.65rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: 58px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpi-card:hover[b-51yx5db8gt] {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px -1px rgba(0, 0, 0, 0.04);
}

.kpi-card[b-51yx5db8gt]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.kpi-card.cyan[b-51yx5db8gt]::before { background: linear-gradient(90deg, #06b6d4, #0891b2); }
.kpi-card.purple[b-51yx5db8gt]::before { background: linear-gradient(90deg, #8b5cf6, #7c3aed); }
.kpi-card.emerald[b-51yx5db8gt]::before { background: linear-gradient(90deg, #10b981, #059669); }
.kpi-card.blue[b-51yx5db8gt]::before { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.kpi-card.amber[b-51yx5db8gt] { border-top: 3px solid #f59e0b; }
.kpi-card.rose[b-51yx5db8gt] { border-top: 3px solid #f43f5e; }

.kpi-top[b-51yx5db8gt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kpi-label[b-51yx5db8gt] {
    font-size: 0.66rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.kpi-icon-wrapper[b-51yx5db8gt] {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.cyan-bg[b-51yx5db8gt] { background: #cffafe; color: #0891b2; }
.purple-bg[b-51yx5db8gt] { background: #f3e8ff; color: #7c3aed; }
.emerald-bg[b-51yx5db8gt] { background: #d1fae5; color: #059669; }
.blue-bg[b-51yx5db8gt] { background: #dbeafe; color: #2563eb; }
.amber-bg[b-51yx5db8gt] { background: #fef3c7; color: #d97706; }
.rose-bg[b-51yx5db8gt] { background: #ffe4e6; color: #e11d48; }

.kpi-value[b-51yx5db8gt] {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin: 0.05rem 0;
}

.kpi-unit[b-51yx5db8gt] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
}

.kpi-foot[b-51yx5db8gt] {
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
}

.kpi-foot.positive[b-51yx5db8gt] { color: #059669; }
.kpi-foot.info[b-51yx5db8gt] { color: #0284c7; }

/* Charts Rows - Dynamic 100vh Flex Fill */
.charts-row[b-51yx5db8gt] {
    display: flex;
    gap: 0.4rem;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.flex-2[b-51yx5db8gt] { flex: 2; min-width: 0; }
.flex-1[b-51yx5db8gt] { flex: 1; min-width: 0; }

.chart-card[b-51yx5db8gt] {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 0.35rem 0.65rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.chart-header[b-51yx5db8gt] {
    margin-bottom: 0.2rem;
    flex-shrink: 0;
}

.chart-header h3[b-51yx5db8gt] {
    font-size: 0.8rem;
    font-weight: 800;
    margin: 0;
    color: #0f172a;
}

.chart-sub[b-51yx5db8gt] {
    font-size: 0.65rem;
    color: #64748b;
}

.chart-body[b-51yx5db8gt] {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
}

.chart-body canvas[b-51yx5db8gt] {
    max-height: 100% !important;
}

/* Bottom Data Tables Panel */
.dashboard-grid-1[b-51yx5db8gt] {
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.panel-card[b-51yx5db8gt] {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.panel-header-tabs[b-51yx5db8gt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.35rem;
    margin-bottom: 0.4rem;
    flex-shrink: 0;
    gap: 0.4rem;
}

.tab-buttons[b-51yx5db8gt] {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
}

.tab-btn[b-51yx5db8gt] {
    background: transparent;
    border: none;
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-btn:hover[b-51yx5db8gt] {
    background: #f1f5f9;
    color: #0f172a;
}

.tab-btn.active[b-51yx5db8gt] {
    background: #ccfbf1;
    color: #0f766e;
}

.search-box[b-51yx5db8gt] {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon[b-51yx5db8gt] {
    position: absolute;
    left: 0.6rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

.search-input[b-51yx5db8gt] {
    height: 34px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 0.78rem;
    padding: 0.2rem 0.6rem 0.2rem 1.8rem;
    width: 220px;
}

.empty-state[b-51yx5db8gt] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    text-align: center;
    color: #64748b;
}

.empty-state p[b-51yx5db8gt] {
    margin: 0;
    font-weight: 600;
    font-size: 0.85rem;
}

.table-responsive[b-51yx5db8gt] {
    overflow-x: auto;
}

.custom-table[b-51yx5db8gt] {
    width: 100%;
    border-collapse: collapse;
}

.custom-table th[b-51yx5db8gt] {
    background: #f8fafc;
    color: #475569;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.6rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.custom-table td[b-51yx5db8gt] {
    padding: 0.65rem 0.85rem;
    font-size: 0.82rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.code-badge[b-51yx5db8gt] {
    font-family: monospace;
    color: #0d9488;
    background: #f0fdfa;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    font-weight: 700;
}

.status-pill[b-51yx5db8gt] {
    display: inline-block;
    padding: 0.18rem 0.55rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-pill.warning[b-51yx5db8gt] { background: #ffedd5; color: #ea580c; }
.status-pill.success[b-51yx5db8gt] { background: #dcfce7; color: #15803d; }
.status-pill.danger[b-51yx5db8gt] { background: #fee2e2; color: #dc2626; }
.status-pill.info[b-51yx5db8gt] { background: #e0f2fe; color: #0369a1; }

/* ─── Dark Mode Overrides ────────────────────────────────────── */
:host-context([data-theme="dark"]) .dashboard-wrapper[b-51yx5db8gt],
[data-theme="dark"] .dashboard-wrapper[b-51yx5db8gt] {
    background: #090d16 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .dashboard-header[b-51yx5db8gt],
:host-context([data-theme="dark"]) .kpi-card[b-51yx5db8gt],
:host-context([data-theme="dark"]) .chart-card[b-51yx5db8gt],
:host-context([data-theme="dark"]) .panel-card[b-51yx5db8gt],
[data-theme="dark"] .dashboard-header[b-51yx5db8gt],
[data-theme="dark"] .kpi-card[b-51yx5db8gt],
[data-theme="dark"] .chart-card[b-51yx5db8gt],
[data-theme="dark"] .panel-card[b-51yx5db8gt] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

:host-context([data-theme="dark"]) .header-title h1[b-51yx5db8gt],
:host-context([data-theme="dark"]) .chart-header h3[b-51yx5db8gt],
:host-context([data-theme="dark"]) .kpi-value[b-51yx5db8gt],
[data-theme="dark"] .header-title h1[b-51yx5db8gt],
[data-theme="dark"] .chart-header h3[b-51yx5db8gt],
[data-theme="dark"] .kpi-value[b-51yx5db8gt] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .filter-input[b-51yx5db8gt],
:host-context([data-theme="dark"]) .search-input[b-51yx5db8gt],
[data-theme="dark"] .filter-input[b-51yx5db8gt],
[data-theme="dark"] .search-input[b-51yx5db8gt] {
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .custom-table th[b-51yx5db8gt],
[data-theme="dark"] .custom-table th[b-51yx5db8gt] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .custom-table td[b-51yx5db8gt],
[data-theme="dark"] .custom-table td[b-51yx5db8gt] {
    color: #cbd5e1 !important;
    border-bottom-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .custom-table tbody tr:hover td[b-51yx5db8gt],
[data-theme="dark"] .custom-table tbody tr:hover td[b-51yx5db8gt] {
    background: #0f172a !important;
}
/* /Components/Pages/IoParticularsMaster.razor.rz.scp.css */
.referral-page[b-xm1j2bnpkm] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-xm1j2bnpkm] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-xm1j2bnpkm] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-xm1j2bnpkm] {
    display: flex;
}

.align-center[b-xm1j2bnpkm] {
    align-items: center;
}

.flex-center[b-xm1j2bnpkm] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-xm1j2bnpkm] {
    gap: 8px;
}

.gap-12[b-xm1j2bnpkm] {
    gap: 12px;
}

.gap-16[b-xm1j2bnpkm] {
    gap: 16px;
}

.p-2[b-xm1j2bnpkm] {
    padding: 8px;
}

.p-4[b-xm1j2bnpkm] {
    padding: 16px;
}

.p-48[b-xm1j2bnpkm] {
    padding: 48px;
}

.rounded-lg[b-xm1j2bnpkm] {
    border-radius: 8px;
}

.shadow-sm[b-xm1j2bnpkm] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-xm1j2bnpkm] {
    margin: 0;
}

.mt-2px[b-xm1j2bnpkm] {
    margin-top: 2px;
}

.mb-0[b-xm1j2bnpkm] {
    margin-bottom: 0;
}

.mt-0[b-xm1j2bnpkm] {
    margin-top: 0;
}

.relative-positioned[b-xm1j2bnpkm] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-xm1j2bnpkm] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04);
    padding: 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
}

.lab-title-text[b-xm1j2bnpkm] {
    color: #312e81;
    font-size: 1.25rem;
    font-weight: 800;
}

.icon-box-container[b-xm1j2bnpkm] {
    width: 40px;
    height: 40px;
}

.icon-lg[b-xm1j2bnpkm] {
    font-size: 24px;
}

.status-pulse-dot[b-xm1j2bnpkm] {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
}

.status-text[b-xm1j2bnpkm] {
    font-size: 12px;
    color: #4f46e5;
    font-weight: 700;
    text-transform: uppercase;
}

.search-icon[b-xm1j2bnpkm] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.lc-rounded-pill-input[b-xm1j2bnpkm] {
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    padding: 6px 12px 6px 34px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
    background-color: #ffffff;
}

.lc-rounded-pill-input:focus[b-xm1j2bnpkm] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-xm1j2bnpkm] {
    width: 220px;
}

.btn-new-entry[b-xm1j2bnpkm] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-new-entry:hover[b-xm1j2bnpkm] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.3);
}

/* Directory section */
.directory-section[b-xm1j2bnpkm] {
    margin-top: 1.5rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.lc-table-container[b-xm1j2bnpkm] {
    overflow-x: auto;
}

.lc-table[b-xm1j2bnpkm] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.lc-table th[b-xm1j2bnpkm] {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.lc-table td[b-xm1j2bnpkm] {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.lc-table-row:hover[b-xm1j2bnpkm] {
    background-color: #f8fafc;
}

/* Modals */
.modal-overlay[b-xm1j2bnpkm] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-form-card[b-xm1j2bnpkm] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 90%;
    max-width: 580px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: lc-fadeInUp 0.2s ease-out;
}

.modal-header-bar[b-xm1j2bnpkm] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    background-color: #ffffff;
}

.modal-header-bar h3[b-xm1j2bnpkm] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
}

.modal-close-btn[b-xm1j2bnpkm] {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.modal-close-btn:hover[b-xm1j2bnpkm] {
    color: #ef4444;
}

.modal-body[b-xm1j2bnpkm] {
    padding: 20px;
    overflow-y: auto;
}

.modal-footer-bar[b-xm1j2bnpkm] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-top: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.form-group[b-xm1j2bnpkm] {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label[b-xm1j2bnpkm] {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.lab-input[b-xm1j2bnpkm] {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
    background: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.lab-input:focus[b-xm1j2bnpkm] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.btn-save[b-xm1j2bnpkm] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-save:disabled[b-xm1j2bnpkm] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-delete[b-xm1j2bnpkm] {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.btn-delete:disabled[b-xm1j2bnpkm] {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-secondary-outline[b-xm1j2bnpkm] {
    background: white;
    border: 1px solid #cbd5e1;
    color: #475569;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.btn-danger-filled[b-xm1j2bnpkm] {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.lc-circle-btn-32[b-xm1j2bnpkm] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
}

.lc-circle-btn-32:hover[b-xm1j2bnpkm] {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.type-badge-input[b-xm1j2bnpkm] {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 800;
}

.type-badge-output[b-xm1j2bnpkm] {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 800;
}

.type-badge-both[b-xm1j2bnpkm] {
    background: #f3e8ff;
    color: #7e22ce;
    border: 1px solid #e9d5ff;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 800;
}
/* IO Particulars Master dashboard theme */
:global(html:has(.io-particulars-master-page))[b-xm1j2bnpkm],
:global(body:has(.io-particulars-master-page))[b-xm1j2bnpkm] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.io-particulars-master-page))[b-xm1j2bnpkm],
:global(.app-main-wrapper:has(.io-particulars-master-page))[b-xm1j2bnpkm] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.io-particulars-master-page)[b-xm1j2bnpkm] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.referral-page.io-particulars-master-page[b-xm1j2bnpkm] {
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.referral-page.io-particulars-master-page .lab-header-card[b-xm1j2bnpkm] {
    flex: 0 0 auto !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.referral-page.io-particulars-master-page .lab-title-text[b-xm1j2bnpkm] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
}

.referral-page.io-particulars-master-page .status-text[b-xm1j2bnpkm] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.referral-page.io-particulars-master-page .bg-indigo-50[b-xm1j2bnpkm] {
    background: #e0f2fe !important;
}

.referral-page.io-particulars-master-page .lc-rounded-pill-input[b-xm1j2bnpkm] {
    width: 260px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    font-size: 0.82rem !important;
    padding: 0 1rem 0 2.2rem !important;
}

.referral-page.io-particulars-master-page .lc-rounded-pill-input:focus[b-xm1j2bnpkm] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.referral-page.io-particulars-master-page .btn-new-entry[b-xm1j2bnpkm] {
    height: 36px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

.referral-page.io-particulars-master-page .btn-new-entry:hover[b-xm1j2bnpkm] {
    background: #05689b !important;
}

.referral-page.io-particulars-master-page .directory-section[b-xm1j2bnpkm] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.referral-page.io-particulars-master-page .lc-table-container[b-xm1j2bnpkm] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
}

.referral-page.io-particulars-master-page .lc-table[b-xm1j2bnpkm] {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.referral-page.io-particulars-master-page .lc-table thead tr th[b-xm1j2bnpkm],
.referral-page .lc-table th[b-xm1j2bnpkm] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.75rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.io-particulars-master-page .lc-table thead tr th:last-child[b-xm1j2bnpkm],
.referral-page .lc-table th:last-child[b-xm1j2bnpkm] {
    border-right: none !important;
}

.referral-page.io-particulars-master-page .lc-table tbody tr[b-xm1j2bnpkm] {
    height: 34px !important;
    min-height: 34px !important;
}

.referral-page.io-particulars-master-page .lc-table tbody tr:nth-child(even)[b-xm1j2bnpkm] {
    background: #fbfdff !important;
}

.referral-page.io-particulars-master-page .lc-table-row:hover[b-xm1j2bnpkm] {
    background: #f0f8ff !important;
}

.referral-page.io-particulars-master-page .lc-table td[b-xm1j2bnpkm] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.75rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    color: #334155 !important;
    font-size: 0.76rem !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.io-particulars-master-page .lc-btn[b-xm1j2bnpkm],
.referral-page.io-particulars-master-page .lc-circle-btn-32[b-xm1j2bnpkm] {
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.referral-page.io-particulars-master-page .lc-btn:hover[b-xm1j2bnpkm],
.referral-page.io-particulars-master-page .lc-circle-btn-32:hover[b-xm1j2bnpkm] {
    border-color: #bae6fd !important;
    background: #f0f9ff !important;
    color: #0369a1 !important;
}

.referral-page.io-particulars-master-page .lc-table td:last-child > div[b-xm1j2bnpkm] {
    gap: 0.35rem !important;
}
/* /Components/Pages/IPDashboard.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   IPDashboard.razor.css — In-Patient (IP) Dashboard Styles
   ═══════════════════════════════════════════════════════════════ */

/* Wrapper — full viewport, no scroll */
.dashboard-wrapper[b-w7cilpnpee] {
    padding: 0.6rem 1rem;
    background: #f1f5f9;
    height: calc(100vh - 65px);
    max-height: calc(100vh - 65px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: #0f172a;
    box-sizing: border-box;
}

/* ─── Header ─────────────────────────────────────────────────── */
.dashboard-header[b-w7cilpnpee] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    flex-shrink: 0;
}

.header-title[b-w7cilpnpee] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-badge[b-w7cilpnpee] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.icon-badge.blue[b-w7cilpnpee] { background: #dbeafe; color: #2563eb; }

.header-title h1[b-w7cilpnpee] {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
    color: #1e293b;
    line-height: 1.2;
}

.header-title p[b-w7cilpnpee] {
    font-size: 0.73rem;
    color: #64748b;
    margin: 0;
}

.header-actions[b-w7cilpnpee] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* ─── SignalR Live Sync Badge ───────────────────────────────── */
.live-sync-badge[b-w7cilpnpee] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.pulse-dot[b-w7cilpnpee] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
    animation: pulseGreen-b-w7cilpnpee 1.8s infinite;
}

@keyframes pulseGreen-b-w7cilpnpee {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn[b-w7cilpnpee] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.85rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.78rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary[b-w7cilpnpee] {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover[b-w7cilpnpee] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
    color: #fff;
}

.btn-outline[b-w7cilpnpee] {
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.btn-outline:hover[b-w7cilpnpee] {
    background: #f8fafc;
    color: #0f172a;
}

.btn:disabled[b-w7cilpnpee] {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ─── Filter Bar ─────────────────────────────────────────────── */
.filter-bar[b-w7cilpnpee] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    padding: 0.45rem 1rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    flex-shrink: 0;
    flex-wrap: wrap;
}

.filter-group[b-w7cilpnpee] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.filter-label[b-w7cilpnpee] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.filter-input[b-w7cilpnpee] {
    height: 30px;
    padding: 0 0.55rem;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font-size: 0.78rem;
    color: #1e293b;
    background: #f8fafc;
    font-family: inherit;
    font-weight: 600;
    transition: border-color 0.2s;
    min-width: 130px;
}

.filter-input:focus[b-w7cilpnpee] {
    outline: none;
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filter-info[b-w7cilpnpee] {
    margin-left: auto;
    font-size: 0.74rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.filter-info strong[b-w7cilpnpee] { color: #0f172a; }

/* ─── KPI Grid (6 cards) ─────────────────────────────────────── */
.kpi-grid[b-w7cilpnpee] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    flex-shrink: 0;
}

.kpi-card[b-w7cilpnpee] {
    background: #ffffff;
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.025);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.kpi-card:hover[b-w7cilpnpee] {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.kpi-card[b-w7cilpnpee]::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3.5px;
    height: 100%;
}

.kpi-card.blue[b-w7cilpnpee]::before   { background: #2563eb; }
.kpi-card.green[b-w7cilpnpee]::before  { background: #10b981; }
.kpi-card.purple[b-w7cilpnpee]::before { background: #8b5cf6; }
.kpi-card.amber[b-w7cilpnpee]::before  { background: #f59e0b; }
.kpi-card.orange[b-w7cilpnpee]::before { background: #f97316; }
.kpi-card.red[b-w7cilpnpee]::before    { background: #ef4444; }

.kpi-top[b-w7cilpnpee] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kpi-label[b-w7cilpnpee] {
    font-size: 0.67rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.3;
}

.kpi-icon[b-w7cilpnpee] { font-size: 0.95rem; opacity: 0.85; }

.kpi-card.blue   .kpi-icon[b-w7cilpnpee] { color: #2563eb; }
.kpi-card.green  .kpi-icon[b-w7cilpnpee] { color: #10b981; }
.kpi-card.purple .kpi-icon[b-w7cilpnpee] { color: #8b5cf6; }
.kpi-card.amber  .kpi-icon[b-w7cilpnpee] { color: #f59e0b; }
.kpi-card.orange .kpi-icon[b-w7cilpnpee] { color: #f97316; }
.kpi-card.red    .kpi-icon[b-w7cilpnpee] { color: #ef4444; }

.kpi-value[b-w7cilpnpee] {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    margin: 0.12rem 0;
}

.kpi-foot[b-w7cilpnpee] {
    font-size: 0.67rem;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kpi-foot.positive[b-w7cilpnpee] { color: #16a34a; }
.kpi-foot.info[b-w7cilpnpee]     { color: #0284c7; }
.kpi-foot.warning[b-w7cilpnpee]  { color: #d97706; }

/* ─── Charts Row ─────────────────────────────────────────────── */
.charts-row[b-w7cilpnpee] {
    display: flex;
    gap: 0.5rem;
    flex: 1.2;
    min-height: 0;
}

.flex-2[b-w7cilpnpee] { flex: 2; min-width: 0; }
.flex-1[b-w7cilpnpee] { flex: 1; min-width: 0; }

.chart-card[b-w7cilpnpee] {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 0.6rem 0.8rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.025);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.chart-header[b-w7cilpnpee] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.3rem;
    flex-shrink: 0;
}

.chart-header h3[b-w7cilpnpee] {
    font-size: 0.88rem;
    font-weight: 800;
    margin: 0;
    color: #1e293b;
}

.chart-sub[b-w7cilpnpee] {
    font-size: 0.68rem;
    color: #64748b;
}

.chart-body[b-w7cilpnpee] {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
}

.chart-body canvas[b-w7cilpnpee] {
    max-height: 100% !important;
}

/* ─── Bottom Row ─────────────────────────────────────────────── */
.dashboard-grid-2[b-w7cilpnpee] {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    min-height: 0;
}

.panel-card[b-w7cilpnpee] {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 0.6rem 0.8rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.025);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.panel-header[b-w7cilpnpee] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
    flex-shrink: 0;
}

.panel-header h3[b-w7cilpnpee] {
    font-size: 0.88rem;
    font-weight: 800;
    margin: 0;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.view-link[b-w7cilpnpee] {
    font-size: 0.73rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.15s;
}

.view-link:hover[b-w7cilpnpee] { color: #1d4ed8; }

/* ─── Table ──────────────────────────────────────────────────── */
.table-responsive[b-w7cilpnpee] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.custom-table[b-w7cilpnpee] {
    width: 100%;
    border-collapse: collapse;
}

.custom-table th[b-w7cilpnpee] {
    background: #f8fafc;
    color: #475569;
    font-size: 0.69rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.4rem 0.55rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1;
    letter-spacing: 0.3px;
}

.custom-table td[b-w7cilpnpee] {
    padding: 0.38rem 0.55rem;
    font-size: 0.77rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.custom-table tbody tr:hover td[b-w7cilpnpee] {
    background: #f8fafc;
}

/* ─── Status Pills ───────────────────────────────────────────── */
.status-pill[b-w7cilpnpee] {
    display: inline-flex;
    align-items: center;
    padding: 0.13rem 0.48rem;
    border-radius: 12px;
    font-size: 0.67rem;
    font-weight: 800;
    white-space: nowrap;
}

.status-pill.active[b-w7cilpnpee]  { background: #dbeafe; color: #1d4ed8; }
.status-pill.success[b-w7cilpnpee] { background: #dcfce7; color: #15803d; }
.status-pill.warning[b-w7cilpnpee] { background: #fef3c7; color: #b45309; }

/* ─── Floating Quick Access Pill Button ──────────────────────── */
.qa-pill-btn[b-w7cilpnpee] {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 4px;
    background: #eef0f8;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s, transform 0.2s;
}

.qa-pill-btn:hover[b-w7cilpnpee] {
    box-shadow: 0 4px 16px rgba(37,99,235,0.18);
    transform: translateY(-1px);
}

.qa-pill-dots[b-w7cilpnpee] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    color: #64748b;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    margin-right: 4px;
}

.qa-pill-label[b-w7cilpnpee] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0 1rem 0 0.75rem;
    height: 34px;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: 0.1px;
    transition: background 0.2s;
}

.qa-pill-label i[b-w7cilpnpee] { font-size: 0.78rem; }

.qa-pill-btn:hover .qa-pill-label[b-w7cilpnpee] {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.qa-pill-floating[b-w7cilpnpee] {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 998;
    box-shadow: 0 6px 24px rgba(37,99,235,0.22), 0 2px 8px rgba(0,0,0,0.12);
}

.qa-pill-floating:hover[b-w7cilpnpee] {
    box-shadow: 0 10px 32px rgba(37,99,235,0.32), 0 4px 12px rgba(0,0,0,0.14);
    transform: translateY(-2px);
}

/* ─── Quick Access Popup (Light Theme) ────────────────────── */
.qa-backdrop[b-w7cilpnpee] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(2px);
    z-index: 999;
    animation: fadeIn-b-w7cilpnpee 0.18s ease;
}

@keyframes fadeIn-b-w7cilpnpee {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.qa-popup[b-w7cilpnpee] {
    position: fixed;
    bottom: 5.2rem;
    right: 1.5rem;
    width: 360px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.16), 0 4px 16px rgba(0,0,0,0.08);
    z-index: 1000;
    overflow: hidden;
    animation: slideUp-b-w7cilpnpee 0.22s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes slideUp-b-w7cilpnpee {
    from { opacity: 0; transform: translateY(16px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.qa-popup-header[b-w7cilpnpee] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.qa-popup-title[b-w7cilpnpee] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.qa-title-icon[b-w7cilpnpee] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #2563eb;
}

.qa-popup-title h4[b-w7cilpnpee] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.qa-popup-title p[b-w7cilpnpee] {
    font-size: 0.7rem;
    color: #94a3b8;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.qa-close[b-w7cilpnpee] {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s;
}

.qa-close:hover[b-w7cilpnpee] {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

.qa-popup-grid[b-w7cilpnpee] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    padding: 1rem 1.1rem 1.1rem;
}

.qa-tile[b-w7cilpnpee] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    padding: 0.65rem 0.3rem;
    border-radius: 14px;
    border: 1px solid #f1f5f9;
    background: #fafafa;
    transition: all 0.2s ease;
    cursor: pointer;
}

.qa-tile:hover[b-w7cilpnpee] {
    background: #eff6ff;
    border-color: #bfdbfe;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.qa-icon[b-w7cilpnpee] {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

.qa-tile:hover .qa-icon[b-w7cilpnpee] {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.qa-tile span[b-w7cilpnpee] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    line-height: 1.2;
}

.qa-tile small[b-w7cilpnpee] {
    font-size: 0.6rem;
    color: #94a3b8;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

/* ─── Spinner ────────────────────────────────────────────────── */
.spin-anim[b-w7cilpnpee] {
    animation: spin-b-w7cilpnpee 0.9s linear infinite;
    display: inline-block;
}

@keyframes spin-b-w7cilpnpee {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.text-muted[b-w7cilpnpee]  { color: #94a3b8 !important; }
.fw-bold[b-w7cilpnpee]     { font-weight: 800 !important; }
.me-1[b-w7cilpnpee]        { margin-right: 0.25rem !important; }
.me-2[b-w7cilpnpee]        { margin-right: 0.5rem !important; }
.py-4[b-w7cilpnpee]        { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.text-center[b-w7cilpnpee] { text-align: center !important; }
.fs-4[b-w7cilpnpee]        { font-size: 1.25rem !important; }
.d-block[b-w7cilpnpee]     { display: block !important; }
.mb-1[b-w7cilpnpee]        { margin-bottom: 0.25rem !important; }

/* ─── Dark Mode Overrides ────────────────────────────────────── */
:host-context([data-theme="dark"]) .dashboard-wrapper[b-w7cilpnpee],
[data-theme="dark"] .dashboard-wrapper[b-w7cilpnpee] {
    background: #090d16 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .dashboard-header[b-w7cilpnpee],
:host-context([data-theme="dark"]) .filter-bar[b-w7cilpnpee],
:host-context([data-theme="dark"]) .kpi-card[b-w7cilpnpee],
:host-context([data-theme="dark"]) .chart-card[b-w7cilpnpee],
:host-context([data-theme="dark"]) .panel-card[b-w7cilpnpee],
:host-context([data-theme="dark"]) .qa-popup[b-w7cilpnpee],
[data-theme="dark"] .dashboard-header[b-w7cilpnpee],
[data-theme="dark"] .filter-bar[b-w7cilpnpee],
[data-theme="dark"] .kpi-card[b-w7cilpnpee],
[data-theme="dark"] .chart-card[b-w7cilpnpee],
[data-theme="dark"] .panel-card[b-w7cilpnpee],
[data-theme="dark"] .qa-popup[b-w7cilpnpee] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

:host-context([data-theme="dark"]) .header-title h1[b-w7cilpnpee],
:host-context([data-theme="dark"]) .chart-header h3[b-w7cilpnpee],
:host-context([data-theme="dark"]) .panel-header h3[b-w7cilpnpee],
:host-context([data-theme="dark"]) .kpi-value[b-w7cilpnpee],
:host-context([data-theme="dark"]) .filter-info strong[b-w7cilpnpee],
[data-theme="dark"] .header-title h1[b-w7cilpnpee],
[data-theme="dark"] .chart-header h3[b-w7cilpnpee],
[data-theme="dark"] .panel-header h3[b-w7cilpnpee],
[data-theme="dark"] .kpi-value[b-w7cilpnpee],
[data-theme="dark"] .filter-info strong[b-w7cilpnpee] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .filter-input[b-w7cilpnpee],
[data-theme="dark"] .filter-input[b-w7cilpnpee] {
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .custom-table th[b-w7cilpnpee],
[data-theme="dark"] .custom-table th[b-w7cilpnpee] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .custom-table td[b-w7cilpnpee],
[data-theme="dark"] .custom-table td[b-w7cilpnpee] {
    color: #cbd5e1 !important;
    border-bottom-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .custom-table tbody tr:hover td[b-w7cilpnpee],
[data-theme="dark"] .custom-table tbody tr:hover td[b-w7cilpnpee] {
    background: #0f172a !important;
}
/* /Components/Pages/IPRegistration.razor.rz.scp.css */
/* Background Animation & Global styles */
.animated-background[b-0ug0oitxck] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.floating-blob[b-0ug0oitxck] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: float-b-0ug0oitxck 20s infinite alternate;
}

.blob-1[b-0ug0oitxck] {
    width: 450px;
    height: 450px;
    background: #e2f1ff;
    top: -5%;
    left: -5%;
}

.blob-2[b-0ug0oitxck] {
    width: 450px;
    height: 450px;
    background: #f1f5f9;
    bottom: -10%;
    right: -5%;
}

@keyframes float-b-0ug0oitxck {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

.dashboard-container[b-0ug0oitxck] {
    max-width: 1300px;
    margin: 1.25rem auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

/* Dashboard Header & Stats Grid */
.dashboard-header[b-0ug0oitxck] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.dashboard-title h1[b-0ug0oitxck] {
    font-size: 1.35rem;
    font-weight: 800;
    color: #034f75;
    letter-spacing: -0.5px;
    margin-bottom: 0.2rem;
}

.dashboard-title p[b-0ug0oitxck] {
    color: #64748b;
    font-size: 0.85rem;
}

.btn-header-action[b-0ug0oitxck] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid #0284c7;
    background: #0284c7;
    color: #ffffff !important;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
    height: 38px;
}

.btn-header-action:hover:not(:disabled)[b-0ug0oitxck] {
    background: #0369a1;
    border-color: #0369a1;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

.btn-header-action.secondary[b-0ug0oitxck] {
    background: #ffffff;
    color: #0284c7 !important;
    border: 1.5px solid #0284c7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.btn-header-action.secondary:hover:not(:disabled)[b-0ug0oitxck] {
    background: #f0f9ff;
    color: #0369a1 !important;
    border-color: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(2, 132, 199, 0.15);
}

.stats-grid[b-0ug0oitxck] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.stat-card[b-0ug0oitxck] {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    padding: 0.75rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease;
}

.stat-card:hover[b-0ug0oitxck] {
    transform: translateY(-2px);
}

.stat-icon[b-0ug0oitxck] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.stat-icon.blue[b-0ug0oitxck] {
    background: #e0f2fe;
    color: #0284c7;
}

.stat-icon.green[b-0ug0oitxck] {
    background: #d1fae5;
    color: #059669;
}

.stat-icon.orange[b-0ug0oitxck] {
    background: #fef3c7;
    color: #d97706;
}

.stat-icon.purple[b-0ug0oitxck] {
    background: #f3e8ff;
    color: #7c3aed;
}

.stat-info[b-0ug0oitxck] {
    display: flex;
    flex-direction: column;
}

.stat-value[b-0ug0oitxck] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}

.stat-label[b-0ug0oitxck] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 0.08rem;
}

/* Glass Filters Control Board */
.filters-card[b-0ug0oitxck] {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 14px;
    padding: 0.9rem 1.2rem;
    margin-bottom: 0.9rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.filters-row[b-0ug0oitxck] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: flex-end;
}

.filter-group[b-0ug0oitxck] {
    flex: 1 1 140px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.filter-group label[b-0ug0oitxck] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
}

.filter-control[b-0ug0oitxck] {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 500;
    background: #f8fafc;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.filter-control:hover[b-0ug0oitxck] {
    background: #ffffff;
    border-color: #94a3b8;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transform: translateY(-1px);
}

.filter-control:focus[b-0ug0oitxck] {
    outline: none;
    background: #ffffff;
    border-color: #026aa7;
    box-shadow: 0 0 0 4px rgba(2, 106, 167, 0.15), 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.btn-header-action[b-0ug0oitxck] {
    background: #026aa7;
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(2, 106, 167, 0.15);
}

.btn-header-action:hover[b-0ug0oitxck] {
    background: #025687;
    transform: translateY(-1px);
}

.btn-header-action.secondary[b-0ug0oitxck] {
    background: #ffffff;
    border: 1.5px solid #026aa7;
    color: #026aa7;
    box-shadow: none;
}

.btn-header-action.secondary:hover[b-0ug0oitxck] {
    background: #f0f9ff;
    color: #025687;
    border-color: #025687;
}

/* Table Card & Medico Table */
.table-card[b-0ug0oitxck] {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    overflow: visible;
}

.table-responsive[b-0ug0oitxck] {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 360px;
    border-radius: 12px;
    border: 1px solid #eaecf0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.table-responsive[b-0ug0oitxck]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.table-responsive[b-0ug0oitxck]::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.table-responsive[b-0ug0oitxck]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.table-responsive[b-0ug0oitxck]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.medico-table[b-0ug0oitxck] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    font-size: 0.74rem;
}

.medico-table th[b-0ug0oitxck] {
    padding: 0.45rem 0.65rem !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.68rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10;
    white-space: nowrap;
}

.medico-table th:last-child[b-0ug0oitxck] {
    border-right: none;
}

.medico-table td[b-0ug0oitxck] {
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid #f1f5f9;
    background-color: #ffffff;
    color: #344054;
    font-weight: 500;
    vertical-align: middle;
    white-space: nowrap;
}

.medico-table td:last-child[b-0ug0oitxck] {
    border-right: none;
}

.medico-table tbody tr:nth-child(even) td[b-0ug0oitxck] {
    background-color: #fcfdfe;
}

.medico-table tbody tr:hover td[b-0ug0oitxck] {
    background-color: #f1f5f9 !important;
}

.time-badge[b-0ug0oitxck] {
    background: #f1f5f9;
    color: #334155;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    white-space: nowrap;
}

.badge-op[b-0ug0oitxck] {
    color: #0369a1;
    border: 1.5px solid #7dd3fc;
    padding: 0.4rem;
    border-radius: 50%;
    font-size: 1.05rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    box-shadow: 0 4px 6px rgba(2, 106, 167, 0.15);
}

.badge-type[b-0ug0oitxck] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.badge-type.online[b-0ug0oitxck] {
    background: #eff6ff;
    color: #3b82f6;
    border: 1px solid #dbeafe;
}

.badge-type.walkin[b-0ug0oitxck] {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fef3c7;
}

/* Actions Menu & Select Dropdown */
.btn-group-actions[b-0ug0oitxck] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-action[b-0ug0oitxck] {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-action.register[b-0ug0oitxck] {
    color: #026aa7;
    border-color: #93c5fd;
    background: #f0f9ff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.btn-action.register:hover[b-0ug0oitxck] {
    background: #026aa7;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(2, 106, 167, 0.15);
}

.btn-action.vitals[b-0ug0oitxck] {
    color: #ec4899;
    border-color: #fbcfe8;
    background: #fdf2f8;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.btn-action.vitals:hover[b-0ug0oitxck] {
    background: #ec4899;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(236, 72, 153, 0.15);
}

.status-badge[b-0ug0oitxck] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    letter-spacing: 0.2px;
}

.status-badge.unregistered[b-0ug0oitxck],
.status-badge.pending[b-0ug0oitxck] {
    background: #f1f5f9;
    color: #475569;
}

.status-badge.waiting[b-0ug0oitxck] {
    background: #fef3c7;
    color: #b45309;
}

.status-badge.in_consultation[b-0ug0oitxck] {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.completed[b-0ug0oitxck] {
    background: #d1fae5;
    color: #065f46;
}

/* Glassmorphic Modals */
.modal-backdrop[b-0ug0oitxck] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.glass-modal[b-0ug0oitxck] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #f8fafc !important;
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    width: 100%;
    max-width: 750px;
    max-height: 90vh;
    z-index: 1001;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header[b-0ug0oitxck],
.modal-body[b-0ug0oitxck],
.modal-footer[b-0ug0oitxck] {
    background: #f8fafc !important;
}

.large-modal-custom[b-0ug0oitxck] {
    max-width: 850px !important;
    width: 85vw !important;
}

.glass-modal .filter-control[b-0ug0oitxck] {
    padding: 0.45rem 0.65rem;
    font-size: 0.80rem;
    border-radius: 6px;
}

.glass-modal .form-group label[b-0ug0oitxck] {
    font-size: 0.80rem;
    font-weight: 700;
}

.um-grid-cols-4[b-0ug0oitxck] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

.modal-header[b-0ug0oitxck] {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3[b-0ug0oitxck] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #026aa7;
    margin: 0;
}

.close-btn[b-0ug0oitxck] {
    border: none;
    background: none;
    font-size: 1.75rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s ease;
}

.close-btn:hover[b-0ug0oitxck],
.close-btn:focus[b-0ug0oitxck] {
    color: #ef4444 !important;
}

.close-btn:active[b-0ug0oitxck] {
    color: #dc2626 !important;
}

.modal-body[b-0ug0oitxck] {
    padding: 1.75rem;
    flex: 1;
    overflow-y: auto;
}

.form-group[b-0ug0oitxck] {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label[b-0ug0oitxck] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.3px;
    margin: 0;
    display: block;
}

.modal-footer[b-0ug0oitxck] {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn-modal[b-0ug0oitxck] {
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-modal.cancel[b-0ug0oitxck] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
}

.btn-modal.cancel:hover[b-0ug0oitxck] {
    background: #f1f5f9;
}

.btn-modal.confirm[b-0ug0oitxck] {
    background: #10b981;
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.15);
}

.btn-modal.confirm:hover[b-0ug0oitxck] {
    background: #059669;
}

.empty-state[b-0ug0oitxck] {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

.empty-state i[b-0ug0oitxck] {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
    display: block;
}

.empty-state h4[b-0ug0oitxck] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.5rem;
}

.empty-state p[b-0ug0oitxck] {
    font-size: 0.9rem;
    margin: 0;
}

.readonly-input[b-0ug0oitxck] {
    background-color: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1e40af;
    font-weight: 700;
}

/* VIP Highlight Styles */
.medico-table tr.vip-row td[b-0ug0oitxck],
.recent-checkins-table tr.vip-row td[b-0ug0oitxck],
tr.vip-row td[b-0ug0oitxck] {
    background-color: #fffdf5 !important;
}

.medico-table tr.vip-row:hover td[b-0ug0oitxck],
.recent-checkins-table tr.vip-row:hover td[b-0ug0oitxck],
tr.vip-row:hover td[b-0ug0oitxck] {
    background-color: #fffbeb !important;
}

/* Actions Dropdown styling */
.actions-dropdown-container[b-0ug0oitxck] {
    position: relative;
    display: inline-block;
}

.btn-action-dots[b-0ug0oitxck] {
    background: transparent;
    border: none;
    color: #64748b;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action-dots:hover[b-0ug0oitxck],
.btn-action-dots.active[b-0ug0oitxck] {
    background-color: #f1f5f9;
    color: #0f172a;
}

.dropdown-backdrop[b-0ug0oitxck] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    background: transparent;
}

.actions-dropdown-menu[b-0ug0oitxck] {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    padding: 0.25rem 0.5rem;
    display: flex;
    gap: 0.35rem;
    z-index: 1000;
    margin-right: 8px;
    align-items: center;
    white-space: nowrap;
}

.action-icon-btn[b-0ug0oitxck] {
    background: transparent;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.action-icon-btn.update[b-0ug0oitxck] {
    color: #3b82f6;
}

.action-icon-btn.update:hover[b-0ug0oitxck] {
    background-color: #eff6ff;
}

.action-icon-btn.casesheet[b-0ug0oitxck] {
    color: #4f46e5;
}

.action-icon-btn.casesheet:hover[b-0ug0oitxck] {
    background-color: #e0e7ff;
}

.action-icon-btn.discharge[b-0ug0oitxck] {
    color: #059669;
}

.action-icon-btn.discharge:hover[b-0ug0oitxck] {
    background-color: #ecfdf5;
}

.action-icon-btn.cancel[b-0ug0oitxck] {
    color: #ef4444;
}

.action-icon-btn.cancel:hover[b-0ug0oitxck] {
    background-color: #fef2f2;
}

.action-icon-btn.preview-bill[b-0ug0oitxck] {
    color: #6366f1;
}

.action-icon-btn.preview-bill:hover[b-0ug0oitxck] {
    background-color: #e0e7ff;
}

.action-icon-btn.download-bill[b-0ug0oitxck] {
    color: #16a34a;
}

.action-icon-btn.download-bill:hover[b-0ug0oitxck] {
    background-color: #dcfce7;
}

.action-icon-btn.disabled[b-0ug0oitxck] {
    color: #cbd5e1;
    cursor: not-allowed;
}

.medico-table td[b-0ug0oitxck] {
    overflow: visible !important;
}

/* Status select dropdown styled as a badge */
.status-select[b-0ug0oitxck] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 1.6rem 0.25rem 0.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.2px;
    cursor: pointer;
    outline: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    /* Remove default dropdown arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* Custom arrow using background image svg */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e40af' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.55rem center;
    background-size: 0.65rem;
}

.status-select.admitted[b-0ug0oitxck] {
    background-color: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.status-select.admitted:hover[b-0ug0oitxck] {
    background-color: #dbeafe;
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.1);
}

.status-select:focus[b-0ug0oitxck] {
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}

/* ═══════════════════════════════════════════════════════════════
   IP REGISTRATION COMPONENT - LIGHT MODE BASE & DARK MODE OVERRIDES
   ═══════════════════════════════════════════════════════════════ */

/* Light Mode Base for Popovers & Pagination */
.ip-no-cell[b-0ug0oitxck] {
    color: #034f75;
}

.ip-link[b-0ug0oitxck] {
    color: #026aa7;
}

.bed-popover-box[b-0ug0oitxck],
.insurance-popover-box[b-0ug0oitxck] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
}

.ip-pagination-container[b-0ug0oitxck] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    border: 1px solid #eaecf0;
}

.ip-pagination-info[b-0ug0oitxck] {
    font-size: 0.8rem;
    color: #64748b;
}

.ip-btn-page[b-0ug0oitxck] {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    transition: all 0.2s ease;
}

.ip-btn-page:hover:not(:disabled)[b-0ug0oitxck] {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.ip-btn-page.active[b-0ug0oitxck] {
    background: #026aa7;
    border-color: #026aa7;
    color: #ffffff;
}

.ip-btn-page:disabled[b-0ug0oitxck] {
    cursor: not-allowed;
    opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR IP REGISTRATION
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .dashboard-title h1[b-0ug0oitxck],
[data-theme="dark"] .dashboard-title h1[b-0ug0oitxck] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .dashboard-title p[b-0ug0oitxck],
[data-theme="dark"] .dashboard-title p[b-0ug0oitxck] {
    color: #94a3b8 !important;
}

/* Stat Cards in Dark Mode */
:host-context([data-theme="dark"]) .stat-card[b-0ug0oitxck],
[data-theme="dark"] .stat-card[b-0ug0oitxck] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .stat-value[b-0ug0oitxck],
[data-theme="dark"] .stat-value[b-0ug0oitxck] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .stat-label[b-0ug0oitxck],
[data-theme="dark"] .stat-label[b-0ug0oitxck] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .stat-icon.blue[b-0ug0oitxck],
[data-theme="dark"] .stat-icon.blue[b-0ug0oitxck] {
    background: rgba(14, 165, 233, 0.15) !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .stat-icon.green[b-0ug0oitxck],
[data-theme="dark"] .stat-icon.green[b-0ug0oitxck] {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
}

:host-context([data-theme="dark"]) .stat-icon.orange[b-0ug0oitxck],
[data-theme="dark"] .stat-icon.orange[b-0ug0oitxck] {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #fbbf24 !important;
}

:host-context([data-theme="dark"]) .stat-icon.purple[b-0ug0oitxck],
[data-theme="dark"] .stat-icon.purple[b-0ug0oitxck] {
    background: rgba(168, 85, 247, 0.15) !important;
    color: #c084fc !important;
}

/* Filters Card in Dark Mode */
:host-context([data-theme="dark"]) .filters-card[b-0ug0oitxck],
[data-theme="dark"] .filters-card[b-0ug0oitxck] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .filter-group label[b-0ug0oitxck],
[data-theme="dark"] .filter-group label[b-0ug0oitxck] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .filter-control[b-0ug0oitxck],
[data-theme="dark"] .filter-control[b-0ug0oitxck] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .filter-control option[b-0ug0oitxck],
[data-theme="dark"] .filter-control option[b-0ug0oitxck] {
    background: #0f172a !important;
    color: #f8fafc !important;
}

/* Table Container & Rows in Dark Mode */
:host-context([data-theme="dark"]) .table-responsive[b-0ug0oitxck],
[data-theme="dark"] .table-responsive[b-0ug0oitxck] {
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .medico-table[b-0ug0oitxck],
[data-theme="dark"] .medico-table[b-0ug0oitxck] {
    background: #1e293b !important;
}

:host-context([data-theme="dark"]) .medico-table th[b-0ug0oitxck],
[data-theme="dark"] .medico-table th[b-0ug0oitxck] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .medico-table td[b-0ug0oitxck],
[data-theme="dark"] .medico-table td[b-0ug0oitxck] {
    background-color: #1e293b !important;
    color: #f8fafc !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .medico-table tbody tr:nth-child(even) td[b-0ug0oitxck],
[data-theme="dark"] .medico-table tbody tr:nth-child(even) td[b-0ug0oitxck] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .medico-table tbody tr:hover td[b-0ug0oitxck],
[data-theme="dark"] .medico-table tbody tr:hover td[b-0ug0oitxck] {
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .ip-no-cell[b-0ug0oitxck],
[data-theme="dark"] .ip-no-cell[b-0ug0oitxck] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .ip-link[b-0ug0oitxck],
[data-theme="dark"] .ip-link[b-0ug0oitxck] {
    color: #38bdf8 !important;
}

/* Popover Cards in Dark Mode */
:host-context([data-theme="dark"]) .bed-popover-box[b-0ug0oitxck],
:host-context([data-theme="dark"]) .insurance-popover-box[b-0ug0oitxck],
[data-theme="dark"] .bed-popover-box[b-0ug0oitxck],
[data-theme="dark"] .insurance-popover-box[b-0ug0oitxck] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}

:host-context([data-theme="dark"]) .bed-popover-box div[b-0ug0oitxck],
:host-context([data-theme="dark"]) .insurance-popover-box div[b-0ug0oitxck],
[data-theme="dark"] .bed-popover-box div[b-0ug0oitxck],
[data-theme="dark"] .insurance-popover-box div[b-0ug0oitxck] {
    color: #cbd5e1 !important;
}

/* Pagination in Dark Mode */
:host-context([data-theme="dark"]) .ip-pagination-container[b-0ug0oitxck],
[data-theme="dark"] .ip-pagination-container[b-0ug0oitxck] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .ip-pagination-info[b-0ug0oitxck],
[data-theme="dark"] .ip-pagination-info[b-0ug0oitxck] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .ip-pagination-info strong[b-0ug0oitxck],
[data-theme="dark"] .ip-pagination-info strong[b-0ug0oitxck] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .ip-btn-page[b-0ug0oitxck],
[data-theme="dark"] .ip-btn-page[b-0ug0oitxck] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .ip-btn-page:hover:not(:disabled)[b-0ug0oitxck],
[data-theme="dark"] .ip-btn-page:hover:not(:disabled)[b-0ug0oitxck] {
    background: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .ip-btn-page.active[b-0ug0oitxck],
[data-theme="dark"] .ip-btn-page.active[b-0ug0oitxck] {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
}

/* Actions Dropdown in Dark Mode */
:host-context([data-theme="dark"]) .btn-action-dots[b-0ug0oitxck],
[data-theme="dark"] .btn-action-dots[b-0ug0oitxck] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .btn-action-dots:hover[b-0ug0oitxck],
[data-theme="dark"] .btn-action-dots:hover[b-0ug0oitxck] {
    background-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .actions-dropdown-menu[b-0ug0oitxck],
[data-theme="dark"] .actions-dropdown-menu[b-0ug0oitxck] {
    background: #0f172a !important;
    border-color: #334155 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

:host-context([data-theme="dark"]) .status-select.admitted[b-0ug0oitxck],
[data-theme="dark"] .status-select.admitted[b-0ug0oitxck] {
    background-color: rgba(14, 165, 233, 0.15) !important;
    color: #38bdf8 !important;
    border-color: rgba(56, 189, 248, 0.3) !important;
}

/* Modals in Dark Mode */
:host-context([data-theme="dark"]) .glass-modal[b-0ug0oitxck],
[data-theme="dark"] .glass-modal[b-0ug0oitxck] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-header[b-0ug0oitxck],
:host-context([data-theme="dark"]) .modal-body[b-0ug0oitxck],
:host-context([data-theme="dark"]) .modal-footer[b-0ug0oitxck],
[data-theme="dark"] .modal-header[b-0ug0oitxck],
[data-theme="dark"] .modal-body[b-0ug0oitxck],
[data-theme="dark"] .modal-footer[b-0ug0oitxck] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header h3[b-0ug0oitxck],
[data-theme="dark"] .modal-header h3[b-0ug0oitxck] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .btn-modal.cancel[b-0ug0oitxck],
[data-theme="dark"] .btn-modal.cancel[b-0ug0oitxck] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .btn-modal.cancel:hover[b-0ug0oitxck],
[data-theme="dark"] .btn-modal.cancel:hover[b-0ug0oitxck] {
    background: #334155 !important;
    color: #f8fafc !important;
}

.table-responsive[b-0ug0oitxck] {
    overflow-x: hidden !important;
}

/* Table Bar Header & Kutty User Count Badge Styles */
.table-bar-header[b-0ug0oitxck] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem 0.75rem 0.75rem;
}

.kutty-user-badge[b-0ug0oitxck] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0369a1;
    border: 1px solid #7dd3fc;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12);
    vertical-align: middle;
    transition: all 0.2s ease;
}

.kutty-user-badge:hover[b-0ug0oitxck] {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
}

.kutty-user-badge.active-filter[b-0ug0oitxck] {
    outline: 2px solid #0284c7 !important;
    outline-offset: 1px !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.3) !important;
    font-weight: 800 !important;
}

.kutty-user-badge.alt[b-0ug0oitxck] {
    background: #f0f9ff;
    color: #026aa7;
    border: 1px solid #bae6fd;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

.kutty-user-badge.status-admitted[b-0ug0oitxck] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

.kutty-user-badge.status-discharged[b-0ug0oitxck] {
    background: #f5f3ff;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

.kutty-user-badge.status-emergency[b-0ug0oitxck] {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

.kutty-user-badge.status-insurance[b-0ug0oitxck] {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

/* Dark theme overrides for kutty-user-badge */
html[data-theme="dark"] .kutty-user-badge[b-0ug0oitxck],
body.dark-mode .kutty-user-badge[b-0ug0oitxck] {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%);
    color: #e0f2fe;
    border-color: #0284c7;
}

html[data-theme="dark"] .kutty-user-badge.alt[b-0ug0oitxck],
body.dark-mode .kutty-user-badge.alt[b-0ug0oitxck] {
    background: #1e293b;
    color: #38bdf8;
    border-color: #334155;
}

html[data-theme="dark"] .kutty-user-badge.status-admitted[b-0ug0oitxck],
body.dark-mode .kutty-user-badge.status-admitted[b-0ug0oitxck] {
    background: #022c22;
    color: #6ee7b7;
    border-color: #065f46;
}

html[data-theme="dark"] .kutty-user-badge.status-discharged[b-0ug0oitxck],
body.dark-mode .kutty-user-badge.status-discharged[b-0ug0oitxck] {
    background: #2e1065;
    color: #c4b5fd;
    border-color: #5b21b6;
}

html[data-theme="dark"] .kutty-user-badge.status-emergency[b-0ug0oitxck],
body.dark-mode .kutty-user-badge.status-emergency[b-0ug0oitxck] {
    background: #451a03;
    color: #fcd34d;
    border-color: #78350f;
}

html[data-theme="dark"] .kutty-user-badge.status-insurance[b-0ug0oitxck],
body.dark-mode .kutty-user-badge.status-insurance[b-0ug0oitxck] {
    background: #052e16;
    color: #86efac;
    border-color: #166534;
}

html[data-theme="dark"] .table-bar-header span[b-0ug0oitxck],
body.dark-mode .table-bar-header span[b-0ug0oitxck] {
    color: #f1f5f9 !important;
}

/* Quick Patient Registration in Inpatient Admission */
.ip-patient-plus-btn[b-0ug0oitxck] {
    width: 34px;
    flex: 0 0 34px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border: 1px solid #0284c7;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.25);
    padding: 0;
}

.ip-patient-plus-btn:hover[b-0ug0oitxck] {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    box-shadow: 0 4px 8px rgba(2, 132, 199, 0.35);
    transform: translateY(-1px);
}

/* Patient Autocomplete Dropdown in Inpatient Admission */
.ip-patient-dropdown[b-0ug0oitxck] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 38px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-height: 220px;
    overflow-y: auto;
    z-index: 1050;
    margin-top: 4px;
    text-align: left;
}

.ip-patient-item[b-0ug0oitxck] {
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
    color: #334155;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    border-left: 4px solid transparent;
    transition: background-color 0.15s ease, border-left-color 0.15s ease;
}

.ip-patient-item:hover[b-0ug0oitxck],
.ip-patient-item.active-focused[b-0ug0oitxck] {
    background-color: #e0f2fe !important;
    color: #026aa7 !important;
    border-left-color: #0284c7 !important;
}

.ip-patient-item-name[b-0ug0oitxck] {
    font-weight: 600;
    color: #0f172a;
}

.ip-patient-item-phone[b-0ug0oitxck] {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}

html[data-theme="dark"] .ip-patient-dropdown[b-0ug0oitxck],
body.dark-mode .ip-patient-dropdown[b-0ug0oitxck] {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .ip-patient-item[b-0ug0oitxck],
body.dark-mode .ip-patient-item[b-0ug0oitxck] {
    border-bottom-color: #334155;
    color: #cbd5e1;
}

html[data-theme="dark"] .ip-patient-item-name[b-0ug0oitxck],
body.dark-mode .ip-patient-item-name[b-0ug0oitxck] {
    color: #f1f5f9;
}

html[data-theme="dark"] .ip-patient-item:hover[b-0ug0oitxck],
html[data-theme="dark"] .ip-patient-item.active-focused[b-0ug0oitxck],
body.dark-mode .ip-patient-item:hover[b-0ug0oitxck],
body.dark-mode .ip-patient-item.active-focused[b-0ug0oitxck] {
    background-color: #0f2744 !important;
    color: #38bdf8 !important;
    border-left-color: #38bdf8 !important;
}

.quick-reg-backdrop[b-0ug0oitxck] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1060;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    animation: overlayFadeIn 0.15s ease-out;
}

.quick-reg-modal-wrapper[b-0ug0oitxck] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1065;
    width: 85vw;
    max-width: 850px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.quick-reg-card[b-0ug0oitxck] {
    background: #f8fafc;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 90vh;
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(24px);
    animation: cardPopIn 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-reg-header[b-0ug0oitxck] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.75rem;
    background: #f8fafc;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.quick-reg-header-left[b-0ug0oitxck] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.quick-reg-icon-bubble[b-0ug0oitxck] {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #0284c7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.quick-reg-title[b-0ug0oitxck] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #026aa7;
}

.quick-reg-subtitle[b-0ug0oitxck] {
    margin: 0;
    font-size: 0.8rem;
    color: #64748b;
}

.quick-reg-close-btn[b-0ug0oitxck] {
    background: transparent;
    border: none;
    font-size: 1.35rem;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.quick-reg-close-btn:hover[b-0ug0oitxck] {
    background: rgba(0, 0, 0, 0.05);
    color: #ef4444;
}

.quick-reg-body[b-0ug0oitxck] {
    padding: 1.75rem;
    background: #f8fafc;
    overflow-y: auto;
    max-height: calc(90vh - 150px);
}

.quick-section-heading[b-0ug0oitxck] {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0284c7;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px dashed #e2e8f0;
}

.quick-form-grid[b-0ug0oitxck] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0.85rem 1rem;
}

.qf-col-1[b-0ug0oitxck] { grid-column: span 1; }
.qf-col-2[b-0ug0oitxck] { grid-column: span 2; }
.qf-col-3[b-0ug0oitxck] { grid-column: span 3; }
.qf-col-4[b-0ug0oitxck] { grid-column: span 4; }
.qf-col-5[b-0ug0oitxck] { grid-column: span 5; }
.qf-col-6[b-0ug0oitxck] { grid-column: span 6; }
.qf-col-7[b-0ug0oitxck] { grid-column: span 7; }
.qf-col-8[b-0ug0oitxck] { grid-column: span 8; }
.qf-col-9[b-0ug0oitxck] { grid-column: span 9; }
.qf-col-10[b-0ug0oitxck] { grid-column: span 10; }
.qf-col-11[b-0ug0oitxck] { grid-column: span 11; }
.qf-col-12[b-0ug0oitxck] { grid-column: span 12; }

.qf-label[b-0ug0oitxck] {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.qf-req[b-0ug0oitxck] {
    color: #ef4444;
}

.qf-input[b-0ug0oitxck] {
    width: 100%;
    height: 40px;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1e293b;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.qf-input:focus[b-0ug0oitxck] {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.quick-flags-row[b-0ug0oitxck] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.quick-check-badge[b-0ug0oitxck] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
}

.quick-check-badge:hover[b-0ug0oitxck] {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.quick-check-badge.active[b-0ug0oitxck] {
    background: #e0f2fe;
    border-color: #38bdf8;
    color: #0369a1;
}

.quick-vip-role-box[b-0ug0oitxck] {
    max-width: 180px;
    flex: 0 0 180px;
}

.quick-mini-plus-btn[b-0ug0oitxck] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: none;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.quick-mini-plus-btn:hover[b-0ug0oitxck] {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

.quick-area-dropdown[b-0ug0oitxck] {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 44px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    z-index: 1070;
    max-height: 200px;
    overflow-y: auto;
    padding: 4px;
}

.quick-area-item[b-0ug0oitxck] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    font-size: 0.82rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.12s ease;
}

.quick-area-item:hover[b-0ug0oitxck] {
    background: #f0f9ff;
    color: #0284c7;
}

.quick-reg-footer[b-0ug0oitxck] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.75rem;
    background: #f8fafc;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.quick-btn-cancel[b-0ug0oitxck] {
    padding: 0.65rem 1.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #475569;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.quick-btn-cancel:hover:not(:disabled)[b-0ug0oitxck] {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.quick-btn-save[b-0ug0oitxck] {
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: 10px;
    background: #0284c7;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.quick-btn-save:hover:not(:disabled)[b-0ug0oitxck] {
    background: #0369a1;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
    transform: translateY(-1px);
}

.quick-btn-cancel:disabled[b-0ug0oitxck],
.quick-btn-save:disabled[b-0ug0oitxck] {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Quick Add Mini Modals */
.quick-mini-modal-overlay[b-0ug0oitxck] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 1rem;
    box-sizing: border-box;
}

.quick-mini-modal-card[b-0ug0oitxck] {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.08);
    border: 1px solid #bae6fd;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: auto;
    position: relative;
    transform: none;
}

.quick-mini-modal-header[b-0ug0oitxck] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.25rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-bottom: 1px solid #bae6fd;
}

.quick-mini-modal-header h4[b-0ug0oitxck] {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #0369a1;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.quick-mini-modal-body[b-0ug0oitxck] {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.quick-mini-modal-footer[b-0ug0oitxck] {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    padding: 0.85rem 1.25rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* Dark Mode Overrides for Quick Register */
html[data-theme="dark"] .quick-reg-card[b-0ug0oitxck],
body.dark-mode .quick-reg-card[b-0ug0oitxck] {
    background: #1e293b;
    border-color: #334155;
}

html[data-theme="dark"] .quick-reg-header[b-0ug0oitxck],
body.dark-mode .quick-reg-header[b-0ug0oitxck] {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-bottom-color: #334155;
}

html[data-theme="dark"] .quick-reg-title[b-0ug0oitxck],
body.dark-mode .quick-reg-title[b-0ug0oitxck] {
    color: #38bdf8;
}

html[data-theme="dark"] .quick-reg-subtitle[b-0ug0oitxck],
body.dark-mode .quick-reg-subtitle[b-0ug0oitxck] {
    color: #94a3b8;
}

html[data-theme="dark"] .quick-reg-body[b-0ug0oitxck],
body.dark-mode .quick-reg-body[b-0ug0oitxck] {
    background: #1e293b;
}

html[data-theme="dark"] .qf-label[b-0ug0oitxck],
body.dark-mode .qf-label[b-0ug0oitxck] {
    color: #94a3b8;
}

html[data-theme="dark"] .qf-input[b-0ug0oitxck],
body.dark-mode .qf-input[b-0ug0oitxck] {
    background-color: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}

html[data-theme="dark"] .quick-check-badge[b-0ug0oitxck],
body.dark-mode .quick-check-badge[b-0ug0oitxck] {
    background: #0f172a;
    border-color: #334155;
    color: #cbd5e1;
}

html[data-theme="dark"] .quick-check-badge.active[b-0ug0oitxck],
body.dark-mode .quick-check-badge.active[b-0ug0oitxck] {
    background: #0c4a6e;
    border-color: #0284c7;
    color: #38bdf8;
}

html[data-theme="dark"] .quick-reg-footer[b-0ug0oitxck],
body.dark-mode .quick-reg-footer[b-0ug0oitxck] {
    background: #0f172a;
    border-top-color: #334155;
}

html[data-theme="dark"] .quick-btn-cancel[b-0ug0oitxck],
body.dark-mode .quick-btn-cancel[b-0ug0oitxck] {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

html[data-theme="dark"] .quick-mini-modal-card[b-0ug0oitxck],
body.dark-mode .quick-mini-modal-card[b-0ug0oitxck] {
    background: #1e293b;
    border-color: #334155;
}

html[data-theme="dark"] .quick-mini-modal-header[b-0ug0oitxck],
body.dark-mode .quick-mini-modal-header[b-0ug0oitxck] {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-bottom-color: #334155;
}

html[data-theme="dark"] .quick-mini-modal-footer[b-0ug0oitxck],
body.dark-mode .quick-mini-modal-footer[b-0ug0oitxck] {
    background: #0f172a;
    border-top-color: #334155;
}

/* Inpatient Admissions Dashboard single-viewport theme */
:global(html:has(.ip-registration-page))[b-0ug0oitxck],
:global(body:has(.ip-registration-page))[b-0ug0oitxck] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.ip-registration-page))[b-0ug0oitxck],
:global(.app-main-wrapper:has(.ip-registration-page))[b-0ug0oitxck] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.ip-registration-page)[b-0ug0oitxck] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.dashboard-container.ip-registration-page[b-0ug0oitxck] {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.dashboard-container.ip-registration-page .dashboard-header[b-0ug0oitxck] {
    flex: 0 0 auto !important;
    margin-bottom: 0 !important;
    padding: 0.1rem 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.dashboard-container.ip-registration-page .dashboard-title h1[b-0ug0oitxck] {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #07547c !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 0.1rem !important;
}

.dashboard-container.ip-registration-page .dashboard-title p[b-0ug0oitxck] {
    color: #64748b !important;
    font-size: 0.74rem !important;
    margin: 0 !important;
}

.dashboard-container.ip-registration-page .header-actions-group[b-0ug0oitxck] {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.dashboard-container.ip-registration-page .stats-grid[b-0ug0oitxck] {
    flex: 0 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
    margin-bottom: 0 !important;
}

.dashboard-container.ip-registration-page .stat-card[b-0ug0oitxck] {
    padding: 0.35rem 0.75rem !important;
    border-radius: 10px !important;
    gap: 0.65rem !important;
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid #dfe7f1 !important;
}

.dashboard-container.ip-registration-page .stat-icon[b-0ug0oitxck] {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 8px !important;
    font-size: 1.1rem !important;
}

.dashboard-container.ip-registration-page .stat-value[b-0ug0oitxck] {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

.dashboard-container.ip-registration-page .stat-label[b-0ug0oitxck] {
    font-size: 0.66rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
}

.dashboard-container.ip-registration-page .filters-card[b-0ug0oitxck] {
    flex: 0 0 auto !important;
    padding: 0.35rem 0.75rem !important;
    margin-bottom: 0 !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid #dfe7f1 !important;
}

.dashboard-container.ip-registration-page .filters-row[b-0ug0oitxck] {
    gap: 0.65rem !important;
    align-items: center !important;
}

.dashboard-container.ip-registration-page .filter-group[b-0ug0oitxck] {
    gap: 0.15rem !important;
}

.dashboard-container.ip-registration-page .filter-group label[b-0ug0oitxck] {
    font-size: 0.66rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-bottom: 1px !important;
}

.dashboard-container.ip-registration-page .filter-control[b-0ug0oitxck] {
    height: 32px !important;
    padding: 0.25rem 0.65rem !important;
    border-radius: 8px !important;
    font-size: 0.78rem !important;
}

.dashboard-container.ip-registration-page .table-card[b-0ug0oitxck] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dashboard-container.ip-registration-page .table-bar-header[b-0ug0oitxck] {
    flex: 0 0 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    box-sizing: border-box !important;
    padding: 0 0.85rem !important;
    margin: 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.dashboard-container.ip-registration-page .kutty-user-badge[b-0ug0oitxck] {
    padding: 0.15rem 0.55rem !important;
    font-size: 0.72rem !important;
}

.dashboard-container.ip-registration-page .table-responsive[b-0ug0oitxck] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    height: 100% !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-overflow-scrolling: touch !important;
}

.dashboard-container.ip-registration-page .medico-table[b-0ug0oitxck] {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.dashboard-container.ip-registration-page .medico-table th[b-0ug0oitxck],
.medico-table th[b-0ug0oitxck] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.65rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.dashboard-container.ip-registration-page .medico-table th:last-child[b-0ug0oitxck],
.medico-table th:last-child[b-0ug0oitxck] {
    border-right: none !important;
}

.dashboard-container.ip-registration-page .medico-table tbody tr[b-0ug0oitxck] {
    height: 34px !important;
    min-height: 34px !important;
}

.dashboard-container.ip-registration-page .medico-table tbody tr:nth-child(even) td[b-0ug0oitxck] {
    background-color: #fbfdff !important;
}

.dashboard-container.ip-registration-page .medico-table tbody tr:hover td[b-0ug0oitxck] {
    background-color: #f0f8ff !important;
}

.dashboard-container.ip-registration-page .medico-table td[b-0ug0oitxck] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.65rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    font-size: 0.76rem !important;
    color: #334155 !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.dashboard-container.ip-registration-page .ip-pagination-container[b-0ug0oitxck] {
    flex: 0 0 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    box-sizing: border-box !important;
    padding: 0 0.85rem !important;
    margin: 0 !important;
    background: #ffffff !important;
    border-top: 1px solid #e5edf5 !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.dashboard-container.ip-registration-page .ip-pagination-info[b-0ug0oitxck] {
    font-size: 0.74rem !important;
    color: #526b82 !important;
}

.dashboard-container.ip-registration-page .ip-btn-page[b-0ug0oitxck] {
    min-width: 26px !important;
    height: 24px !important;
    padding: 0 0.5rem !important;
    border-radius: 6px !important;
    font-size: 0.72rem !important;
    color: #526b82 !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
}

.dashboard-container.ip-registration-page .ip-btn-page:hover:not(:disabled)[b-0ug0oitxck] {
    background: #e4f4ff !important;
    color: #0876ad !important;
    border-color: #a9ddfa !important;
}

.dashboard-container.ip-registration-page .ip-btn-page.active[b-0ug0oitxck] {
    background: #0876ad !important;
    border-color: #0876ad !important;
    color: #ffffff !important;
}

.report-type-modal-backdrop[b-0ug0oitxck] {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(3px);
}

.report-type-modal[b-0ug0oitxck] {
    width: min(100%, 560px);
    overflow: hidden;
    border: 1px solid #dbe5ef;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 20px 56px rgba(15, 23, 42, 0.26);
}

.report-type-modal-header[b-0ug0oitxck] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem 0.8rem;
    border-bottom: 1px solid #e8eef5;
}

.report-type-modal-header h2[b-0ug0oitxck] {
    margin: 0;
    color: #17324d;
    font-size: 1.08rem;
    font-weight: 750;
}

.report-type-modal-header p[b-0ug0oitxck] {
    margin: 0.25rem 0 0;
    color: #64748b;
    font-size: 0.8rem;
}

.report-type-close[b-0ug0oitxck] {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
}

.report-type-close:hover:not(:disabled)[b-0ug0oitxck] {
    background: #f1f5f9;
    color: #1e293b;
}

.report-type-patient[b-0ug0oitxck] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0.8rem 1.2rem 0;
    padding: 0.55rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}

.report-type-patient-icon[b-0ug0oitxck] {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.95rem;
}

.report-type-patient div[b-0ug0oitxck] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.15rem;
}

.report-type-patient strong[b-0ug0oitxck] {
    overflow: hidden;
    color: #1e293b;
    font-size: 0.84rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.report-type-patient div span[b-0ug0oitxck] {
    color: #64748b;
    font-size: 0.74rem;
}

.report-type-options[b-0ug0oitxck] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    padding: 0.9rem 1.2rem 1rem;
}

.report-type-option[b-0ug0oitxck] {
    display: flex;
    min-height: 112px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.75rem;
    border: 1px solid #dbe5ef;
    border-radius: 12px;
    background: #ffffff;
    color: #334155;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.report-type-option:hover:not(:disabled)[b-0ug0oitxck] {
    border-color: #7dd3fc;
    background: #f8fcff;
}

.report-type-option.selected[b-0ug0oitxck] {
    border-color: #0284c7;
    background: #f0f9ff;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.12);
}

.report-type-option:disabled[b-0ug0oitxck] {
    cursor: default;
    opacity: 0.75;
}

.report-type-option-icon[b-0ug0oitxck] {
    display: grid;
    width: 30px;
    height: 30px;
    margin-bottom: 0.1rem;
    place-items: center;
    border-radius: 9px;
    font-size: 1rem;
}

.report-type-option-icon.overview[b-0ug0oitxck] {
    background: #e0f2fe;
    color: #0369a1;
}

.report-type-option-icon.detailed[b-0ug0oitxck] {
    background: #ede9fe;
    color: #6d28d9;
}

.report-type-option-icon.full[b-0ug0oitxck] {
    background: #dcfce7;
    color: #15803d;
}

.report-type-option strong[b-0ug0oitxck] {
    color: #1e293b;
    font-size: 0.82rem;
}

.report-type-option > span:last-child[b-0ug0oitxck] {
    color: #64748b;
    font-size: 0.72rem;
    line-height: 1.4;
}

.report-type-modal-footer[b-0ug0oitxck] {
    display: flex;
    justify-content: flex-end;
    gap: 0.55rem;
    padding: 0.7rem 1.2rem 0.85rem;
    border-top: 1px solid #e8eef5;
    background: #fbfdff;
}

.report-type-cancel[b-0ug0oitxck],
.report-type-preview[b-0ug0oitxck] {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 650;
    cursor: pointer;
}

.report-type-cancel[b-0ug0oitxck] {
    border-color: #cbd5e1;
    background: #ffffff;
    color: #475569;
}

.report-type-preview[b-0ug0oitxck] {
    border-color: #0284c7;
    background: #0284c7;
    color: #ffffff;
}

.report-type-preview:hover:not(:disabled)[b-0ug0oitxck] {
    border-color: #0369a1;
    background: #0369a1;
}

.report-type-cancel:disabled[b-0ug0oitxck],
.report-type-preview:disabled[b-0ug0oitxck] {
    cursor: not-allowed;
    opacity: 0.55;
}

@media (max-width: 640px) {
    .report-type-modal-header[b-0ug0oitxck] {
        padding: 0.9rem 1rem 0.7rem;
    }

    .report-type-modal-header h2[b-0ug0oitxck] {
        font-size: 1.05rem;
    }

    .report-type-patient[b-0ug0oitxck] {
        margin: 0.75rem 1rem 0;
    }

    .report-type-options[b-0ug0oitxck] {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        padding: 0.75rem 1rem 0.85rem;
    }

    .report-type-option[b-0ug0oitxck] {
        min-height: 0;
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: center;
        column-gap: 0.7rem;
        padding: 0.7rem;
    }

    .report-type-option-icon[b-0ug0oitxck] {
        grid-row: span 2;
        margin: 0;
    }

    .report-type-option strong[b-0ug0oitxck],
    .report-type-option > span:last-child[b-0ug0oitxck] {
        grid-column: 2;
    }

    .report-type-modal-footer[b-0ug0oitxck] {
        padding: 0.7rem 1rem 0.8rem;
    }
}
/* /Components/Pages/IssueStock.razor.rz.scp.css */
/* Scoped styles for IssueStock component following Purchase Master design */

.items-page[b-jyrrepkijn] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-jyrrepkijn] {
    max-width: 1320px;
    margin: 0 auto;
}

.items-content[b-jyrrepkijn] {
    width: min(1240px, 100%);
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-jyrrepkijn] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    border-radius: 16px !important;
    padding: 1.25rem 2rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem !important;
}

.header-card-left[b-jyrrepkijn] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-card-icon[b-jyrrepkijn] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
}

.header-card-icon svg[b-jyrrepkijn] {
    stroke: #4f46e5 !important;
}

.header-card-text[b-jyrrepkijn] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-jyrrepkijn] {
    color: #312e81 !important;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.header-card-subheading[b-jyrrepkijn] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-jyrrepkijn] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-jyrrepkijn] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Form Styles */
.purchase-bill-fields[b-jyrrepkijn] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-grid-row-2 .field-group:last-child[b-jyrrepkijn] {
    grid-column: 3 / -1;
}

.purchase-bill-fields .premium-input[b-jyrrepkijn] {
    padding: 0 10px !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
    height: 38px !important;
    line-height: 38px !important;
    background: #f9fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #1f2937 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.purchase-bill-fields .premium-input:focus[b-jyrrepkijn] {
    border-color: #0f678f !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(15, 103, 143, 0.15) !important;
    outline: none;
}

.purchase-bill-fields input[type="date"].premium-input[b-jyrrepkijn],
.purchase-bill-fields input.premium-input[b-jyrrepkijn] {
    padding: 0 10px !important;
    height: 38px !important;
    line-height: normal !important;
    background: #f9fafc !important;
    border: 1px solid #cbd5e1 !important;
}

.purchase-bill-fields select.premium-input[b-jyrrepkijn] {
    -webkit-appearance: auto !important;
    appearance: auto !important;
}

.purchase-bill-fields .field-group[b-jyrrepkijn] {
    gap: 4px;
}

.purchase-bill-fields .field-label[b-jyrrepkijn] {
    font-size: 0.68rem !important;
    margin-bottom: 4px !important;
    font-weight: 700 !important;
    color: #374151 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.purchase-bill-fields .field-label.required[b-jyrrepkijn]::after {
    content: " *";
    color: #ef4444;
}

/* Purchase Grid Table */
.items-table[b-jyrrepkijn] {
    width: 100% !important;
}

.purchase-grid-table th[b-jyrrepkijn] {
    background: #f1f5f9 !important;
    color: #475569 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 6px 8px !important;
    border: 1px solid #cbd5e1 !important;
}

.purchase-grid-table td[b-jyrrepkijn] {
    padding: 0 !important;
    vertical-align: middle !important;
    border: 1px solid #cbd5e1 !important;
}

.purchase-item-input[b-jyrrepkijn] {
    height: 34px !important;
    border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
    font-size: 0.85rem !important;
    padding: 0 8px !important;
    outline: none !important;
    transition: all 0.2s !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.purchase-item-input:focus[b-jyrrepkijn] {
    background: #f0f7fa !important;
    box-shadow: inset 0 0 0 2px #0f678f !important;
}

.purchase-item-select[b-jyrrepkijn] {
    height: 34px !important;
    border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
    font-size: 0.85rem !important;
    padding: 0 8px !important;
    outline: none !important;
    transition: all 0.2s !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.purchase-item-select:focus[b-jyrrepkijn] {
    background: #f0f7fa !important;
    box-shadow: inset 0 0 0 2px #0f678f !important;
}

.purchase-item-readonly[b-jyrrepkijn] {
    font-size: 0.85rem !important;
    line-height: 34px !important;
    padding: 0 8px !important;
    color: #475569 !important;
}

/* Dotted Add Button */
.btn-dotted-add[b-jyrrepkijn] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border: 2px dashed #0f678f !important;
    background: #fff !important;
    color: #0f678f !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    border-radius: 20px !important;
    padding: 6px 28px !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-dotted-add:hover[b-jyrrepkijn] {
    background: rgba(15, 103, 143, 0.06) !important;
    border-color: #0d587a !important;
    color: #0d587a !important;
    transform: translateY(-1.5px) !important;
}

.btn-dotted-add:active[b-jyrrepkijn] {
    transform: translateY(0) !important;
}

/* Premium Save / Dispatch Button */
.btn-save-premium[b-jyrrepkijn] {
    min-width: 140px;
    height: 42px;
    background: #0f678f !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    padding: 0 1.5rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 12px rgba(15, 103, 143, 0.25) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.btn-save-premium:hover[b-jyrrepkijn] {
    background: #0d587a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(15, 103, 143, 0.35) !important;
}

.btn-cancel-modal[b-jyrrepkijn] {
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    padding: 0.55rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    min-width: 120px !important;
    color: #475569 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.btn-cancel-modal:hover[b-jyrrepkijn] {
    background: #f8fafc !important;
    color: #1e293b !important;
    border-color: #94a3b8 !important;
}
/* /Components/Pages/ItemMaster.razor.rz.scp.css */
/* Isolated styles for ItemMaster component */

.items-page[b-g59clhz0ny] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-g59clhz0ny] {
    max-width: 1320px;
    margin: 0 auto;
}

.items-content[b-g59clhz0ny] {
    width: min(1240px, 100%);
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-g59clhz0ny] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    border-radius: 16px !important;
    padding: 1.25rem 2rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem !important;
    /* Slightly below the top of the page */
}

.header-card-left[b-g59clhz0ny] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-card-icon[b-g59clhz0ny] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
}

.header-card-icon svg[b-g59clhz0ny] {
    stroke: #4f46e5 !important;
}

.header-card-text[b-g59clhz0ny] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-g59clhz0ny] {
    color: #312e81 !important;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.header-card-subheading[b-g59clhz0ny] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-g59clhz0ny] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-g59clhz0ny] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.items-search-wrap[b-g59clhz0ny] {
    position: relative;
    display: flex;
    align-items: center;
}

.items-search[b-g59clhz0ny] {
    width: 220px;
    height: 38px !important;
    border-radius: 20px !important;
    /* Oval capsule search bar */
    border: 1px solid #cbd5e1 !important;
    padding-left: 2.4rem !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.items-search:focus[b-g59clhz0ny] {
    outline: none !important;
    width: 280px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.items-search-icon[b-g59clhz0ny] {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.view-toggle[b-g59clhz0ny] {
    display: inline-flex;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    /* Oval capsule toggle */
    overflow: hidden;
    background: #f8fafc !important;
    height: 38px;
    padding: 2px;
    align-items: center;
}

.view-toggle button[b-g59clhz0ny] {
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    width: 36px;
    height: 32px;
    border-radius: 16px !important;
    /* Rounded active state */
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle button.active[b-g59clhz0ny] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.add-item-btn[b-g59clhz0ny] {
    height: 38px !important;
    border-radius: 20px !important;
    /* Oval capsule Add Item button */
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 1.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
}

.add-item-btn:hover[b-g59clhz0ny] {
    background: #3f39c5 !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35) !important;
    transform: translateY(-1.5px);
}

.items-main-card[b-g59clhz0ny] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-top: 1.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
}

.items-table[b-g59clhz0ny] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

table.table.items-table thead tr th[b-g59clhz0ny],
.items-table th[b-g59clhz0ny] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: #ffffff !important;
    color: #8a99ad !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.8px !important;
    padding: 10px 16px !important;
    border-bottom: 2px solid #eef2f6 !important;
    text-align: center !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.items-table td[b-g59clhz0ny] {
    border-top: none !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding: 10px 16px !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #64748b !important;
    vertical-align: middle !important;
}

.items-table td:last-child[b-g59clhz0ny] {
    white-space: nowrap !important;
    text-align: center !important;
}

.items-table tr td:first-child[b-g59clhz0ny] {
    color: #3b82f6 !important;
    /* Order No blue */
    font-weight: 700 !important;
}

.items-table tr td:nth-child(3)[b-g59clhz0ny] {
    color: #1e293b !important;
    /* Bold, dark name column */
    font-weight: 700 !important;
}

.action-btn[b-g59clhz0ny] {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
    /* Slate grey icons */
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.action-btn:hover[b-g59clhz0ny] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.action-btn i[b-g59clhz0ny] {
    font-size: 0.85rem !important;
}

.items-card-grid[b-g59clhz0ny] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.item-card[b-g59clhz0ny] {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.item-card:hover[b-g59clhz0ny] {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.item-card-head[b-g59clhz0ny] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    color: #1e293b !important;
    padding: 0.6rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.1) !important;
}

.card-item-code[b-g59clhz0ny] {
    color: #4b5563 !important;
    font-weight: 700 !important;
    margin-right: 6px;
}

.card-item-name[b-g59clhz0ny] {
    color: #374151 !important;
    font-weight: 700 !important;
}

.item-card-body[b-g59clhz0ny] {
    padding: 0.75rem 1rem !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
}

.detail-row[b-g59clhz0ny] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.detail-row:last-child[b-g59clhz0ny] {
    border-bottom: none !important;
}

.detail-row span[b-g59clhz0ny] {
    color: #8a99ad !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.detail-row strong[b-g59clhz0ny] {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Vendor Master Specific Styles */
.items-main-card .table-responsive[b-g59clhz0ny] {
    padding-right: 0 !important;
    overflow-x: auto !important;
    max-height: 550px !important;
    overflow-y: auto !important;
}

.items-table[b-g59clhz0ny] {
    width: 100% !important;
}

.items-table th[b-g59clhz0ny] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    color: #8a99ad !important;
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    padding: 10px 16px !important;
    border-bottom: 2px solid rgba(99, 102, 241, 0.15) !important;
}

.items-table td[b-g59clhz0ny] {
    white-space: normal !important;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem !important;
    padding: 10px 16px !important;
}

/* Premium Modal Styles for Vendor */
.modal-overlay[b-g59clhz0ny] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.modal-card[b-g59clhz0ny] {
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header-bar[b-g59clhz0ny] {
    background: #fff !important;
    color: #333 !important;
    padding: 24px 32px !important;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-left[b-g59clhz0ny] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-badge[b-g59clhz0ny] {
    background: var(--sidebar-bg);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.modal-title[b-g59clhz0ny] {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.modal-subtitle[b-g59clhz0ny] {
    font-size: 0.85rem;
    color: #64748b;
}

.btn-close-modal[b-g59clhz0ny] {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-g59clhz0ny] {
    background: #e2e8f0;
    color: #1e293b;
}

.modal-inner[b-g59clhz0ny] {
    padding: 16px 32px !important;
    background: #fff;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.modal-inner[b-g59clhz0ny]  form {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.modal-inner[b-g59clhz0ny]  .modal-scroll-area {
    overflow-y: auto !important;
    flex: 1;
    padding-right: 8px;
    min-height: 0;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 #f8fafc !important;
}

.modal-scroll-area[b-g59clhz0ny]::-webkit-scrollbar,
.modal-inner[b-g59clhz0ny]  .modal-scroll-area::-webkit-scrollbar {
    width: 5px !important;
}

.modal-scroll-area[b-g59clhz0ny]::-webkit-scrollbar-track,
.modal-inner[b-g59clhz0ny]  .modal-scroll-area::-webkit-scrollbar-track {
    background: #f8fafc !important;
    border-radius: 4px !important;
}

.modal-scroll-area[b-g59clhz0ny]::-webkit-scrollbar-thumb,
.modal-inner[b-g59clhz0ny]  .modal-scroll-area::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 4px !important;
}

.modal-scroll-area[b-g59clhz0ny]::-webkit-scrollbar-thumb:hover,
.modal-inner[b-g59clhz0ny]  .modal-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

.form-section-header[b-g59clhz0ny] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    margin-top: 4px;
}

.form-section-icon[b-g59clhz0ny] {
    background: var(--sidebar-bg);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.form-section-title[b-g59clhz0ny] {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #4f46e5;
}

.form-grid[b-g59clhz0ny] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.col-prefix[b-g59clhz0ny] {
    grid-column: span 3;
}

.col-main[b-g59clhz0ny] {
    grid-column: span 9;
}

.col-2[b-g59clhz0ny] {
    grid-column: span 2;
}

.col-3[b-g59clhz0ny] {
    grid-column: span 3;
}

.col-4[b-g59clhz0ny] {
    grid-column: span 4;
}

.col-5[b-g59clhz0ny] {
    grid-column: span 5;
}

.col-6[b-g59clhz0ny] {
    grid-column: span 6;
}

.col-7[b-g59clhz0ny] {
    grid-column: span 7;
}

.col-8[b-g59clhz0ny] {
    grid-column: span 8;
}

.col-9[b-g59clhz0ny] {
    grid-column: span 9;
}

.col-10[b-g59clhz0ny] {
    grid-column: span 10;
}

.col-11[b-g59clhz0ny] {
    grid-column: span 11;
}

.col-12[b-g59clhz0ny] {
    grid-column: span 12;
}

.field-group[b-g59clhz0ny] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label[b-g59clhz0ny] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.field-label.required[b-g59clhz0ny]::after {
    content: " *";
    color: #ef4444;
}

.premium-input[b-g59clhz0ny] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    color: #4b5563 !important;
    transition: all 0.2s !important;
    height: 38px !important;
    box-sizing: border-box !important;
}

.premium-input[b-g59clhz0ny]::placeholder {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

.premium-input:focus[b-g59clhz0ny] {
    background: #fff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

.modal-footer-actions[b-g59clhz0ny] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.btn-delete-text[b-g59clhz0ny] {
    color: #ef4444;
    background: none;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-delete-text:hover[b-g59clhz0ny] {
    background: #fef2f2;
}

.btn-save-premium[b-g59clhz0ny] {
    background: #1c9f5f;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(28, 159, 95, 0.3);
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-save-premium:hover[b-g59clhz0ny] {
    background: #168a52;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(28, 159, 95, 0.4);
}

.btn-save-premium:active[b-g59clhz0ny] {
    transform: translateY(0);
}

.btn-save-premium:disabled[b-g59clhz0ny] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Custom Overrides for Segmented Controls inside Item Master Modal */
.premium-segmented-control-joined[b-g59clhz0ny] {
    height: 38px !important;
    border-radius: 8px !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
}

.premium-segmented-control-joined .segment-btn-joined[b-g59clhz0ny] {
    height: 100% !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Quick Add Button & Quick Modals */
.field-label-row[b-g59clhz0ny] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 2px !important;
    height: 20px !important;
}

.btn-quick-add-mini[b-g59clhz0ny] {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 0.72rem !important;
    line-height: 1 !important;
    padding: 0 !important;
    box-shadow: 0 1px 3px rgba(79, 70, 229, 0.25) !important;
}

.btn-quick-add-mini:hover[b-g59clhz0ny] {
    background: #3730a3 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.35) !important;
}

.btn-quick-add-mini:active[b-g59clhz0ny] {
    transform: scale(0.95) !important;
}

.btn-quick-add-mini i[b-g59clhz0ny] {
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-quick-add[b-g59clhz0ny] {
    width: 36px !important;
    height: 38px !important;
    min-width: 36px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 0.85rem !important;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25) !important;
    flex-shrink: 0 !important;
}

.btn-quick-add:hover[b-g59clhz0ny] {
    background: #4338ca !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.35) !important;
}

.btn-quick-add:active[b-g59clhz0ny] {
    transform: translateY(0) !important;
}

.quick-modal-overlay[b-g59clhz0ny] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(5px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2050 !important;
}

/* Special Symbols styling */
.symbols-grid[b-g59clhz0ny] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 6px 0 !important;
}

.symbol-btn[b-g59clhz0ny] {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 8px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}

.symbol-btn:hover[b-g59clhz0ny] {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
    transform: translateY(-2px) scale(1.08) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
}

.symbol-btn:active[b-g59clhz0ny] {
    transform: translateY(0) scale(0.98) !important;
}

/* ─── Excel Import Panel & Upload Elements (Matching Opening Stock) ─── */
.btn-import-excel[b-g59clhz0ny] {
    height: 38px;
    background: #ffffff !important;
    border: 1.5px solid #86efac !important;
    color: #15803d !important;
    border-radius: 10px !important;
    padding: 0 1rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.08) !important;
    transition: all 0.2s ease-in-out !important;
}

.btn-import-excel:hover[b-g59clhz0ny] {
    background: #f0fdf4 !important;
    border-color: #22c55e !important;
    color: #166534 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.18) !important;
}

.btn-header-template[b-g59clhz0ny] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    border: 1px solid rgba(99, 102, 241, 0.25) !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
    height: 36px;
    border-radius: 10px;
    padding: 0 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn-header-template:hover:not(:disabled)[b-g59clhz0ny] {
    background: #f5f3ff !important;
    border-color: #4f46e5 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15) !important;
}

.glass-panel-card[b-g59clhz0ny] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: all 0.25s ease;
    text-align: left;
}

.panel-header-strip[b-g59clhz0ny] {
    padding: 0.9rem 1.5rem;
    background: linear-gradient(to right, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-header-title[b-g59clhz0ny] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    letter-spacing: -0.2px;
}

.panel-header-title i[b-g59clhz0ny] {
    color: #4f46e5;
    font-size: 1.1rem;
}

.panel-header-badge[b-g59clhz0ny] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
}

.panel-body-area[b-g59clhz0ny] {
    padding: 1.5rem;
}

.upload-form-wrapper[b-g59clhz0ny] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: stretch;
}

@media (max-width: 992px) {
    .upload-form-wrapper[b-g59clhz0ny] {
        grid-template-columns: 1fr;
    }
}

.upload-params-col[b-g59clhz0ny] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group-custom[b-g59clhz0ny] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-label-custom[b-g59clhz0ny] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.form-label-custom .req-star[b-g59clhz0ny] {
    color: #ef4444;
    font-weight: 900;
}

.form-label-custom .hint-badge[b-g59clhz0ny] {
    font-size: 0.68rem;
    font-weight: 500;
    color: #64748b;
    margin-left: auto;
}

.custom-switch-card[b-g59clhz0ny] {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    cursor: pointer;
}

.custom-switch-card:hover[b-g59clhz0ny] {
    border-color: #cbd5e1;
}

.custom-switch-card.active[b-g59clhz0ny] {
    background: #f0fdf4;
    border-color: #86efac;
}

.switch-text-wrap[b-g59clhz0ny] {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
}

.switch-title[b-g59clhz0ny] {
    font-size: 0.84rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
}

.switch-desc[b-g59clhz0ny] {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.35;
}

.info-guidance-card[b-g59clhz0ny] {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    text-align: left;
}

.info-guidance-head[b-g59clhz0ny] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #4f46e5;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.info-guidance-list[b-g59clhz0ny] {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.73rem;
    color: #64748b;
    line-height: 1.45;
}

.info-guidance-list li[b-g59clhz0ny] {
    margin-bottom: 3px;
}

.info-guidance-list li:last-child[b-g59clhz0ny] {
    margin-bottom: 0;
}

.dropzone-container[b-g59clhz0ny] {
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    padding: 1.75rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 190px;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.dropzone-container:hover[b-g59clhz0ny], .dropzone-container.has-file[b-g59clhz0ny] {
    border-color: #4f46e5;
    background: #f5f3ff;
}

.dropzone-icon[b-g59clhz0ny] {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    font-size: 1.5rem;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.08);
}

.dropzone-text-main[b-g59clhz0ny] {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px;
}

.dropzone-text-sub[b-g59clhz0ny] {
    font-size: 0.74rem;
    color: #64748b;
    margin-bottom: 12px;
}

.btn-browse-file[b-g59clhz0ny] {
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.2);
    display: inline-flex;
    align-items: center;
}

.btn-browse-file:hover[b-g59clhz0ny] {
    background: #4338ca;
}

.file-selected-badge-box[b-g59clhz0ny] {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #86efac;
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}

.file-info-left[b-g59clhz0ny] {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    overflow: hidden;
}

.file-info-icon[b-g59clhz0ny] {
    font-size: 1.7rem;
    color: #10b981;
    flex-shrink: 0;
}

.file-info-meta[b-g59clhz0ny] {
    overflow: hidden;
}

.file-info-title[b-g59clhz0ny] {
    font-size: 0.86rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.file-info-size[b-g59clhz0ny] {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 2px;
    display: flex;
    align-items: center;
}

.btn-remove-file[b-g59clhz0ny] {
    background: #fee2e2;
    color: #ef4444;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-remove-file:hover[b-g59clhz0ny] {
    background: #ef4444;
    color: #ffffff;
}

.btn-upload-submit[b-g59clhz0ny] {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3) !important;
    transition: all 0.25s ease !important;
    margin-top: 1.25rem;
}

.btn-upload-submit:hover:not(:disabled)[b-g59clhz0ny] {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
    transform: translateY(-1.5px);
}

.btn-upload-submit:disabled[b-g59clhz0ny] {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
}

.stat-summary-grid[b-g59clhz0ny] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .stat-summary-grid[b-g59clhz0ny] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stat-summary-grid[b-g59clhz0ny] {
        grid-template-columns: 1fr;
    }
}

.stat-metric-card[b-g59clhz0ny] {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.stat-metric-card:hover[b-g59clhz0ny] {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.stat-icon-wrap[b-g59clhz0ny] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-info-wrap[b-g59clhz0ny] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stat-val[b-g59clhz0ny] {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1e293b;
}

.stat-lbl[b-g59clhz0ny] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    margin-top: 3px;
}

.stat-card-total .stat-icon-wrap[b-g59clhz0ny] {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}
.stat-card-total .stat-val[b-g59clhz0ny] {
    color: #1e40af;
}

.stat-card-inserted .stat-icon-wrap[b-g59clhz0ny] {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}
.stat-card-inserted .stat-val[b-g59clhz0ny] {
    color: #15803d;
}

.stat-card-updated .stat-icon-wrap[b-g59clhz0ny] {
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
}
.stat-card-updated .stat-val[b-g59clhz0ny] {
    color: #3730a3;
}

.stat-card-skipped .stat-icon-wrap[b-g59clhz0ny] {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}
.stat-card-skipped .stat-val[b-g59clhz0ny] {
    color: #b45309;
}

.banner-alert-box[b-g59clhz0ny] {
    border-radius: 14px;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 1.25rem;
    text-align: left;
}

.banner-alert-success[b-g59clhz0ny] {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #14532d;
}

.banner-alert-warning[b-g59clhz0ny] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #78350f;
}

.banner-alert-error[b-g59clhz0ny] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #7f1d1d;
}

.banner-icon[b-g59clhz0ny] {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.banner-content[b-g59clhz0ny] {
    flex: 1;
}

.banner-title[b-g59clhz0ny] {
    font-size: 0.92rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.banner-text[b-g59clhz0ny] {
    font-size: 0.82rem;
    line-height: 1.4;
    margin: 0;
}

.ignored-columns-wrap[b-g59clhz0ny] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.ignored-col-pill[b-g59clhz0ny] {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}

.error-table-card[b-g59clhz0ny] {
    background: #ffffff;
    border: 1px solid #fca5a5;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.error-table-header[b-g59clhz0ny] {
    background: #fee2e2;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #fecaca;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.error-table-title[b-g59clhz0ny] {
    font-size: 0.88rem;
    font-weight: 800;
    color: #991b1b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-download-skipped[b-g59clhz0ny] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff;
    color: #15803d;
    border: 1.5px solid #86efac;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.btn-download-skipped:hover:not(:disabled)[b-g59clhz0ny] {
    background: #f0fdf4;
    border-color: #22c55e;
    color: #166534;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(34, 197, 94, 0.2);
}

.btn-download-skipped:disabled[b-g59clhz0ny] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
/* Master dashboard theme */
:global(.main-content):has(.items-page)[b-g59clhz0ny] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.items-page[b-g59clhz0ny] { min-height: calc(100vh - 1.5rem) !important; padding: 0 !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.items-shell[b-g59clhz0ny], .items-content[b-g59clhz0ny] { max-width: none !important; padding: 0 !important; }
.premium-header-card[b-g59clhz0ny] { height: 78px !important; box-sizing: border-box !important; padding: .15rem 0 !important; margin-bottom: .6rem !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.header-card-icon[b-g59clhz0ny] { background: linear-gradient(135deg,#087bb5,#07547c) !important; }
.header-card-heading[b-g59clhz0ny] { color: #07547c !important; font-size: 1.85rem !important; }
.header-card-subheading[b-g59clhz0ny] { color: #647b90 !important; }
.items-search[b-g59clhz0ny] { width: 280px !important; height: 40px !important; border-radius: 10px !important; border-color: #cbd9e8 !important; }
.add-item-btn[b-g59clhz0ny] { height: 40px !important; border-radius: 10px !important; background: #087bb5 !important; }
.items-main-card[b-g59clhz0ny], .error-table-card[b-g59clhz0ny] { border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; }
.items-table thead tr[b-g59clhz0ny], .custom-table thead tr[b-g59clhz0ny] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.items-table thead th[b-g59clhz0ny], .custom-table thead th[b-g59clhz0ny] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.items-table tbody tr[b-g59clhz0ny], .custom-table tbody tr[b-g59clhz0ny] { height: 44px !important; background: #fff !important; }
.items-table tbody tr:nth-child(even)[b-g59clhz0ny], .custom-table tbody tr:nth-child(even)[b-g59clhz0ny] { background: #f8fbfe !important; }
.items-table tbody td[b-g59clhz0ny], .custom-table tbody td[b-g59clhz0ny] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.items-table tbody tr:hover[b-g59clhz0ny], .custom-table tbody tr:hover[b-g59clhz0ny] { background: #f0f8ff !important; }
/* /Components/Pages/LabResultDataEntry.razor.rz.scp.css */
/* Container */
.re-container[b-mmpe38oavg] {
    padding: 6px 14px 4px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1e293b;
    background: linear-gradient(180deg, #eef4ff 0%, #f6f8fc 100%);
    height: calc(100vh - 46px);
    max-height: calc(100vh - 46px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-sizing: border-box;
}

/* Common form elements */
.re-label[b-mmpe38oavg] {
    font-size: 0.68rem;
    font-weight: 650;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.re-input[b-mmpe38oavg],
.re-select[b-mmpe38oavg],
.re-input-date[b-mmpe38oavg],
.re-input-time[b-mmpe38oavg],
.re-textarea[b-mmpe38oavg] {
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 0.74rem;
    color: #1e293b;
    background: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.re-input:focus[b-mmpe38oavg],
.re-select:focus[b-mmpe38oavg],
.re-input-date:focus[b-mmpe38oavg],
.re-input-time:focus[b-mmpe38oavg],
.re-textarea:focus[b-mmpe38oavg] {
    border-color: #6366f1;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.12);
}

.re-input[b-mmpe38oavg],
.re-select[b-mmpe38oavg],
.re-input-date[b-mmpe38oavg],
.re-input-time[b-mmpe38oavg] {
    height: 25px;
}

.re-select[b-mmpe38oavg] {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%2394a3b8' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    padding-right: 20px;
    cursor: pointer;
}

.re-input-yellow[b-mmpe38oavg] {
    background-color: #fefce8;
    border-color: #fde68a;
    color: #92400e;
}

.re-input-yellow:focus[b-mmpe38oavg] {
    border-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}

/* Header Section */
.re-header-section[b-mmpe38oavg] {
    background: #ffffff;
    border-radius: 8px;
    padding: 4px 10px;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.04);
}

.re-top-left-group[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.re-top-avatar[b-mmpe38oavg] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0284c7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
    flex-shrink: 0;
}

.re-top-name-block[b-mmpe38oavg] {
    display: flex;
    flex-direction: column;
}

.re-top-name[b-mmpe38oavg] {
    font-size: 0.78rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
}

.re-top-sub[b-mmpe38oavg] {
    font-size: 0.56rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 1px;
}

.re-top-auth-btn[b-mmpe38oavg] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 3px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    height: 32px;
    box-sizing: border-box;
}

.re-top-auth-btn:hover[b-mmpe38oavg] {
    background: #f1f5f9;
    border-color: #94a3b8;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.re-auth-btn-icon[b-mmpe38oavg] {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.re-auth-btn-content[b-mmpe38oavg] {
    display: flex;
    flex-direction: column;
}

.re-auth-btn-line1[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.re-auth-btn-label[b-mmpe38oavg] {
    font-size: 0.74rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.re-auth-btn-line2[b-mmpe38oavg] {
    font-size: 0.6rem;
    color: #64748b;
    font-weight: 600;
    line-height: 1.1;
}

.re-badge-auth2[b-mmpe38oavg] {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
    border-radius: 9999px;
    padding: 1px 5px;
    font-size: 0.58rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.re-badge-auth1[b-mmpe38oavg] {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    border-radius: 9999px;
    padding: 1px 5px;
    font-size: 0.58rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.re-badge-entry[b-mmpe38oavg] {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
    border-radius: 9999px;
    padding: 1px 5px;
    font-size: 0.58rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.re-badge-pending[b-mmpe38oavg] {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 1px 5px;
    font-size: 0.58rem;
    font-weight: 700;
}

.re-auth-btn-chevron[b-mmpe38oavg] {
    font-size: 0.65rem;
    color: #94a3b8;
    margin-left: 2px;
}

.re-top-auth-item[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 2px 8px;
}

.re-top-auth-item .text-success[b-mmpe38oavg] {
    color: #10b981;
    font-size: 0.75rem;
}

.re-top-auth-item .text-muted-check[b-mmpe38oavg] {
    color: #cbd5e1;
    font-size: 0.75rem;
}

.re-top-auth-text[b-mmpe38oavg] {
    display: flex;
    flex-direction: column;
}

.re-auth-tag[b-mmpe38oavg] {
    font-size: 0.56rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1;
}

.re-auth-name[b-mmpe38oavg] {
    font-size: 0.68rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.1;
}

/* Top Header Patient Card (Marked Area) */
.re-top-patient-card[b-mmpe38oavg] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 2px 10px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    height: 32px;
    box-sizing: border-box;
    cursor: default;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.re-top-patient-card:hover[b-mmpe38oavg] {
    background: #ffffff;
    border-color: #94a3b8;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.re-patient-card-icon[b-mmpe38oavg] {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #e0e7ff;
    color: #4338ca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.re-patient-card-content[b-mmpe38oavg] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.re-patient-card-line1[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.1;
}

.re-patient-card-name[b-mmpe38oavg] {
    font-size: 0.75rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.re-patient-demog-badge[b-mmpe38oavg] {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    border-radius: 4px;
    padding: 0 4px;
    font-size: 0.58rem;
    font-weight: 700;
    white-space: nowrap;
}

.re-patient-card-line2[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.1;
    margin-top: 1px;
}

.re-patient-sub-item[b-mmpe38oavg] {
    font-size: 0.6rem;
    color: #64748b;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.re-patient-sub-item i[b-mmpe38oavg] {
    font-size: 0.55rem;
    color: #94a3b8;
}

.re-top-patient-badge[b-mmpe38oavg] {
    background: #e0e7ff;
    color: #3730a3;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #c7d2fe;
    white-space: nowrap;
    height: 24px;
    box-sizing: border-box;
}

.re-header-right[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1;
    flex-shrink: 0;
}

.re-top-datetime-card[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 2px 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    height: 24px;
    box-sizing: border-box;
}

.re-dt-toggle[b-mmpe38oavg] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    margin: 0;
    white-space: nowrap;
}

.re-top-input-date[b-mmpe38oavg],
.re-top-input-time[b-mmpe38oavg] {
    border: none;
    background: transparent;
    font-size: 0.7rem;
    font-weight: 600;
    color: #1e293b;
    outline: none;
    font-family: inherit;
    height: 20px;
    padding: 0;
}

.re-top-input-date[b-mmpe38oavg] {
    width: 95px;
}

.re-top-input-time[b-mmpe38oavg] {
    width: 65px;
}

.re-dt-divider[b-mmpe38oavg] {
    width: 1px;
    height: 14px;
    background: #cbd5e1;
}

.re-clock-icon[b-mmpe38oavg] {
    color: #64748b;
    font-size: 0.72rem;
}

.re-top-pill-btn[b-mmpe38oavg] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 0 9px;
    height: 24px;
    font-size: 0.68rem;
    font-weight: 650;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    white-space: nowrap;
    box-sizing: border-box;
}

.re-top-pill-btn:hover[b-mmpe38oavg],
.re-top-pill-btn.active[b-mmpe38oavg] {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
}

.re-top-search-wrapper[b-mmpe38oavg] {
    position: relative;
    display: flex;
    align-items: center;
}

.re-top-search-icon[b-mmpe38oavg] {
    position: absolute;
    left: 8px;
    color: #94a3b8;
    font-size: 0.7rem;
    pointer-events: none;
}

.re-top-search-input[b-mmpe38oavg] {
    width: 110px;
    height: 24px;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding-left: 24px;
    padding-right: 20px;
    font-size: 0.68rem;
    color: #1e293b;
    font-weight: 500;
    outline: none;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    box-sizing: border-box;
}

.re-top-search-input:focus[b-mmpe38oavg] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
}

.re-top-edit-btn[b-mmpe38oavg] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1.5px solid #818cf8;
    color: #4f46e5;
    border-radius: 9999px;
    padding: 0 9px;
    height: 24px;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(99, 102, 241, 0.1);
    white-space: nowrap;
    box-sizing: border-box;
}

.re-top-edit-btn:hover[b-mmpe38oavg] {
    background: #eef2ff;
    border-color: #6366f1;
}

.re-top-edit-btn.active[b-mmpe38oavg] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

/* Sample Card */
.re-sample-card[b-mmpe38oavg] {
    background: #ffffff;
    border-radius: 8px;
    padding: 4px 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
}

.re-sample-left[b-mmpe38oavg],
.re-sample-right[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.re-sample-label[b-mmpe38oavg] {
    font-size: 0.72rem;
    font-weight: 750;
    color: #0f172a;
    margin-right: 2px;
    white-space: nowrap;
}

.re-sample-select[b-mmpe38oavg],
.re-sample-input[b-mmpe38oavg] {
    height: 25px;
    border-radius: 5px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 0 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #1e293b;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.re-sample-select:focus[b-mmpe38oavg],
.re-sample-input:focus[b-mmpe38oavg] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
}

.re-pill-btn-danger[b-mmpe38oavg] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff1f2;
    border: 1.5px solid #fecdd3;
    color: #e11d48;
    border-radius: 9999px;
    padding: 0 9px;
    height: 25px;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    box-sizing: border-box;
}

.re-pill-btn-danger:hover[b-mmpe38oavg],
.re-pill-btn-danger.active[b-mmpe38oavg] {
    background: #ffe4e6;
    border-color: #fda4af;
}

.re-pill-btn-outline[b-mmpe38oavg] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #2563eb;
    border-radius: 9999px;
    padding: 0 9px;
    height: 25px;
    font-size: 0.68rem;
    font-weight: 650;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    box-sizing: border-box;
}

.re-pill-btn-outline:hover[b-mmpe38oavg] {
    background: #f8fafc;
    border-color: #94a3b8;
}

/* Custom Checkbox/Radio */
.re-check-label[b-mmpe38oavg],
.re-radio-label[b-mmpe38oavg] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    user-select: none;
}

.re-check-label input[type="checkbox"][b-mmpe38oavg],
.re-radio-label input[type="radio"][b-mmpe38oavg] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    outline: none;
    transition: all 0.2s;
    position: relative;
    cursor: pointer;
}

.re-radio-label input[type="radio"][b-mmpe38oavg] {
    border-radius: 50%;
}

.re-check-label input[type="checkbox"]:checked[b-mmpe38oavg],
.re-radio-label input[type="radio"]:checked[b-mmpe38oavg] {
    background-color: #6366f1;
    border-color: #6366f1;
}

/* Tabs */
.re-tabs-container[b-mmpe38oavg] {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 2px;
    padding: 0 4px;
}

.re-tab[b-mmpe38oavg] {
    background: transparent;
    border: none;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.re-tab:hover[b-mmpe38oavg] {
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.05);
}

.re-tab.active[b-mmpe38oavg] {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
    background: rgba(99, 102, 241, 0.08);
}

/* Main Content Area */
.re-main-content[b-mmpe38oavg] {
    display: flex;
    gap: 24px;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.re-panel-card[b-mmpe38oavg] {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.re-left-panel[b-mmpe38oavg] {
    width: 100%;
    height: 100%;
    flex: 1 1 0;
    min-height: 0;
}

.re-right-panel[b-mmpe38oavg] {
    position: absolute;
    top: 10px;
    right: 16px;
    width: 320px;
    z-index: 50;
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 18px;
    overflow: hidden;
}

/* Table Actions */
.re-panel-header[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);\n    background: rgba(248, 250, 252, 0.8);\n}

/* ===== BILLED TESTS DROPDOWN ===== */
.re-bt-wrapper[b-mmpe38oavg] {
    position: relative;
}

.re-billed-tests[b-mmpe38oavg] {
    color: #ef4444;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(180deg, #fef2f2 0%, #fde8e8 100%);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.25);
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.08);
}

.re-billed-tests:hover[b-mmpe38oavg],
.re-billed-tests.active[b-mmpe38oavg] {
    background: #fee2e2;
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.12);
}

.re-bt-chevron[b-mmpe38oavg] {
    font-size: 0.6rem;
    transition: transform 0.25s ease;
    margin-left: 2px;
}

.re-bt-chevron.up[b-mmpe38oavg] {
    transform: rotate(180deg);
}

/* ===== ADVANCE FILTER DROPDOWN ===== */
.re-af-wrapper[b-mmpe38oavg] {
    position: relative;
}

.re-advance-filter[b-mmpe38oavg] {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 0 12px;
    height: 30px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 650;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    user-select: none;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.re-advance-filter:hover[b-mmpe38oavg],
.re-advance-filter.active[b-mmpe38oavg] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.re-af-chevron[b-mmpe38oavg] {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
    color: #94a3b8;
}

.re-af-chevron.up[b-mmpe38oavg] {
    transform: rotate(180deg);
}

.re-af-dropdown[b-mmpe38oavg] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    z-index: 200;
    overflow: hidden;
    animation: re-bt-appear-b-mmpe38oavg 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.re-af-dropdown-header[b-mmpe38oavg] {
    padding: 8px 12px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.re-af-dropdown-body[b-mmpe38oavg] {
    max-height: 280px;
    overflow-y: auto;
}

.re-af-item[b-mmpe38oavg] {
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s;
}

.re-af-item:hover[b-mmpe38oavg] {
    background: #f8fafc;
    color: #4f46e5;
}

.re-af-item.selected[b-mmpe38oavg] {
    background: #eff6ff;
    color: #2563eb;
    position: relative;
    padding-left: 28px;
}

.re-af-overlay[b-mmpe38oavg] {
    position: fixed;
    inset: 0;
    z-index: 199;
}

/* ===== TEST SEARCH ===== */
.re-search-wrapper[b-mmpe38oavg] {
    position: relative;
    display: flex;
    align-items: center;
}

.re-test-search[b-mmpe38oavg] {
    min-width: 180px;
    padding-right: 28px !important;
}

.re-clear-search[b-mmpe38oavg] {
    position: absolute;
    right: 6px;
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 4px;
    font-size: 0.75rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.re-clear-search:hover[b-mmpe38oavg] {
    color: #ef4444;
}

/* Dropdown Panel */
.re-bt-dropdown[b-mmpe38oavg] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 240px;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    z-index: 200;
    overflow: hidden;
    animation: re-bt-appear-b-mmpe38oavg 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

@keyframes re-bt-appear-b-mmpe38oavg {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.re-bt-dropdown-header[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: linear-gradient(to right, #fef2f2, #fff);
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ef4444;
    gap: 8px;
}

.re-bt-count[b-mmpe38oavg] {
    background: #fecaca;
    color: #b91c1c;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
}

.re-bt-dropdown-body[b-mmpe38oavg] {
    max-height: 220px;
    overflow-y: auto;
    padding: 4px 0;
}

.re-bt-item[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s;
    user-select: none;
}

.re-bt-item:hover[b-mmpe38oavg] {
    background: #f8fafc;
}

.re-bt-item.selected[b-mmpe38oavg] {
    color: #1e293b;
}

.re-bt-item input[type="checkbox"][b-mmpe38oavg] {
    width: 14px;
    height: 14px;
    accent-color: #ef4444;
    cursor: pointer;
    flex-shrink: 0;
}

.re-bt-item-name[b-mmpe38oavg] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.re-bt-dropdown-footer[b-mmpe38oavg] {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid #f1f5f9;
    background: #fafbff;
}

.re-bt-apply-btn[b-mmpe38oavg] {
    flex: 1;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s;
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.25);
}

.re-bt-reset-btn[b-mmpe38oavg] {
    background: #fff;
    color: #64748b;
    border: 1.5px solid #e2e8f0;
    border-radius: 7px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.re-bt-overlay[b-mmpe38oavg] {
    position: fixed;
    inset: 0;
    z-index: 199;
    background: transparent;
    cursor: default;
}

.re-delta-link[b-mmpe38oavg] {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    padding: 6px 12px;
    border-radius: 8px;
    background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.08);
}

.re-delta-link:hover[b-mmpe38oavg] {
    background: #e0e7ff;
    border-color: rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12);
}

.re-btn-danger[b-mmpe38oavg] {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

/* Selected Test View Banner */
.re-selected-test-banner[b-mmpe38oavg] {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0effe 100%);
    border: 1.5px solid #bae6fd;
    border-radius: 8px;
    padding: 3px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(2, 132, 199, 0.06);
}

.re-stb-left[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-stb-icon[b-mmpe38oavg] {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    background: #0284c7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.2);
    flex-shrink: 0;
}

.re-stb-title[b-mmpe38oavg] {
    font-size: 0.7rem;
    font-weight: 800;
    color: #0284c7;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.re-stb-divider[b-mmpe38oavg] {
    width: 1.5px;
    height: 16px;
    background: #bae6fd;
}

.re-stb-content[b-mmpe38oavg] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.re-stb-label[b-mmpe38oavg] {
    font-size: 0.58rem;
    font-weight: 700;
    color: #64748b;
    line-height: 1;
}

.re-stb-testnames[b-mmpe38oavg] {
    font-size: 0.7rem;
    font-weight: 800;
    color: #0369a1;
    line-height: 1.15;
}

.re-stb-btn[b-mmpe38oavg] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1.5px solid #bae6fd;
    color: #0284c7;
    border-radius: 6px;
    padding: 0 8px;
    height: 22px;
    font-size: 0.66rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(2, 132, 199, 0.06);
    white-space: nowrap;
}

.re-stb-btn:hover[b-mmpe38oavg] {
    background: #f0f7ff;
    border-color: #7dd3fc;
}

/* Table Area */
.re-table-wrapper[b-mmpe38oavg] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.re-data-table[b-mmpe38oavg] {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
}

.re-data-table th[b-mmpe38oavg] {
    padding: 4px 8px;
    font-size: 0.66rem;
    font-weight: 750;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f8fafc;
    border-bottom: 1.5px solid #e2e8f0;
    text-align: left;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2;
    height: 25px;
    box-sizing: border-box;
}

.re-data-table td[b-mmpe38oavg] {
    padding: 2px 6px;
    font-size: 0.73rem;
    color: #334155;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    background: #ffffff;
    transition: background 0.15s ease;
    height: 28px;
    box-sizing: border-box;
}

.re-data-row[b-mmpe38oavg] {
    transition: all 0.15s ease;
}

.re-data-row:hover td[b-mmpe38oavg] {
    background-color: #f8fafc !important;
}

.re-row-accent-0[b-mmpe38oavg] {
    border-left: 3px solid #f43f5e !important;
}

.re-row-accent-1[b-mmpe38oavg] {
    border-left: 3px solid #a855f7 !important;
}

.re-row-accent-2[b-mmpe38oavg] {
    border-left: 3px solid #0d9488 !important;
}

.re-row-accent-3[b-mmpe38oavg] {
    border-left: 3px solid #f59e0b !important;
}

.re-row-icon-pill[b-mmpe38oavg] {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    flex-shrink: 0;
}

.re-pill-color-0[b-mmpe38oavg] {
    background: #ffe4e6;
    color: #f43f5e;
}

.re-pill-color-1[b-mmpe38oavg] {
    background: #f3e8ff;
    color: #a855f7;
}

.re-pill-color-2[b-mmpe38oavg] {
    background: #ccfbf1;
    color: #0d9488;
}

.re-pill-color-3[b-mmpe38oavg] {
    background: #fef3c7;
    color: #f59e0b;
}

.re-col-center[b-mmpe38oavg] {
    text-align: center;
}

.re-edit-cell[b-mmpe38oavg] {
    padding: 2px 4px !important;
    background: #ffffff !important;
}

.re-t-input[b-mmpe38oavg] {
    width: 100%;
    height: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    background: #ffffff;
    padding: 0 6px;
    outline: none;
    font-family: inherit;
    font-size: 0.72rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: #1e293b;
    font-weight: 600;
    box-sizing: border-box;
}

.re-t-input:focus[b-mmpe38oavg] {
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.re-t-desc[b-mmpe38oavg] {
    border: none !important;
    background: transparent !important;
    font-size: 0.73rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
}

.re-t-desc:focus[b-mmpe38oavg] {
    box-shadow: none !important;
    border-bottom: 2px solid #3b82f6 !important;
}

.re-row-img-btn[b-mmpe38oavg] {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #2563eb !important;
    transition: all 0.2s ease;
    font-size: 0.7rem;
    margin: 0;
}

.re-row-img-btn:hover[b-mmpe38oavg] {
    background: #dbeafe !important;
    border-color: #93c5fd !important;
    transform: translateY(-1px);
}

.re-dot-btn[b-mmpe38oavg] {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    font-weight: 800;
    font-size: 0.82rem;
    line-height: 1;
    transition: all 0.2s ease;
}

.re-dot-btn:hover[b-mmpe38oavg] {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-1px);
}

.re-del-btn[b-mmpe38oavg] {
    color: #ef4444 !important;
    transition: all 0.2s ease;
}

.re-del-btn:hover[b-mmpe38oavg] {
    transform: scale(1.15);
}

.re-bg-red[b-mmpe38oavg] {
    background-color: #fee2e2 !important;
}

.re-bg-yellow[b-mmpe38oavg] {
    background-color: #fffbeb !important;
}

.re-bg-green[b-mmpe38oavg] {
    background-color: #dcfce7 !important;
}

.re-bg-yellow .re-t-input[b-mmpe38oavg],
.re-bg-red .re-t-input[b-mmpe38oavg],
.re-bg-green .re-t-input[b-mmpe38oavg] {
    background: inherit !important;
}

/* Header Patient Details */
.re-header-main[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    gap: 24px;
}

.re-patient-info[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.re-patient-name[b-mmpe38oavg] {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--lc-secondary);
    margin: 0;
}

.re-card[b-mmpe38oavg] {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.re-badge[b-mmpe38oavg] {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.re-badge-indigo[b-mmpe38oavg] {
    background: #e0e7ff;
    color: #3730a3;
}

.re-btn-primary[b-mmpe38oavg] {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.re-input-calculated[b-mmpe38oavg] {
    background-color: #f0f9ff !important;
    border-color: #bae6fd !important;
    color: #0369a1 !important;
    font-weight: 700 !important;
    cursor: default;
}

/* Right Panel Styles */
.re-rp-header[b-mmpe38oavg] {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 10px 12px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.re-rp-header i[b-mmpe38oavg] {
    color: #4f46e5;
    font-size: 1rem;
}

.re-btn-close-popup[b-mmpe38oavg] {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    border-radius: 4px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.re-btn-close-popup:hover[b-mmpe38oavg] {
    background: #f1f5f9;
    color: #ef4444;
}

.re-rp-tabs[b-mmpe38oavg] {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 8px;
}

.re-rp-tab[b-mmpe38oavg] {
    background: none;
    border: none;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    color: #64748b;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    margin-bottom: -1px;
}

.re-rp-tab:hover[b-mmpe38oavg] {
    color: #4f46e5;
}

.re-rp-tab.active[b-mmpe38oavg] {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
}

.re-rp-content[b-mmpe38oavg] {
    padding: 8px 12px;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.re-form-group[b-mmpe38oavg] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.re-rp-footer[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
    background: #fafbff;
}

.re-btn-update[b-mmpe38oavg] {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #4f46e5;
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.re-btn-update:hover[b-mmpe38oavg] {
    background: #f8fafc;
    border-color: rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.re-btn-update.active[b-mmpe38oavg] {
    background: linear-gradient(135deg, #4f46e5 0%, #5b4ee8 100%);
    color: white;
    border-color: #4f46e5;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.22);
}

/* Dark Mode Overrides */
:host-context([data-theme="dark"]) .re-container[b-mmpe38oavg],
[data-theme="dark"] .re-container[b-mmpe38oavg] {
    background: #0b0f19 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .re-card[b-mmpe38oavg],
:host-context([data-theme="dark"]) .re-sample-card[b-mmpe38oavg],
:host-context([data-theme="dark"]) .re-panel-card[b-mmpe38oavg],
:host-context([data-theme="dark"]) .re-header-section[b-mmpe38oavg],
[data-theme="dark"] .re-card[b-mmpe38oavg],
[data-theme="dark"] .re-sample-card[b-mmpe38oavg],
[data-theme="dark"] .re-panel-card[b-mmpe38oavg],
[data-theme="dark"] .re-header-section[b-mmpe38oavg] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .re-panel-header[b-mmpe38oavg],
:host-context([data-theme="dark"]) .re-rp-header[b-mmpe38oavg],
[data-theme="dark"] .re-panel-header[b-mmpe38oavg],
[data-theme="dark"] .re-rp-header[b-mmpe38oavg] {
    background: #1e293b !important;
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .re-input[b-mmpe38oavg],
:host-context([data-theme="dark"]) .re-select[b-mmpe38oavg],
:host-context([data-theme="dark"]) .re-input-date[b-mmpe38oavg],
:host-context([data-theme="dark"]) .re-input-time[b-mmpe38oavg],
:host-context([data-theme="dark"]) .re-textarea[b-mmpe38oavg],
:host-context([data-theme="dark"]) .re-t-input[b-mmpe38oavg],
[data-theme="dark"] .re-input[b-mmpe38oavg],
[data-theme="dark"] .re-select[b-mmpe38oavg],
[data-theme="dark"] .re-input-date[b-mmpe38oavg],
[data-theme="dark"] .re-input-time[b-mmpe38oavg],
[data-theme="dark"] .re-textarea[b-mmpe38oavg],
[data-theme="dark"] .re-t-input[b-mmpe38oavg] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .re-data-table th[b-mmpe38oavg],
[data-theme="dark"] .re-data-table th[b-mmpe38oavg] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .re-data-table td[b-mmpe38oavg],
[data-theme="dark"] .re-data-table td[b-mmpe38oavg] {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border-bottom-color: #334155 !important;
    border-right-color: #334155 !important;
}

:host-context([data-theme="dark"]) .re-patient-name[b-mmpe38oavg],
:host-context([data-theme="dark"]) .re-label[b-mmpe38oavg],
[data-theme="dark"] .re-patient-name[b-mmpe38oavg],
[data-theme="dark"] .re-label[b-mmpe38oavg] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .re-footer-bar[b-mmpe38oavg],
:host-context([data-theme="dark"]) .re-action-bar[b-mmpe38oavg],
[data-theme="dark"] .re-footer-bar[b-mmpe38oavg],
[data-theme="dark"] .re-action-bar[b-mmpe38oavg] {
    background: #0f172a !important;
    border-top: 1px solid #334155 !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4) !important;
}

:host-context([data-theme="dark"]) .re-btn-action[b-mmpe38oavg],
[data-theme="dark"] .re-btn-action[b-mmpe38oavg] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .re-btn-action:hover[b-mmpe38oavg],
[data-theme="dark"] .re-btn-action:hover[b-mmpe38oavg] {
    background: #334155 !important;
    border-color: #475569 !important;
    color: #ffffff !important;
}

/* Bottom Bar (Well-Balanced Two-Sided Layout) */
.re-footer-bar[b-mmpe38oavg] {
    position: relative;
    flex-shrink: 0;
    margin-top: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    z-index: 90;
    flex-wrap: nowrap;
    overflow-x: auto;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    width: 100%;
    box-sizing: border-box;
    gap: 12px;
}

.re-footer-left[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.re-footer-right[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.re-btn-action[b-mmpe38oavg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 15px;
    height: 36px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    color: #334155;
    font-family: inherit;
    white-space: nowrap;
    box-sizing: border-box;
    user-select: none;
}

.re-btn-action:hover:not(:disabled)[b-mmpe38oavg] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.re-btn-action:disabled[b-mmpe38oavg] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Clear Button */
.re-btn-clear[b-mmpe38oavg] {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #64748b;
}

.re-btn-clear:hover:not(:disabled)[b-mmpe38oavg] {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #dc2626;
}

/* Letterhead Toggle */
.re-letterhead-toggle[b-mmpe38oavg] {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #64748b;
    cursor: pointer;
    margin: 0;
}

.re-letterhead-toggle.is-active[b-mmpe38oavg] {
    background: #f0fdf4;
    border-color: #86efac;
    color: #15803d;
}

.re-letterhead-toggle strong[b-mmpe38oavg] {
    font-weight: 700;
}

.re-report-layout-options[b-mmpe38oavg] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.re-report-layout-options label[b-mmpe38oavg] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    color: #64748b;
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.re-report-layout-options select[b-mmpe38oavg] {
    height: 25px;
    padding: 2px 6px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #ffffff;
    color: #334155;
    font-family: inherit;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: none;
}

.re-report-layout-options label:first-child select[b-mmpe38oavg] {
    min-width: 62px;
}

.re-report-layout-options label:last-child select[b-mmpe38oavg] {
    min-width: 88px;
}

body.dark-mode .re-report-layout-options label[b-mmpe38oavg],
[data-theme="dark"] .re-report-layout-options label[b-mmpe38oavg] {
    color: #cbd5e1;
}

body.dark-mode .re-report-layout-options select[b-mmpe38oavg],
[data-theme="dark"] .re-report-layout-options select[b-mmpe38oavg] {
    border-color: #475569;
    background: #1e293b;
    color: #e2e8f0;
}

/* Attach Image Group & Badge */
.re-attach-group[b-mmpe38oavg] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.re-btn-attach[b-mmpe38oavg] {
    background: #f5f3ff;
    border: 1.5px solid #ddd6fe;
    color: #6366f1;
}

.re-btn-attach:hover:not(:disabled)[b-mmpe38oavg] {
    background: #ede9fe;
    border-color: #c4b5fd;
    color: #4f46e5;
}

.re-attach-badge[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 0.78rem;
    color: #1e293b;
    height: 36px;
    box-sizing: border-box;
}

.re-attach-badge img[b-mmpe38oavg] {
    width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: 4px;
}

.re-attach-badge i[b-mmpe38oavg] {
    color: #ef4444;
    font-size: 1rem;
}

.re-attach-badge-name[b-mmpe38oavg] {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.re-attach-remove-btn[b-mmpe38oavg] {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.re-attach-remove-btn:hover[b-mmpe38oavg] {
    background: #fee2e2;
}

/* Preview Button */
.re-btn-preview[b-mmpe38oavg] {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    color: #334155;
}

.re-btn-preview:hover:not(:disabled)[b-mmpe38oavg] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

/* Download PDF Button */
.re-btn-download[b-mmpe38oavg] {
    background: #0f766e !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.25);
}

.re-btn-download:hover:not(:disabled)[b-mmpe38oavg] {
    background: #115e59 !important;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35);
}

/* Primary Prominent Approve Button (For Doctor / Admin / Auth 2) */
.re-btn-approve-prominent[b-mmpe38oavg] {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 0.86rem !important;
    padding: 0 22px !important;
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.38) !important;
    letter-spacing: 0.01em;
}

.re-btn-approve-prominent:hover:not(:disabled)[b-mmpe38oavg] {
    background: linear-gradient(135deg, #047857 0%, #059669 100%) !important;
    box-shadow: 0 5px 16px rgba(16, 185, 129, 0.48) !important;
    transform: translateY(-1px);
}

/* Standard Step Buttons */
.re-btn-action-primary[b-mmpe38oavg] {
    background: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25) !important;
}

.re-btn-action-primary:hover:not(:disabled)[b-mmpe38oavg] {
    background: #1d4ed8 !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
}

.re-btn-action-auth1[b-mmpe38oavg] {
    background: #0284c7 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25) !important;
}

.re-btn-action-auth1:hover:not(:disabled)[b-mmpe38oavg] {
    background: #0369a1 !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35) !important;
}

.re-btn-action-auth2[b-mmpe38oavg] {
    background: #059669 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25) !important;
}

.re-btn-action-auth2:hover:not(:disabled)[b-mmpe38oavg] {
    background: #047857 !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35) !important;
}

.re-btn-action-payload:hover[b-mmpe38oavg] {
    background: #1e293b !important;
    color: #7dd3fc !important;
    transform: translateY(-1px);
}

/* Modals */
.re-modal-overlay[b-mmpe38oavg] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1000;
    backdrop-filter: blur(4px);
    animation: fadeInModal-b-mmpe38oavg 0.2s ease-out;
}

@keyframes fadeInModal-b-mmpe38oavg {
    from { opacity: 0; }
    to { opacity: 1; }
}

.re-modal[b-mmpe38oavg] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: inherit;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.re-modal-titlebar[b-mmpe38oavg] {
    background: #f8fafc;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 700;
}

.re-modal-body[b-mmpe38oavg] {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fdfdfd;
}

.re-modal-footer[b-mmpe38oavg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

.re-btn-outline[b-mmpe38oavg] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.re-btn-outline:hover:not(:disabled)[b-mmpe38oavg] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
}

.re-btn-save[b-mmpe38oavg] {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

/* Headline & Subtitle Section Headers matching Reference Image */
.re-row-header[b-mmpe38oavg] {
    cursor: pointer;
    transition: background 0.15s ease;
}

.re-row-header td[b-mmpe38oavg] {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-left: 4px solid #4f46e5 !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    vertical-align: middle !important;
}

.re-row-header:hover td[b-mmpe38oavg] {
    background: #f1f5f9 !important;
}

.re-row-header.re-row-selected td[b-mmpe38oavg] {
    background: #eef2ff !important;
    border-left-color: #4338ca !important;
}

/* SubTitle Header (e.g. NLR) */
.re-row-subtitle td[b-mmpe38oavg] {
    background: #fbfcfe !important;
    border-top: 1px dashed #cbd5e1 !important;
    border-bottom: 1px dashed #cbd5e1 !important;
    border-left: 4px solid #6366f1 !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.re-row-subtitle:hover td[b-mmpe38oavg] {
    background: #f1f5f9 !important;
}

.re-row-subtitle.re-row-selected td[b-mmpe38oavg] {
    background: #f5f3ff !important;
    border-left-color: #6366f1 !important;
}

/* Header Content Layout */
.re-header-row-content[b-mmpe38oavg] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 8px;
    width: 100%;
}

.re-header-row-content.sub[b-mmpe38oavg] {
    padding-left: 20px;
    gap: 8px;
}

/* Icons */
.re-header-icon-flask[b-mmpe38oavg] {
    font-size: 1.05rem;
    color: #4f46e5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    flex-shrink: 0;
}

.re-header-icon-folder[b-mmpe38oavg] {
    font-size: 0.95rem;
    color: #6366f1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    flex-shrink: 0;
}

/* Header Input Field matching reference image */
.re-header-title-input[b-mmpe38oavg] {
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    border: none;
    background: transparent;
    outline: none;
    padding: 2px 4px;
    border-radius: 4px;
    min-width: 220px;
    flex: 1;
}

.re-header-title-input:focus[b-mmpe38oavg] {
    background: #ffffff;
    box-shadow: 0 0 0 2px #6366f1;
}

.re-header-title-input.sub[b-mmpe38oavg] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
}

.re-header-title-input.sub:focus[b-mmpe38oavg] {
    box-shadow: 0 0 0 2px #818cf8;
}

/* Actions in Header Row */
.re-header-actions-cell[b-mmpe38oavg] {
    width: 75px;
    white-space: nowrap;
    padding: 3px 6px !important;
}

.re-header-actions-bar[b-mmpe38oavg] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.7);
    padding: 2px 4px;
    border-radius: 6px;
    border: 1px solid rgba(203, 213, 225, 0.8);
}

/* /Components/Pages/LabResultSearch.razor.rz.scp.css */
.lab-search-container[b-76ibf6mzyo] {
    padding: 20px 24px;
    background-color: #f0f2f5;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.search-header-panel[b-76ibf6mzyo] {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.search-filters-row[b-76ibf6mzyo] {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-bottom: 24px;
}

.filter-group[b-76ibf6mzyo] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-label[b-76ibf6mzyo] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pill-group[b-76ibf6mzyo] {
    display: flex;
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
}

.pill-btn[b-76ibf6mzyo] {
    border: none;
    background: transparent;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.pill-btn.active[b-76ibf6mzyo] {
    background-color: #ffffff;
    color: #4f46e5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.search-inputs-grid[b-76ibf6mzyo] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.input-group[b-76ibf6mzyo] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label[b-76ibf6mzyo] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.dual-input-wrapper[b-76ibf6mzyo] {
    display: flex;
    gap: 12px;
}

.search-input[b-76ibf6mzyo] {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    width: 100%;
    color: #334155;
    outline: none;
    transition: border-color 0.2s;
}

.search-input[b-76ibf6mzyo]::placeholder {
    color: #94a3b8;
}

.search-input:focus[b-76ibf6mzyo] {
    border-color: #4f46e5;
}

.action-buttons-row[b-76ibf6mzyo] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-reset[b-76ibf6mzyo] {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-reset:hover[b-76ibf6mzyo] {
    background-color: #f8fafc;
}

.btn-apply[b-76ibf6mzyo] {
    background-color: #4f46e5;
    border: none;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-apply:hover[b-76ibf6mzyo] {
    background-color: #4338ca;
}

/* Worklist Section */
.worklist-panel[b-76ibf6mzyo] {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.worklist-header[b-76ibf6mzyo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.worklist-title-group[b-76ibf6mzyo] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.worklist-title[b-76ibf6mzyo] {
    font-size: 16px;
    font-weight: 800;
    color: #4f46e5;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.badge-records[b-76ibf6mzyo] {
    background-color: #e0e7ff;
    color: #4f46e5;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.badge-pending[b-76ibf6mzyo] {
    background-color: #fef3c7;
    color: #b45309;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.quick-search-wrapper[b-76ibf6mzyo] {
    position: relative;
    width: 300px;
}

.quick-search-icon[b-76ibf6mzyo] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.quick-search-input[b-76ibf6mzyo] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 12px 8px 36px;
    font-size: 13px;
    outline: none;
}

.quick-search-input:focus[b-76ibf6mzyo] {
    border-color: #4f46e5;
}

/* Table Styles */
.result-table[b-76ibf6mzyo] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.result-table th[b-76ibf6mzyo] {
    background-color: #4f46e5;
    color: #ffffff;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: 0.5px;
}

.result-table th:first-child[b-76ibf6mzyo] {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.result-table th:last-child[b-76ibf6mzyo] {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.result-table td[b-76ibf6mzyo] {
    padding: 16px;
    font-size: 13px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.result-table tbody tr[b-76ibf6mzyo] {
    transition: background-color 0.2s;
    cursor: pointer;
}

.result-table tbody tr:hover[b-76ibf6mzyo] {
    background-color: #f8fafc;
}

.text-blue[b-76ibf6mzyo] {
    color: #4f46e5;
    font-weight: 600;
}

.patient-name[b-76ibf6mzyo] {
    font-weight: 700;
    color: #0f172a;
    font-size: 14px;
}

.patient-gender[b-76ibf6mzyo] {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
    text-transform: uppercase;
}

.status-finished[b-76ibf6mzyo] {
    color: #15803d;
    background-color: #dcfce7;
    border: none;
    padding: 3px 9px;
    border-radius: 9999px;
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.status-pending[b-76ibf6mzyo] {
    color: #b45309;
    background-color: #fef3c7;
    border: none;
    padding: 3px 9px;
    border-radius: 9999px;
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.path-no[b-76ibf6mzyo] {
    color: #94a3b8;
    font-weight: 500;
}
/* /Components/Pages/LabSettings.razor.rz.scp.css */
/* ============================================================
   Lab Settings & System Engine Styles - Single View Compact Design
   ============================================================ */

.ls-viewport[b-pblac038e8] {
    padding: 12px 20px;
    background-color: #f8fafc;
    height: calc(100vh - 48px);
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

/* 1. Executive Top Hero Header Card */
.ls-hero-card[b-pblac038e8] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08);
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.ls-flex-row[b-pblac038e8] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ls-hero-icon[b-pblac038e8] {
    width: 36px;
    height: 36px;
    background: #ffffff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.1);
}

.ls-hero-heading[b-pblac038e8] {
    color: #312e81;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.3px;
}

.ls-hero-subheading[b-pblac038e8] {
    color: #475569;
    font-size: 0.78rem;
    margin: 1px 0 0 0;
    font-weight: 500;
}

.ls-btn-save-hero[b-pblac038e8] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    height: 36px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: all 0.15s ease;
}

.ls-btn-save-hero:hover[b-pblac038e8] {
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
}

/* 2. Main Workspace Layout Grid - Fits cleanly in 1 View */
.ls-workspace-grid[b-pblac038e8] {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 12px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* Left Nav Sidebar */
.ls-nav-sidebar[b-pblac038e8] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.ls-nav-header[b-pblac038e8] {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #475569;
    padding: 4px 8px 8px 8px;
    border-bottom: 1.5px solid #eef2ff;
    text-transform: uppercase;
}

.ls-category-btn[b-pblac038e8] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
    width: 100%;
    box-sizing: border-box;
}

.ls-category-btn:hover[b-pblac038e8] {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.ls-category-btn.active[b-pblac038e8] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-color: #818cf8;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.12);
}

.ls-cat-icon[b-pblac038e8] {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.bg-indigo[b-pblac038e8] { background: #e0e7ff; color: #4338ca; }
.bg-cyan[b-pblac038e8] { background: #cffafe; color: #0891b2; }
.bg-purple[b-pblac038e8] { background: #f3e8ff; color: #7e22ce; }
.bg-rose[b-pblac038e8] { background: #ffe4e6; color: #be123c; }
.bg-emerald[b-pblac038e8] { background: #d1fae5; color: #047857; }

.ls-cat-text[b-pblac038e8] {
    flex: 1;
    min-width: 0;
}

.ls-cat-title[b-pblac038e8] {
    display: block;
    font-size: 0.83rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ls-cat-sub[b-pblac038e8] {
    display: block;
    font-size: 0.71rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ls-cat-arrow[b-pblac038e8] {
    color: #94a3b8;
    font-size: 12px;
    transition: transform 0.15s ease;
}

.ls-category-btn.active .ls-cat-arrow[b-pblac038e8] {
    color: #4f46e5;
    transform: translateX(2px);
}

/* Right Details Content Panel - Compact Layout */
.ls-details-panel[b-pblac038e8] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Custom Sleek Scrollbar for Details Panel if needed */
.ls-details-panel[b-pblac038e8]::-webkit-scrollbar {
    width: 5px;
}
.ls-details-panel[b-pblac038e8]::-webkit-scrollbar-track {
    background: transparent;
}
.ls-details-panel[b-pblac038e8]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Section Titles */
.ls-section-head[b-pblac038e8] {
    margin-bottom: 4px;
}

.ls-section-badge[b-pblac038e8] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.bg-indigo-soft[b-pblac038e8] { background: #e0e7ff; color: #4338ca; }
.bg-purple-soft[b-pblac038e8] { background: #f3e8ff; color: #7e22ce; }
.bg-cyan-soft[b-pblac038e8] { background: #cffafe; color: #0891b2; }
.bg-blue-soft[b-pblac038e8] { background: #dbeafe; color: #1d4ed8; }

.ls-section-main-title[b-pblac038e8] {
    font-size: 0.98rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.ls-section-sub-title[b-pblac038e8] {
    font-size: 0.76rem;
    color: #64748b;
    margin: 2px 0 0 0;
}

/* Explicit 2-Column Grid */
.ls-grid-2[b-pblac038e8] {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}

/* Explicit 3-Column Feature Grid */
.ls-grid-3[b-pblac038e8] {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
}

/* Feature Toggle Card - Compact */
.ls-feature-card[b-pblac038e8] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.15s ease;
}

.ls-feature-card:hover[b-pblac038e8] {
    border-color: #cbd5e1;
    background: #ffffff;
}

.ls-feature-title[b-pblac038e8] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
}

.ls-feature-desc[b-pblac038e8] {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 1px;
}

/* iOS Toggle Switch */
.ls-ios-switch[b-pblac038e8] {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
}

.ls-ios-switch input[b-pblac038e8] {
    opacity: 0;
    width: 0;
    height: 0;
}

.ls-ios-slider[b-pblac038e8] {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: .2s;
    border-radius: 20px;
}

.ls-ios-slider[b-pblac038e8]:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .2s;
    border-radius: 50%;
}

input:checked + .ls-ios-slider[b-pblac038e8] {
    background-color: #4f46e5;
}

input:checked + .ls-ios-slider[b-pblac038e8]:before {
    transform: translateX(16px);
}

/* Form Controls - Compact */
.ls-form-label[b-pblac038e8] {
    display: block;
    font-size: 0.73rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.ls-form-input[b-pblac038e8], .ls-form-select[b-pblac038e8] {
    width: 100%;
    height: 34px;
    padding: 0 10px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font-size: 0.82rem;
    color: #0f172a;
    outline: none;
    box-sizing: border-box;
}

.ls-form-textarea[b-pblac038e8] {
    width: 100%;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font-size: 0.82rem;
    color: #0f172a;
    outline: none;
    box-sizing: border-box;
    min-height: 50px;
}

.ls-dropzone-wrapper[b-pblac038e8] {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 9px;
    padding: 10px 14px;
}

.ls-dropzone-area[b-pblac038e8] {
    text-align: center;
    padding: 10px;
}

.ls-file-input-wrapper[b-pblac038e8] {
    position: relative;
    display: inline-block;
}

.ls-file-input-wrapper input[type="file"][b-pblac038e8] {
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
}

.ls-btn-upload-action[b-pblac038e8] {
    background: #4f46e5;
    color: #ffffff;
    border: none;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.ls-signee-card[b-pblac038e8] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    padding: 10px 12px;
}

.ls-margin-card[b-pblac038e8] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    padding: 12px 14px;
}

.ls-margin-card.rose[b-pblac038e8] {
    background: #fff1f2;
    border-color: #fecdd3;
}

.ls-signee-header[b-pblac038e8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e8f0;
}

.ls-signee-badge[b-pblac038e8] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ls-signee-icon-box[b-pblac038e8] {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.ls-signee-icon-box.primary[b-pblac038e8] {
    background: #e0e7ff;
    color: #4338ca;
}

.ls-signee-icon-box.rose[b-pblac038e8] {
    background: #ffe4e6;
    color: #e11d48;
}

.ls-signee-title[b-pblac038e8] {
    font-size: 0.8rem;
    font-weight: 800;
    color: #1e293b;
}

.ls-sig-dropzone[b-pblac038e8] {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 7px;
    padding: 6px 10px;
}

.ls-sig-icon-box[b-pblac038e8] {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
}

.ls-sig-icon-box.primary[b-pblac038e8] {
    background: #e0e7ff;
    color: #4338ca;
}

.ls-sig-icon-box.rose[b-pblac038e8] {
    background: #ffe4e6;
    color: #e11d48;
}

.ls-btn-browse-sig[b-pblac038e8] {
    background: #4f46e5;
    color: #ffffff;
    border: none;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    transition: all 0.15s ease;
}

.ls-btn-browse-sig:hover[b-pblac038e8] {
    background: #4338ca;
}

.ls-btn-browse-sig.rose[b-pblac038e8] {
    background: #e11d48;
}

.ls-btn-browse-sig.rose:hover[b-pblac038e8] {
    background: #be123c;
}

/* ============================================================
   DARK MODE OVERRIDES FOR LAB SETTINGS
   ============================================================ */
html[data-theme="dark"] .ls-viewport[b-pblac038e8],
body.dark-mode .ls-viewport[b-pblac038e8] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .ls-hero-card[b-pblac038e8],
body.dark-mode .ls-hero-card[b-pblac038e8] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .ls-hero-heading[b-pblac038e8],
body.dark-mode .ls-hero-heading[b-pblac038e8] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .ls-hero-subheading[b-pblac038e8],
body.dark-mode .ls-hero-subheading[b-pblac038e8] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .ls-hero-icon[b-pblac038e8],
body.dark-mode .ls-hero-icon[b-pblac038e8] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #a5b4fc !important;
}

html[data-theme="dark"] .ls-nav-sidebar[b-pblac038e8],
body.dark-mode .ls-nav-sidebar[b-pblac038e8],
html[data-theme="dark"] .ls-details-panel[b-pblac038e8],
body.dark-mode .ls-details-panel[b-pblac038e8] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] .ls-nav-header[b-pblac038e8],
body.dark-mode .ls-nav-header[b-pblac038e8] {
    border-bottom-color: #334155 !important;
    color: #94a3b8 !important;
}

html[data-theme="dark"] .ls-category-btn[b-pblac038e8],
body.dark-mode .ls-category-btn[b-pblac038e8] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .ls-category-btn:hover[b-pblac038e8],
body.dark-mode .ls-category-btn:hover[b-pblac038e8] {
    background-color: #1e293b !important;
    border-color: #475569 !important;
}

html[data-theme="dark"] .ls-category-btn.active[b-pblac038e8],
body.dark-mode .ls-category-btn.active[b-pblac038e8] {
    background: #312e81 !important;
    border-color: #6366f1 !important;
}

html[data-theme="dark"] .ls-cat-title[b-pblac038e8],
body.dark-mode .ls-cat-title[b-pblac038e8] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .ls-cat-sub[b-pblac038e8],
body.dark-mode .ls-cat-sub[b-pblac038e8] {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .ls-section-main-title[b-pblac038e8],
body.dark-mode .ls-section-main-title[b-pblac038e8] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .ls-section-sub-title[b-pblac038e8],
body.dark-mode .ls-section-sub-title[b-pblac038e8] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .ls-feature-card[b-pblac038e8],
body.dark-mode .ls-feature-card[b-pblac038e8] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .ls-feature-card:hover[b-pblac038e8],
body.dark-mode .ls-feature-card:hover[b-pblac038e8] {
    background-color: #1e293b !important;
    border-color: #475569 !important;
}

html[data-theme="dark"] .ls-feature-title[b-pblac038e8],
body.dark-mode .ls-feature-title[b-pblac038e8] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .ls-feature-desc[b-pblac038e8],
body.dark-mode .ls-feature-desc[b-pblac038e8] {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .ls-form-label[b-pblac038e8],
body.dark-mode .ls-form-label[b-pblac038e8] {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .ls-form-input[b-pblac038e8],
body.dark-mode .ls-form-input[b-pblac038e8],
html[data-theme="dark"] .ls-form-select[b-pblac038e8],
body.dark-mode .ls-form-select[b-pblac038e8],
html[data-theme="dark"] .ls-form-textarea[b-pblac038e8],
body.dark-mode .ls-form-textarea[b-pblac038e8] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .ls-dropzone-wrapper[b-pblac038e8],
body.dark-mode .ls-dropzone-wrapper[b-pblac038e8],
html[data-theme="dark"] .ls-signee-card[b-pblac038e8],
body.dark-mode .ls-signee-card[b-pblac038e8] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .ls-dropzone-area[b-pblac038e8],
body.dark-mode .ls-dropzone-area[b-pblac038e8],
html[data-theme="dark"] .ls-sig-dropzone[b-pblac038e8],
body.dark-mode .ls-sig-dropzone[b-pblac038e8] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .ls-dropzone-area .text-dark[b-pblac038e8],
body.dark-mode .ls-dropzone-area .text-dark[b-pblac038e8],
html[data-theme="dark"] .ls-dropzone-wrapper .text-dark[b-pblac038e8],
body.dark-mode .ls-dropzone-wrapper .text-dark[b-pblac038e8],
html[data-theme="dark"] .ls-sig-dropzone .text-dark[b-pblac038e8],
body.dark-mode .ls-sig-dropzone .text-dark[b-pblac038e8],
html[data-theme="dark"] .text-dark[b-pblac038e8],
body.dark-mode .text-dark[b-pblac038e8] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .ls-dropzone-area .text-secondary[b-pblac038e8],
body.dark-mode .ls-dropzone-area .text-secondary[b-pblac038e8],
html[data-theme="dark"] .ls-dropzone-wrapper .text-secondary[b-pblac038e8],
body.dark-mode .ls-dropzone-wrapper .text-secondary[b-pblac038e8],
html[data-theme="dark"] .ls-sig-dropzone .text-secondary[b-pblac038e8],
body.dark-mode .ls-sig-dropzone .text-secondary[b-pblac038e8],
html[data-theme="dark"] .text-secondary[b-pblac038e8],
body.dark-mode .text-secondary[b-pblac038e8] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .ls-status-pill[b-pblac038e8],
body.dark-mode .ls-status-pill[b-pblac038e8] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .ls-status-pill.info[b-pblac038e8],
body.dark-mode .ls-status-pill.info[b-pblac038e8] {
    background-color: #0c4a6e !important;
    border-color: #0284c7 !important;
    color: #e0f2fe !important;
}

html[data-theme="dark"] .ls-status-pill.info code[b-pblac038e8],
body.dark-mode .ls-status-pill.info code[b-pblac038e8] {
    color: #38bdf8 !important;
    background-color: transparent !important;
}

html[data-theme="dark"] .ls-status-pill.success[b-pblac038e8],
body.dark-mode .ls-status-pill.success[b-pblac038e8] {
    background-color: #14532d !important;
    border-color: #16a34a !important;
    color: #dcfce7 !important;
}

html[data-theme="dark"] .ls-signee-header[b-pblac038e8],
body.dark-mode .ls-signee-header[b-pblac038e8] {
    border-bottom-color: #334155 !important;
}

html[data-theme="dark"] .ls-signee-title[b-pblac038e8],
body.dark-mode .ls-signee-title[b-pblac038e8] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .ls-signee-icon-box.primary[b-pblac038e8],
body.dark-mode .ls-signee-icon-box.primary[b-pblac038e8],
html[data-theme="dark"] .ls-sig-icon-box.primary[b-pblac038e8],
body.dark-mode .ls-sig-icon-box.primary[b-pblac038e8] {
    background-color: #312e81 !important;
    color: #a5b4fc !important;
}

html[data-theme="dark"] .ls-signee-icon-box.rose[b-pblac038e8],
body.dark-mode .ls-signee-icon-box.rose[b-pblac038e8],
html[data-theme="dark"] .ls-sig-icon-box.rose[b-pblac038e8],
body.dark-mode .ls-sig-icon-box.rose[b-pblac038e8] {
    background-color: #881337 !important;
    color: #fda4af !important;
}

html[data-theme="dark"] .ls-margin-card[b-pblac038e8],
body.dark-mode .ls-margin-card[b-pblac038e8] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .ls-margin-card.rose[b-pblac038e8],
body.dark-mode .ls-margin-card.rose[b-pblac038e8] {
    background-color: #1f1424 !important;
    border-color: #881337 !important;
}

html[data-theme="dark"] .ls-margin-card .text-primary[b-pblac038e8],
body.dark-mode .ls-margin-card .text-primary[b-pblac038e8] {
    color: #818cf8 !important;
}

html[data-theme="dark"] .ls-margin-card .text-danger[b-pblac038e8],
body.dark-mode .ls-margin-card .text-danger[b-pblac038e8] {
    color: #fb7185 !important;
}

html[data-theme="dark"] .bg-indigo-soft[b-pblac038e8], body.dark-mode .bg-indigo-soft[b-pblac038e8] { background-color: #312e81 !important; color: #a5b4fc !important; }
html[data-theme="dark"] .bg-purple-soft[b-pblac038e8], body.dark-mode .bg-purple-soft[b-pblac038e8] { background-color: #581c87 !important; color: #d8b4fe !important; }
html[data-theme="dark"] .bg-cyan-soft[b-pblac038e8], body.dark-mode .bg-cyan-soft[b-pblac038e8] { background-color: #164e63 !important; color: #67e8f9 !important; }
html[data-theme="dark"] .bg-blue-soft[b-pblac038e8], body.dark-mode .bg-blue-soft[b-pblac038e8] { background-color: #1e3a8a !important; color: #93c5fd !important; }
html[data-theme="dark"] .bg-emerald-soft[b-pblac038e8], body.dark-mode .bg-emerald-soft[b-pblac038e8] { background-color: #064e3b !important; color: #6ee7b7 !important; }
html[data-theme="dark"] .bg-rose-soft[b-pblac038e8], body.dark-mode .bg-rose-soft[b-pblac038e8] { background-color: #881337 !important; color: #fda4af !important; }

/* ============================================================
   Counter Shift & Timing Configuration Cards
   ============================================================ */
.ls-shift-container[b-pblac038e8] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ls-shift-card[b-pblac038e8] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.2s ease;
}

.ls-shift-card:hover[b-pblac038e8] {
    border-color: #cbd5e1;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.ls-shift-card.disabled-card[b-pblac038e8] {
    opacity: 0.72;
    background: #f8fafc !important;
}

.ls-shift-card-header[b-pblac038e8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}

.ls-shift-icon-box[b-pblac038e8] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.bg-light-muted[b-pblac038e8] {
    background: #f1f5f9;
    color: #94a3b8;
}

.ls-shift-card-title[b-pblac038e8] {
    font-size: 0.83rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.ls-shift-card-desc[b-pblac038e8] {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 1px;
}

.ls-shift-mode-pill[b-pblac038e8] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
}

.ls-shift-mode-pill.variable[b-pblac038e8] {
    background: #e0e7ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
}

.ls-shift-mode-pill.fixed[b-pblac038e8] {
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #e9d5ff;
}

.ls-shift-card-body[b-pblac038e8] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ls-shift-mode-hint[b-pblac038e8] {
    font-size: 0.74rem;
    padding: 8px 10px;
    border-radius: 7px;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.4;
}

.ls-shift-mode-hint.variable-hint[b-pblac038e8] {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1e40af;
}

.ls-shift-mode-hint.fixed-hint[b-pblac038e8] {
    background: #faf5ff;
    border: 1px solid #f3e8ff;
    color: #6b21a8;
}

.ls-shift-mode-hint.disabled-hint[b-pblac038e8] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.ls-time-input-group[b-pblac038e8] {
    position: relative;
    display: flex;
    align-items: center;
}

.ls-time-input-icon[b-pblac038e8] {
    position: absolute;
    left: 10px;
    color: #6366f1;
    font-size: 0.9rem;
    pointer-events: none;
}

.ls-time-field[b-pblac038e8] {
    padding-left: 32px !important;
    letter-spacing: 0.5px;
}

/* Midnight Banner */
.ls-midnight-banner[b-pblac038e8] {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ls-midnight-icon-box[b-pblac038e8] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #dcfce7;
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.ls-midnight-content[b-pblac038e8] {
    flex: 1;
}

.ls-midnight-title[b-pblac038e8] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #14532d;
}

.ls-midnight-desc[b-pblac038e8] {
    font-size: 0.73rem;
    color: #166534;
    line-height: 1.35;
    margin-top: 1px;
}

/* Dark Mode Overrides */
html[data-theme="dark"] .ls-shift-container[b-pblac038e8],
body.dark-mode .ls-shift-container[b-pblac038e8] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .ls-shift-card[b-pblac038e8],
body.dark-mode .ls-shift-card[b-pblac038e8] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .ls-shift-card-header[b-pblac038e8],
body.dark-mode .ls-shift-card-header[b-pblac038e8] {
    border-bottom-color: #334155 !important;
}

html[data-theme="dark"] .ls-shift-card-title[b-pblac038e8],
body.dark-mode .ls-shift-card-title[b-pblac038e8] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .ls-shift-card-desc[b-pblac038e8],
body.dark-mode .ls-shift-card-desc[b-pblac038e8] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .ls-midnight-banner[b-pblac038e8],
body.dark-mode .ls-midnight-banner[b-pblac038e8] {
    background: #064e3b !important;
    border-color: #047857 !important;
}

html[data-theme="dark"] .ls-midnight-title[b-pblac038e8],
body.dark-mode .ls-midnight-title[b-pblac038e8] {
    color: #a7f3d0 !important;
}

html[data-theme="dark"] .ls-midnight-desc[b-pblac038e8],
body.dark-mode .ls-midnight-desc[b-pblac038e8] {
    color: #d1fae5 !important;
}

html[data-theme="dark"] .ls-shift-mode-hint.variable-hint[b-pblac038e8],
body.dark-mode .ls-shift-mode-hint.variable-hint[b-pblac038e8] {
    background: #172554 !important;
    border-color: #1e3a8a !important;
    color: #bfdbfe !important;
}

html[data-theme="dark"] .ls-shift-mode-hint.fixed-hint[b-pblac038e8],
body.dark-mode .ls-shift-mode-hint.fixed-hint[b-pblac038e8] {
    background: #3b0764 !important;
    border-color: #581c87 !important;
    color: #e9d5ff !important;
}
/* /Components/Pages/LabTestEntry.razor.rz.scp.css */
.referral-page[b-4mib7ncjgv] {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    padding: 0;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.flex-between[b-4mib7ncjgv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-4mib7ncjgv] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-4mib7ncjgv] {
    display: flex;
}

.align-center[b-4mib7ncjgv] {
    align-items: center;
}

.flex-center[b-4mib7ncjgv] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-4mib7ncjgv] {
    gap: 8px;
}

.gap-12[b-4mib7ncjgv] {
    gap: 12px;
}

.gap-16[b-4mib7ncjgv] {
    gap: 16px;
}

.p-2[b-4mib7ncjgv] {
    padding: 8px;
}

.p-4[b-4mib7ncjgv] {
    padding: 16px;
}

.p-48[b-4mib7ncjgv] {
    padding: 48px;
}

.rounded-lg[b-4mib7ncjgv] {
    border-radius: 8px;
}

.shadow-sm[b-4mib7ncjgv] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-4mib7ncjgv] {
    margin: 0;
}

.mt-2px[b-4mib7ncjgv] {
    margin-top: 2px;
}

.mb-0[b-4mib7ncjgv] {
    margin-bottom: 0;
}

.mt-0[b-4mib7ncjgv] {
    margin-top: 0;
}

.relative-positioned[b-4mib7ncjgv] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-4mib7ncjgv] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
}

.lab-title-text[b-4mib7ncjgv] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-4mib7ncjgv] {
    background-color: #eef2ff;
}

.text-indigo-600[b-4mib7ncjgv] {
    color: #4f46e5;
}

.icon-lg[b-4mib7ncjgv] {
    font-size: 24px;
}

.status-pulse-dot[b-4mib7ncjgv] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-4mib7ncjgv 2s infinite;
}

.status-text[b-4mib7ncjgv] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-4mib7ncjgv] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-4mib7ncjgv] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-4mib7ncjgv] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-4mib7ncjgv] {
    width: 220px;
}

.lc-w-280[b-4mib7ncjgv] {
    width: 280px;
}

.btn-new-entry[b-4mib7ncjgv] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-4mib7ncjgv] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-4mib7ncjgv] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.lc-table-container[b-4mib7ncjgv] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-4mib7ncjgv] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-4mib7ncjgv] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-4mib7ncjgv] {
    padding: 0.625rem 1.25rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.lc-table td[b-4mib7ncjgv] {
    padding: 0.5rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13.5px;
    vertical-align: middle;
    white-space: nowrap;
}

.lc-table tbody tr:last-child td[b-4mib7ncjgv] {
    border-bottom: none;
}

.lc-table-row:hover[b-4mib7ncjgv] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-4mib7ncjgv] {
    font-weight: 700;
}

.cursor-pointer[b-4mib7ncjgv] {
    cursor: pointer;
}

.cursor-pointer:hover[b-4mib7ncjgv] {
    text-decoration: underline;
}

.text-indigo-600[b-4mib7ncjgv] {
    color: #4f46e5;
}

.lc-color-slate-500[b-4mib7ncjgv] {
    color: #64748b;
}

.lc-font-mono[b-4mib7ncjgv] {
    font-family: monospace;
}

.lc-font-700[b-4mib7ncjgv] {
    font-weight: 700;
}

.lc-font-13[b-4mib7ncjgv] {
    font-size: 13px;
}

.text-slate-800[b-4mib7ncjgv] {
    color: #1e293b;
}

.text-slate-500[b-4mib7ncjgv] {
    color: #64748b;
}

.text-slate-400[b-4mib7ncjgv] {
    color: #94a3b8;
}

.font-12[b-4mib7ncjgv] {
    font-size: 12px;
}

.font-18[b-4mib7ncjgv] {
    font-size: 18px;
}

.italic[b-4mib7ncjgv] {
    font-style: italic;
}

/* Interactive Status Dropdown Pill Styles */
.status-select[b-4mib7ncjgv] {
    padding: 4px 26px 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    border: none;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 10px 10px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.status-select-waiting[b-4mib7ncjgv] {
    background-color: #fef3c7;
    color: #b45309;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23b45309' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-select-completed[b-4mib7ncjgv] {
    background-color: #d1fae5;
    color: #047857;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23047857' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-select-ongoing[b-4mib7ncjgv] {
    background-color: #e0e7ff;
    color: #4338ca;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%234338ca' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-select-pending[b-4mib7ncjgv] {
    background-color: #fee2e2;
    color: #b91c1c;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23b91c1c' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-select-received[b-4mib7ncjgv], .status-select-reportreceived[b-4mib7ncjgv] {
    background-color: #cffafe;
    color: #0891b2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230891b2' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-received[b-4mib7ncjgv], .status-reportreceived[b-4mib7ncjgv] {
    background-color: #cffafe;
    color: #0891b2;
    border: 1px solid #a5f3fc;
}

.status-select option[b-4mib7ncjgv] {
    background-color: #ffffff;
    color: #1e293b;
    font-weight: 600;
    padding: 6px 12px;
}

/* Status Pills */
.status-pill[b-4mib7ncjgv] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.status-completed[b-4mib7ncjgv] {
    background-color: #047857;
    color: #ffffff;
}

.status-completed .status-dot[b-4mib7ncjgv] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ffffff;
}

.status-ongoing[b-4mib7ncjgv] {
    background-color: #e0e7ff;
    color: #4338ca;
}

.status-ongoing .status-dot[b-4mib7ncjgv] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #4338ca;
}

.status-pending[b-4mib7ncjgv] {
    background-color: #b91c1c;
    color: #ffffff;
}

/* Action buttons */
.lc-btn[b-4mib7ncjgv] {
    padding: 8px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-4mib7ncjgv] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-4mib7ncjgv] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-4mib7ncjgv] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-4mib7ncjgv] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-4mib7ncjgv] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-4mib7ncjgv 0.3s ease-out;
}

.modal-header-bar[b-4mib7ncjgv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-4mib7ncjgv] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-4mib7ncjgv] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-4mib7ncjgv] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-4mib7ncjgv] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-section[b-4mib7ncjgv] {
    margin-bottom: 0;
}

.form-group[b-4mib7ncjgv] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-4mib7ncjgv] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-input[b-4mib7ncjgv] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
}

.lab-input:focus[b-4mib7ncjgv] {
    outline: none;
    border-color: #4f46e5;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.um-grid-row[b-4mib7ncjgv] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.um-grid-cols-2[b-4mib7ncjgv] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.modal-footer-bar[b-4mib7ncjgv] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-4mib7ncjgv] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-4mib7ncjgv] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

/* Animations */
@keyframes lc-pulse-b-4mib7ncjgv {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-4mib7ncjgv] {
    animation: lc-fadeInUp-b-4mib7ncjgv 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-4mib7ncjgv {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   PAGINATION FOOTER (PATIENT MASTER / VITALS DESIGN)
   ============================================================ */
.pagination-footer[b-4mib7ncjgv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid #f1f5f9;
    background-color: #fff;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.pagination-info[b-4mib7ncjgv] {
    font-size: 13px;
    color: #64748b;
}

.pagination-info-highlight[b-4mib7ncjgv] {
    font-weight: 600;
    color: #334155;
}

.pagination-btns[b-4mib7ncjgv] {
    display: flex;
    gap: 6px;
}

.pagination-btns .page-btn[b-4mib7ncjgv] {
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.pagination-btns .page-btn:hover:not(.active):not(:disabled)[b-4mib7ncjgv] {
    border-color: #cbd5e1 !important;
    background-color: #f8fafc !important;
    color: #4f46e5 !important;
}

.pagination-btns .page-btn:disabled[b-4mib7ncjgv] {
    cursor: not-allowed !important;
    opacity: 0.4 !important;
}

.pagination-btns .page-btn.active[b-4mib7ncjgv] {
    border-color: #4f46e5 !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    cursor: default !important;
}
/* Master dashboard theme */
:global(.main-content):has(.lte-page)[b-4mib7ncjgv] { 
    height: calc(100vh - 35px) !important; 
    max-height: calc(100vh - 35px) !important; 
    overflow: hidden !important; 
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important; 
    background: #f1f5fb !important; 
}
.referral-page.lte-page[b-4mib7ncjgv] { 
    height: 100% !important; 
    max-height: 100% !important; 
    min-height: 0 !important; 
    overflow: hidden !important; 
    padding: 0 !important; 
    gap: 0.35rem !important; 
    background: #f1f5fb !important; 
}
.lab-header-card[b-4mib7ncjgv] { flex: 0 0 auto !important; padding: 0.35rem 0.75rem !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.icon-box-container[b-4mib7ncjgv] { background: #e4f4ff !important; }
.text-indigo-600[b-4mib7ncjgv] { color: #0876ad !important; }
.lab-title-text[b-4mib7ncjgv] { color: #07547c !important; font-size: 1.7rem !important; font-weight: 800 !important; }
.status-text[b-4mib7ncjgv] { color: #647b90 !important; font-size: .78rem !important; }
.directory-section[b-4mib7ncjgv] { flex: 1 1 auto !important; min-height: 0 !important; margin: 0 !important; border: 1px solid #dfe7f1 !important; border-radius: 8px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; background: #fff !important; }
.lc-table-container[b-4mib7ncjgv] { 
    flex: 1 1 auto !important; 
    min-height: 0 !important; 
    max-height: calc(100vh - 170px) !important; 
    overflow-y: auto !important; 
    overflow-x: auto !important; 
}
.lc-table-container[b-4mib7ncjgv]::-webkit-scrollbar {
    width: 7px !important;
    height: 7px !important;
    display: block !important;
}
.lc-table-container[b-4mib7ncjgv]::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
    border-radius: 4px !important;
}
.lc-table-container[b-4mib7ncjgv]::-webkit-scrollbar-thumb {
    background: #94a3b8 !important;
    border-radius: 4px !important;
}
.lc-table-container[b-4mib7ncjgv]::-webkit-scrollbar-thumb:hover {
    background: #64748b !important;
}
.lc-table thead tr[b-4mib7ncjgv] { height: 32px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; border-bottom: 1px solid #07547c !important; }
.lc-table th[b-4mib7ncjgv] { 
    height: 32px !important; 
    padding: 4px 8px !important; 
    color: #fff !important; 
    background: transparent !important; 
    font-size: 11px !important; 
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-bottom: 1px solid #07547c !important;
    vertical-align: middle !important;
}
.lc-table th:last-child[b-4mib7ncjgv] { border-right: none !important; }
.lc-table td[b-4mib7ncjgv] { height: 34px !important; padding: 4px 8px !important; border-bottom: 1px solid #edf2f7 !important; border-right: 1px solid #f8fafc !important; font-size: 11.5px !important; color: #334155 !important; vertical-align: middle !important; }
.lc-table tbody tr[b-4mib7ncjgv] { height: 34px !important; background: #fff !important; }
.lc-table tbody tr:nth-child(even)[b-4mib7ncjgv] { background: #fcfdfe !important; }
.lc-table-row:hover[b-4mib7ncjgv] { background: #f0fdfa !important; }
/* /Components/Pages/LedgerGroup.razor.rz.scp.css */
/* Isolated styles for LedgerGroup component */

.items-page[b-6bunaqyd06] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-6bunaqyd06] {
    max-width: 1320px;
    margin: 0 auto;
}

.items-content[b-6bunaqyd06] {
    width: min(1240px, 100%);
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-6bunaqyd06] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    border-radius: 16px !important;
    padding: 1.25rem 2rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem !important;
}

.header-card-left[b-6bunaqyd06] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-card-icon[b-6bunaqyd06] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
}

.header-card-icon svg[b-6bunaqyd06] {
    stroke: #4f46e5 !important;
}

.header-card-text[b-6bunaqyd06] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-6bunaqyd06] {
    color: #312e81 !important;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.header-card-subheading[b-6bunaqyd06] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-6bunaqyd06] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-6bunaqyd06] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.items-search-wrap[b-6bunaqyd06] {
    position: relative;
    display: flex;
    align-items: center;
}

.items-search[b-6bunaqyd06] {
    width: 220px;
    height: 38px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    padding-left: 2.4rem !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.items-search:focus[b-6bunaqyd06] {
    outline: none !important;
    width: 280px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.items-search-icon[b-6bunaqyd06] {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.view-toggle[b-6bunaqyd06] {
    display: inline-flex;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #f8fafc !important;
    height: 38px;
    padding: 2px;
    align-items: center;
}

.view-toggle button[b-6bunaqyd06] {
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    width: 36px;
    height: 32px;
    border-radius: 16px !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle button.active[b-6bunaqyd06] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.add-item-btn[b-6bunaqyd06] {
    height: 38px !important;
    border-radius: 20px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 1.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
}

.add-item-btn:hover[b-6bunaqyd06] {
    background: #3f39c5 !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35) !important;
    transform: translateY(-1.5px);
}

.items-main-card[b-6bunaqyd06] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-top: 1.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
}

.items-table[b-6bunaqyd06] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

table.table.items-table thead tr th[b-6bunaqyd06],
.items-table th[b-6bunaqyd06] {
    background: #ffffff !important;
    color: #8a99ad !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.8px !important;
    padding: 10px 16px !important;
    border-bottom: 2px solid #eef2f6 !important;
    text-align: center !important;
}

.items-table td[b-6bunaqyd06] {
    border-top: none !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding: 10px 16px !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #64748b !important;
    vertical-align: middle !important;
    text-align: center !important;
}

.items-table td:last-child[b-6bunaqyd06] {
    white-space: nowrap !important;
    text-align: center !important;
}

.items-table tr td:first-child[b-6bunaqyd06] {
    color: #3b82f6 !important;
    font-weight: 700 !important;
}

.items-table tr td:nth-child(2)[b-6bunaqyd06],
.items-table tr td:nth-child(3)[b-6bunaqyd06] {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.action-btn[b-6bunaqyd06] {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.action-btn:hover[b-6bunaqyd06] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.action-btn i[b-6bunaqyd06] {
    font-size: 0.85rem !important;
}

.items-card-grid[b-6bunaqyd06] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.item-card[b-6bunaqyd06] {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.item-card:hover[b-6bunaqyd06] {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.item-card-head[b-6bunaqyd06] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    color: #1e293b !important;
    padding: 0.6rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.1) !important;
}

.card-item-code[b-6bunaqyd06] {
    color: #4b5563 !important;
    font-weight: 700 !important;
    margin-right: 6px;
}

.card-item-name[b-6bunaqyd06] {
    color: #374151 !important;
    font-weight: 700 !important;
}

.item-card-body[b-6bunaqyd06] {
    padding: 0.75rem 1rem !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
}

.detail-row[b-6bunaqyd06] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.detail-row:last-child[b-6bunaqyd06] {
    border-bottom: none !important;
}

.detail-row span[b-6bunaqyd06] {
    color: #8a99ad !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.detail-row strong[b-6bunaqyd06] {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Modal styles */
.modal-overlay[b-6bunaqyd06] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.modal-card[b-6bunaqyd06] {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header-bar[b-6bunaqyd06] {
    background: #fff !important;
    color: #333 !important;
    padding: 16px 32px !important;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-left[b-6bunaqyd06] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-title[b-6bunaqyd06] {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: #000000 !important;
    letter-spacing: -0.2px;
}

.btn-close-modal[b-6bunaqyd06] {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-6bunaqyd06] {
    background: #e2e8f0;
    color: #1e293b;
}

.modal-inner[b-6bunaqyd06] {
    padding: 16px 32px !important;
    background: #fff;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.modal-inner[b-6bunaqyd06]  form {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.modal-inner[b-6bunaqyd06]  .modal-scroll-area {
    overflow-y: auto !important;
    flex: 1;
    padding-right: 8px;
    min-height: 0;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 #f8fafc !important;
}

.modal-scroll-area[b-6bunaqyd06]::-webkit-scrollbar,
.modal-inner[b-6bunaqyd06]  .modal-scroll-area::-webkit-scrollbar {
    width: 5px !important;
}

.modal-scroll-area[b-6bunaqyd06]::-webkit-scrollbar-track,
.modal-inner[b-6bunaqyd06]  .modal-scroll-area::-webkit-scrollbar-track {
    background: #f8fafc !important;
    border-radius: 4px !important;
}

.modal-scroll-area[b-6bunaqyd06]::-webkit-scrollbar-thumb,
.modal-inner[b-6bunaqyd06]  .modal-scroll-area::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 4px !important;
}

.modal-scroll-area[b-6bunaqyd06]::-webkit-scrollbar-thumb:hover,
.modal-inner[b-6bunaqyd06]  .modal-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

.form-section-header[b-6bunaqyd06] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid #f1f5f9;
}

.form-section-title[b-6bunaqyd06] {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #4f46e5;
}

.form-grid[b-6bunaqyd06] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 12px;
    row-gap: 12px;
}

.col-1[b-6bunaqyd06] { grid-column: span 1; }
.col-2[b-6bunaqyd06] { grid-column: span 2; }
.col-3[b-6bunaqyd06] { grid-column: span 3; }
.col-4[b-6bunaqyd06] { grid-column: span 4; }
.col-5[b-6bunaqyd06] { grid-column: span 5; }
.col-6[b-6bunaqyd06] { grid-column: span 6; }
.col-7[b-6bunaqyd06] { grid-column: span 7; }
.col-8[b-6bunaqyd06] { grid-column: span 8; }
.col-9[b-6bunaqyd06] { grid-column: span 9; }
.col-10[b-6bunaqyd06] { grid-column: span 10; }
.col-11[b-6bunaqyd06] { grid-column: span 11; }
.col-12[b-6bunaqyd06] { grid-column: span 12; }

.field-group[b-6bunaqyd06] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label[b-6bunaqyd06] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.field-label.required[b-6bunaqyd06]::after {
    content: " *";
    color: #ef4444;
}

.premium-input[b-6bunaqyd06] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    color: #4b5563 !important;
    transition: all 0.2s !important;
    height: 38px !important;
    box-sizing: border-box !important;
}

.premium-input[b-6bunaqyd06]::placeholder {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

.premium-input:focus[b-6bunaqyd06] {
    background: #fff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

.premium-segmented-control-joined[b-6bunaqyd06] {
    height: 38px !important;
    border-radius: 8px !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
}

.premium-segmented-control-joined .segment-btn-joined[b-6bunaqyd06] {
    height: 100% !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-save-premium[b-6bunaqyd06] {
    background: #1c9f5f !important;
    color: white !important;
    border: none !important;
    padding: 10px 28px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(28, 159, 95, 0.3) !important;
    transition: all 0.2s !important;
    white-space: nowrap;
}

.btn-save-premium:hover[b-6bunaqyd06] {
    background: #168a52 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(28, 159, 95, 0.4) !important;
}

/* Pagination bar */
.page-btn[b-6bunaqyd06] {
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #64748b !important;
    border-radius: 8px !important;
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0 2px;
    transition: all 0.2s;
}

.page-btn.active[b-6bunaqyd06] {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
}

.page-btn:hover:not(.active):not(:disabled)[b-6bunaqyd06] {
    background: #f8fafc !important;
    color: #1e293b !important;
}
/* Master dashboard theme */
:global(.main-content):has(.items-page)[b-6bunaqyd06] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.items-page[b-6bunaqyd06] { min-height: calc(100vh - 1.5rem) !important; padding: 0 !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.items-shell[b-6bunaqyd06], .items-content[b-6bunaqyd06] { max-width: none !important; padding: 0 !important; }
.premium-header-card[b-6bunaqyd06] { height: 78px !important; box-sizing: border-box !important; padding: .15rem 0 !important; margin-bottom: .6rem !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.header-card-icon[b-6bunaqyd06] { background: linear-gradient(135deg,#087bb5,#07547c) !important; }
.header-card-heading[b-6bunaqyd06] { color: #07547c !important; font-size: 1.85rem !important; }
.header-card-subheading[b-6bunaqyd06] { color: #647b90 !important; }
.items-search[b-6bunaqyd06] { width: 280px !important; height: 40px !important; border-radius: 10px !important; border-color: #cbd9e8 !important; }
.add-item-btn[b-6bunaqyd06] { height: 40px !important; border-radius: 10px !important; background: #087bb5 !important; }
.items-main-card[b-6bunaqyd06] { border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; }
.items-table thead tr[b-6bunaqyd06] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.items-table thead th[b-6bunaqyd06] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.items-table tbody tr[b-6bunaqyd06] { height: 44px !important; background: #fff !important; }
.items-table tbody tr:nth-child(even)[b-6bunaqyd06] { background: #f8fbfe !important; }
.items-table tbody td[b-6bunaqyd06] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.items-table tbody tr:hover[b-6bunaqyd06] { background: #f0f8ff !important; }
/* /Components/Pages/LedgerType.razor.rz.scp.css */
/* Isolated styles for LedgerType component */

.items-page[b-4u8aqz9vee] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-4u8aqz9vee] {
    max-width: 1320px;
    margin: 0 auto;
}

.items-content[b-4u8aqz9vee] {
    width: min(1240px, 100%);
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-4u8aqz9vee] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    border-radius: 16px !important;
    padding: 1.25rem 2rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem !important;
}

.header-card-left[b-4u8aqz9vee] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-card-icon[b-4u8aqz9vee] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
}

.header-card-icon svg[b-4u8aqz9vee] {
    stroke: #4f46e5 !important;
}

.header-card-text[b-4u8aqz9vee] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-4u8aqz9vee] {
    color: #312e81 !important;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.header-card-subheading[b-4u8aqz9vee] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-4u8aqz9vee] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-4u8aqz9vee] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.items-search-wrap[b-4u8aqz9vee] {
    position: relative;
    display: flex;
    align-items: center;
}

.items-search[b-4u8aqz9vee] {
    width: 220px;
    height: 38px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    padding-left: 2.4rem !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.items-search:focus[b-4u8aqz9vee] {
    outline: none !important;
    width: 280px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.items-search-icon[b-4u8aqz9vee] {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.view-toggle[b-4u8aqz9vee] {
    display: inline-flex;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #f8fafc !important;
    height: 38px;
    padding: 2px;
    align-items: center;
}

.view-toggle button[b-4u8aqz9vee] {
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    width: 36px;
    height: 32px;
    border-radius: 16px !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle button.active[b-4u8aqz9vee] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.add-item-btn[b-4u8aqz9vee] {
    height: 38px !important;
    border-radius: 20px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 1.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
}

.add-item-btn:hover[b-4u8aqz9vee] {
    background: #3f39c5 !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35) !important;
    transform: translateY(-1.5px);
}

.items-main-card[b-4u8aqz9vee] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-top: 1.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
}

.items-table[b-4u8aqz9vee] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

table.table.items-table thead tr th[b-4u8aqz9vee],
.items-table th[b-4u8aqz9vee] {
    background: #ffffff !important;
    color: #8a99ad !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.8px !important;
    padding: 10px 16px !important;
    border-bottom: 2px solid #eef2f6 !important;
    text-align: center !important;
}

.items-table td[b-4u8aqz9vee] {
    border-top: none !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding: 10px 16px !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #64748b !important;
    vertical-align: middle !important;
    text-align: center !important;
}

.items-table td:last-child[b-4u8aqz9vee] {
    white-space: nowrap !important;
    text-align: center !important;
}

.items-table tr td:first-child[b-4u8aqz9vee] {
    color: #3b82f6 !important;
    font-weight: 700 !important;
}

.items-table tr td:nth-child(2)[b-4u8aqz9vee],
.items-table tr td:nth-child(3)[b-4u8aqz9vee] {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.action-btn[b-4u8aqz9vee] {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.action-btn:hover[b-4u8aqz9vee] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.action-btn i[b-4u8aqz9vee] {
    font-size: 0.85rem !important;
}

.items-card-grid[b-4u8aqz9vee] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.item-card[b-4u8aqz9vee] {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.item-card:hover[b-4u8aqz9vee] {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.item-card-head[b-4u8aqz9vee] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    color: #1e293b !important;
    padding: 0.6rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.1) !important;
}

.card-item-code[b-4u8aqz9vee] {
    color: #4b5563 !important;
    font-weight: 700 !important;
    margin-right: 6px;
}

.card-item-name[b-4u8aqz9vee] {
    color: #374151 !important;
    font-weight: 700 !important;
}

.item-card-body[b-4u8aqz9vee] {
    padding: 0.75rem 1rem !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
}

.detail-row[b-4u8aqz9vee] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.detail-row:last-child[b-4u8aqz9vee] {
    border-bottom: none !important;
}

.detail-row span[b-4u8aqz9vee] {
    color: #8a99ad !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.detail-row strong[b-4u8aqz9vee] {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Modal styles */
.modal-overlay[b-4u8aqz9vee] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.modal-card[b-4u8aqz9vee] {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header-bar[b-4u8aqz9vee] {
    background: #fff !important;
    color: #333 !important;
    padding: 16px 32px !important;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-left[b-4u8aqz9vee] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-title[b-4u8aqz9vee] {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: #000000 !important;
    letter-spacing: -0.2px;
}

.btn-close-modal[b-4u8aqz9vee] {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-4u8aqz9vee] {
    background: #e2e8f0;
    color: #1e293b;
}

.modal-inner[b-4u8aqz9vee] {
    padding: 16px 32px !important;
    background: #fff;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.modal-inner[b-4u8aqz9vee]  form {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.modal-inner[b-4u8aqz9vee]  .modal-scroll-area {
    overflow-y: auto !important;
    flex: 1;
    padding-right: 8px;
    min-height: 0;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 #f8fafc !important;
}

.modal-scroll-area[b-4u8aqz9vee]::-webkit-scrollbar,
.modal-inner[b-4u8aqz9vee]  .modal-scroll-area::-webkit-scrollbar {
    width: 5px !important;
}

.modal-scroll-area[b-4u8aqz9vee]::-webkit-scrollbar-track,
.modal-inner[b-4u8aqz9vee]  .modal-scroll-area::-webkit-scrollbar-track {
    background: #f8fafc !important;
    border-radius: 4px !important;
}

.modal-scroll-area[b-4u8aqz9vee]::-webkit-scrollbar-thumb,
.modal-inner[b-4u8aqz9vee]  .modal-scroll-area::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 4px !important;
}

.modal-scroll-area[b-4u8aqz9vee]::-webkit-scrollbar-thumb:hover,
.modal-inner[b-4u8aqz9vee]  .modal-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

.form-section-header[b-4u8aqz9vee] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid #f1f5f9;
}

.form-section-title[b-4u8aqz9vee] {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #4f46e5;
}

.form-grid[b-4u8aqz9vee] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 12px;
    row-gap: 12px;
}

.col-1[b-4u8aqz9vee] { grid-column: span 1; }
.col-2[b-4u8aqz9vee] { grid-column: span 2; }
.col-3[b-4u8aqz9vee] { grid-column: span 3; }
.col-4[b-4u8aqz9vee] { grid-column: span 4; }
.col-5[b-4u8aqz9vee] { grid-column: span 5; }
.col-6[b-4u8aqz9vee] { grid-column: span 6; }
.col-7[b-4u8aqz9vee] { grid-column: span 7; }
.col-8[b-4u8aqz9vee] { grid-column: span 8; }
.col-9[b-4u8aqz9vee] { grid-column: span 9; }
.col-10[b-4u8aqz9vee] { grid-column: span 10; }
.col-11[b-4u8aqz9vee] { grid-column: span 11; }
.col-12[b-4u8aqz9vee] { grid-column: span 12; }

.field-group[b-4u8aqz9vee] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label[b-4u8aqz9vee] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.field-label.required[b-4u8aqz9vee]::after {
    content: " *";
    color: #ef4444;
}

.premium-input[b-4u8aqz9vee] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    color: #4b5563 !important;
    transition: all 0.2s !important;
    height: 38px !important;
    box-sizing: border-box !important;
}

.premium-input[b-4u8aqz9vee]::placeholder {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

.premium-input:focus[b-4u8aqz9vee] {
    background: #fff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

.premium-segmented-control-joined[b-4u8aqz9vee] {
    height: 38px !important;
    border-radius: 8px !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
}

.premium-segmented-control-joined .segment-btn-joined[b-4u8aqz9vee] {
    height: 100% !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-save-premium[b-4u8aqz9vee] {
    background: #1c9f5f !important;
    color: white !important;
    border: none !important;
    padding: 10px 28px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(28, 159, 95, 0.3) !important;
    transition: all 0.2s !important;
    white-space: nowrap;
}

.btn-save-premium:hover[b-4u8aqz9vee] {
    background: #168a52 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(28, 159, 95, 0.4) !important;
}

/* Pagination bar */
.page-btn[b-4u8aqz9vee] {
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #64748b !important;
    border-radius: 8px !important;
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0 2px;
    transition: all 0.2s;
}

.page-btn.active[b-4u8aqz9vee] {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
}

.page-btn:hover:not(.active):not(:disabled)[b-4u8aqz9vee] {
    background: #f8fafc !important;
    color: #1e293b !important;
}
/* Master dashboard theme */
:global(.main-content):has(.items-page)[b-4u8aqz9vee] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.items-page[b-4u8aqz9vee] { min-height: calc(100vh - 1.5rem) !important; padding: 0 !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.items-shell[b-4u8aqz9vee], .items-content[b-4u8aqz9vee] { max-width: none !important; padding: 0 !important; }
.premium-header-card[b-4u8aqz9vee] { height: 78px !important; box-sizing: border-box !important; padding: .15rem 0 !important; margin-bottom: .6rem !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.header-card-icon[b-4u8aqz9vee] { background: linear-gradient(135deg,#087bb5,#07547c) !important; }
.header-card-heading[b-4u8aqz9vee] { color: #07547c !important; font-size: 1.85rem !important; }
.header-card-subheading[b-4u8aqz9vee] { color: #647b90 !important; }
.items-search[b-4u8aqz9vee] { width: 280px !important; height: 40px !important; border-radius: 10px !important; border-color: #cbd9e8 !important; }
.add-item-btn[b-4u8aqz9vee] { height: 40px !important; border-radius: 10px !important; background: #087bb5 !important; }
.items-main-card[b-4u8aqz9vee] { border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; }
.items-table thead tr[b-4u8aqz9vee] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.items-table thead th[b-4u8aqz9vee] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.items-table tbody tr[b-4u8aqz9vee] { height: 44px !important; background: #fff !important; }
.items-table tbody tr:nth-child(even)[b-4u8aqz9vee] { background: #f8fbfe !important; }
.items-table tbody td[b-4u8aqz9vee] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.items-table tbody tr:hover[b-4u8aqz9vee] { background: #f0f8ff !important; }
/* /Components/Pages/Login.razor.rz.scp.css */
/* Medico Next-Gen Cyber-Quantum Live Holographic UI Theme */
.login-page-container[b-ms68cqpjjp] {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 48px;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #030712;
}

/* Full-Screen Live Video & Canvas Background */
.fullscreen-live-video[b-ms68cqpjjp],
.fullscreen-live-canvas[b-ms68cqpjjp] {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%) scale(1.05);
    object-fit: cover;
    z-index: 0;
}

.fullscreen-live-video[b-ms68cqpjjp] {
    filter: brightness(0.65) contrast(1.15) saturate(1.3);
    opacity: 0.85;
}

/* Dark Cyber Vignette & Radial Light Overlay */
.dark-cyber-overlay[b-ms68cqpjjp] {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 40%,
        rgba(6, 182, 212, 0.06) 0%,
        rgba(3, 7, 18, 0.72) 65%,
        rgba(3, 7, 18, 0.96) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Light Particle Grid Matrix */
.ambient-light-particles[b-ms68cqpjjp] {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(6, 182, 212, 0.22) 1.2px, transparent 1.2px);
    background-size: 32px 32px;
    z-index: 1;
    opacity: 0.65;
    pointer-events: none;
    animation: liveParticleMove-b-ms68cqpjjp 24s linear infinite;
}

@keyframes liveParticleMove-b-ms68cqpjjp {
    0% { background-position: 0 0; }
    100% { background-position: 64px 64px; }
}

/* Sci-Fi Holographic Overlay Layer */
.live-medical-canvas-layer[b-ms68cqpjjp] {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Concentric HUD Cyber Rings */
.hud-cyber-ring[b-ms68cqpjjp] {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
}

.hud-cyber-ring.ring-1[b-ms68cqpjjp] {
    width: 600px;
    height: 600px;
    border: 1.5px dashed rgba(6, 182, 212, 0.25);
    box-shadow: inset 0 0 40px rgba(6, 182, 212, 0.08);
    animation: rotateRing-b-ms68cqpjjp 35s linear infinite;
}

.hud-cyber-ring.ring-2[b-ms68cqpjjp] {
    width: 420px;
    height: 420px;
    border: 2px solid transparent;
    border-top-color: rgba(59, 130, 246, 0.4);
    border-bottom-color: rgba(6, 182, 212, 0.4);
    animation: rotateRingReverse-b-ms68cqpjjp 25s linear infinite;
}

@keyframes rotateRing-b-ms68cqpjjp {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateRingReverse-b-ms68cqpjjp {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* 3D Cyber Perspective Grid */
.cyber-perspective-grid[b-ms68cqpjjp] {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(to right, rgba(6, 182, 212, 0.09) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(6, 182, 212, 0.09) 1px, transparent 1px);
    background-size: 44px 44px;
    transform: perspective(600px) rotateX(55deg);
    animation: gridScroll-b-ms68cqpjjp 20s linear infinite;
    opacity: 0.5;
    pointer-events: none;
}

@keyframes gridScroll-b-ms68cqpjjp {
    0% { transform: perspective(600px) rotateX(55deg) translateY(0); }
    100% { transform: perspective(600px) rotateX(55deg) translateY(44px); }
}

/* Floating Vibrant Aurora Orbs */
.aurora-orb[b-ms68cqpjjp] {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    opacity: 0.45;
}

.orb-1[b-ms68cqpjjp] {
    width: 500px;
    height: 500px;
    top: -120px;
    left: -80px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.5) 0%, rgba(37, 99, 235, 0.2) 65%, transparent 100%);
    animation: floatOrb1-b-ms68cqpjjp 18s ease-in-out infinite alternate;
}

.orb-2[b-ms68cqpjjp] {
    width: 550px;
    height: 550px;
    bottom: -160px;
    right: 10%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.45) 0%, rgba(16, 185, 129, 0.2) 65%, transparent 100%);
    animation: floatOrb2-b-ms68cqpjjp 22s ease-in-out infinite alternate;
}

.orb-3[b-ms68cqpjjp] {
    width: 380px;
    height: 380px;
    top: 25%;
    left: 40%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.4) 0%, rgba(168, 85, 247, 0.18) 70%, transparent 100%);
    animation: floatOrb3-b-ms68cqpjjp 19s ease-in-out infinite alternate;
}

@keyframes floatOrb1-b-ms68cqpjjp {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(140px, 90px) scale(1.18); }
}

@keyframes floatOrb2-b-ms68cqpjjp {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-120px, -100px) scale(1.12); }
}

@keyframes floatOrb3-b-ms68cqpjjp {
    0% { transform: translate(0, 0) scale(0.9); }
    100% { transform: translate(90px, -70px) scale(1.22); }
}

.light-beam[b-ms68cqpjjp] {
    position: absolute;
    background: linear-gradient(90deg, transparent 0%, rgba(6, 182, 212, 0.16) 50%, transparent 100%);
    pointer-events: none;
}

.beam-1[b-ms68cqpjjp] {
    width: 300px;
    height: 1300px;
    top: -250px;
    left: 8%;
    transform: rotate(-35deg);
    animation: beamSweep-b-ms68cqpjjp 15s ease-in-out infinite alternate;
}

.beam-2[b-ms68cqpjjp] {
    width: 220px;
    height: 1100px;
    top: -150px;
    left: 58%;
    transform: rotate(-35deg);
    animation: beamSweep-b-ms68cqpjjp 19s ease-in-out infinite alternate-reverse;
}

@keyframes beamSweep-b-ms68cqpjjp {
    0% { transform: rotate(-35deg) translateX(-110px); opacity: 0.3; }
    50% { opacity: 0.85; }
    100% { transform: rotate(-35deg) translateX(140px); opacity: 0.4; }
}

.ecg-wave-container[b-ms68cqpjjp] {
    position: absolute;
    bottom: 18%;
    left: 0;
    width: 100%;
    height: 130px;
    pointer-events: none;
    opacity: 0.9;
}

.ecg-wave-svg[b-ms68cqpjjp] {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.6));
}

/* Main Content Layout Container */
.login-content-layout[b-ms68cqpjjp] {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 0 auto;
}

/* Left Brand Panel */
.login-left-brand-panel[b-ms68cqpjjp] {
    flex: 1;
    max-width: 560px;
    color: #f8fafc;
    padding-right: 20px;
}

.brand-badge-large[b-ms68cqpjjp] {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.brand-logo-img[b-ms68cqpjjp] {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.45);
    background: rgba(10, 25, 47, 0.8);
    padding: 4px;
    border: 1px solid rgba(6, 182, 212, 0.35);
}

.brand-text[b-ms68cqpjjp] {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.brand-highlight[b-ms68cqpjjp] {
    background: linear-gradient(135deg, #06b6d4 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.live-status-pill[b-ms68cqpjjp] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(10, 25, 47, 0.65);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(6, 182, 212, 0.35);
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
    margin-bottom: 28px;
}

.live-pulse-dot[b-ms68cqpjjp] {
    width: 9px;
    height: 9px;
    background-color: #06b6d4;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px #06b6d4;
}

.live-pulse-dot[b-ms68cqpjjp]::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background-color: rgba(6, 182, 212, 0.5);
    animation: pulse-ring-b-ms68cqpjjp 1.8s infinite ease-out;
}

@keyframes pulse-ring-b-ms68cqpjjp {
    0% { transform: scale(0.8); opacity: 0.9; }
    100% { transform: scale(2.4); opacity: 0; }
}

.live-status-text[b-ms68cqpjjp] {
    font-size: 11px;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-headline[b-ms68cqpjjp] {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(6, 182, 212, 0.2);
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    user-select: none;
    -webkit-user-select: none;
}

.hero-subtext[b-ms68cqpjjp] {
    font-size: 15px;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.65;
    margin-bottom: 36px;
}

.live-metrics-row[b-ms68cqpjjp] {
    display: flex;
    gap: 18px;
}

.metric-card[b-ms68cqpjjp] {
    background: rgba(10, 25, 47, 0.65);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 16px 22px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
}

.metric-card:hover[b-ms68cqpjjp] {
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.25);
    transform: translateY(-2px);
}

.metric-icon-wrap[b-ms68cqpjjp] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(6, 182, 212, 0.15);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.metric-info[b-ms68cqpjjp] {
    display: flex;
    flex-direction: column;
}

.metric-num[b-ms68cqpjjp] {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

.metric-lbl[b-ms68cqpjjp] {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

/* Right Side Floating Login Card - Dark Cyber Glassmorphism */
.login-right-card-panel[b-ms68cqpjjp] {
    flex-shrink: 0;
    width: 100%;
    max-width: 440px;
    margin-left: auto;
}

.login-card[b-ms68cqpjjp] {
    background: rgba(10, 25, 47, 0.75);
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
    border-radius: 26px;
    padding: 42px 40px;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 35px rgba(6, 182, 212, 0.18);
    border: 1px solid rgba(6, 182, 212, 0.35);
    transition: all 0.3s ease;
}

.login-card:hover[b-ms68cqpjjp] {
    border-color: rgba(6, 182, 212, 0.55);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.7),
        0 0 45px rgba(6, 182, 212, 0.3);
}

.login-card-header[b-ms68cqpjjp] {
    margin-bottom: 26px;
}

.welcome-title[b-ms68cqpjjp] {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.4px;
}

.welcome-subtitle[b-ms68cqpjjp] {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
    margin: 0;
}

.form-group[b-ms68cqpjjp] {
    margin-bottom: 20px;
}

.form-label[b-ms68cqpjjp] {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #cbd5e1;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper[b-ms68cqpjjp] {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon[b-ms68cqpjjp] {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: #64748b;
    transition: color 0.2s ease;
    pointer-events: none;
}

.custom-input[b-ms68cqpjjp] {
    width: 100%;
    height: 48px;
    padding: 10px 14px 10px 42px;
    background-color: rgba(15, 32, 60, 0.7);
    border: 1.5px solid rgba(6, 182, 212, 0.25);
    border-radius: 12px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.2s ease;
}

.custom-input[b-ms68cqpjjp]::placeholder {
    color: #64748b;
}

.custom-input:focus[b-ms68cqpjjp] {
    background-color: rgba(15, 32, 60, 0.9);
    border-color: #06b6d4;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.25), 0 0 15px rgba(6, 182, 212, 0.3);
    outline: none;
}

.input-wrapper:focus-within .input-icon[b-ms68cqpjjp] {
    color: #06b6d4;
}

.password-input-wrapper .custom-input[b-ms68cqpjjp] {
    padding-right: 44px;
}

.btn-eye[b-ms68cqpjjp] {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #64748b;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.btn-eye:hover[b-ms68cqpjjp] {
    color: #38bdf8;
}

.btn-eye svg[b-ms68cqpjjp] {
    width: 18px;
    height: 18px;
}

.form-options[b-ms68cqpjjp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.stay-signed-in[b-ms68cqpjjp] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox[b-ms68cqpjjp] {
    width: 17px;
    height: 17px;
    border-radius: 5px;
    border: 1.5px solid #475569;
    background-color: rgba(15, 32, 60, 0.7);
    cursor: pointer;
    accent-color: #06b6d4;
}

.btn-continue[b-ms68cqpjjp] {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.45);
    transition: all 0.25s ease;
    margin-bottom: 22px;
}

.btn-continue:hover:not(:disabled)[b-ms68cqpjjp] {
    background: linear-gradient(135deg, #0891b2 0%, #1d4ed8 100%);
    box-shadow: 0 0 35px rgba(6, 182, 212, 0.65);
    transform: translateY(-2px);
}

.btn-continue:disabled[b-ms68cqpjjp] {
    background: #334155;
    color: #64748b;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-arrow[b-ms68cqpjjp] {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.btn-continue:hover .btn-arrow[b-ms68cqpjjp] {
    transform: translateX(4px);
}

.login-footer-links[b-ms68cqpjjp] {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
}

.staff-login-link[b-ms68cqpjjp] {
    display: inline-block;
    font-size: 13px;
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
}

.staff-login-link:hover[b-ms68cqpjjp] {
    color: #67e8f9;
    text-decoration: underline;
}

.register-text[b-ms68cqpjjp] {
    font-size: 13px;
    color: #94a3b8;
    margin: 4px 0;
}

.register-link[b-ms68cqpjjp] {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
}

.register-link:hover[b-ms68cqpjjp] {
    color: #67e8f9;
    text-decoration: underline;
}

.form-footer-mini[b-ms68cqpjjp] {
    margin-top: 18px;
    text-align: center;
    font-size: 11px;
    color: #64748b;
}

.form-footer-mini a[b-ms68cqpjjp] {
    color: #64748b;
    text-decoration: none;
}

.form-footer-mini a:hover[b-ms68cqpjjp] {
    color: #94a3b8;
}

/* Alert Styles */
.alert[b-ms68cqpjjp] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: alertSlideDown-b-ms68cqpjjp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.alert-success[b-ms68cqpjjp] {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.85) 0%, rgba(16, 185, 129, 0.25) 100%);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #ecfdf5;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.alert-success[b-ms68cqpjjp]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #10b981, #34d399);
    box-shadow: 0 0 12px #10b981;
}

.alert-icon[b-ms68cqpjjp] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
    color: #34d399;
    filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.6));
}

.alert-content[b-ms68cqpjjp] {
    flex: 1;
    line-height: 1.45;
}

@keyframes alertSlideDown-b-ms68cqpjjp {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Layout */
@media (max-width: 992px) {
    .login-content-layout[b-ms68cqpjjp] {
        flex-direction: column;
        align-items: center;
    }
    .login-left-brand-panel[b-ms68cqpjjp] {
        max-width: 100%;
        text-align: center;
        padding-right: 0;
    }
    .hero-headline[b-ms68cqpjjp] {
        font-size: 30px;
    }
    .live-metrics-row[b-ms68cqpjjp] {
        justify-content: center;
    }
    .login-right-card-panel[b-ms68cqpjjp] {
        margin-left: 0;
    }
    .hud-cyber-ring[b-ms68cqpjjp] {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   LOGIN PAGE BRIGHT MODE / LIGHT THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="light"]) .login-page-container[b-ms68cqpjjp],
[data-theme="light"] .login-page-container[b-ms68cqpjjp] {
    background: linear-gradient(135deg, #e0f2fe 0%, #f1f5f9 50%, #e0f2fe 100%) !important;
}

:host-context([data-theme="light"]) .fullscreen-live-video[b-ms68cqpjjp],
[data-theme="light"] .fullscreen-live-video[b-ms68cqpjjp] {
    filter: brightness(1.2) contrast(0.95) saturate(1.1) !important;
    opacity: 0.35 !important;
}

:host-context([data-theme="light"]) .dark-cyber-overlay[b-ms68cqpjjp],
[data-theme="light"] .dark-cyber-overlay[b-ms68cqpjjp] {
    background: radial-gradient(
        circle at 50% 40%,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(241, 245, 249, 0.75) 65%,
        rgba(226, 232, 240, 0.95) 100%
    ) !important;
}

:host-context([data-theme="light"]) .ambient-light-particles[b-ms68cqpjjp],
[data-theme="light"] .ambient-light-particles[b-ms68cqpjjp] {
    background-image: radial-gradient(rgba(2, 132, 199, 0.18) 1.2px, transparent 1.2px) !important;
    opacity: 0.4 !important;
}

:host-context([data-theme="light"]) .brand-text[b-ms68cqpjjp],
[data-theme="light"] .brand-text[b-ms68cqpjjp] {
    color: #0f172a !important;
}

:host-context([data-theme="light"]) .brand-logo-img[b-ms68cqpjjp],
[data-theme="light"] .brand-logo-img[b-ms68cqpjjp] {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 0 20px rgba(2, 132, 199, 0.25) !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
}

:host-context([data-theme="light"]) .hero-headline[b-ms68cqpjjp],
[data-theme="light"] .hero-headline[b-ms68cqpjjp] {
    background: linear-gradient(135deg, #034f75 0%, #0284c7 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

:host-context([data-theme="light"]) .hero-subtext[b-ms68cqpjjp],
[data-theme="light"] .hero-subtext[b-ms68cqpjjp] {
    color: #475569 !important;
}

:host-context([data-theme="light"]) .live-status-pill[b-ms68cqpjjp],
[data-theme="light"] .live-status-pill[b-ms68cqpjjp] {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.1) !important;
}

:host-context([data-theme="light"]) .metric-card[b-ms68cqpjjp],
[data-theme="light"] .metric-card[b-ms68cqpjjp] {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(2, 132, 199, 0.25) !important;
    box-shadow: 0 10px 30px rgba(0, 75, 113, 0.08) !important;
}

:host-context([data-theme="light"]) .metric-card:hover[b-ms68cqpjjp],
[data-theme="light"] .metric-card:hover[b-ms68cqpjjp] {
    border-color: #0284c7 !important;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.18) !important;
}

:host-context([data-theme="light"]) .metric-icon-wrap[b-ms68cqpjjp],
[data-theme="light"] .metric-icon-wrap[b-ms68cqpjjp] {
    background: #e0f2fe !important;
    color: #0284c7 !important;
}

:host-context([data-theme="light"]) .metric-num[b-ms68cqpjjp],
[data-theme="light"] .metric-num[b-ms68cqpjjp] {
    color: #034f75 !important;
}

:host-context([data-theme="light"]) .metric-lbl[b-ms68cqpjjp],
[data-theme="light"] .metric-lbl[b-ms68cqpjjp] {
    color: #64748b !important;
}

:host-context([data-theme="light"]) .login-card[b-ms68cqpjjp],
[data-theme="light"] .login-card[b-ms68cqpjjp] {
    background: rgba(255, 255, 255, 0.88) !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
    box-shadow: 0 25px 60px rgba(2, 132, 199, 0.14) !important;
}

:host-context([data-theme="light"]) .login-card:hover[b-ms68cqpjjp],
[data-theme="light"] .login-card:hover[b-ms68cqpjjp] {
    border-color: rgba(2, 132, 199, 0.5) !important;
    box-shadow: 0 30px 70px rgba(2, 132, 199, 0.22) !important;
}

:host-context([data-theme="light"]) .welcome-title[b-ms68cqpjjp],
[data-theme="light"] .welcome-title[b-ms68cqpjjp] {
    color: #0f172a !important;
}

:host-context([data-theme="light"]) .welcome-subtitle[b-ms68cqpjjp],
[data-theme="light"] .welcome-subtitle[b-ms68cqpjjp] {
    color: #64748b !important;
}

:host-context([data-theme="light"]) .form-label[b-ms68cqpjjp],
[data-theme="light"] .form-label[b-ms68cqpjjp] {
    color: #334155 !important;
}

:host-context([data-theme="light"]) .custom-input[b-ms68cqpjjp],
[data-theme="light"] .custom-input[b-ms68cqpjjp] {
    background-color: rgba(248, 250, 252, 0.95) !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

:host-context([data-theme="light"]) .custom-input[b-ms68cqpjjp]::placeholder,
[data-theme="light"] .custom-input[b-ms68cqpjjp]::placeholder {
    color: #94a3b8 !important;
}

:host-context([data-theme="light"]) .custom-input:focus[b-ms68cqpjjp],
[data-theme="light"] .custom-input:focus[b-ms68cqpjjp] {
    background-color: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15) !important;
}

:host-context([data-theme="light"]) .input-icon[b-ms68cqpjjp],
[data-theme="light"] .input-icon[b-ms68cqpjjp] {
    color: #64748b !important;
}

:host-context([data-theme="light"]) .input-wrapper:focus-within .input-icon[b-ms68cqpjjp],
[data-theme="light"] .input-wrapper:focus-within .input-icon[b-ms68cqpjjp] {
    color: #0284c7 !important;
}

:host-context([data-theme="light"]) .stay-signed-in[b-ms68cqpjjp],
[data-theme="light"] .stay-signed-in[b-ms68cqpjjp] {
    color: #475569 !important;
}

:host-context([data-theme="light"]) .custom-checkbox[b-ms68cqpjjp],
[data-theme="light"] .custom-checkbox[b-ms68cqpjjp] {
    background-color: #ffffff !important;
    border-color: #94a3b8 !important;
}

:host-context([data-theme="light"]) .btn-continue[b-ms68cqpjjp],
[data-theme="light"] .btn-continue[b-ms68cqpjjp] {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.35) !important;
}

:host-context([data-theme="light"]) .btn-continue:hover:not(:disabled)[b-ms68cqpjjp],
[data-theme="light"] .btn-continue:hover:not(:disabled)[b-ms68cqpjjp] {
    background: linear-gradient(135deg, #0369a1 0%, #02456c 100%) !important;
    box-shadow: 0 6px 25px rgba(2, 132, 199, 0.5) !important;
}

:host-context([data-theme="light"]) .login-footer-links[b-ms68cqpjjp],
[data-theme="light"] .login-footer-links[b-ms68cqpjjp] {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}

:host-context([data-theme="light"]) .staff-login-link[b-ms68cqpjjp],
:host-context([data-theme="light"]) .register-link[b-ms68cqpjjp],
[data-theme="light"] .staff-login-link[b-ms68cqpjjp],
[data-theme="light"] .register-link[b-ms68cqpjjp] {
    color: #0284c7 !important;
}

:host-context([data-theme="light"]) .register-text[b-ms68cqpjjp],
:host-context([data-theme="light"]) .form-footer-mini[b-ms68cqpjjp],
:host-context([data-theme="light"]) .form-footer-mini a[b-ms68cqpjjp],
[data-theme="light"] .register-text[b-ms68cqpjjp],
[data-theme="light"] .form-footer-mini[b-ms68cqpjjp],
[data-theme="light"] .form-footer-mini a[b-ms68cqpjjp] {
    color: #64748b !important;
}

:host-context([data-theme="light"]) .theme-icon-btn[b-ms68cqpjjp],
[data-theme="light"] .theme-icon-btn[b-ms68cqpjjp] {
    background: rgba(2, 132, 199, 0.1) !important;
    border: 1px solid rgba(2, 132, 199, 0.3) !important;
    color: #0284c7 !important;
}

/* ═══════════════════════════════════════════════════════════════
   TOP-RIGHT FLOATING THEME SWITCHER BUTTON
   ═══════════════════════════════════════════════════════════════ */
.top-right-theme-toggle[b-ms68cqpjjp] {
    position: absolute;
    top: 24px;
    right: 32px;
    z-index: 1060;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s ease;
}

.top-right-theme-toggle:hover[b-ms68cqpjjp] {
    transform: translateY(-2px) scale(1.03);
}

:host-context([data-theme="dark"]) .top-right-theme-toggle[b-ms68cqpjjp],
[data-theme="dark"] .top-right-theme-toggle[b-ms68cqpjjp] {
    background: rgba(15, 23, 42, 0.85) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5) !important;
}

:host-context([data-theme="light"]) .top-right-theme-toggle[b-ms68cqpjjp],
[data-theme="light"] .top-right-theme-toggle[b-ms68cqpjjp] {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(2, 132, 199, 0.35) !important;
    color: #0284c7 !important;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.2) !important;
}

/* Version indicator below login card end */
.login-card-version[b-ms68cqpjjp] {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card-version .version-badge[b-ms68cqpjjp] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(10, 25, 47, 0.65);
    border: 1px solid rgba(6, 182, 212, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
    user-select: none;
}

.login-card-version .version-badge:hover[b-ms68cqpjjp] {
    color: #38bdf8;
    border-color: rgba(6, 182, 212, 0.55);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.25);
    transform: translateY(-1px);
}

.login-card-version .version-dot[b-ms68cqpjjp] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #06b6d4;
    box-shadow: 0 0 8px #06b6d4;
}

:host-context([data-theme="light"]) .login-card-version .version-badge[b-ms68cqpjjp],
[data-theme="light"] .login-card-version .version-badge[b-ms68cqpjjp] {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(2, 132, 199, 0.28) !important;
    color: #475569 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}

:host-context([data-theme="light"]) .login-card-version .version-badge:hover[b-ms68cqpjjp],
[data-theme="light"] .login-card-version .version-badge:hover[b-ms68cqpjjp] {
    color: #0284c7 !important;
    border-color: rgba(2, 132, 199, 0.5) !important;
}

:host-context([data-theme="light"]) .login-card-version .version-dot[b-ms68cqpjjp],
[data-theme="light"] .login-card-version .version-dot[b-ms68cqpjjp] {
    background-color: #0284c7 !important;
    box-shadow: 0 0 8px #0284c7 !important;
}

/* /Components/Pages/MachineMasterPage.razor.rz.scp.css */
.referral-page[b-8q0zmeqohl] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

/* Animations */
.lc-fadeInUp[b-8q0zmeqohl] {
    animation: fadeInUp-b-8q0zmeqohl 0.4s ease-out;
}

@keyframes fadeInUp-b-8q0zmeqohl {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flex-between[b-8q0zmeqohl] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-8q0zmeqohl] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-8q0zmeqohl] {
    display: flex;
}

.align-center[b-8q0zmeqohl] {
    align-items: center;
}

.flex-center[b-8q0zmeqohl] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-col[b-8q0zmeqohl] {
    flex-direction: column;
}

.gap-2[b-8q0zmeqohl] {
    gap: 4px;
}

.gap-8[b-8q0zmeqohl] {
    gap: 8px;
}

.gap-12[b-8q0zmeqohl] {
    gap: 12px;
}

.gap-16[b-8q0zmeqohl] {
    gap: 16px;
}

.p-2[b-8q0zmeqohl] {
    padding: 8px;
}

.p-24[b-8q0zmeqohl] {
    padding: 24px;
}

.rounded-lg[b-8q0zmeqohl] {
    border-radius: 8px;
}

.shadow-sm[b-8q0zmeqohl] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-8q0zmeqohl] {
    margin: 0;
}

.mt-2px[b-8q0zmeqohl] {
    margin-top: 2px;
}

.mb-0[b-8q0zmeqohl] {
    margin-bottom: 0;
}

.mt-3[b-8q0zmeqohl] {
    margin-top: 16px;
}

.mb-4[b-8q0zmeqohl] {
    margin-bottom: 24px;
}

.relative-positioned[b-8q0zmeqohl] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-8q0zmeqohl] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04);
    padding: 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
}

.lab-title-text[b-8q0zmeqohl] {
    color: #312e81;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-8q0zmeqohl] {
    background-color: #eef2ff;
}

.text-white[b-8q0zmeqohl] {
    color: #ffffff;
}

.icon-lg[b-8q0zmeqohl] {
    font-size: 24px;
}

.status-pulse-dot[b-8q0zmeqohl] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-8q0zmeqohl 2s infinite;
}

@keyframes lc-pulse-b-8q0zmeqohl {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.status-text[b-8q0zmeqohl] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-8q0zmeqohl] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.search-input[b-8q0zmeqohl] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    color: #1e293b;
    outline: none;
    width: 220px;
    transition: all 0.2s ease;
}

.search-input:focus[b-8q0zmeqohl] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.btn-new-entry[b-8q0zmeqohl] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%) !important;
    color: white;
    border: none;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s ease-in-out;
}

.btn-new-entry:hover[b-8q0zmeqohl] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-8q0zmeqohl] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.table-section[b-8q0zmeqohl] {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: -4px;
}

.table-wrapper[b-8q0zmeqohl] {
    width: 100%;
    overflow-x: auto;
}

.directory-table[b-8q0zmeqohl] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.directory-table thead tr[b-8q0zmeqohl] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.directory-table th[b-8q0zmeqohl] {
    padding: 1rem 1.5rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.directory-table td[b-8q0zmeqohl] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    vertical-align: middle;
}

.directory-table tbody tr:last-child td[b-8q0zmeqohl] {
    border-bottom: none;
}

.directory-table tbody tr:hover[b-8q0zmeqohl] {
    background: rgba(248, 250, 252, 0.8);
}

.td-order-no[b-8q0zmeqohl] {
    font-weight: 700;
    color: #4f46e5;
}

.td-name[b-8q0zmeqohl] {
    font-weight: 700;
    color: #1e293b;
}

.td-narration[b-8q0zmeqohl] {
    color: #64748b;
}

.text-center[b-8q0zmeqohl] {
    text-align: center;
}

/* Interface badges on table */
.badge[b-8q0zmeqohl] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.badge-rs232[b-8q0zmeqohl] {
    background: #f1f5f9;
    color: #475569;
}

.badge-tcp[b-8q0zmeqohl] {
    background: #e0f2fe;
    color: #0369a1;
}

.badge-file[b-8q0zmeqohl] {
    background: #ffedd5;
    color: #c2410c;
}

/* Action Buttons */
.btn-action[b-8q0zmeqohl] {
    padding: 8px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    width: 32px;
    height: 32px;
}

.btn-edit[b-8q0zmeqohl] {
    color: #64748b;
}

.btn-edit:hover[b-8q0zmeqohl] {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    color: #4f46e5;
}

.btn-delete-action[b-8q0zmeqohl] {
    color: #ef4444;
}

.btn-delete-action:hover[b-8q0zmeqohl] {
    background-color: #fef2f2;
    border-color: #fca5a5;
    color: #dc2626;
}

/* Modal form card styles */
.modal-overlay[b-8q0zmeqohl] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-8q0zmeqohl] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: fadeInUp-b-8q0zmeqohl 0.3s ease-out;
}

.modal-header-bar[b-8q0zmeqohl] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    color: white;
}

.modal-header-bar h3[b-8q0zmeqohl] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-8q0zmeqohl] {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
}

.modal-close-btn:hover[b-8q0zmeqohl] {
    color: #ef4444;
    background: #ffffff;
}

.modal-body[b-8q0zmeqohl] {
    padding: 32px;
    background-color: #ffffff;
}

.form-section[b-8q0zmeqohl] {
    margin-bottom: 0;
}

.form-group[b-8q0zmeqohl] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-8q0zmeqohl] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.position-relative[b-8q0zmeqohl] {
    position: relative;
}

[b-8q0zmeqohl] .lab-input {
    width: 100%;
    height: 2.5rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: #334155;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

[b-8q0zmeqohl] select.lab-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23cbd5e1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

[b-8q0zmeqohl] .lab-input:focus {
    background-color: #ffffff;
    border-color: #cbd5e1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(200, 213, 225, 0.15);
}

.um-grid-row[b-8q0zmeqohl] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.um-grid-cols-2[b-8q0zmeqohl] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-3[b-8q0zmeqohl] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.modal-footer-bar[b-8q0zmeqohl] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-8q0zmeqohl] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-8q0zmeqohl] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
}

.btn-delete[b-8q0zmeqohl] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    transition: all 0.2s;
}

.btn-delete:hover:not(:disabled)[b-8q0zmeqohl] {
    background-color: #fef2f2;
    color: #dc2626;
}

.btn-delete:disabled[b-8q0zmeqohl] {
    color: #cbd5e1;
    cursor: not-allowed;
}

/* Custom interactive checkboxes & connection settings styles */
.cursor-pointer[b-8q0zmeqohl] {
    cursor: pointer;
}

.config-card[b-8q0zmeqohl] {
    transition: all 0.25s ease-in-out;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.config-card:hover[b-8q0zmeqohl] {
    border-color: #cbd5e1 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.config-card input[type="checkbox"][b-8q0zmeqohl],
.config-card input[type="radio"][b-8q0zmeqohl] {
    accent-color: #4f46e5;
    width: 16px;
    height: 16px;
}

.config-card-text[b-8q0zmeqohl] {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
}

/* TCP Mode radio buttons container */
.tcp-mode-container[b-8q0zmeqohl] {
    background: #f5f3ff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd6fe;
    margin-top: -12px;
}

.tcp-mode-text[b-8q0zmeqohl] {
    font-size: 13px;
    font-weight: 500;
    color: #4338ca;
}

/* Sub cards for specific port/path config */
.config-sub-card[b-8q0zmeqohl] {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.rs232-card[b-8q0zmeqohl] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.dir-card[b-8q0zmeqohl] {
    background: #fdfaf6;
    border: 1px solid #fed7aa;
}

.config-sub-card-title[b-8q0zmeqohl] {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rs232-title[b-8q0zmeqohl] {
    color: #475569;
}

.dir-title[b-8q0zmeqohl] {
    color: #c2410c;
}

.text-danger[b-8q0zmeqohl] {
    color: #ef4444;
}

/* ==========================================================================
   DARK MODE OVERRIDES FOR MACHINE MASTER
   ========================================================================== */

:host-context([data-theme="dark"]) .referral-page[b-8q0zmeqohl],
[data-theme="dark"] .referral-page[b-8q0zmeqohl] {
    background-color: #090d16 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-8q0zmeqohl],
[data-theme="dark"] .lab-header-card[b-8q0zmeqohl] {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-8q0zmeqohl],
[data-theme="dark"] .lab-title-text[b-8q0zmeqohl] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .bg-indigo-50[b-8q0zmeqohl],
[data-theme="dark"] .bg-indigo-50[b-8q0zmeqohl] {
    background-color: #0f172a !important;
}

:host-context([data-theme="dark"]) .status-text[b-8q0zmeqohl],
[data-theme="dark"] .status-text[b-8q0zmeqohl] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .search-input[b-8q0zmeqohl],
[data-theme="dark"] .search-input[b-8q0zmeqohl] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .search-input:focus[b-8q0zmeqohl],
[data-theme="dark"] .search-input:focus[b-8q0zmeqohl] {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
}

:host-context([data-theme="dark"]) .directory-section[b-8q0zmeqohl],
[data-theme="dark"] .directory-section[b-8q0zmeqohl] {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .directory-table thead tr[b-8q0zmeqohl],
[data-theme="dark"] .directory-table thead tr[b-8q0zmeqohl] {
    background: #0f172a !important;
    border-bottom: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .directory-table th[b-8q0zmeqohl],
[data-theme="dark"] .directory-table th[b-8q0zmeqohl] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .directory-table td[b-8q0zmeqohl],
[data-theme="dark"] .directory-table td[b-8q0zmeqohl] {
    border-bottom: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .td-name[b-8q0zmeqohl],
[data-theme="dark"] .td-name[b-8q0zmeqohl] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .td-narration[b-8q0zmeqohl],
[data-theme="dark"] .td-narration[b-8q0zmeqohl] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .directory-table tbody tr:hover[b-8q0zmeqohl],
[data-theme="dark"] .directory-table tbody tr:hover[b-8q0zmeqohl] {
    background: #334155 !important;
}

:host-context([data-theme="dark"]) .btn-action[b-8q0zmeqohl],
[data-theme="dark"] .btn-action[b-8q0zmeqohl] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .btn-action:hover[b-8q0zmeqohl],
[data-theme="dark"] .btn-action:hover[b-8q0zmeqohl] {
    background: #334155 !important;
    border-color: #475569 !important;
}
/* Master dashboard theme */
:global(.main-content):has(.referral-page)[b-8q0zmeqohl] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.referral-page[b-8q0zmeqohl] { height: calc(100vh - 1.5rem) !important; min-height: 0 !important; padding: 0 !important; gap: .6rem !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.lab-header-card[b-8q0zmeqohl] { flex: 0 0 78px !important; padding: .15rem 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.icon-box-container[b-8q0zmeqohl] { background: linear-gradient(135deg,#087bb5,#07547c) !important; }
.lab-title-text[b-8q0zmeqohl] { color: #07547c !important; font-size: 1.85rem !important; font-weight: 800 !important; }
.status-text[b-8q0zmeqohl] { color: #647b90 !important; font-size: .78rem !important; text-transform: none !important; letter-spacing: 0 !important; }
.search-input[b-8q0zmeqohl] { width: 280px !important; height: 40px !important; box-sizing: border-box !important; border-radius: 10px !important; border: 1px solid #cbd9e8 !important; }
.btn-new-entry[b-8q0zmeqohl] { height: 40px !important; padding: 0 1.15rem !important; border-radius: 10px !important; background: #087bb5 !important; }
.referral-page > .modal-overlay ~ *[b-8q0zmeqohl] { background: transparent !important; }
.table-section[b-8q0zmeqohl] { flex: 1 1 auto !important; min-height: 0 !important; margin: 0 !important; border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; background: #fff !important; }
.table-section .table-wrapper[b-8q0zmeqohl] { max-height: none !important; overflow: auto !important; }
.directory-table thead tr[b-8q0zmeqohl] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.directory-table th[b-8q0zmeqohl] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.directory-table td[b-8q0zmeqohl] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.directory-table tbody tr[b-8q0zmeqohl] { height: 44px !important; background: #fff !important; }
.directory-table tbody tr:nth-child(even)[b-8q0zmeqohl] { background: #f8fbfe !important; }
.directory-table tbody tr:hover[b-8q0zmeqohl] { background: #f0f8ff !important; }
/* /Components/Pages/ManufacturerMaster.razor.rz.scp.css */
/* Isolated styles for ManufacturerMaster component */

.items-page[b-jlmmg5kfxb] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-jlmmg5kfxb] {
    max-width: 1320px;
    margin: 0 auto;
}

.items-content[b-jlmmg5kfxb] {
    width: min(1240px, 100%);
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-jlmmg5kfxb] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    border-radius: 16px !important;
    padding: 1.25rem 2rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem !important;
}

.header-card-left[b-jlmmg5kfxb] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-card-icon[b-jlmmg5kfxb] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
}

.header-card-icon svg[b-jlmmg5kfxb] {
    stroke: #4f46e5 !important;
}

.header-card-text[b-jlmmg5kfxb] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-jlmmg5kfxb] {
    color: #312e81 !important;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.header-card-subheading[b-jlmmg5kfxb] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-jlmmg5kfxb] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-jlmmg5kfxb] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.items-search-wrap[b-jlmmg5kfxb] {
    position: relative;
    display: flex;
    align-items: center;
}

.items-search[b-jlmmg5kfxb] {
    width: 220px;
    height: 38px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    padding-left: 2.4rem !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.items-search:focus[b-jlmmg5kfxb] {
    outline: none !important;
    width: 280px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.items-search-icon[b-jlmmg5kfxb] {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.view-toggle[b-jlmmg5kfxb] {
    display: inline-flex;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #f8fafc !important;
    height: 38px;
    padding: 2px;
    align-items: center;
}

.view-toggle button[b-jlmmg5kfxb] {
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    width: 36px;
    height: 32px;
    border-radius: 16px !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle button.active[b-jlmmg5kfxb] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.add-item-btn[b-jlmmg5kfxb] {
    height: 38px !important;
    border-radius: 20px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 1.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
}

.add-item-btn:hover[b-jlmmg5kfxb] {
    background: #3f39c5 !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35) !important;
    transform: translateY(-1.5px);
}

.items-main-card[b-jlmmg5kfxb] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-top: 1.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
}

.items-table[b-jlmmg5kfxb] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

table.table.items-table thead tr th[b-jlmmg5kfxb],
.items-table th[b-jlmmg5kfxb] {
    background: #ffffff !important;
    color: #8a99ad !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.8px !important;
    padding: 10px 16px !important;
    border-bottom: 2px solid #eef2f6 !important;
    text-align: center !important;
}

.items-table td[b-jlmmg5kfxb] {
    border-top: none !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding: 10px 16px !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #64748b !important;
    vertical-align: middle !important;
    text-align: center !important;
}

.items-table td:last-child[b-jlmmg5kfxb] {
    white-space: nowrap !important;
    text-align: center !important;
}

.items-table tr td:first-child[b-jlmmg5kfxb] {
    color: #3b82f6 !important;
    font-weight: 700 !important;
}

.items-table tr td:nth-child(2)[b-jlmmg5kfxb],
.items-table tr td:nth-child(3)[b-jlmmg5kfxb] {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.action-btn[b-jlmmg5kfxb] {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.action-btn:hover[b-jlmmg5kfxb] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.action-btn i[b-jlmmg5kfxb] {
    font-size: 0.85rem !important;
}

.items-card-grid[b-jlmmg5kfxb] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.item-card[b-jlmmg5kfxb] {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.item-card:hover[b-jlmmg5kfxb] {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.item-card-head[b-jlmmg5kfxb] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    color: #1e293b !important;
    padding: 0.6rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.1) !important;
}

.card-item-code[b-jlmmg5kfxb] {
    color: #4b5563 !important;
    font-weight: 700 !important;
    margin-right: 6px;
}

.card-item-name[b-jlmmg5kfxb] {
    color: #374151 !important;
    font-weight: 700 !important;
}

.item-card-body[b-jlmmg5kfxb] {
    padding: 0.75rem 1rem !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
}

.detail-row[b-jlmmg5kfxb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.detail-row:last-child[b-jlmmg5kfxb] {
    border-bottom: none !important;
}

.detail-row span[b-jlmmg5kfxb] {
    color: #8a99ad !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.detail-row strong[b-jlmmg5kfxb] {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Modal styles */
.modal-overlay[b-jlmmg5kfxb] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.modal-card[b-jlmmg5kfxb] {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header-bar[b-jlmmg5kfxb] {
    background: #fff !important;
    color: #333 !important;
    padding: 16px 32px !important;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-left[b-jlmmg5kfxb] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-title[b-jlmmg5kfxb] {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: #000000 !important;
    letter-spacing: -0.2px;
}

.btn-close-modal[b-jlmmg5kfxb] {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-jlmmg5kfxb] {
    background: #e2e8f0;
    color: #1e293b;
}

.modal-inner[b-jlmmg5kfxb] {
    padding: 16px 32px !important;
    background: #fff;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.modal-inner[b-jlmmg5kfxb]  form {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.modal-inner[b-jlmmg5kfxb]  .modal-scroll-area {
    overflow-y: auto !important;
    flex: 1;
    padding-right: 8px;
    min-height: 0;
}

.form-section-header[b-jlmmg5kfxb] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid #f1f5f9;
}

.form-section-title[b-jlmmg5kfxb] {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #4f46e5;
}

.form-grid[b-jlmmg5kfxb] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 12px;
    row-gap: 12px;
}

.col-1[b-jlmmg5kfxb] { grid-column: span 1; }
.col-2[b-jlmmg5kfxb] { grid-column: span 2; }
.col-3[b-jlmmg5kfxb] { grid-column: span 3; }
.col-4[b-jlmmg5kfxb] { grid-column: span 4; }
.col-5[b-jlmmg5kfxb] { grid-column: span 5; }
.col-6[b-jlmmg5kfxb] { grid-column: span 6; }
.col-7[b-jlmmg5kfxb] { grid-column: span 7; }
.col-8[b-jlmmg5kfxb] { grid-column: span 8; }
.col-9[b-jlmmg5kfxb] { grid-column: span 9; }
.col-10[b-jlmmg5kfxb] { grid-column: span 10; }
.col-11[b-jlmmg5kfxb] { grid-column: span 11; }
.col-12[b-jlmmg5kfxb] { grid-column: span 12; }

.field-group[b-jlmmg5kfxb] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label[b-jlmmg5kfxb] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.field-label.required[b-jlmmg5kfxb]::after {
    content: " *";
    color: #ef4444;
}

.premium-input[b-jlmmg5kfxb] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    color: #4b5563 !important;
    transition: all 0.2s !important;
    height: auto !important;
}

.premium-input[b-jlmmg5kfxb]::placeholder {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

.premium-input:focus[b-jlmmg5kfxb] {
    background: #fff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

.btn-save-premium[b-jlmmg5kfxb] {
    background: #1c9f5f !important;
    color: white !important;
    border: none !important;
    padding: 10px 28px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(28, 159, 95, 0.3) !important;
    transition: all 0.2s !important;
    white-space: nowrap;
}

.btn-save-premium:hover[b-jlmmg5kfxb] {
    background: #168a52 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(28, 159, 95, 0.4) !important;
}

/* Pagination bar */
.page-btn[b-jlmmg5kfxb] {
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #64748b !important;
    border-radius: 8px !important;
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0 2px;
    transition: all 0.2s;
}

.page-btn.active[b-jlmmg5kfxb] {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
}

.page-btn:hover:not(.active):not(:disabled)[b-jlmmg5kfxb] {
    background: #f8fafc !important;
    color: #1e293b !important;
}
/* Master dashboard theme */
:global(.main-content):has(.items-page)[b-jlmmg5kfxb] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.items-page[b-jlmmg5kfxb] { min-height: calc(100vh - 1.5rem) !important; padding: 0 !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.items-shell[b-jlmmg5kfxb], .items-content[b-jlmmg5kfxb] { max-width: none !important; padding: 0 !important; }
.premium-header-card[b-jlmmg5kfxb] { height: 78px !important; box-sizing: border-box !important; padding: .15rem 0 !important; margin-bottom: .6rem !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.header-card-icon[b-jlmmg5kfxb] { background: linear-gradient(135deg,#087bb5,#07547c) !important; }
.header-card-heading[b-jlmmg5kfxb] { color: #07547c !important; font-size: 1.85rem !important; }
.header-card-subheading[b-jlmmg5kfxb] { color: #647b90 !important; }
.items-search[b-jlmmg5kfxb] { width: 280px !important; height: 40px !important; border-radius: 10px !important; border-color: #cbd9e8 !important; }
.add-item-btn[b-jlmmg5kfxb] { height: 40px !important; border-radius: 10px !important; background: #087bb5 !important; }
.items-main-card[b-jlmmg5kfxb] { border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; }
.items-table thead tr[b-jlmmg5kfxb] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.items-table thead th[b-jlmmg5kfxb] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.items-table tbody tr[b-jlmmg5kfxb] { height: 44px !important; background: #fff !important; }
.items-table tbody tr:nth-child(even)[b-jlmmg5kfxb] { background: #f8fbfe !important; }
.items-table tbody td[b-jlmmg5kfxb] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.items-table tbody tr:hover[b-jlmmg5kfxb] { background: #f0f8ff !important; }
/* /Components/Pages/MasterTenant.razor.rz.scp.css */
.settings-container[b-qzp0vu1a7w] {
    padding: 24px;
    background-color: #f8fafc;
    min-height: calc(100vh - 64px);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.settings-card[b-qzp0vu1a7w] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    max-width: 1040px;
    margin: 0 auto;
    padding: 32px;
}

.settings-header[b-qzp0vu1a7w] {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.header-icon[b-qzp0vu1a7w] {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #e0e7ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.settings-title[b-qzp0vu1a7w] {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.settings-subtitle[b-qzp0vu1a7w] {
    font-size: 14px;
    color: #64748b;
    margin: 4px 0 0 0;
}

.loading-state[b-qzp0vu1a7w] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    gap: 12px;
    color: #64748b;
    font-size: 15px;
}

/* Two-Section Grid Layout */
.settings-grid-layout[b-qzp0vu1a7w] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.settings-form-section[b-qzp0vu1a7w] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.settings-subsection[b-qzp0vu1a7w] {
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.settings-subsection:last-child[b-qzp0vu1a7w] {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.section-title[b-qzp0vu1a7w] {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}

.section-title i[b-qzp0vu1a7w] {
    color: #4f46e5;
    font-size: 18px;
}

.sub-section-title[b-qzp0vu1a7w] {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin: 0 0 16px 0;
}

/* Form Fields */
.form-group[b-qzp0vu1a7w] {
    margin-bottom: 16px;
}

.form-label[b-qzp0vu1a7w] {
    font-size: 13px;
    font-weight: 550;
    color: #475569;
    margin-bottom: 6px;
    display: block;
}

.custom-input[b-qzp0vu1a7w] {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    color: #0f172a;
    height: 40px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.custom-input:focus[b-qzp0vu1a7w] {
    background-color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

/* File Upload Dropzones */
.file-uploader-container[b-qzp0vu1a7w] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    margin-top: 8px;
}

.file-uploader-dropzone[b-qzp0vu1a7w] {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.15s ease;
    overflow: hidden;
}

.file-uploader-dropzone:hover[b-qzp0vu1a7w] {
    border-color: #4f46e5;
    background: #f0f3ff;
}

.file-uploader-dropzone i[b-qzp0vu1a7w] {
    font-size: 24px;
    color: #64748b;
    transition: color 0.15s ease;
}

.file-uploader-dropzone:hover i[b-qzp0vu1a7w] {
    color: #4f46e5;
}

.file-uploader-dropzone span[b-qzp0vu1a7w] {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

/* Hidden Blazor Input File styling */
[b-qzp0vu1a7w] .file-input-hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer;
    z-index: 10;
}

/* Interactive Preview Image inside the Dropzone */
.file-uploader-preview[b-qzp0vu1a7w] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
    z-index: 1;
    border-radius: 6px;
}

.file-uploader-overlay[b-qzp0vu1a7w] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.2s ease;
    border-radius: 6px;
}

.file-uploader-overlay i[b-qzp0vu1a7w] {
    color: #ffffff;
    font-size: 20px;
}

.file-uploader-overlay span[b-qzp0vu1a7w] {
    color: #ffffff;
    font-size: 12px;
}

.file-uploader-dropzone:hover .file-uploader-overlay[b-qzp0vu1a7w] {
    opacity: 1;
}

/* absolute trash/delete button positioned on top right */
.btn-remove-image-overlay[b-qzp0vu1a7w] {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-color: #ef4444;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20; /* Keep on top of file input */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-remove-image-overlay:hover[b-qzp0vu1a7w] {
    background-color: #dc2626;
    transform: scale(1.05);
}

.btn-remove-image-overlay i[b-qzp0vu1a7w] {
    font-size: 14px;
    color: #ffffff;
}

.btn-remove-image-overlay:hover i[b-qzp0vu1a7w] {
    color: #ffffff;
}

/* Checkbox Styling */
.form-checkbox-row[b-qzp0vu1a7w] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.custom-checkbox[b-qzp0vu1a7w] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #cbd5e1;
    accent-color: #4f46e5;
    cursor: pointer;
    margin-top: 3px;
    flex-shrink: 0;
}

.checkbox-label-group[b-qzp0vu1a7w] {
    display: flex;
    flex-direction: column;
}

.checkbox-title[b-qzp0vu1a7w] {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    user-select: none;
}

.checkbox-description[b-qzp0vu1a7w] {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

/* Conditional Field Area */
.conditional-fields[b-qzp0vu1a7w] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

/* Grids */
.grid-2-cols[b-qzp0vu1a7w] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.grid-3-cols[b-qzp0vu1a7w] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.grid-4-cols[b-qzp0vu1a7w] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.form-checkbox-card[b-qzp0vu1a7w] {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8fafc;
}

/* Color Picker */
.color-picker-wrapper[b-qzp0vu1a7w] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.color-picker[b-qzp0vu1a7w] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.color-picker[b-qzp0vu1a7w]::-webkit-color-swatch {
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.style-text[b-qzp0vu1a7w] {
    flex-grow: 1;
}

/* Action Buttons Row */
.form-actions-row[b-qzp0vu1a7w] {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    border-top: 1px solid #f1f5f9;
    padding-top: 24px;
    margin-top: 32px;
}

.btn-save-custom[b-qzp0vu1a7w] {
    background-color: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    height: 42px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.btn-save-custom:hover[b-qzp0vu1a7w] {
    background-color: #4338ca;
}

.btn-save-custom:disabled[b-qzp0vu1a7w] {
    background-color: #a5b4fc;
    cursor: not-allowed;
}

.btn-danger-custom[b-qzp0vu1a7w] {
    background-color: #ef4444;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    height: 42px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.btn-danger-custom:hover[b-qzp0vu1a7w] {
    background-color: #dc2626;
}

/* Animations */
.animation-fade[b-qzp0vu1a7w] {
    animation: fadeIn-b-qzp0vu1a7w 0.2s ease-out;
}

@keyframes fadeIn-b-qzp0vu1a7w {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Rules */
@media (max-width: 900px) {
    .settings-grid-layout[b-qzp0vu1a7w] {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
/* /Components/Pages/NewPatientRegistration.razor.rz.scp.css */
/* Modal Backdrop Overlay */
.modal-backdrop-custom[b-mzzgm6ueww] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Modal Dialog Box matching Patient Master Reference Image */
.modal-dialog-custom[b-mzzgm6ueww] {
    background: #ffffff;
    width: 900px;
    max-width: 95vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalFadeIn-b-mzzgm6ueww 0.2s ease-out;
}

@keyframes modalFadeIn-b-mzzgm6ueww {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header Bar */
.modal-header-bar[b-mzzgm6ueww] {
    background: #ffffff;
    padding: 18px 24px 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.modal-title-text[b-mzzgm6ueww] {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* Close Modal Cross Symbol with Larger Size and Red Hover */
.btn-close-modal[b-mzzgm6ueww] {
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-close-modal:hover[b-mzzgm6ueww] {
    color: #ef4444 !important;
    background-color: #fef2f2;
    transform: scale(1.1);
}

/* Modal Body Content */
.modal-body-content[b-mzzgm6ueww] {
    padding: 12px 24px 20px 24px;
    flex: 1;
    overflow-y: auto;
}

/* 2-Column Form Layout matching Patient Master */
.form-grid-layout[b-mzzgm6ueww] {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.form-column[b-mzzgm6ueww] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-column-divider[b-mzzgm6ueww] {
    width: 1px;
    background-color: #f1f5f9;
    align-self: stretch;
    margin: 0 4px;
}

/* Section Title matching Reference Image 2 */
.form-section-title[b-mzzgm6ueww] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #4f46e5;
    margin: 0 0 8px 0;
    padding-bottom: 6px;
    border-bottom: 1px dashed #e2e8f0;
}

.form-section-title span[b-mzzgm6ueww] {
    font-size: 1.1rem;
    color: #4f46e5;
}

/* Grid System */
.cm-container[b-mzzgm6ueww] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px 16px !important;
    padding: 0 !important;
    width: 100%;
}

.cm-col-12[b-mzzgm6ueww] { grid-column: span 12; }
.cm-col-6[b-mzzgm6ueww] { grid-column: span 6; }

.cm-field[b-mzzgm6ueww] {
    display: flex;
    flex-direction: column;
    gap: 4px !important;
}

/* Label Styling */
.cm-label-top[b-mzzgm6ueww] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.1px;
}

.required-star[b-mzzgm6ueww] {
    color: #ef4444;
    font-weight: 700;
    margin-left: 2px;
}

/* Input Fields */
.cm-input[b-mzzgm6ueww] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 12px !important;
    height: 36px !important;
    font-size: 0.825rem !important;
    color: #334155;
    transition: all 0.2s ease;
    box-sizing: border-box;
    width: 100%;
}

.cm-input[b-mzzgm6ueww]::placeholder {
    color: #cbd5e1;
    font-weight: 400;
}

.cm-input:focus[b-mzzgm6ueww] {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

/* Increased Address Field Height */
.cm-address-input[b-mzzgm6ueww] {
    height: 68px !important;
    padding: 8px 12px !important;
    resize: none;
    font-family: inherit;
}

/* Age Inputs */
.cm-field-inline[b-mzzgm6ueww] {
    display: flex;
    gap: 6px;
    align-items: center;
    width: 100%;
}

.cm-w-age[b-mzzgm6ueww] {
    flex: 1;
    text-align: center;
}

/* Footer Action Buttons */
.modal-footer-bar[b-mzzgm6ueww] {
    padding: 12px 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.btn-cancel[b-mzzgm6ueww] {
    padding: 0 20px;
    height: 38px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    color: #475569;
    transition: all 0.15s ease;
}

.btn-cancel:hover[b-mzzgm6ueww] {
    background: #f8fafc;
    color: #1e293b;
}

.btn-save[b-mzzgm6ueww] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    padding: 0 24px;
    height: 38px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
    transition: all 0.15s ease;
}

.btn-save:hover[b-mzzgm6ueww] {
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-icon-save[b-mzzgm6ueww] {
    margin-right: 2px;
}
/* /Components/Pages/NurseMaster.razor.rz.scp.css */
.referral-page[b-7lm0vqt2j8] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-7lm0vqt2j8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-7lm0vqt2j8] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-7lm0vqt2j8] {
    display: flex;
}

.align-center[b-7lm0vqt2j8] {
    align-items: center;
}

.flex-center[b-7lm0vqt2j8] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-7lm0vqt2j8] {
    gap: 8px;
}

.gap-12[b-7lm0vqt2j8] {
    gap: 12px;
}

.gap-16[b-7lm0vqt2j8] {
    gap: 16px;
}

.p-2[b-7lm0vqt2j8] {
    padding: 8px;
}

.p-4[b-7lm0vqt2j8] {
    padding: 16px;
}

.p-48[b-7lm0vqt2j8] {
    padding: 48px;
}

.rounded-lg[b-7lm0vqt2j8] {
    border-radius: 8px;
}

.shadow-sm[b-7lm0vqt2j8] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-7lm0vqt2j8] {
    margin: 0;
}

.mt-2px[b-7lm0vqt2j8] {
    margin-top: 2px;
}

.mb-0[b-7lm0vqt2j8] {
    margin-bottom: 0;
}

.mt-0[b-7lm0vqt2j8] {
    margin-top: 0;
}

.relative-positioned[b-7lm0vqt2j8] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-7lm0vqt2j8] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04);
    padding: 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
}

.lab-title-text[b-7lm0vqt2j8] {
    color: #312e81;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-7lm0vqt2j8] {
    background-color: #eef2ff;
}

.text-indigo-600[b-7lm0vqt2j8] {
    color: #4f46e5;
}

.icon-lg[b-7lm0vqt2j8] {
    font-size: 24px;
}

.status-pulse-dot[b-7lm0vqt2j8] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-7lm0vqt2j8 2s infinite;
}

.status-text[b-7lm0vqt2j8] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-7lm0vqt2j8] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-7lm0vqt2j8] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-7lm0vqt2j8] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-7lm0vqt2j8] {
    width: 220px;
}

.btn-new-entry[b-7lm0vqt2j8] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-7lm0vqt2j8] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-7lm0vqt2j8] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.lc-table-container[b-7lm0vqt2j8] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-7lm0vqt2j8] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-7lm0vqt2j8] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-7lm0vqt2j8] {
    padding: 1rem 1.5rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lc-table td[b-7lm0vqt2j8] {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    vertical-align: middle;
}

.lc-table tbody tr:last-child td[b-7lm0vqt2j8] {
    border-bottom: none;
}

.lc-table-row:hover[b-7lm0vqt2j8] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-7lm0vqt2j8] {
    font-weight: 700;
}

.text-indigo-600[b-7lm0vqt2j8] {
    color: #4f46e5;
}

.lc-color-slate-500[b-7lm0vqt2j8] {
    color: #64748b;
}

.lc-font-mono[b-7lm0vqt2j8] {
    font-family: monospace;
}

.lc-font-700[b-7lm0vqt2j8] {
    font-weight: 700;
}

.lc-font-13[b-7lm0vqt2j8] {
    font-size: 13px;
}

.text-slate-800[b-7lm0vqt2j8] {
    color: #1e293b;
}

.text-slate-700[b-7lm0vqt2j8] {
    color: #334155;
}

.text-slate-600[b-7lm0vqt2j8] {
    color: #475569;
}

.text-slate-500[b-7lm0vqt2j8] {
    color: #64748b;
}

.text-slate-400[b-7lm0vqt2j8] {
    color: #94a3b8;
}

.font-12[b-7lm0vqt2j8] {
    font-size: 12px;
}

.font-18[b-7lm0vqt2j8] {
    font-size: 18px;
}

.italic[b-7lm0vqt2j8] {
    font-style: italic;
}

/* Action buttons */
.lc-btn[b-7lm0vqt2j8] {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-7lm0vqt2j8] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-7lm0vqt2j8] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-7lm0vqt2j8] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-7lm0vqt2j8] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-7lm0vqt2j8] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 800px;
    max-height: 95vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-7lm0vqt2j8 0.3s ease-out;
}

.modal-header-bar[b-7lm0vqt2j8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-7lm0vqt2j8] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-7lm0vqt2j8] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-7lm0vqt2j8] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-7lm0vqt2j8] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-section[b-7lm0vqt2j8] {
    margin-bottom: 0;
}

.form-group[b-7lm0vqt2j8] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-7lm0vqt2j8] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-input[b-7lm0vqt2j8] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
}

.lab-input:focus[b-7lm0vqt2j8] {
    outline: none;
    border-color: #4f46e5;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.um-grid-row[b-7lm0vqt2j8] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.um-grid-cols-4[b-7lm0vqt2j8] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-5[b-7lm0vqt2j8] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-3[b-7lm0vqt2j8] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-2[b-7lm0vqt2j8] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.modal-footer-bar[b-7lm0vqt2j8] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-7lm0vqt2j8] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-7lm0vqt2j8] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-7lm0vqt2j8] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-delete[b-7lm0vqt2j8] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.btn-delete:hover:not(:disabled)[b-7lm0vqt2j8] {
    text-decoration: underline;
}

.btn-delete:disabled[b-7lm0vqt2j8] {
    opacity: 0.4;
    cursor: not-allowed;
}

.text-danger[b-7lm0vqt2j8] {
    color: #ef4444;
}

/* Animations */
@keyframes lc-pulse-b-7lm0vqt2j8 {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-7lm0vqt2j8] {
    animation: lc-fadeInUp-b-7lm0vqt2j8 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-7lm0vqt2j8 {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Delete Confirmation Modal */
.delete-confirm-card[b-7lm0vqt2j8] {
    max-width: 450px !important;
}

.delete-confirm-body[b-7lm0vqt2j8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem !important;
}

.delete-warning-icon[b-7lm0vqt2j8] {
    font-size: 48px !important;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.delete-message[b-7lm0vqt2j8] {
    font-size: 14px;
    color: #475569;
    font-weight: 600;
    margin: 0;
}

.delete-footer-bar[b-7lm0vqt2j8] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 1.25rem 2rem !important;
}

.btn-secondary-outline[b-7lm0vqt2j8] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-secondary-outline:hover[b-7lm0vqt2j8] {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

.btn-danger-filled[b-7lm0vqt2j8] {
    background: #ef4444;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 10px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
    transition: all 0.2s;
}

.btn-danger-filled:hover[b-7lm0vqt2j8] {
    background-color: #dc2626;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR NURSE MASTER
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .referral-page[b-7lm0vqt2j8],
[data-theme="dark"] .referral-page[b-7lm0vqt2j8] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-7lm0vqt2j8],
[data-theme="dark"] .lab-header-card[b-7lm0vqt2j8] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-7lm0vqt2j8],
[data-theme="dark"] .lab-title-text[b-7lm0vqt2j8] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .status-text[b-7lm0vqt2j8],
[data-theme="dark"] .status-text[b-7lm0vqt2j8] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input[b-7lm0vqt2j8],
[data-theme="dark"] .lc-rounded-pill-input[b-7lm0vqt2j8] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .search-icon i[b-7lm0vqt2j8],
:host-context([data-theme="dark"]) .search-icon span[b-7lm0vqt2j8],
[data-theme="dark"] .search-icon i[b-7lm0vqt2j8],
[data-theme="dark"] .search-icon span[b-7lm0vqt2j8] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .directory-section[b-7lm0vqt2j8],
[data-theme="dark"] .directory-section[b-7lm0vqt2j8] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lc-table thead tr[b-7lm0vqt2j8],
[data-theme="dark"] .lc-table thead tr[b-7lm0vqt2j8] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table th[b-7lm0vqt2j8],
[data-theme="dark"] .lc-table th[b-7lm0vqt2j8] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-table td[b-7lm0vqt2j8],
[data-theme="dark"] .lc-table td[b-7lm0vqt2j8] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .lc-table-row:hover td[b-7lm0vqt2j8],
[data-theme="dark"] .lc-table-row:hover td[b-7lm0vqt2j8] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .lc-btn[b-7lm0vqt2j8],
[data-theme="dark"] .lc-btn[b-7lm0vqt2j8] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-btn:hover[b-7lm0vqt2j8],
[data-theme="dark"] .lc-btn:hover[b-7lm0vqt2j8] {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #7dd3fc !important;
}

:host-context([data-theme="dark"]) .lc-btn span[b-7lm0vqt2j8],
[data-theme="dark"] .lc-btn span[b-7lm0vqt2j8] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .modal-form-card[b-7lm0vqt2j8],
[data-theme="dark"] .modal-form-card[b-7lm0vqt2j8] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-header-bar[b-7lm0vqt2j8],
:host-context([data-theme="dark"]) .modal-body[b-7lm0vqt2j8],
:host-context([data-theme="dark"]) .modal-footer-bar[b-7lm0vqt2j8],
[data-theme="dark"] .modal-header-bar[b-7lm0vqt2j8],
[data-theme="dark"] .modal-body[b-7lm0vqt2j8],
[data-theme="dark"] .modal-footer-bar[b-7lm0vqt2j8] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header-bar h3[b-7lm0vqt2j8],
[data-theme="dark"] .modal-header-bar h3[b-7lm0vqt2j8] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lab-input[b-7lm0vqt2j8],
[data-theme="dark"] .lab-input[b-7lm0vqt2j8] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .form-group label[b-7lm0vqt2j8],
[data-theme="dark"] .form-group label[b-7lm0vqt2j8] {
    color: #cbd5e1 !important;
}
/* Nurse Master dashboard theme */
:global(html:has(.nurse-master-page))[b-7lm0vqt2j8],
:global(body:has(.nurse-master-page))[b-7lm0vqt2j8] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.nurse-master-page))[b-7lm0vqt2j8],
:global(.app-main-wrapper:has(.nurse-master-page))[b-7lm0vqt2j8] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.nurse-master-page)[b-7lm0vqt2j8] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.referral-page.nurse-master-page[b-7lm0vqt2j8] {
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.referral-page.nurse-master-page .lab-header-card[b-7lm0vqt2j8] {
    flex: 0 0 auto !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.referral-page.nurse-master-page .lab-title-text[b-7lm0vqt2j8] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
}

.referral-page.nurse-master-page .status-text[b-7lm0vqt2j8] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.referral-page.nurse-master-page .bg-indigo-50[b-7lm0vqt2j8] {
    background: #e0f2fe !important;
}

.referral-page.nurse-master-page .lc-rounded-pill-input[b-7lm0vqt2j8] {
    width: 260px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    font-size: 0.82rem !important;
    padding: 0 1rem 0 2.2rem !important;
}

.referral-page.nurse-master-page .lc-rounded-pill-input:focus[b-7lm0vqt2j8] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.referral-page.nurse-master-page .btn-new-entry[b-7lm0vqt2j8] {
    height: 36px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

.referral-page.nurse-master-page .btn-new-entry:hover[b-7lm0vqt2j8] {
    background: #05689b !important;
}

.referral-page.nurse-master-page .directory-section[b-7lm0vqt2j8] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.referral-page.nurse-master-page .lc-table-container[b-7lm0vqt2j8] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
}

.referral-page.nurse-master-page .lc-table[b-7lm0vqt2j8] {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.referral-page.nurse-master-page .lc-table thead tr th[b-7lm0vqt2j8],
.referral-page .lc-table th[b-7lm0vqt2j8] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.75rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.nurse-master-page .lc-table thead tr th:last-child[b-7lm0vqt2j8],
.referral-page .lc-table th:last-child[b-7lm0vqt2j8] {
    border-right: none !important;
}

.referral-page.nurse-master-page .lc-table tbody tr[b-7lm0vqt2j8] {
    height: 34px !important;
    min-height: 34px !important;
}

.referral-page.nurse-master-page .lc-table tbody tr:nth-child(even)[b-7lm0vqt2j8] {
    background: #fbfdff !important;
}

.referral-page.nurse-master-page .lc-table-row:hover[b-7lm0vqt2j8] {
    background: #f0f8ff !important;
}

.referral-page.nurse-master-page .lc-table td[b-7lm0vqt2j8] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.75rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    color: #334155 !important;
    font-size: 0.76rem !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.nurse-master-page .lc-btn[b-7lm0vqt2j8],
.referral-page.nurse-master-page .lc-circle-btn-32[b-7lm0vqt2j8] {
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.referral-page.nurse-master-page .lc-btn:hover[b-7lm0vqt2j8],
.referral-page.nurse-master-page .lc-circle-btn-32:hover[b-7lm0vqt2j8] {
    border-color: #bae6fd !important;
    background: #f0f9ff !important;
    color: #0369a1 !important;
}

.referral-page.nurse-master-page .lc-table td:last-child > div[b-7lm0vqt2j8] {
    gap: 0.35rem !important;
}
/* /Components/Pages/NurseNotes.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════
   NURSE NOTES — Scoped Component Styles
   Design: CaseSheet-inspired, teal-clinical dark theme
═══════════════════════════════════════════════════════════════════ */


/* ─── Page Layout ─────────────────────────────────────────── */
.nn-page[b-nomwvk3xxe],
.nn-modal-backdrop[b-nomwvk3xxe] {
    --nn-primary: #4f46e5;
    --nn-primary-light: #eef2ff;
    --nn-primary-dark: #312e81;
    --nn-accent: #6366f1;
    --nn-success: #10b981;
    --nn-warning: #f59e0b;
    --nn-danger: #ef4444;
    --nn-purple: #7c3aed;
    --nn-slate-900: #0f172a;
    --nn-slate-800: #1e293b;
    --nn-slate-700: #334155;
    --nn-slate-600: #475569;
    --nn-slate-500: #64748b;
    --nn-slate-300: #cbd5e1;
    --nn-slate-200: #e2e8f0;
    --nn-slate-100: #f1f5f9;
    --nn-slate-50: #f8fafc;
    --nn-white: #ffffff;
    --nn-border: #e2e8f0;
    --nn-radius: 14px;
    --nn-radius-sm: 8px;
    --nn-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --nn-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.nn-page[b-nomwvk3xxe] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 65px);
    max-height: calc(100vh - 65px);
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 50%, #f1f5f9 100%);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--nn-slate-800);
}

/* Keep the admissions queue compact beneath the application tabs. */
:global(.main-content):has(.dashboard-container)[b-nomwvk3xxe] {
    padding-top: 0.25rem !important;
}

.dashboard-container[b-nomwvk3xxe] {
    margin: 0 auto !important;
    padding-top: 0 !important;
    max-height: calc(100vh - 1rem) !important;
}

.dashboard-header[b-nomwvk3xxe] {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
}

/* ─── Header ──────────────────────────────────────────────── */
.nn-header[b-nomwvk3xxe] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    background: linear-gradient(135deg, #0a4f75 0%, #0f6b9e 50%, #0284c7 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(10, 79, 117, 0.3);
    flex-wrap: wrap;
    gap: 1rem;
}

.nn-header-left[b-nomwvk3xxe] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nn-header-icon[b-nomwvk3xxe] {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nn-header-title[b-nomwvk3xxe] {
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.nn-header-sub[b-nomwvk3xxe] {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.nn-header-actions[b-nomwvk3xxe] {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.nn-btn[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.15rem;
    border-radius: var(--nn-radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.nn-btn:disabled[b-nomwvk3xxe] {
    opacity: 0.6;
    cursor: not-allowed;
}

.nn-btn-primary[b-nomwvk3xxe] {
    background: linear-gradient(135deg, #0f6b9e 0%, #0284c7 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.35);
}

.nn-btn-primary:hover:not(:disabled)[b-nomwvk3xxe] {
    background: linear-gradient(135deg, #0a4f75 0%, #0369a1 100%);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
    transform: translateY(-1px);
}

.nn-btn-outline[b-nomwvk3xxe] {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.nn-btn-outline:hover:not(:disabled)[b-nomwvk3xxe] {
    background: rgba(255, 255, 255, 0.25);
}

.nn-btn-ghost[b-nomwvk3xxe] {
    background: var(--nn-slate-100);
    color: var(--nn-slate-700);
    border: 1.5px solid var(--nn-slate-200);
}

.nn-btn-ghost:hover:not(:disabled)[b-nomwvk3xxe] {
    background: var(--nn-slate-200);
}

/* ─── Body Layout ─────────────────────────────────────────── */
.nn-body[b-nomwvk3xxe] {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 0;
    margin: 0.5rem 1.75rem 1.25rem 1.75rem;
    background: var(--nn-white);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04);
}

/* ─── Patient Panel (Left) ────────────────────────────────── */
.nn-patient-panel[b-nomwvk3xxe] {
    width: 280px;
    min-width: 240px;
    max-width: 300px;
    background: var(--nn-white);
    border-right: 1.5px solid var(--nn-border);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.04);
    z-index: 2;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.nn-panel-header[b-nomwvk3xxe] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem 0.75rem;
    border-bottom: 1px solid var(--nn-slate-100);
}

.nn-panel-title[b-nomwvk3xxe] {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--nn-slate-600);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nn-badge[b-nomwvk3xxe] {
    background: linear-gradient(135deg, var(--nn-primary), var(--nn-accent));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 99px;
}

.nn-search-box[b-nomwvk3xxe] {
    position: relative;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--nn-slate-100);
}

.nn-search-icon[b-nomwvk3xxe] {
    position: absolute;
    left: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--nn-slate-500);
    font-size: 0.85rem;
}

.nn-search-input[b-nomwvk3xxe] {
    width: 100%;
    padding: 0.55rem 0.75rem 0.55rem 2.1rem;
    border-radius: var(--nn-radius-sm);
    border: 1.5px solid var(--nn-slate-200);
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--nn-slate-800);
    background: var(--nn-slate-50);
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.nn-search-input:focus[b-nomwvk3xxe] {
    border-color: var(--nn-accent);
    background: #fff;
}

.nn-patient-list[b-nomwvk3xxe] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.nn-patient-list[b-nomwvk3xxe]::-webkit-scrollbar {
    width: 5px;
}

.nn-patient-list[b-nomwvk3xxe]::-webkit-scrollbar-track {
    background: transparent;
}

.nn-patient-list[b-nomwvk3xxe]::-webkit-scrollbar-thumb {
    background: var(--nn-slate-200);
    border-radius: 10px;
}

.nn-patient-card[b-nomwvk3xxe] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.1rem;
    cursor: pointer;
    transition: all 0.15s;
    border-left: 3px solid transparent;
}

.nn-patient-card:hover[b-nomwvk3xxe] {
    background: var(--nn-slate-50);
}

.nn-patient-card.active[b-nomwvk3xxe] {
    background: var(--nn-primary-light);
    border-left-color: var(--nn-primary);
}

.nn-pat-avatar[b-nomwvk3xxe] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nn-primary), var(--nn-accent));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.nn-pat-info[b-nomwvk3xxe] {
    flex: 1;
    min-width: 0;
}

.nn-pat-name[b-nomwvk3xxe] {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--nn-slate-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nn-pat-meta[b-nomwvk3xxe] {
    display: flex;
    gap: 0.6rem;
    font-size: 0.72rem;
    color: var(--nn-slate-500);
    font-weight: 600;
    margin-top: 2px;
    flex-wrap: wrap;
}

.nn-pat-status[b-nomwvk3xxe] {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 99px;
    flex-shrink: 0;
}

.nn-pat-status.admitted[b-nomwvk3xxe] {
    background: #dcfce7;
    color: #15803d;
}

.nn-pat-status.discharged[b-nomwvk3xxe] {
    background: #f0f9ff;
    color: #0369a1;
}

/* ─── Main Content ────────────────────────────────────────── */
.nn-main[b-nomwvk3xxe] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--nn-slate-50);
}

/* ─── Patient Info Bar ────────────────────────────────────── */
.nn-patient-bar[b-nomwvk3xxe] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.5rem;
    background: var(--nn-white);
    border-bottom: 1.5px solid var(--nn-border);
    flex-wrap: wrap;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.nn-patient-bar-info[b-nomwvk3xxe] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.nn-patient-bar-avatar[b-nomwvk3xxe] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nn-primary), var(--nn-accent));
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.2);
}

.nn-patient-bar-name[b-nomwvk3xxe] {
    font-size: 1rem;
    font-weight: 800;
    color: var(--nn-slate-900);
}

.nn-patient-bar-meta[b-nomwvk3xxe] {
    font-size: 0.78rem;
    color: var(--nn-slate-500);
    font-weight: 600;
    margin-top: 2px;
}

.nn-filter-select[b-nomwvk3xxe] {
    border-radius: var(--nn-radius-sm);
    border: 1.5px solid var(--nn-slate-200);
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--nn-slate-800);
    background: var(--nn-white);
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.nn-filter-select:focus[b-nomwvk3xxe] {
    border-color: var(--nn-accent);
}

/* ─── Tabs ────────────────────────────────────────────────── */
.nn-tabs[b-nomwvk3xxe] {
    display: flex;
    gap: 0;
    background: var(--nn-white);
    border-bottom: 2px solid var(--nn-slate-200);
    padding: 0 1.5rem;
}

.nn-tab[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.1rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--nn-slate-500);
    background: transparent;
    border: none;
    border-bottom: 2.5px solid transparent;
    cursor: pointer;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.nn-tab:hover[b-nomwvk3xxe] {
    color: var(--nn-primary);
    background: var(--nn-primary-light);
}

.nn-tab.active[b-nomwvk3xxe] {
    color: var(--nn-primary);
    border-bottom-color: var(--nn-primary);
    background: var(--nn-primary-light);
    border-radius: var(--nn-radius-sm) var(--nn-radius-sm) 0 0;
}

/* ─── Tab Content ─────────────────────────────────────────── */
.nn-tab-content[b-nomwvk3xxe] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
}

.nn-tab-content[b-nomwvk3xxe]::-webkit-scrollbar {
    width: 6px;
}

.nn-tab-content[b-nomwvk3xxe]::-webkit-scrollbar-thumb {
    background: var(--nn-slate-200);
    border-radius: 10px;
}

/* ─── Empty States ────────────────────────────────────────── */
.nn-empty-state[b-nomwvk3xxe] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.nn-empty-icon[b-nomwvk3xxe] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nn-primary-light), #e0f2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--nn-primary);
    box-shadow: 0 8px 24px rgba(15, 107, 158, 0.15);
    margin-bottom: 1.25rem;
}

.nn-empty-state h3[b-nomwvk3xxe] {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--nn-slate-700);
    margin: 0 0 0.5rem;
}

.nn-empty-state p[b-nomwvk3xxe] {
    font-size: 0.85rem;
    color: var(--nn-slate-500);
    max-width: 320px;
    margin: 0;
}

.nn-state-center[b-nomwvk3xxe] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

/* ─── Notes List ──────────────────────────────────────────── */
.nn-notes-list[b-nomwvk3xxe] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ─── Note Card ───────────────────────────────────────────── */
.nn-note-card[b-nomwvk3xxe] {
    background: var(--nn-white);
    border-radius: var(--nn-radius);
    border: 1.5px solid var(--nn-border);
    overflow: hidden;
    box-shadow: var(--nn-shadow);
    transition: box-shadow 0.2s, border-color 0.2s;
    animation: noteSlideIn-b-nomwvk3xxe 0.3s ease-out;
}

@keyframes noteSlideIn-b-nomwvk3xxe {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nn-note-card:hover[b-nomwvk3xxe] {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--nn-accent);
}

.nn-note-card.cancelled[b-nomwvk3xxe] {
    opacity: 0.65;
    border-color: #fca5a5;
    background: #fff5f5;
}

.nn-note-card.deleted[b-nomwvk3xxe] {
    opacity: 0.4;
    filter: grayscale(0.5);
}

/* ─── Note Header ─────────────────────────────────────────── */
.nn-note-header[b-nomwvk3xxe] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid var(--nn-slate-100);
    background: var(--nn-slate-50);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nn-note-meta[b-nomwvk3xxe] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.nn-note-time[b-nomwvk3xxe] {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--nn-slate-500);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Note type badges */
.nn-note-type-badge[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 99px;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nn-note-type-badge.fall[b-nomwvk3xxe] {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.nn-note-type-badge.dressing[b-nomwvk3xxe] {
    background: #ede9fe;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

.nn-note-type-badge.medication[b-nomwvk3xxe] {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.nn-note-type-badge.infusion[b-nomwvk3xxe] {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.nn-note-type-badge.io[b-nomwvk3xxe] {
    background: #f3e8ff;
    color: #7e22ce;
    border: 1px solid #e9d5ff;
}

.nn-note-type-badge.oxygen[b-nomwvk3xxe] {
    background: #cffafe;
    color: #0e7490;
    border: 1px solid #a5f3fc;
}

.nn-note-type-badge.pain[b-nomwvk3xxe] {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.nn-note-type-badge.handover[b-nomwvk3xxe] {
    background: #fef9c3;
    color: #a16207;
    border: 1px solid #fde047;
}

.nn-note-type-badge.general[b-nomwvk3xxe] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* Shift badges */
.nn-shift-badge[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.55rem;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.nn-shift-badge.morning[b-nomwvk3xxe] {
    background: #fef3c7;
    color: #92400e;
}

.nn-shift-badge.afternoon[b-nomwvk3xxe] {
    background: #fff7ed;
    color: #c2410c;
}

.nn-shift-badge.evening[b-nomwvk3xxe] {
    background: #fdf4ff;
    color: #86198f;
}

.nn-shift-badge.night[b-nomwvk3xxe] {
    background: #ede9fe;
    color: #5b21b6;
}

/* Note status dot */
.nn-note-status-dot[b-nomwvk3xxe] {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 99px;
    text-transform: uppercase;
}

.nn-note-status-dot.completed[b-nomwvk3xxe] {
    background: #dcfce7;
    color: #15803d;
}

.nn-note-status-dot.cancelled[b-nomwvk3xxe] {
    background: #fee2e2;
    color: #b91c1c;
}

/* ─── Note Body ───────────────────────────────────────────── */
.nn-note-body[b-nomwvk3xxe] {
    padding: 1rem 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.nn-field[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
}

.nn-field-label[b-nomwvk3xxe] {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.nn-field-label[b-nomwvk3xxe]::after {
    content: ":";
    font-weight: 800;
    color: #64748b;
    margin-left: 1px;
}

.nn-field-value[b-nomwvk3xxe] {
    font-size: 0.84rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.4;
}

/* ─── Note Footer ─────────────────────────────────────────── */
.nn-note-footer[b-nomwvk3xxe] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem;
    border-top: 1px solid var(--nn-slate-100);
    background: var(--nn-slate-50);
    flex-wrap: wrap;
}

.nn-action-btn[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
}

.nn-action-btn.edit[b-nomwvk3xxe] {
    background: #e0f2fe;
    color: #0369a1;
}

.nn-action-btn.verify[b-nomwvk3xxe] {
    background: #dcfce7;
    color: #15803d;
}

.nn-action-btn.cancel[b-nomwvk3xxe] {
    background: #fef3c7;
    color: #92400e;
}

.nn-action-btn.delete[b-nomwvk3xxe] {
    background: #fee2e2;
    color: #b91c1c;
}

.nn-action-btn:hover.edit[b-nomwvk3xxe] {
    background: #bae6fd;
}

.nn-action-btn:hover.verify[b-nomwvk3xxe] {
    background: #bbf7d0;
}

.nn-action-btn:hover.cancel[b-nomwvk3xxe] {
    background: #fde68a;
}

.nn-action-btn:hover.delete[b-nomwvk3xxe] {
    background: #fca5a5;
}

.nn-verified-badge[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 800;
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

/* ─── Vitals Grid ─────────────────────────────────────────── */
.nn-vitals-grid[b-nomwvk3xxe] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nn-vitals-card[b-nomwvk3xxe] {
    background: var(--nn-white);
    border-radius: var(--nn-radius);
    border: 1.5px solid var(--nn-border);
    box-shadow: var(--nn-shadow);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.nn-vitals-card:hover[b-nomwvk3xxe] {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.nn-vitals-card-time[b-nomwvk3xxe] {
    padding: 0.65rem 1.1rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--nn-slate-600);
    background: var(--nn-slate-50);
    border-bottom: 1px solid var(--nn-slate-100);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nn-vitals-metrics[b-nomwvk3xxe] {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0.85rem 1.1rem;
    gap: 0.85rem 1.5rem;
}

.nn-vitals-metric[b-nomwvk3xxe] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 110px;
}

.nn-vit-icon[b-nomwvk3xxe] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.nn-vit-label[b-nomwvk3xxe] {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--nn-slate-500);
}

.nn-vit-value[b-nomwvk3xxe] {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--nn-slate-800);
}

.nn-vit-value small[b-nomwvk3xxe] {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--nn-slate-500);
}

.nn-vitals-allergy[b-nomwvk3xxe] {
    padding: 0.55rem 1.1rem;
    background: #fff7ed;
    border-top: 1px solid #fed7aa;
    font-size: 0.78rem;
    font-weight: 700;
    color: #c2410c;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ─── Case Sheet Preview ──────────────────────────────────── */
.nn-casesheet-preview[b-nomwvk3xxe] {
    background: var(--nn-white);
    border-radius: var(--nn-radius);
    border: 1.5px solid var(--nn-border);
    box-shadow: var(--nn-shadow);
    overflow: hidden;
}

.nn-cs-header[b-nomwvk3xxe] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #0a4f75 0%, #0f6b9e 100%);
    color: #fff;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nn-cs-patient[b-nomwvk3xxe] {
    font-size: 1rem;
    font-weight: 800;
}

.nn-cs-date[b-nomwvk3xxe] {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 3px;
    font-weight: 500;
}

.nn-cs-status[b-nomwvk3xxe] {
    padding: 0.3rem 0.85rem;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.nn-cs-status.finalized[b-nomwvk3xxe] {
    background: rgba(5, 150, 105, 0.3);
    border-color: rgba(5, 150, 105, 0.5);
}

.nn-cs-status.draft[b-nomwvk3xxe] {
    background: rgba(217, 119, 6, 0.3);
    border-color: rgba(217, 119, 6, 0.5);
}

.nn-cs-body[b-nomwvk3xxe] {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.nn-cs-section[b-nomwvk3xxe] {
    border-left: 3px solid var(--nn-accent);
    padding-left: 0.85rem;
}

.nn-cs-section-label[b-nomwvk3xxe] {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--nn-slate-500);
    margin-bottom: 0.35rem;
}

.nn-cs-section-value[b-nomwvk3xxe] {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--nn-slate-800);
    line-height: 1.5;
}

.nn-cs-chip[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    background: var(--nn-primary-light);
    color: var(--nn-primary-dark);
    border: 1px solid #bae6fd;
}

.nn-cs-chip.diagnosis[b-nomwvk3xxe] {
    background: #fdf4ff;
    color: #7e22ce;
    border-color: #e9d5ff;
}

.nn-cs-chip.inv[b-nomwvk3xxe] {
    background: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}

.nn-cs-chip.fu[b-nomwvk3xxe] {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.nn-cs-table[b-nomwvk3xxe] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.nn-cs-table th[b-nomwvk3xxe] {
    background: var(--nn-slate-50);
    font-weight: 800;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--nn-slate-600);
    padding: 0.55rem 0.75rem;
    border-bottom: 1.5px solid var(--nn-border);
    text-align: left;
}

.nn-cs-table td[b-nomwvk3xxe] {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--nn-slate-100);
    color: var(--nn-slate-700);
    font-weight: 600;
}

.nn-cs-table tr:last-child td[b-nomwvk3xxe] {
    border-bottom: none;
}

/* ─── Modal ───────────────────────────────────────────────── */
.nn-modal-backdrop[b-nomwvk3xxe] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: nnFadeIn-b-nomwvk3xxe 0.2s ease-out;
}

@keyframes nnFadeIn-b-nomwvk3xxe {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.nn-modal[b-nomwvk3xxe] {
    background: #ffffff;
    border-radius: 20px;
    width: 90vw;
    max-width: 740px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    animation: nnSlideUp-b-nomwvk3xxe 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes nnSlideUp-b-nomwvk3xxe {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nn-modal-header[b-nomwvk3xxe] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
    background: linear-gradient(135deg, #0a4f75 0%, #0284c7 100%);
    flex-shrink: 0;
}

.nn-modal-title[b-nomwvk3xxe] {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nn-modal-close[b-nomwvk3xxe] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    line-height: 1;
}

.nn-modal-close:hover[b-nomwvk3xxe] {
    background: rgba(255, 255, 255, 0.3);
}

.nn-modal-body[b-nomwvk3xxe] {
    padding: 1.25rem 1.5rem;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #f1f5f9;
}

.nn-modal-footer[b-nomwvk3xxe] {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    border-top: 1.5px solid #e2e8f0;
    background: #ffffff;
    flex-shrink: 0;
}

/* ─── Form Controls ───────────────────────────────────────── */
.nn-form-row-2[b-nomwvk3xxe] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.nn-form-row-3[b-nomwvk3xxe] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.nn-form-group[b-nomwvk3xxe] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.nn-form-section-title[b-nomwvk3xxe] {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nn-primary);
    padding: 0.5rem 0.75rem;
    background: var(--nn-primary-light);
    border-radius: var(--nn-radius-sm);
    border-left: 3px solid var(--nn-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nn-label[b-nomwvk3xxe] {
    font-size: 0.76rem;
    font-weight: 800;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nn-required[b-nomwvk3xxe] {
    color: var(--nn-danger);
    font-weight: 800;
}

.nn-input[b-nomwvk3xxe] {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border-radius: var(--nn-radius-sm);
    border: 1.5px solid #cbd5e1;
    font-size: 0.88rem;
    font-weight: 600;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.nn-input:focus[b-nomwvk3xxe] {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
    background: #ffffff;
}

.nn-select[b-nomwvk3xxe] {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border-radius: var(--nn-radius-sm);
    border: 1.5px solid #cbd5e1;
    font-size: 0.88rem;
    font-weight: 600;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    appearance: auto;
}

.nn-select:focus[b-nomwvk3xxe] {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
    background: #ffffff;
}

.nn-textarea[b-nomwvk3xxe] {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border-radius: var(--nn-radius-sm);
    border: 1.5px solid #cbd5e1;
    font-size: 0.88rem;
    font-weight: 600;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    box-sizing: border-box;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.nn-textarea:focus[b-nomwvk3xxe] {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
    background: #ffffff;
}

/* ─── Toggle ──────────────────────────────────────────────── */
.nn-toggle-row[b-nomwvk3xxe] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 0.25rem;
}

.nn-toggle-text[b-nomwvk3xxe] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}

.nn-toggle[b-nomwvk3xxe] {
    position: relative;
    width: 40px;
    height: 22px;
    cursor: pointer;
    flex-shrink: 0;
}

.nn-toggle input[b-nomwvk3xxe] {
    opacity: 0;
    width: 0;
    height: 0;
}

.nn-toggle-slider[b-nomwvk3xxe] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--nn-slate-300);
    border-radius: 99px;
    transition: background 0.2s;
}

.nn-toggle-slider[b-nomwvk3xxe]::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.nn-toggle input:checked+.nn-toggle-slider[b-nomwvk3xxe] {
    background: var(--nn-success);
}

.nn-toggle input:checked+.nn-toggle-slider[b-nomwvk3xxe]::before {
    transform: translateX(18px);
}

/* ─── Spinner animation ───────────────────────────────────── */
.nn-spin[b-nomwvk3xxe] {
    animation: spin-b-nomwvk3xxe 0.8s linear infinite;
}

@keyframes spin-b-nomwvk3xxe {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ─── Modal Section Cards & Grid Selectors ──────────────────── */
.nn-modal-card[b-nomwvk3xxe] {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-top: 3px solid #0284c7;
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.nn-label-bold[b-nomwvk3xxe] {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--nn-slate-700);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.nn-type-grid[b-nomwvk3xxe] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.5rem;
}

.nn-type-chip[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.nn-type-chip:hover[b-nomwvk3xxe] {
    border-color: #0284c7;
    background: #f0f9ff;
    color: #0369a1;
    transform: translateY(-1px);
}

.nn-type-chip.selected[b-nomwvk3xxe] {
    background: linear-gradient(135deg, #0f6b9e 0%, #0284c7 100%);
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.3);
}

.nn-type-chip.selected.fall[b-nomwvk3xxe] {
    background: linear-gradient(135deg, #d97706, #b45309);
    border-color: #b45309;
}

.nn-type-chip.selected.dressing[b-nomwvk3xxe] {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border-color: #6d28d9;
}

.nn-type-chip.selected.medication[b-nomwvk3xxe] {
    background: linear-gradient(135deg, #16a34a, #15803d);
    border-color: #15803d;
}

.nn-type-chip.selected.infusion[b-nomwvk3xxe] {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    border-color: #0369a1;
}

.nn-type-chip.selected.io[b-nomwvk3xxe] {
    background: linear-gradient(135deg, #9333ea, #7e22ce);
    border-color: #7e22ce;
}

.nn-type-chip.selected.oxygen[b-nomwvk3xxe] {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    border-color: #0e7490;
}

.nn-type-chip.selected.pain[b-nomwvk3xxe] {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-color: #b91c1c;
}

.nn-type-chip.selected.handover[b-nomwvk3xxe] {
    background: linear-gradient(135deg, #ca8a04, #a16207);
    border-color: #a16207;
}

.nn-select-sm[b-nomwvk3xxe] {
    width: 100%;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    background: #f8fafc;
    outline: none;
    cursor: pointer;
}

/* Shift Pills */
.nn-shift-pills[b-nomwvk3xxe] {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.nn-shift-pill[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 99px;
    font-size: 0.76rem;
    font-weight: 700;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.nn-shift-pill:hover[b-nomwvk3xxe] {
    border-color: #0284c7;
    background: #f0f9ff;
    color: #0369a1;
}

.nn-shift-pill.active.morning[b-nomwvk3xxe] {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.nn-shift-pill.active.afternoon[b-nomwvk3xxe] {
    background: #fff7ed;
    color: #c2410c;
    border-color: #ffedd5;
}

.nn-shift-pill.active.evening[b-nomwvk3xxe] {
    background: #fdf4ff;
    color: #86198f;
    border-color: #fae8ff;
}

.nn-shift-pill.active.night[b-nomwvk3xxe] {
    background: #ede9fe;
    color: #5b21b6;
    border-color: #ddd6fe;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .nn-body[b-nomwvk3xxe] {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    .nn-patient-panel[b-nomwvk3xxe] {
        width: 100%;
        max-width: 100%;
        border-right: none;
        border-bottom: 1.5px solid var(--nn-border);
        max-height: 260px;
    }

    .nn-main[b-nomwvk3xxe] {
        height: calc(100vh - 360px);
    }

    .nn-form-row-2[b-nomwvk3xxe],
    .nn-form-row-3[b-nomwvk3xxe] {
        grid-template-columns: 1fr;
    }

    .nn-modal[b-nomwvk3xxe] {
        width: 95vw;
        max-height: 95vh;
    }

    .nn-header[b-nomwvk3xxe] {
        padding: 1rem;
    }
}

/* ─── Note Data Field Chips ───────────────────────────────── */
.nn-field[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #f8fafc;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.83rem;
    border: 1px solid #e2e8f0;
    margin: 0.2rem 0.3rem 0.2rem 0;
}

.nn-field-label[b-nomwvk3xxe] {
    font-weight: 700;
    color: #475569;
}

.nn-field-value[b-nomwvk3xxe] {
    font-weight: 600;
    color: #0f172a;
}

/* ─── Procedure Test Autocomplete Dropdown ───────────────── */
.nn-autocomplete-dropdown[b-nomwvk3xxe] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 220px;
    overflow-y: auto;
    background: #ffffff;
    border: 1.5px solid #0f6b9e;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin-top: 2px;
}

.nn-autocomplete-item[b-nomwvk3xxe] {
    padding: 0.6rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease, color 0.15s ease;
    display: flex;
    align-items: center;
}

.nn-autocomplete-item:last-child[b-nomwvk3xxe] {
    border-bottom: none;
}

.nn-autocomplete-item:hover[b-nomwvk3xxe],
.nn-autocomplete-item.active[b-nomwvk3xxe] {
    background: #e0f2fe;
    color: #0f6b9e;
    font-weight: 700;
}

/* Scoped Bed Transfer-style Header styles */
.flex-between[b-nomwvk3xxe] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-nomwvk3xxe] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-nomwvk3xxe] {
    display: flex;
}

.align-center[b-nomwvk3xxe] {
    align-items: center;
}

.flex-center[b-nomwvk3xxe] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-nomwvk3xxe] {
    gap: 8px;
}

.gap-12[b-nomwvk3xxe] {
    gap: 12px;
}

.gap-16[b-nomwvk3xxe] {
    gap: 16px;
}

.p-2[b-nomwvk3xxe] {
    padding: 8px;
}

.rounded-lg[b-nomwvk3xxe] {
    border-radius: 8px;
}

.shadow-sm[b-nomwvk3xxe] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-nomwvk3xxe] {
    margin: 0;
}

.mt-2px[b-nomwvk3xxe] {
    margin-top: 2px;
}

.lab-header-card[b-nomwvk3xxe] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
}

.lab-title-text[b-nomwvk3xxe] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-nomwvk3xxe] {
    background-color: #eef2ff;
}

.text-indigo-600[b-nomwvk3xxe] {
    color: #4f46e5;
}

.icon-lg[b-nomwvk3xxe] {
    font-size: 24px;
}

.status-pulse-dot[b-nomwvk3xxe] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: lc-pulse-b-nomwvk3xxe 2s infinite;
}

.status-text[b-nomwvk3xxe] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-new-entry[b-nomwvk3xxe] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-new-entry:hover[b-nomwvk3xxe] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

.btn-refresh[b-nomwvk3xxe] {
    background: #ffffff;
    color: #4f46e5 !important;
    border: 1.5px solid #4f46e5;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-refresh:hover:not(:disabled)[b-nomwvk3xxe] {
    background: #f5f3ff;
    color: #3b3bff !important;
    border-color: #3b3bff;
    transform: translateY(-1px);
}

@keyframes lc-pulse-b-nomwvk3xxe {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR NURSE NOTES
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .nn-page[b-nomwvk3xxe],
[data-theme="dark"] .nn-page[b-nomwvk3xxe] {
    background: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .nn-body[b-nomwvk3xxe],
[data-theme="dark"] .nn-body[b-nomwvk3xxe] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

:host-context([data-theme="dark"]) .nn-patient-panel[b-nomwvk3xxe],
[data-theme="dark"] .nn-patient-panel[b-nomwvk3xxe] {
    background: #1e293b !important;
    border-right-color: #334155 !important;
}

:host-context([data-theme="dark"]) .nn-panel-header[b-nomwvk3xxe],
:host-context([data-theme="dark"]) .nn-search-box[b-nomwvk3xxe],
[data-theme="dark"] .nn-panel-header[b-nomwvk3xxe],
[data-theme="dark"] .nn-search-box[b-nomwvk3xxe] {
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .nn-panel-title[b-nomwvk3xxe],
[data-theme="dark"] .nn-panel-title[b-nomwvk3xxe] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .nn-search-input[b-nomwvk3xxe],
[data-theme="dark"] .nn-search-input[b-nomwvk3xxe] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .nn-patient-card:hover[b-nomwvk3xxe],
[data-theme="dark"] .nn-patient-card:hover[b-nomwvk3xxe] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .nn-patient-card.active[b-nomwvk3xxe],
[data-theme="dark"] .nn-patient-card.active[b-nomwvk3xxe] {
    background: #312e81 !important;
    border-left-color: #6366f1 !important;
}

:host-context([data-theme="dark"]) .nn-pat-name[b-nomwvk3xxe],
[data-theme="dark"] .nn-pat-name[b-nomwvk3xxe] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .nn-pat-meta[b-nomwvk3xxe],
[data-theme="dark"] .nn-pat-meta[b-nomwvk3xxe] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .nn-main[b-nomwvk3xxe],
[data-theme="dark"] .nn-main[b-nomwvk3xxe] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .nn-patient-bar[b-nomwvk3xxe],
:host-context([data-theme="dark"]) .nn-tabs[b-nomwvk3xxe],
[data-theme="dark"] .nn-patient-bar[b-nomwvk3xxe],
[data-theme="dark"] .nn-tabs[b-nomwvk3xxe] {
    background: #1e293b !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .nn-patient-bar-name[b-nomwvk3xxe],
[data-theme="dark"] .nn-patient-bar-name[b-nomwvk3xxe] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .nn-patient-bar-meta[b-nomwvk3xxe],
[data-theme="dark"] .nn-patient-bar-meta[b-nomwvk3xxe] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .nn-tab[b-nomwvk3xxe],
[data-theme="dark"] .nn-tab[b-nomwvk3xxe] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .nn-tab.active[b-nomwvk3xxe],
[data-theme="dark"] .nn-tab.active[b-nomwvk3xxe] {
    color: #38bdf8 !important;
    background: #0f172a !important;
    border-bottom-color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .nn-note-card[b-nomwvk3xxe],
:host-context([data-theme="dark"]) .nn-vitals-card[b-nomwvk3xxe],
[data-theme="dark"] .nn-note-card[b-nomwvk3xxe],
[data-theme="dark"] .nn-vitals-card[b-nomwvk3xxe] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .nn-note-header[b-nomwvk3xxe],
:host-context([data-theme="dark"]) .nn-note-footer[b-nomwvk3xxe],
:host-context([data-theme="dark"]) .nn-vitals-card-time[b-nomwvk3xxe],
[data-theme="dark"] .nn-note-header[b-nomwvk3xxe],
[data-theme="dark"] .nn-note-footer[b-nomwvk3xxe],
[data-theme="dark"] .nn-vitals-card-time[b-nomwvk3xxe] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .nn-field[b-nomwvk3xxe],
[data-theme="dark"] .nn-field[b-nomwvk3xxe] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .nn-field-label[b-nomwvk3xxe],
[data-theme="dark"] .nn-field-label[b-nomwvk3xxe] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .nn-field-value[b-nomwvk3xxe],
[data-theme="dark"] .nn-field-value[b-nomwvk3xxe] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-nomwvk3xxe],
[data-theme="dark"] .lab-header-card[b-nomwvk3xxe] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-nomwvk3xxe],
[data-theme="dark"] .lab-title-text[b-nomwvk3xxe] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .bg-indigo-50[b-nomwvk3xxe],
[data-theme="dark"] .bg-indigo-50[b-nomwvk3xxe] {
    background-color: #0f172a !important;
}

:host-context([data-theme="dark"]) .text-indigo-600[b-nomwvk3xxe],
[data-theme="dark"] .text-indigo-600[b-nomwvk3xxe] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .btn-refresh[b-nomwvk3xxe],
[data-theme="dark"] .btn-refresh[b-nomwvk3xxe] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .btn-refresh:hover:not(:disabled)[b-nomwvk3xxe],
[data-theme="dark"] .btn-refresh:hover:not(:disabled)[b-nomwvk3xxe] {
    background: #1e293b !important;
    color: #7dd3fc !important;
    border-color: #7dd3fc !important;
}

:host-context([data-theme="dark"]) .nn-pat-status.admitted[b-nomwvk3xxe],
[data-theme="dark"] .nn-pat-status.admitted[b-nomwvk3xxe] {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #93c5fd !important;
    border: 1px solid rgba(59, 130, 246, 0.4) !important;
}

:host-context([data-theme="dark"]) .nn-pat-status.discharged[b-nomwvk3xxe],
[data-theme="dark"] .nn-pat-status.discharged[b-nomwvk3xxe] {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #6ee7b7 !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
}

/* IP Nurse Notes Queue single-viewport theme */
:global(html:has(.nurse-notes-queue-page))[b-nomwvk3xxe],
:global(body:has(.nurse-notes-queue-page))[b-nomwvk3xxe] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.nurse-notes-queue-page))[b-nomwvk3xxe],
:global(.app-main-wrapper:has(.nurse-notes-queue-page))[b-nomwvk3xxe] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.nurse-notes-queue-page)[b-nomwvk3xxe] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.dashboard-container.nurse-notes-queue-page[b-nomwvk3xxe] {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.dashboard-container.nurse-notes-queue-page .dashboard-header[b-nomwvk3xxe] {
    flex: 0 0 auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0.1rem 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.dashboard-container.nurse-notes-queue-page .dashboard-title h1[b-nomwvk3xxe] {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #07547c !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
}

.dashboard-container.nurse-notes-queue-page .nurse-duty-chip[b-nomwvk3xxe] {
    padding: 3px 8px !important;
    font-size: 0.78rem !important;
}

.dashboard-container.nurse-notes-queue-page .btn-header-action[b-nomwvk3xxe] {
    height: 32px !important;
    padding: 0.35rem 0.85rem !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
    gap: 0.35rem !important;
    display: inline-flex !important;
    align-items: center !important;
}

.dashboard-container.nurse-notes-queue-page .filter-card[b-nomwvk3xxe] {
    flex: 0 0 auto !important;
    padding: 0.35rem 0.75rem !important;
    margin-bottom: 0 !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid #dfe7f1 !important;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.03) !important;
}

.dashboard-container.nurse-notes-queue-page .filter-flex[b-nomwvk3xxe] {
    gap: 0.5rem !important;
    align-items: flex-end !important;
}

.dashboard-container.nurse-notes-queue-page .filter-group[b-nomwvk3xxe] {
    gap: 0.15rem !important;
}

.dashboard-container.nurse-notes-queue-page .filter-label[b-nomwvk3xxe] {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-bottom: 1px !important;
}

.dashboard-container.nurse-notes-queue-page .filter-input[b-nomwvk3xxe],
.dashboard-container.nurse-notes-queue-page .filter-select[b-nomwvk3xxe] {
    height: 32px !important;
    padding: 0.25rem 0.6rem !important;
    border-radius: 8px !important;
    font-size: 0.78rem !important;
}

.dashboard-container.nurse-notes-queue-page .btn-reset[b-nomwvk3xxe] {
    height: 32px !important;
    padding: 0.25rem 0.75rem !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
}

.dashboard-container.nurse-notes-queue-page .table-card[b-nomwvk3xxe] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dashboard-container.nurse-notes-queue-page .table-responsive[b-nomwvk3xxe] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    height: 100% !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-overflow-scrolling: touch !important;
}

.dashboard-container.nurse-notes-queue-page .medico-table[b-nomwvk3xxe] {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.dashboard-container.nurse-notes-queue-page .medico-table th[b-nomwvk3xxe],
.medico-table th[b-nomwvk3xxe] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.65rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.dashboard-container.nurse-notes-queue-page .medico-table th:last-child[b-nomwvk3xxe],
.medico-table th:last-child[b-nomwvk3xxe] {
    border-right: none !important;
}

.dashboard-container.nurse-notes-queue-page .medico-table tbody tr[b-nomwvk3xxe] {
    height: 34px !important;
    min-height: 34px !important;
}

.dashboard-container.nurse-notes-queue-page .medico-table tbody tr:nth-child(even) td[b-nomwvk3xxe] {
    background-color: #fbfdff !important;
}

.dashboard-container.nurse-notes-queue-page .medico-table tbody tr:hover td[b-nomwvk3xxe] {
    background-color: #f0f8ff !important;
}

.dashboard-container.nurse-notes-queue-page .medico-table td[b-nomwvk3xxe] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.65rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    font-size: 0.76rem !important;
    color: #334155 !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.dashboard-container.nurse-notes-queue-page .pagination-footer[b-nomwvk3xxe] {
    flex: 0 0 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    box-sizing: border-box !important;
    padding: 0 0.85rem !important;
    margin: 0 !important;
    background: #ffffff !important;
    border-top: 1px solid #e5edf5 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.dashboard-container.nurse-notes-queue-page .pagination-info[b-nomwvk3xxe] {
    font-size: 0.74rem !important;
    color: #526b82 !important;
}

.dashboard-container.nurse-notes-queue-page .page-btn[b-nomwvk3xxe] {
    min-width: 26px !important;
    height: 24px !important;
    padding: 0 0.5rem !important;
    border-radius: 6px !important;
    font-size: 0.72rem !important;
    color: #526b82 !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
}

.dashboard-container.nurse-notes-queue-page .page-btn:hover:not(:disabled)[b-nomwvk3xxe] {
    background: #e4f4ff !important;
    color: #0876ad !important;
    border-color: #a9ddfa !important;
}

.dashboard-container.nurse-notes-queue-page .page-btn.active[b-nomwvk3xxe] {
    background: #0876ad !important;
    border-color: #0876ad !important;
    color: #ffffff !important;
}


/* ═══════════════════════════════════════════════════════════════════
   PRESCRIPTION (CaseSheet / Doctor Patient List Clinical Theme)
   ═══════════════════════════════════════════════════════════════════ */

.rx-tab-nav-bar[b-nomwvk3xxe] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.rx-subtabs-group[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 10px;
    gap: 3px;
    border: 1px solid #e2e8f0;
}

.rx-nav-tab-btn[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 0.95rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.rx-nav-tab-btn:hover:not(.active)[b-nomwvk3xxe] {
    background: rgba(255, 255, 255, 0.6);
    color: #0369a1;
}

.rx-nav-tab-btn.active[b-nomwvk3xxe] {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.28);
}

.rx-nav-tab-btn .rx-tab-count-badge[b-nomwvk3xxe] {
    background: rgba(255, 255, 255, 0.25);
    color: inherit;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 2px;
}

.rx-nav-tab-btn:not(.active) .rx-tab-count-badge[b-nomwvk3xxe] {
    background: #e2e8f0;
    color: #334155;
}

.btn-push-pharmacy[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff !important;
    border: 1px solid #10b981;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.42rem 1rem;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-push-pharmacy:hover:not(:disabled)[b-nomwvk3xxe] {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
    transform: translateY(-1px);
}

.btn-push-pharmacy:disabled[b-nomwvk3xxe] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Rx Card Container */
.rx-card[b-nomwvk3xxe] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.rx-card-header[b-nomwvk3xxe] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.rx-card-title-group[b-nomwvk3xxe] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.rx-card-icon-pill[b-nomwvk3xxe] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.rx-card-title[b-nomwvk3xxe] {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.rx-card-subtitle[b-nomwvk3xxe] {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
}

/* Filter/Remarks Controls */
.rx-controls-grid[b-nomwvk3xxe] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0.75rem 1rem 0.5rem 1rem;
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
}

.rx-control-label[b-nomwvk3xxe] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rx-input-control[b-nomwvk3xxe] {
    width: 100%;
    height: 32px;
    padding: 0.25rem 0.65rem;
    font-size: 0.78rem;
    color: #1e293b;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 7px;
    transition: all 0.2s ease;
}

.rx-input-control:focus[b-nomwvk3xxe] {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Rx Entry Table */
.rx-table-container[b-nomwvk3xxe] {
    overflow-x: auto;
    overflow-y: visible;
}

.rx-table[b-nomwvk3xxe] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.rx-table thead th[b-nomwvk3xxe] {
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    padding: 0.65rem 0.5rem !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 2px solid #e2e8f0 !important;
    border-right: 1px solid #f1f5f9 !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    text-transform: uppercase !important;
}

.rx-table thead th:last-child[b-nomwvk3xxe] {
    border-right: none !important;
}

.rx-table tbody td[b-nomwvk3xxe] {
    padding: 0.35rem 0.45rem;
    border-bottom: 1px solid #edf2f7;
    vertical-align: middle;
    background: #ffffff;
}

.rx-table tbody tr:hover td[b-nomwvk3xxe] {
    background: #f8fafc;
}

/* Dosage slots M-A-E-N CaseSheet style */
.dosage-grid-inline[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    justify-content: center;
    white-space: nowrap;
}

.dose-slot-box[b-nomwvk3xxe] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    padding: 2px 2px 3px 2px;
    width: 29px;
    transition: all 0.15s ease-in-out;
}

.dose-slot-box.active[b-nomwvk3xxe] {
    background: #f0f9ff;
    border-color: #38bdf8;
    box-shadow: 0 1px 3px rgba(2, 132, 199, 0.18);
}

.dose-slot-box .dosage-btn-sm[b-nomwvk3xxe] {
    width: 100%;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    border: none;
    border-radius: 3px;
    font-size: 0.62rem;
    font-weight: 800;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    padding: 0;
    margin-bottom: 2px;
    line-height: 1;
}

.dose-slot-box.active .dosage-btn-sm[b-nomwvk3xxe],
.dose-slot-box .dosage-btn-sm.active[b-nomwvk3xxe] {
    background: #0284c7 !important;
    color: #ffffff !important;
}

.dose-qty-input[b-nomwvk3xxe] {
    width: 100%;
    height: 18px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    background: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    color: #0f172a;
    padding: 0;
    margin: 0;
    outline: none;
    -moz-appearance: textfield;
}

.dose-qty-input:focus[b-nomwvk3xxe] {
    border-color: #0284c7;
}

/* Timing pills */
.rx-timing-pills[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    justify-content: center;
    white-space: nowrap;
}

.rx-timing-btn[b-nomwvk3xxe] {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 5px;
    cursor: pointer;
    line-height: 1.2;
    transition: all 0.15s ease;
}

.rx-timing-btn.bf.active[b-nomwvk3xxe] {
    background: #fef3c7;
    color: #b45309;
    border-color: #f59e0b;
}

.rx-timing-btn.af.active[b-nomwvk3xxe] {
    background: #dcfce7;
    color: #15803d;
    border-color: #22c55e;
}

/* Action buttons footer */
.btn-rx-add[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1.5px solid #0284c7;
    color: #0284c7;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.4rem 0.95rem;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-rx-add:hover[b-nomwvk3xxe] {
    background: #f0f9ff;
    border-color: #0369a1;
    color: #0369a1;
    transform: translateY(-1px);
}

.btn-rx-reset[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-rx-reset:hover[b-nomwvk3xxe] {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
}

.btn-rx-save[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    border: none;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.45rem 1.3rem;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.28);
    transition: all 0.2s ease;
}

.btn-rx-save:hover:not(:disabled)[b-nomwvk3xxe] {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
    transform: translateY(-1px);
}

.btn-rx-save:disabled[b-nomwvk3xxe] {
    opacity: 0.65;
    cursor: not-allowed;
}

/* History table */
.rx-hist-table thead th[b-nomwvk3xxe] {
    background: #026aa7;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 0.55rem 0.65rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
    vertical-align: middle;
}

.rx-hist-table thead th:last-child[b-nomwvk3xxe] {
    border-right: none;
}

.rx-hist-table tbody td[b-nomwvk3xxe] {
    padding: 0.45rem 0.65rem;
    border-bottom: 1px solid #edf2f7;
    vertical-align: middle;
    font-size: 0.76rem;
    color: #334155;
    background: #ffffff;
}

.rx-hist-table tbody tr:hover td[b-nomwvk3xxe] {
    background: #f0f8ff;
}


/* Multi-Column Drug Search Dropdown Table (Doctor Patient List CaseSheet Style) */
.rx-table-container.overflow-visible[b-nomwvk3xxe] {
    overflow-x: auto !important;
}

.item-search-table-dropdown[b-nomwvk3xxe] {
    min-width: 780px !important;
    width: 780px !important;
    max-width: 95vw !important;
    max-height: 285px !important;
    padding: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border-radius: 2px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28) !important;
    border: 1.5px solid #008080 !important;
    background: #ffffff !important;
    z-index: 99999 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
}

.item-search-table-dropdown[b-nomwvk3xxe]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.item-search-table-dropdown[b-nomwvk3xxe]::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.item-search-table-dropdown[b-nomwvk3xxe]::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 3px;
}

.item-search-table-dropdown[b-nomwvk3xxe]::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.item-search-table[b-nomwvk3xxe] {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 11px !important;
    font-family: inherit, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    table-layout: fixed !important;
}

.item-search-table thead th[b-nomwvk3xxe] {
    background: #008080 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    padding: 4px 6px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-bottom: 1px solid #006666 !important;
    white-space: nowrap !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    text-transform: none !important;
    letter-spacing: 0.2px !important;
}

.item-search-table thead th:last-child[b-nomwvk3xxe] {
    border-right: none !important;
}

.item-search-table tbody tr.item-search-row[b-nomwvk3xxe] {
    cursor: pointer !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
    height: 24px !important;
    line-height: 1.25 !important;
    transition: none !important;
}

.item-search-table tbody tr.item-search-row:hover[b-nomwvk3xxe] {
    background-color: #e0f2fe !important;
    color: #0369a1 !important;
}

.item-search-table tbody td[b-nomwvk3xxe] {
    padding: 4px 6px !important;
    vertical-align: middle !important;
    border-right: 1px solid #e2e8f0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 11px !important;
    color: inherit !important;
}

.item-search-table tbody td:last-child[b-nomwvk3xxe] {
    border-right: none !important;
}


/* Zero stock highlighting */
.item-search-table tbody tr.item-search-row.stock-zero-row[b-nomwvk3xxe] {
    background-color: #fff1f2 !important;
    color: #dc2626 !important;
}

.item-search-table tbody tr.item-search-row.stock-zero-row td[b-nomwvk3xxe] {
    color: #dc2626 !important;
}

.item-search-table tbody tr.item-search-row.stock-zero-row:hover[b-nomwvk3xxe] {
    background-color: #fee2e2 !important;
    color: #b91c1c !important;
}

.table-saved-row[b-nomwvk3xxe] {
    background-color: #fafbfc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.table-saved-row:hover[b-nomwvk3xxe] {
    background-color: #f1f5f9 !important;
}


/* Item selection dropdown popping completely forward */
.rx-card[b-nomwvk3xxe],
.tab-section-flow[b-nomwvk3xxe] {
    overflow: visible !important;
}

.item-search-table-dropdown[b-nomwvk3xxe] {
    min-width: 700px !important;
    max-width: 820px !important;
    z-index: 999999 !important;
    position: absolute !important;
    background: #ffffff !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32) !important;
    border: 1.5px solid #0284c7 !important;
    border-radius: 8px !important;
    max-height: 280px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* â”€â”€â”€ Prescription Table Layout & Dropdown Elevation â”€â”€â”€ */
.rx-table-container[b-nomwvk3xxe],
.rx-table-container.overflow-visible[b-nomwvk3xxe] {
    overflow-x: auto !important;
    overflow-y: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    z-index: 100 !important;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #f1f5f9;
}

.table-inline-entry-row.active-new-row[b-nomwvk3xxe] {
    position: relative !important;
    z-index: 1050 !important;
}

.table-inline-entry-row.active-new-row td[b-nomwvk3xxe] {
    overflow: visible !important;
    position: relative !important;
    z-index: 1050 !important;
}

.rx-card[b-nomwvk3xxe] {
    overflow: visible !important;
}

.rx-card-footer[b-nomwvk3xxe] {
    position: relative !important;
    z-index: 10 !important;
}

.rx-table[b-nomwvk3xxe] {
    width: 100% !important;
    min-width: 1350px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.rx-table-container[b-nomwvk3xxe]::-webkit-scrollbar {
    height: 8px;
}

.rx-table-container[b-nomwvk3xxe]::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.rx-table-container[b-nomwvk3xxe]::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

.rx-table-container[b-nomwvk3xxe]::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* â”€â”€â”€ Timing Toggle Group (Active Row) â”€â”€â”€ */
.timing-toggle-group[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 2px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    gap: 3px;
    white-space: nowrap;
}

.timing-toggle-btn[b-nomwvk3xxe] {
    border: 1px solid transparent;
    background: transparent;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
    line-height: 1.1;
    transition: all 0.15s ease-in-out;
}

.timing-toggle-btn.timing-bf:hover[b-nomwvk3xxe] {
    background: #fef3c7;
    color: #b45309;
}

.timing-toggle-btn.timing-bf.active[b-nomwvk3xxe] {
    background: #f59e0b !important;
    color: #ffffff !important;
    border-color: #d97706 !important;
    box-shadow: 0 1px 3px rgba(217, 119, 6, 0.35) !important;
}

.timing-toggle-btn.timing-af:hover[b-nomwvk3xxe] {
    background: #dcfce7;
    color: #15803d;
}

.timing-toggle-btn.timing-af.active[b-nomwvk3xxe] {
    background: #10b981 !important;
    color: #ffffff !important;
    border-color: #059669 !important;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.35) !important;
}

/* â”€â”€â”€ Saved Timing Badges â”€â”€â”€ */
.saved-timing-pill[b-nomwvk3xxe] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2.5px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.saved-timing-pill.pill-bf[b-nomwvk3xxe] {
    background-color: #fef3c7 !important;
    color: #b45309 !important;
    border: 1px solid #fde68a !important;
}

.saved-timing-pill.pill-af[b-nomwvk3xxe] {
    background-color: #dcfce7 !important;
    color: #15803d !important;
    border: 1px solid #bbf7d0 !important;
}
/* /Components/Pages/OGScreen.razor.rz.scp.css */
/* OG Screen Page Styles Matching Reception Portal Theme */

.og-page[b-c7fn9rumlr] {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.88rem;
    padding: 0;
}

/* 1. Patient Master Header Card */
.lab-header-card[b-c7fn9rumlr] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lab-title-text[b-c7fn9rumlr] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.3px;
}

.display-flex[b-c7fn9rumlr] { display: flex; }
.align-center[b-c7fn9rumlr] { align-items: center; }
.flex-between[b-c7fn9rumlr] { justify-content: space-between; }
.flex-center[b-c7fn9rumlr] { display: flex; align-items: center; justify-content: center; }
.gap-12[b-c7fn9rumlr] { gap: 12px; }
.gap-6[b-c7fn9rumlr] { gap: 6px; }

.bg-indigo-50[b-c7fn9rumlr] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    border: 1px solid #c7d2fe !important;
}

.rounded-lg[b-c7fn9rumlr] { border-radius: 10px; }
.shadow-sm[b-c7fn9rumlr] { box-shadow: 0 2px 6px rgba(79, 70, 229, 0.12); }

.icon-box-container[b-c7fn9rumlr] {
    width: 38px;
    height: 38px;
}

.icon-lg[b-c7fn9rumlr] { font-size: 20px !important; }
.text-indigo-600[b-c7fn9rumlr] { color: #4f46e5 !important; }

.status-pulse-dot[b-c7fn9rumlr] {
    width: 7px;
    height: 7px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
}

.status-text[b-c7fn9rumlr] {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

/* Header Buttons styling */
.segmented-control[b-c7fn9rumlr] {
    display: inline-flex;
    background-color: rgba(79, 70, 229, 0.08);
    padding: 3px;
    border-radius: 8px;
    border: 1px solid rgba(79, 70, 229, 0.12);
}

.segmented-btn[b-c7fn9rumlr] {
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #4f46e5;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.segmented-btn.active[b-c7fn9rumlr] {
    background-color: #ffffff;
    color: #312e81;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.12);
}

.btn-new-patient-primary[b-c7fn9rumlr] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    height: 34px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: all 0.15s ease;
}

.btn-new-patient-primary:hover[b-c7fn9rumlr] {
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.header-action-group[b-c7fn9rumlr] {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 2. Common Section Cards */
.reception-card[b-c7fn9rumlr] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.card-header-flex[b-c7fn9rumlr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1.5px solid #eef2ff;
}

.card-section-title[b-c7fn9rumlr] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #3730a3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-indigo-badge[b-c7fn9rumlr] {
    font-size: 20px !important;
    color: #4f46e5;
    background: #e0e7ff;
    padding: 4px;
    border-radius: 6px;
    vertical-align: middle;
}

.search-input-wrapper[b-c7fn9rumlr] {
    position: relative;
    width: 260px;
}

.search-input[b-c7fn9rumlr] {
    width: 100%;
    height: 34px;
    padding: 0 12px 0 34px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.82rem;
    outline: none;
    transition: all 0.15s ease;
}

.search-input:focus[b-c7fn9rumlr] {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-icon-left[b-c7fn9rumlr] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.85rem;
}

/* 3. Stats Dashboard Grid */
.stats-grid[b-c7fn9rumlr] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.stat-card[b-c7fn9rumlr] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover[b-c7fn9rumlr] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stat-info[b-c7fn9rumlr] {
    display: flex;
    flex-direction: column;
}

.stat-label[b-c7fn9rumlr] {
    font-size: 0.68rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value[b-c7fn9rumlr] {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    margin: 2px 0 0 0;
    line-height: 1;
}

.stat-trend[b-c7fn9rumlr] {
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.trend-up[b-c7fn9rumlr] { color: #10b981; }
.trend-neutral[b-c7fn9rumlr] { color: #6366f1; }
.trend-down[b-c7fn9rumlr] { color: #ef4444; }

.stat-icon-wrapper[b-c7fn9rumlr] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.bg-blue-light[b-c7fn9rumlr] { background-color: #eff6ff; color: #3b82f6; border: 1px solid #bfdbfe; }
.bg-purple-light[b-c7fn9rumlr] { background-color: #faf5ff; color: #a855f7; border: 1px solid #e9d5ff; }
.bg-red-light[b-c7fn9rumlr] { background-color: #fef2f2; color: #ef4444; border: 1px solid #fca5a5; }
.bg-green-light[b-c7fn9rumlr] { background-color: #f0fdf4; color: #22c55e; border: 1px solid #bbf7d0; }
.bg-indigo-light[b-c7fn9rumlr] { background-color: #eef2ff; color: #4f46e5; border: 1px solid #c7d2fe; }

.date-picker-card[b-c7fn9rumlr] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #e0e7ff;
}

.date-picker-input-wrapper[b-c7fn9rumlr] {
    margin-top: 2px;
    width: auto;
}

.date-picker-input[b-c7fn9rumlr] {
    width: 128px;
    height: 28px;
    padding: 0 6px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #334155;
    outline: none;
    transition: all 0.15s ease;
    box-sizing: border-box;
    cursor: pointer;
}

.date-picker-input:focus[b-c7fn9rumlr] {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.12);
}

/* 4. Table Styles matching Recent Confirmations Table */
.recent-table-wrapper[b-c7fn9rumlr] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: auto;
    width: 100%;
}

.recent-table-wrapper[b-c7fn9rumlr]::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    display: block;
}
.recent-table-wrapper[b-c7fn9rumlr]::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.recent-table-wrapper[b-c7fn9rumlr]::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
.recent-table-wrapper[b-c7fn9rumlr]::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.recent-checkins-table[b-c7fn9rumlr] {
    width: 100%;
    border-collapse: collapse;
}

.recent-checkins-table th[b-c7fn9rumlr] {
    font-size: 0.68rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 6px 8px;
    border-bottom: 1.5px solid #e2e8f0;
    text-align: left;
    background: #f8fafc;
}

.recent-checkins-table td[b-c7fn9rumlr] {
    padding: 6px 8px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.76rem;
    color: #334155;
}

.recent-checkins-table tr:hover td[b-c7fn9rumlr] {
    background: #f8fafc;
}

.table-patient-id[b-c7fn9rumlr] {
    font-weight: 700;
    color: #4f46e5;
}

.col-sno[b-c7fn9rumlr] {
    color: #64748b;
    font-weight: 600;
}

.col-time[b-c7fn9rumlr] {
    font-weight: 600;
    color: #475569;
}

/* Notes input cell styling */
.notes-input-cell[b-c7fn9rumlr] {
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.76rem;
    color: #475569;
    outline: none;
    transition: all 0.15s ease;
}

.notes-input-cell:focus[b-c7fn9rumlr] {
    border-color: #cbd5e1;
    background: #ffffff;
}

/* 5. Dropdown select styled as Status Pill Badge */
.status-dropdown-wrapper[b-c7fn9rumlr] {
    position: relative;
    display: inline-block;
}

.status-dropdown-select[b-c7fn9rumlr] {
    appearance: none;
    -webkit-appearance: none;
    padding: 4px 28px 4px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 20px;
    border: 1px solid transparent;
    cursor: pointer;
    outline: none;
    transition: all 0.15s ease;
}

.select-arrow-icon[b-c7fn9rumlr] {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.7rem;
}

/* Status variants matching Arrived style */
.status-in-queue[b-c7fn9rumlr] {
    background-color: #e0f2fe;
    color: #0369a1;
    border-color: #bae6fd;
}

.status-waiting[b-c7fn9rumlr] {
    background-color: #fff9db;
    color: #f59f00;
    border-color: #ffe066;
}

.status-up-next[b-c7fn9rumlr] {
    background-color: #e0e7ff;
    color: #4f46e5;
    border-color: #c7d2fe;
}

.status-consultation[b-c7fn9rumlr] {
    background-color: #f3f0ff;
    color: #7048e8;
    border-color: #d0bfff;
}

.status-completed[b-c7fn9rumlr] {
    background-color: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.status-pill-static[b-c7fn9rumlr] {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 20px;
    border: 1px solid transparent;
    text-align: center;
}

/* 6. Pagination Footer */
.table-footer[b-c7fn9rumlr] {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border-top: 1.5px solid #eef2ff;
}

.footer-info-text[b-c7fn9rumlr] {
    font-size: 0.8rem;
    color: #64748b;
}

.pagination-group[b-c7fn9rumlr] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-btn[b-c7fn9rumlr] {
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pagination-btn:hover:not(:disabled)[b-c7fn9rumlr] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

.pagination-btn.active[b-c7fn9rumlr] {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #ffffff;
}

.pagination-btn:disabled[b-c7fn9rumlr] {
    opacity: 0.5;
    cursor: not-allowed;
}

.queues-container[b-c7fn9rumlr] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex: 1 1 auto;
    min-height: 0;
    height: calc(100vh - 195px);
    max-height: calc(100vh - 195px);
    overflow: hidden;
}

@media (max-width: 1024px) {
    .queues-container[b-c7fn9rumlr] {
        grid-template-columns: 1fr;
    }
}

.doctor-filter-wrapper[b-c7fn9rumlr] {
    position: relative;
    width: 220px;
}

.doctor-filter-select[b-c7fn9rumlr] {
    width: 100%;
    height: 34px;
    padding: 0 34px 0 34px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    outline: none;
    cursor: pointer;
    transition: all 0.15s ease;
    appearance: none;
    -webkit-appearance: none;
}

.doctor-filter-select:focus[b-c7fn9rumlr] {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.filter-icon-left[b-c7fn9rumlr] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #4f46e5;
    font-size: 0.85rem;
    pointer-events: none;
}

.select-arrow-icon-right[b-c7fn9rumlr] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.75rem;
    pointer-events: none;
}

/* 7. Header Toggle completed button styling */
.btn-toggle-completed[b-c7fn9rumlr] {
    background: #ffffff;
    color: #4f46e5;
    border: 1.5px solid #cbd5e1;
    height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

.btn-toggle-completed:hover[b-c7fn9rumlr] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #4338ca;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.08);
}

/* ============================================================
   DARK MODE OVERRIDES FOR PATIENT TRACKING MASTER (OGSCREEN)
   ============================================================ */
html[data-theme="dark"] .og-page[b-c7fn9rumlr],
body.dark-mode .og-page[b-c7fn9rumlr] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .lab-header-card[b-c7fn9rumlr],
body.dark-mode .lab-header-card[b-c7fn9rumlr] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .lab-title-text[b-c7fn9rumlr],
body.dark-mode .lab-title-text[b-c7fn9rumlr] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .status-text[b-c7fn9rumlr],
body.dark-mode .status-text[b-c7fn9rumlr] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .bg-indigo-50[b-c7fn9rumlr],
body.dark-mode .bg-indigo-50[b-c7fn9rumlr] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .search-input[b-c7fn9rumlr],
body.dark-mode .search-input[b-c7fn9rumlr],
html[data-theme="dark"] .doctor-filter-select[b-c7fn9rumlr],
body.dark-mode .doctor-filter-select[b-c7fn9rumlr] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .search-icon-left[b-c7fn9rumlr],
body.dark-mode .search-icon-left[b-c7fn9rumlr],
html[data-theme="dark"] .select-arrow-icon-right[b-c7fn9rumlr],
body.dark-mode .select-arrow-icon-right[b-c7fn9rumlr] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .btn-toggle-completed[b-c7fn9rumlr],
body.dark-mode .btn-toggle-completed[b-c7fn9rumlr] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #a5b4fc !important;
}

html[data-theme="dark"] .btn-toggle-completed:hover[b-c7fn9rumlr],
body.dark-mode .btn-toggle-completed:hover[b-c7fn9rumlr] {
    background-color: #1e293b !important;
    color: #c7d2fe !important;
}

html[data-theme="dark"] .stat-card[b-c7fn9rumlr],
body.dark-mode .stat-card[b-c7fn9rumlr],
html[data-theme="dark"] .date-picker-card[b-c7fn9rumlr],
body.dark-mode .date-picker-card[b-c7fn9rumlr] {
    background-color: #1e293b !important;
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] .stat-label[b-c7fn9rumlr],
body.dark-mode .stat-label[b-c7fn9rumlr] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .stat-value[b-c7fn9rumlr],
body.dark-mode .stat-value[b-c7fn9rumlr] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .date-picker-input[b-c7fn9rumlr],
body.dark-mode .date-picker-input[b-c7fn9rumlr] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .reception-card[b-c7fn9rumlr],
body.dark-mode .reception-card[b-c7fn9rumlr] {
    background-color: #1e293b !important;
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] .card-header-flex[b-c7fn9rumlr],
body.dark-mode .card-header-flex[b-c7fn9rumlr] {
    border-bottom-color: #334155 !important;
}

html[data-theme="dark"] .card-section-title[b-c7fn9rumlr],
body.dark-mode .card-section-title[b-c7fn9rumlr] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .icon-indigo-badge[b-c7fn9rumlr],
body.dark-mode .icon-indigo-badge[b-c7fn9rumlr] {
    background-color: #312e81 !important;
    color: #a5b4fc !important;
}

html[data-theme="dark"] .recent-checkins-table th[b-c7fn9rumlr],
body.dark-mode .recent-checkins-table th[b-c7fn9rumlr] {
    background-color: #0f172a !important;
    border-bottom-color: #334155 !important;
    color: #38bdf8 !important;
}

html[data-theme="dark"] .recent-checkins-table td[b-c7fn9rumlr],
body.dark-mode .recent-checkins-table td[b-c7fn9rumlr] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .recent-checkins-table tr:hover td[b-c7fn9rumlr],
body.dark-mode .recent-checkins-table tr:hover td[b-c7fn9rumlr] {
    background-color: #0f172a !important;
}

html[data-theme="dark"] .col-sno[b-c7fn9rumlr],
body.dark-mode .col-sno[b-c7fn9rumlr],
html[data-theme="dark"] .col-time[b-c7fn9rumlr],
body.dark-mode .col-time[b-c7fn9rumlr],
html[data-theme="dark"] .notes-input-cell[b-c7fn9rumlr],
body.dark-mode .notes-input-cell[b-c7fn9rumlr] {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .table-footer[b-c7fn9rumlr],
body.dark-mode .table-footer[b-c7fn9rumlr] {
    background-color: #1e293b !important;
    border-top-color: #334155 !important;
}

html[data-theme="dark"] .footer-info-text[b-c7fn9rumlr],
body.dark-mode .footer-info-text[b-c7fn9rumlr] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .pagination-btn[b-c7fn9rumlr],
body.dark-mode .pagination-btn[b-c7fn9rumlr] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .pagination-btn.active[b-c7fn9rumlr],
body.dark-mode .pagination-btn.active[b-c7fn9rumlr] {
    background-color: #4f46e5 !important;
    border-color: #4f46e5 !important;
    color: #ffffff !important;
}

/* /Components/Pages/OpCategoryCollection.razor.rz.scp.css */
/* ========================================================= */
/* BASE PAGE WRAPPER (Exact Cash Counter Look & Dimensions)  */
/* ========================================================= */
.cash-counter-wrapper[b-ymd6u4zqza] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: calc(100vh - 85px);
    overflow: hidden;
    padding-bottom: 0.5rem;
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
}

/* ========================================================= */
/* 1. COMPACT PAGE HEADER                                    */
/* ========================================================= */
.page-header[b-ymd6u4zqza] {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border-radius: 12px;
    padding: 0.45rem 1rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(99, 102, 241, 0.18);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    min-height: 52px;
}

.header-left-group[b-ymd6u4zqza] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.header-title-container[b-ymd6u4zqza] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.header-title-icon[b-ymd6u4zqza] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.header-title[b-ymd6u4zqza] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.2px;
    line-height: 1.1;
    white-space: nowrap;
}

.header-subtitle[b-ymd6u4zqza] {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 1px;
}

/* Header Summary Cards (Right Aligned, Horizontally Scrollable) */
.header-summary-cards[b-ymd6u4zqza] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: nowrap;
    margin-left: auto;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.2rem 0.25rem 0.35rem 0.25rem;
    max-width: calc(100% - 170px);
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.25) transparent;
}

.header-summary-cards[b-ymd6u4zqza]::-webkit-scrollbar {
    height: 4px;
}

.header-summary-cards[b-ymd6u4zqza]::-webkit-scrollbar-track {
    background: transparent;
}

.header-summary-cards[b-ymd6u4zqza]::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.25);
    border-radius: 4px;
}

.header-summary-cards[b-ymd6u4zqza]::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.45);
}

.header-metric-card[b-ymd6u4zqza] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    padding: 0.35rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.15s ease;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 170px;
}

.header-metric-card:hover[b-ymd6u4zqza] {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.header-metric-card .h-card-icon[b-ymd6u4zqza] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.header-metric-card .h-card-body[b-ymd6u4zqza] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.1;
}

.header-metric-card .h-card-label[b-ymd6u4zqza] {
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
    margin-bottom: 2px;
}

.header-metric-card .h-card-val[b-ymd6u4zqza] {
    font-size: 0.95rem;
    font-weight: 850;
    letter-spacing: -0.2px;
    line-height: 1.1;
    font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
}

.header-metric-card .h-card-sub[b-ymd6u4zqza] {
    font-size: 0.58rem;
    color: #64748b;
    line-height: 1.1;
    margin-top: 1px;
}

/* Individual Metric Color Variations for Header Cards */
.header-metric-card.metric-primary[b-ymd6u4zqza] {
    border-color: #c4b5fd !important;
}
.header-metric-card.metric-primary .h-card-icon[b-ymd6u4zqza] {
    background: #ede9fe;
    color: #6d28d9;
}
.header-metric-card.metric-primary .h-card-label[b-ymd6u4zqza] { color: #5b21b6; }

.header-metric-card.metric-cash[b-ymd6u4zqza] {
    border-color: #bbf7d0 !important;
}
.header-metric-card.metric-cash .h-card-icon[b-ymd6u4zqza] {
    background: #dcfce7;
    color: #15803d;
}
.header-metric-card.metric-cash .h-card-label[b-ymd6u4zqza] { color: #166534; }

.header-metric-card.metric-upi[b-ymd6u4zqza] {
    border-color: #bae6fd !important;
}
.header-metric-card.metric-upi .h-card-icon[b-ymd6u4zqza] {
    background: #e0f2fe;
    color: #0284c7;
}
.header-metric-card.metric-upi .h-card-label[b-ymd6u4zqza] { color: #075985; }

.header-metric-card.metric-due-cleared[b-ymd6u4zqza] {
    border-color: #a7f3d0 !important;
}
.header-metric-card.metric-due-cleared .h-card-icon[b-ymd6u4zqza] {
    background: #d1fae5;
    color: #059669;
}
.header-metric-card.metric-due-cleared .h-card-label[b-ymd6u4zqza] { color: #065f46; }

.header-metric-card.metric-advance[b-ymd6u4zqza] {
    border-color: #fde68a !important;
}
.header-metric-card.metric-advance .h-card-icon[b-ymd6u4zqza] {
    background: #fef3c7;
    color: #d97706;
}
.header-metric-card.metric-advance .h-card-label[b-ymd6u4zqza] { color: #92400e; }

.header-metric-card.metric-advance-used[b-ymd6u4zqza] {
    border-color: #e9d5ff !important;
}
.header-metric-card.metric-advance-used .h-card-icon[b-ymd6u4zqza] {
    background: #f3e8ff;
    color: #7c3aed;
}
.header-metric-card.metric-advance-used .h-card-label[b-ymd6u4zqza] { color: #6b21a8; }

.header-metric-card.metric-refund[b-ymd6u4zqza] {
    border-color: #fecdd3 !important;
}
.header-metric-card.metric-refund .h-card-icon[b-ymd6u4zqza] {
    background: #ffe4e6;
    color: #e11d48;
}
.header-metric-card.metric-refund .h-card-label[b-ymd6u4zqza] { color: #9f1239; }

.header-metric-card.metric-cancelled[b-ymd6u4zqza] {
    border-color: #fecaca !important;
}
.header-metric-card.metric-cancelled .h-card-icon[b-ymd6u4zqza] {
    background: #fee2e2;
    color: #dc2626;
}
.header-metric-card.metric-cancelled .h-card-label[b-ymd6u4zqza] { color: #991b1b; }

.header-metric-card.metric-outstanding[b-ymd6u4zqza] {
    border-color: #fed7d7 !important;
}
.header-metric-card.metric-outstanding .h-card-icon[b-ymd6u4zqza] {
    background: #fee2e2;
    color: #c53030;
}
.header-metric-card.metric-outstanding .h-card-label[b-ymd6u4zqza] { color: #9b2c2c; }

.bill-card[b-ymd6u4zqza] {
    background: #ffffff;
    border-color: #bfdbfe !important;
}
.bill-card .summary-icon[b-ymd6u4zqza] { background: #dbeafe; color: #2563eb; }
.bill-card .summary-label[b-ymd6u4zqza] { color: #1d4ed8; }
.bill-card .summary-value[b-ymd6u4zqza] { color: #1e40af; }

.gross-card[b-ymd6u4zqza] {
    background: #ffffff;
    border-color: #c7d2fe !important;
}
.gross-card .summary-icon[b-ymd6u4zqza] { background: #e0e7ff; color: #4338ca; }
.gross-card .summary-label[b-ymd6u4zqza] { color: #3730a3; }
.gross-card .summary-value[b-ymd6u4zqza] { color: #312e81; }

.disc-card[b-ymd6u4zqza] {
    background: #ffffff;
    border-color: #fed7aa !important;
}
.disc-card .summary-icon[b-ymd6u4zqza] { background: #ffedd5; color: #ea580c; }
.disc-card .summary-label[b-ymd6u4zqza] { color: #c2410c; }
.disc-card .summary-value[b-ymd6u4zqza] { color: #9a3412; }

.net-card[b-ymd6u4zqza] {
    background: #ffffff;
    border-color: #bbf7d0 !important;
}
.net-card .summary-icon[b-ymd6u4zqza] { background: #dcfce7; color: #16a34a; }
.net-card .summary-label[b-ymd6u4zqza] { color: #15803d; }
.net-card .summary-value[b-ymd6u4zqza] { color: #14532d; }

.paid-card[b-ymd6u4zqza] {
    background: #ffffff;
    border-color: #ccfbf1 !important;
}
.paid-card .summary-icon[b-ymd6u4zqza] { background: #ccfbf1; color: #0d9488; }
.paid-card .summary-label[b-ymd6u4zqza] { color: #0f766e; }
.paid-card .summary-value[b-ymd6u4zqza] { color: #115e59; }

.due-card[b-ymd6u4zqza] {
    background: #ffffff;
    border-color: #fee2e2 !important;
}
.due-card .summary-icon[b-ymd6u4zqza] { background: #fee2e2; color: #dc2626; }
.due-card .summary-label[b-ymd6u4zqza] { color: #b91c1c; }
.due-card .summary-value[b-ymd6u4zqza] { color: #991b1b; }

/* ========================================================= */
/* 2. FILTERS CARD & CONTROLS                                */
/* ========================================================= */
.filter-card[b-ymd6u4zqza] {
    background: #ffffff;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.filter-top-bar[b-ymd6u4zqza] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px dashed #e2e8f0;
}

.filter-bar-title[b-ymd6u4zqza] {
    font-size: 0.68rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.quick-date-chips[b-ymd6u4zqza] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.date-chip[b-ymd6u4zqza] {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.15rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}

.date-chip:hover[b-ymd6u4zqza] {
    background: #e2e8f0;
    color: #1e293b;
}

.date-chip.active[b-ymd6u4zqza] {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(79, 70, 229, 0.2);
}

.filter-grid[b-ymd6u4zqza] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.55rem;
    width: 100%;
}

.filter-item[b-ymd6u4zqza] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 115px;
}

.filter-item.search-item[b-ymd6u4zqza] {
    flex: 1.4;
    min-width: 160px;
}

.filter-item.action-item[b-ymd6u4zqza] {
    flex: 0;
    min-width: max-content;
}

.filter-actions-inline[b-ymd6u4zqza] {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.filter-item label[b-ymd6u4zqza] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-select[b-ymd6u4zqza],
.form-control[b-ymd6u4zqza] {
    width: 100%;
    height: 30px;
    border-radius: 7px;
    border: 1.5px solid #cbd5e1;
    padding: 0.2rem 0.55rem;
    font-size: 0.76rem;
    color: #1e293b;
    background-color: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-select:focus[b-ymd6u4zqza],
.form-control:focus[b-ymd6u4zqza] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-input-wrapper[b-ymd6u4zqza] {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.search-input-wrapper input[b-ymd6u4zqza] {
    width: 100% !important;
    padding-left: 1.85rem !important;
    padding-right: 1.75rem !important;
}

.search-icon[b-ymd6u4zqza] {
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.78rem;
    pointer-events: none;
    z-index: 2;
}

.search-clear-icon[b-ymd6u4zqza] {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.85rem;
    cursor: pointer;
    z-index: 2;
    transition: color 0.15s ease;
}

.search-clear-icon:hover[b-ymd6u4zqza] {
    color: #ef4444;
}

.btn-primary[b-ymd6u4zqza] {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    border-radius: 7px;
    padding: 0.25rem 0.85rem;
    height: 30px;
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary:hover:not(:disabled)[b-ymd6u4zqza] {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.btn-secondary[b-ymd6u4zqza] {
    background: #f1f5f9;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    border-radius: 7px;
    padding: 0.25rem 0.85rem;
    height: 30px;
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-secondary:hover:not(:disabled)[b-ymd6u4zqza] {
    background: #e2e8f0;
    color: #1e293b;
}

/* ========================================================= */
/* 2.5 FINANCIAL INSIGHTS STRIP                              */
/* ========================================================= */
.financial-insights-strip[b-ymd6u4zqza] {
    display: flex;
    align-items: stretch;
    gap: 0.55rem;
    flex-wrap: wrap;
    background: #ffffff;
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.insight-item-chip[b-ymd6u4zqza] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: default;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 165px;
}

.insight-item-chip.due-cleared-chip[b-ymd6u4zqza],
.insight-item-chip.cancelled-chip[b-ymd6u4zqza] {
    cursor: pointer;
}

.insight-item-chip:hover[b-ymd6u4zqza] {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.insight-item-chip.active-chip[b-ymd6u4zqza] {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.insight-icon[b-ymd6u4zqza] {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    align-self: center;
}

.advance-chip .insight-icon[b-ymd6u4zqza] { background: #dbeafe; color: #1d4ed8; }
.advance-chip[b-ymd6u4zqza] {
    border-left: 3.5px solid #2563eb;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    flex: 1.35;
    min-width: 280px;
}

.advance-chip-content[b-ymd6u4zqza] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    width: 100%;
    min-width: 0;
}

.advance-title-row[b-ymd6u4zqza] {
    display: flex;
    align-items: center;
    margin-bottom: 1px;
}

.advance-title-row .insight-label[b-ymd6u4zqza] {
    white-space: nowrap;
    margin-bottom: 0;
}

.advance-pills-grid[b-ymd6u4zqza] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.adv-pills-row[b-ymd6u4zqza] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
}

.adv-badge[b-ymd6u4zqza] {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.67rem;
    white-space: nowrap;
    line-height: 1.25;
    flex: 1;
    min-width: 0;
    transition: all 0.15s ease;
}

.adv-badge .adv-lbl[b-ymd6u4zqza] {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    opacity: 0.85;
}

.adv-badge .adv-val[b-ymd6u4zqza] {
    font-weight: 700;
    font-family: system-ui, -apple-system, sans-serif;
    font-variant-numeric: tabular-nums;
}

/* Coll badge (Emerald) */
.adv-badge-coll[b-ymd6u4zqza] {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.adv-badge-coll .adv-val[b-ymd6u4zqza] {
    color: #047857;
}

/* Bal badge (Indigo) */
.adv-badge-bal[b-ymd6u4zqza] {
    background: #eef2ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
}
.adv-badge-bal .adv-val[b-ymd6u4zqza] {
    color: #4338ca;
}

/* Adj badge (Blue) */
.adv-badge-adj[b-ymd6u4zqza] {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.adv-badge-adj .adv-val[b-ymd6u4zqza] {
    color: #1d4ed8;
}

/* Ref badge (Rose) */
.adv-badge-ref[b-ymd6u4zqza] {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
}
.adv-badge-ref .adv-val[b-ymd6u4zqza] {
    color: #be123c;
}

.adv-badge-ref-zero[b-ymd6u4zqza] {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}
.adv-badge-ref-zero .adv-val[b-ymd6u4zqza] {
    color: #64748b;
}

.due-cleared-chip .insight-icon[b-ymd6u4zqza] { background: #f0fdf4; color: #16a34a; }
.due-cleared-chip[b-ymd6u4zqza] { border-left: 3px solid #16a34a; }

.old-collection-chip .insight-icon[b-ymd6u4zqza] { background: #eff6ff; color: #2563eb; }
.old-collection-chip[b-ymd6u4zqza] { border-left: 3px solid #2563eb; }

.cancelled-chip .insight-icon[b-ymd6u4zqza] { background: #fef2f2; color: #dc2626; }
.cancelled-chip[b-ymd6u4zqza] { border-left: 3px solid #dc2626; }

.paymodes-chip .insight-icon[b-ymd6u4zqza] { background: #f0fdfa; color: #0d9488; }
.paymodes-chip[b-ymd6u4zqza] {
    border-left: 3px solid #0d9488;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
    min-width: 250px;
}

.paymodes-breakdown[b-ymd6u4zqza] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.pm-sub-badge[b-ymd6u4zqza] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.66rem;
    white-space: nowrap;
}
.pm-cash[b-ymd6u4zqza] {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.pm-upi[b-ymd6u4zqza] {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.pm-card[b-ymd6u4zqza] {
    background: #eef2ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
}

.closing-chip .insight-icon[b-ymd6u4zqza] { background: #faf5ff; color: #9333ea; }
.closing-chip[b-ymd6u4zqza] { border-left: 3px solid #9333ea; }

.costs-chip .insight-icon[b-ymd6u4zqza] { background: #fff7ed; color: #ea580c; }
.costs-chip[b-ymd6u4zqza] { border-left: 3px solid #ea580c; }

.insight-text[b-ymd6u4zqza] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
    min-width: 0;
}

.insight-label[b-ymd6u4zqza] {
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
    white-space: nowrap;
}

.insight-sub-metrics[b-ymd6u4zqza] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: #1e293b;
}

.metric-pos[b-ymd6u4zqza] { color: #16a34a; font-weight: 700; }
.metric-mid[b-ymd6u4zqza] { color: #2563eb; font-weight: 700; }
.metric-neg[b-ymd6u4zqza] { color: #dc2626; font-weight: 700; }
.metric-sep[b-ymd6u4zqza] { color: #cbd5e1; font-size: 0.7rem; }
.metric-bold-value[b-ymd6u4zqza] { font-size: 0.82rem; font-weight: 800; color: #7e22ce; }

.chip-count-tag[b-ymd6u4zqza] {
    font-size: 0.65rem;
    background: #e2e8f0;
    color: #475569;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 700;
}

/* ========================================================= */
/* 3. TABLE CARD & HEADER (Toggle Next to Table Title)       */
/* ========================================================= */
.table-card[b-ymd6u4zqza] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.table-header[b-ymd6u4zqza] {
    padding: 0.45rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafbfc;
    gap: 0.75rem;
}

.table-header-left[b-ymd6u4zqza] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.table-title[b-ymd6u4zqza] {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

/* Mode Toggle Pills Placed Inside Table Header */
.counter-mode-pills.table-mode-pills[b-ymd6u4zqza] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #f1f5f9;
    padding: 2px 3px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.mode-pill[b-ymd6u4zqza] {
    background: transparent;
    border: none;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    line-height: 1.2;
    height: 26px;
}

.mode-pill:hover[b-ymd6u4zqza] {
    color: #1e1b4b;
    background: #e2e8f0;
}

.mode-pill.active[b-ymd6u4zqza] {
    background: #4f46e5;
    color: #ffffff;
    box-shadow: 0 1px 4px rgba(79, 70, 229, 0.3);
}

.mode-pill .badge-count[b-ymd6u4zqza] {
    background: #e2e8f0;
    color: #475569;
    padding: 1px 5px;
    border-radius: 8px;
    font-size: 0.64rem;
    font-weight: 800;
    display: inline-block;
}

.mode-pill.active .badge-count[b-ymd6u4zqza] {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.table-actions[b-ymd6u4zqza] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-btn-action[b-ymd6u4zqza] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.22rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.table-btn-action:hover:not(:disabled)[b-ymd6u4zqza] {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
}

.table-btn-action:disabled[b-ymd6u4zqza] {
    opacity: 0.6;
    cursor: not-allowed;
}

.report-btn-group[b-ymd6u4zqza] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-export-csv[b-ymd6u4zqza] {
    background: #f0fdf4;
    border-color: #86efac;
    color: #15803d;
}

.btn-export-csv:hover:not(:disabled)[b-ymd6u4zqza] {
    background: #dcfce7;
    border-color: #4ade80;
    color: #14532d;
    box-shadow: 0 1px 4px rgba(22, 163, 74, 0.2);
}

.btn-print-report[b-ymd6u4zqza] {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.btn-print-report:hover:not(:disabled)[b-ymd6u4zqza] {
    background: #dbeafe;
    border-color: #60a5fa;
    color: #1e40af;
    box-shadow: 0 1px 4px rgba(37, 99, 235, 0.2);
}

.btn-full-report[b-ymd6u4zqza] {
    background: #f5f3ff;
    border-color: #c7d2fe;
    color: #4338ca;
}

.btn-full-report:hover:not(:disabled)[b-ymd6u4zqza] {
    background: #ede9fe;
    border-color: #a5b4fc;
    color: #3730a3;
    box-shadow: 0 1px 4px rgba(79, 70, 229, 0.2);
}

.record-count[b-ymd6u4zqza] {
    font-size: 0.72rem;
    background: #f1f5f9;
    color: #475569;
    padding: 0.2rem 0.55rem;
    border-radius: 16px;
    font-weight: 700;
    border: 1px solid #e2e8f0;
}

.table-responsive[b-ymd6u4zqza] {
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    scrollbar-width: thin;
}

.table-responsive[b-ymd6u4zqza]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.table-responsive[b-ymd6u4zqza]::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.table-responsive[b-ymd6u4zqza]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.table-responsive[b-ymd6u4zqza]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.custom-table[b-ymd6u4zqza] {
    width: 100%;
    min-width: 1100px;
    border-collapse: collapse;
    font-size: 0.78rem;
    text-align: left;
    table-layout: auto;
}

.custom-table th[b-ymd6u4zqza] {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    padding: 0.45rem 0.6rem;
    border-bottom: 1.5px solid #cbd5e1;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 5;
}

.custom-table td[b-ymd6u4zqza] {
    padding: 0.35rem 0.6rem;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 0.78rem;
}

.custom-table tr:hover[b-ymd6u4zqza] {
    background-color: #f8fafc;
}

.table-total-row td[b-ymd6u4zqza] {
    background: #f8fafc;
    border-top: 2px solid #cbd5e1;
    font-weight: 700;
    padding: 0.5rem 0.6rem;
    position: sticky;
    bottom: 0;
    z-index: 4;
    color: #0f172a;
}

/* ========================================================= */
/* 4. CELL ELEMENTS & DATA BADGES                            */
/* ========================================================= */
.category-name-cell[b-ymd6u4zqza] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.category-name-text[b-ymd6u4zqza] {
    font-weight: 700;
    color: #1e293b;
}

.cat-badge-dot[b-ymd6u4zqza] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.cat-consult[b-ymd6u4zqza] { background: #3b82f6; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); }
.cat-lab[b-ymd6u4zqza] { background: #8b5cf6; box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2); }
.cat-scan[b-ymd6u4zqza] { background: #06b6d4; box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2); }
.cat-service[b-ymd6u4zqza] { background: #10b981; box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2); }
.cat-dress[b-ymd6u4zqza] { background: #f59e0b; box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2); }
.cat-ecg[b-ymd6u4zqza] { background: #ec4899; box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.2); }
.cat-physio[b-ymd6u4zqza] { background: #14b8a6; box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2); }
.cat-pharmacy[b-ymd6u4zqza] { background: #6366f1; box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2); }
.cat-default[b-ymd6u4zqza] { background: #64748b; box-shadow: 0 0 0 2px rgba(100, 116, 139, 0.2); }

.badge-count-pill[b-ymd6u4zqza] {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-block;
}

.service-id-badge[b-ymd6u4zqza] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 0.15rem 0.45rem;
    border-radius: 5px;
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
}

.service-name-text[b-ymd6u4zqza] {
    font-weight: 700;
    color: #1e293b;
}

.tokens-list[b-ymd6u4zqza] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}

.token-pill[b-ymd6u4zqza] {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.token-pill.more[b-ymd6u4zqza] {
    background: #f1f5f9;
    color: #64748b;
    border-color: #cbd5e1;
}

.bills-list[b-ymd6u4zqza] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}

.bill-badge[b-ymd6u4zqza] {
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: monospace;
}

.category-chips-list[b-ymd6u4zqza] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}

.category-chip[b-ymd6u4zqza] {
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

.bill-no[b-ymd6u4zqza] {
    font-family: monospace;
    font-weight: 700;
    color: #2563eb;
    font-size: 0.82rem;
}

.patient-name[b-ymd6u4zqza] {
    font-weight: 700;
    color: #0f172a;
}

.custid-pill[b-ymd6u4zqza] {
    font-family: monospace;
    font-size: 0.72rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.font-numeric[b-ymd6u4zqza] {
    font-family: system-ui, -apple-system, sans-serif;
    font-variant-numeric: tabular-nums;
}

.font-bold[b-ymd6u4zqza] {
    font-weight: 700;
}

.text-success[b-ymd6u4zqza] {
    color: #16a34a !important;
}

.text-danger[b-ymd6u4zqza] {
    color: #dc2626 !important;
}

.text-primary[b-ymd6u4zqza] {
    color: #2563eb !important;
}

.text-indigo[b-ymd6u4zqza] {
    color: #4f46e5 !important;
}

.text-warning[b-ymd6u4zqza] {
    color: #d97706 !important;
}

.text-amber[b-ymd6u4zqza] {
    color: #b45309 !important;
}

/* Efficiency Badges */
.efficiency-badge[b-ymd6u4zqza] {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
}

.eff-complete[b-ymd6u4zqza] {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.eff-partial[b-ymd6u4zqza] {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.eff-zero[b-ymd6u4zqza] {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* Status Badges */
.status-badge[b-ymd6u4zqza] {
    display: inline-block;
    padding: 0.18rem 0.5rem;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.settled[b-ymd6u4zqza] {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.status-badge.pending[b-ymd6u4zqza] {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.status-badge.due[b-ymd6u4zqza] {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.status-badge.neutral[b-ymd6u4zqza] {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* Spin Icon */
.spin-icon[b-ymd6u4zqza] {
    animation: spin-b-ymd6u4zqza 1s linear infinite;
}

@keyframes spin-b-ymd6u4zqza {
    100% { transform: rotate(360deg); }
}

/* Loading & Empty State Containers */
.table-loading-container[b-ymd6u4zqza],
.table-empty-container[b-ymd6u4zqza] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    gap: 0.75rem;
    text-align: center;
}

.loading-text[b-ymd6u4zqza] {
    font-weight: 700;
    color: #475569;
    font-size: 0.85rem;
}

/* ========================================================= */
/* 4. CATEGORY PATIENTS & LAB DETAILS MODAL DIALOGS          */
/* ========================================================= */
.modal-backdrop-custom[b-ymd6u4zqza] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10050;
    padding: 1.25rem;
}

.category-modal-card[b-ymd6u4zqza] {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(226, 232, 240, 0.9);
    width: 95%;
    max-width: 1380px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: catModalZoomIn-b-ymd6u4zqza 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes catModalZoomIn-b-ymd6u4zqza {
    from {
        opacity: 0;
        transform: scale(0.97) translateY(-8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header-custom[b-ymd6u4zqza] {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.modal-icon-badge[b-ymd6u4zqza] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    flex-shrink: 0;
}

.modal-header-title[b-ymd6u4zqza] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.01em;
}

.modal-header-sub[b-ymd6u4zqza] {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 0.2rem;
    font-weight: 500;
}

.btn-close-modal[b-ymd6u4zqza] {
    background: #f1f5f9;
    border: 1.5px solid #cbd5e1;
    color: #64748b;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-close-modal:hover[b-ymd6u4zqza] {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
    transform: scale(1.05);
}

.modal-body-custom[b-ymd6u4zqza] {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.modal-footer-custom[b-ymd6u4zqza] {
    padding: 0.75rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    border-radius: 0 0 16px 16px;
}

/* Modal KPI Summary Strip */
.modal-stats-strip[b-ymd6u4zqza] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    background: #f8fafc;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.modal-stat-pill[b-ymd6u4zqza] {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    font-size: 0.82rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    min-width: 185px;
}

.stat-pill-icon[b-ymd6u4zqza] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.stat-pill-text[b-ymd6u4zqza] {
    display: flex;
    flex-direction: column;
}

.modal-stat-pill .stat-label[b-ymd6u4zqza] {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 2px;
}

.modal-stat-pill .stat-value[b-ymd6u4zqza] {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    font-family: 'Outfit', 'Inter', system-ui, sans-serif;
    line-height: 1.2;
}

.modal-stat-pill.pill-blue[b-ymd6u4zqza] {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #bfdbfe;
}
.modal-stat-pill.pill-blue .stat-pill-icon[b-ymd6u4zqza] {
    background: #dbeafe;
    color: #1d4ed8;
}
.modal-stat-pill.pill-blue .stat-label[b-ymd6u4zqza] {
    color: #1e40af;
}
.modal-stat-pill.pill-blue .stat-value[b-ymd6u4zqza] {
    color: #1d4ed8;
}

.modal-stat-pill.pill-green[b-ymd6u4zqza] {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #bbf7d0;
}
.modal-stat-pill.pill-green .stat-pill-icon[b-ymd6u4zqza] {
    background: #dcfce7;
    color: #15803d;
}
.modal-stat-pill.pill-green .stat-label[b-ymd6u4zqza] {
    color: #166534;
}
.modal-stat-pill.pill-green .stat-value[b-ymd6u4zqza] {
    color: #15803d;
}

.modal-stat-pill.pill-red[b-ymd6u4zqza] {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #fecaca;
}
.modal-stat-pill.pill-red .stat-pill-icon[b-ymd6u4zqza] {
    background: #fee2e2;
    color: #dc2626;
}
.modal-stat-pill.pill-red .stat-label[b-ymd6u4zqza] {
    color: #991b1b;
}
.modal-stat-pill.pill-red .stat-value[b-ymd6u4zqza] {
    color: #dc2626;
}

.modal-search-container[b-ymd6u4zqza] {
    flex: 1;
    min-width: 260px;
    display: flex;
    justify-content: flex-end;
}

.modal-search-bar[b-ymd6u4zqza] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.45rem 0.85rem;
    width: 100%;
    max-width: 440px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.modal-search-bar:focus-within[b-ymd6u4zqza] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.modal-search-bar input[b-ymd6u4zqza] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.82rem;
    color: #1e293b;
    width: 100%;
    font-weight: 500;
}

.modal-search-bar input[b-ymd6u4zqza]::placeholder {
    color: #94a3b8;
}

/* Modal Table Styling */
.modal-table-responsive[b-ymd6u4zqza] {
    max-height: 52vh;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow-y: auto;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.modal-table-responsive table[b-ymd6u4zqza] {
    width: 100%;
    border-collapse: collapse;
}

.modal-table-responsive thead th[b-ymd6u4zqza] {
    position: sticky;
    top: 0;
    background: #f8fafc;
    z-index: 2;
    box-shadow: inset 0 -1px 0 #cbd5e1;
    padding: 0.65rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #475569;
}

.modal-table-responsive tbody td[b-ymd6u4zqza] {
    padding: 0.65rem 0.75rem;
    font-size: 0.8rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.modal-table-responsive tbody tr:hover[b-ymd6u4zqza] {
    background: #f8fafc;
}

.modal-table-responsive tfoot tr.table-total-row td[b-ymd6u4zqza] {
    position: sticky;
    bottom: 0;
    background: #f1f5f9;
    z-index: 2;
    box-shadow: inset 0 2px 0 #cbd5e1;
    padding: 0.75rem;
    font-size: 0.85rem;
    font-weight: 800;
}

/* Patient Name Cell & Interactive Lab Pill */
.patient-name-lab-pill[b-ymd6u4zqza] {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.85rem 0.35rem 0.45rem;
    background: #f0f7ff;
    border: 1.5px solid #bfdbfe;
    border-radius: 9999px;
    color: #1e40af;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    text-align: left;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08);
}

.patient-name-lab-pill:hover[b-ymd6u4zqza] {
    background: #dbeafe;
    border-color: #60a5fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.18);
    color: #1d4ed8;
}

.patient-name-cell[b-ymd6u4zqza] {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.patient-avatar-badge[b-ymd6u4zqza] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.25);
}

.patient-avatar-badge.neutral[b-ymd6u4zqza] {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    box-shadow: 0 1px 3px rgba(100, 116, 139, 0.2);
}

.patient-name-text[b-ymd6u4zqza] {
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: -0.01em;
}

.patient-view-indicator[b-ymd6u4zqza] {
    font-size: 0.85rem;
    color: #3b82f6;
    display: flex;
    align-items: center;
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.patient-name-lab-pill:hover .patient-view-indicator[b-ymd6u4zqza] {
    transform: translate(1px, -1px);
    color: #1d4ed8;
}

/* Lab Modal Additions */
.lab-meta-card[b-ymd6u4zqza] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.85rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
}

.lab-meta-item[b-ymd6u4zqza] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.lab-meta-icon[b-ymd6u4zqza] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.lab-meta-text[b-ymd6u4zqza] {
    display: flex;
    flex-direction: column;
}

.lab-meta-label[b-ymd6u4zqza] {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.lab-meta-value[b-ymd6u4zqza] {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.86rem;
}

.lab-tests-table-wrapper[b-ymd6u4zqza] {
    max-height: 48vh;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow-x: auto;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.lab-tests-table-wrapper thead th[b-ymd6u4zqza] {
    position: sticky;
    top: 0;
    background: #f8fafc;
    z-index: 2;
    box-shadow: inset 0 -1px 0 #cbd5e1;
    font-size: 0.72rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.lab-financial-summary-card[b-ymd6u4zqza] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    margin-top: 0.85rem;
}

.summary-metric-card[b-ymd6u4zqza] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.45rem 0.85rem;
    border-radius: 9px;
    min-width: 130px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.summary-metric-card.blue[b-ymd6u4zqza] {
    background: #eff6ff;
    border-color: #bfdbfe;
}
.summary-metric-card.green[b-ymd6u4zqza] {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.summary-metric-card.amber[b-ymd6u4zqza] {
    background: #fffbeb;
    border-color: #fde68a;
}
.summary-metric-card.red[b-ymd6u4zqza] {
    background: #fef2f2;
    border-color: #fecaca;
}

.metric-label[b-ymd6u4zqza] {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
}

.metric-value[b-ymd6u4zqza] {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
}

.status-badge-settled[b-ymd6u4zqza] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #15803d;
    border: 1px solid #86efac;
    padding: 0.45rem 1rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 1px 3px rgba(22, 163, 74, 0.15);
}

.status-badge-partial[b-ymd6u4zqza] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #b45309;
    border: 1px solid #fcd34d;
    padding: 0.45rem 1rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 1px 3px rgba(217, 119, 6, 0.15);
}

.status-badge-due[b-ymd6u4zqza] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #b91c1c;
    border: 1px solid #fca5a5;
    padding: 0.45rem 1rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 1px 3px rgba(220, 38, 38, 0.15);
}

.service-pill-tag[b-ymd6u4zqza] {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.service-pill-tag.service-ecg[b-ymd6u4zqza] {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.service-pill-tag.service-xray[b-ymd6u4zqza] {
    background: #ede9fe;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

.service-pill-tag.service-generic[b-ymd6u4zqza] {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.text-emerald[b-ymd6u4zqza] { color: #059669 !important; }
.text-amber[b-ymd6u4zqza] { color: #d97706 !important; }
.text-purple[b-ymd6u4zqza] { color: #7c3aed !important; }
/* /Components/Pages/OPDashboard.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   OPDashboard.razor.css — Enhanced OP Dashboard Styles
   ═══════════════════════════════════════════════════════════════ */

/* Wrapper — full viewport, no scroll */
.op-wrapper[b-hg5wmc4qqg] {
    padding: 0.6rem 1rem;
    background: #f1f5f9;
    height: calc(100vh - 65px);
    max-height: calc(100vh - 65px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: #0f172a;
    box-sizing: border-box;
}

/* ─── Header ─────────────────────────────────────────────────── */
.op-header[b-hg5wmc4qqg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    flex-shrink: 0;
}

.header-title[b-hg5wmc4qqg] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-badge[b-hg5wmc4qqg] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.icon-badge.cyan[b-hg5wmc4qqg]   { background: #cffafe; color: #0891b2; }
.icon-badge.green[b-hg5wmc4qqg]  { background: #dcfce7; color: #10b981; }
.icon-badge.purple[b-hg5wmc4qqg] { background: #f3e8ff; color: #8b5cf6; }
.icon-badge.orange[b-hg5wmc4qqg] { background: #ffedd5; color: #f97316; }

.header-title h1[b-hg5wmc4qqg] {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
    color: #1e293b;
    line-height: 1.2;
}

.header-title p[b-hg5wmc4qqg] {
    font-size: 0.73rem;
    color: #64748b;
    margin: 0;
}

.header-actions[b-hg5wmc4qqg] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* ─── SignalR Live Sync Badge ───────────────────────────────── */
.live-sync-badge[b-hg5wmc4qqg] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.pulse-dot[b-hg5wmc4qqg] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
    animation: pulseGreen-b-hg5wmc4qqg 1.8s infinite;
}

@keyframes pulseGreen-b-hg5wmc4qqg {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn[b-hg5wmc4qqg] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.85rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.78rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary[b-hg5wmc4qqg] {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(8, 145, 178, 0.25);
}

.btn-primary:hover[b-hg5wmc4qqg] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.35);
    color: #fff;
}

.btn-outline[b-hg5wmc4qqg] {
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.btn-outline:hover[b-hg5wmc4qqg] {
    background: #f8fafc;
    color: #0f172a;
}

/* ─── Quick Access Pill Button (two-part: dot-grid + blue label) ───── */
.qa-pill-btn[b-hg5wmc4qqg] {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 4px 4px 4px 4px;
    background: #eef0f8;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s, transform 0.2s;
}

.qa-pill-btn:hover[b-hg5wmc4qqg] {
    box-shadow: 0 4px 16px rgba(37,99,235,0.18);
    transform: translateY(-1px);
}

/* Left: white circle with dot-grid icon */
.qa-pill-dots[b-hg5wmc4qqg] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    color: #64748b;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    margin-right: 4px;
}

/* Right: blue pill label */
.qa-pill-label[b-hg5wmc4qqg] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0 1rem 0 0.75rem;
    height: 34px;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: 0.1px;
    transition: background 0.2s;
}

.qa-pill-label i[b-hg5wmc4qqg] { font-size: 0.78rem; }

.qa-pill-btn:hover .qa-pill-label[b-hg5wmc4qqg] {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

/* Floating variant — fixed at bottom-right corner */
.qa-pill-floating[b-hg5wmc4qqg] {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 998;
    box-shadow: 0 6px 24px rgba(37,99,235,0.22), 0 2px 8px rgba(0,0,0,0.12);
}

.qa-pill-floating:hover[b-hg5wmc4qqg] {
    box-shadow: 0 10px 32px rgba(37,99,235,0.32), 0 4px 12px rgba(0,0,0,0.14);
    transform: translateY(-2px);
}

.btn:disabled[b-hg5wmc4qqg] {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ─── Filter Bar ─────────────────────────────────────────────── */
.filter-bar[b-hg5wmc4qqg] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    padding: 0.45rem 1rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    flex-shrink: 0;
    flex-wrap: wrap;
}

.filter-group[b-hg5wmc4qqg] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.filter-label[b-hg5wmc4qqg] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.filter-input[b-hg5wmc4qqg] {
    height: 30px;
    padding: 0 0.55rem;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font-size: 0.78rem;
    color: #1e293b;
    background: #f8fafc;
    font-family: inherit;
    font-weight: 600;
    transition: border-color 0.2s;
    min-width: 130px;
}

.filter-input:focus[b-hg5wmc4qqg] {
    outline: none;
    border-color: #0891b2;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.filter-info[b-hg5wmc4qqg] {
    margin-left: auto;
    font-size: 0.74rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.filter-info strong[b-hg5wmc4qqg] {
    color: #0f172a;
}

/* ─── KPI Grid (6 cards) ─────────────────────────────────────── */
.kpi-grid[b-hg5wmc4qqg] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    flex-shrink: 0;
}

.kpi-card[b-hg5wmc4qqg] {
    background: #ffffff;
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.025);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.kpi-card:hover[b-hg5wmc4qqg] {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.kpi-card[b-hg5wmc4qqg]::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3.5px;
    height: 100%;
}

/* Color variants */
.kpi-card.cyan[b-hg5wmc4qqg]::before   { background: #0891b2; }
.kpi-card.green[b-hg5wmc4qqg]::before  { background: #10b981; }
.kpi-card.purple[b-hg5wmc4qqg]::before { background: #8b5cf6; }
.kpi-card.orange[b-hg5wmc4qqg]::before { background: #f97316; }
.kpi-card.blue[b-hg5wmc4qqg]::before   { background: #2563eb; }
.kpi-card.teal[b-hg5wmc4qqg]::before   { background: #0d9488; }

.kpi-top[b-hg5wmc4qqg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kpi-label[b-hg5wmc4qqg] {
    font-size: 0.67rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.3;
}

.kpi-icon[b-hg5wmc4qqg] { font-size: 0.95rem; opacity: 0.85; }

.kpi-card.cyan   .kpi-icon[b-hg5wmc4qqg] { color: #0891b2; }
.kpi-card.green  .kpi-icon[b-hg5wmc4qqg] { color: #10b981; }
.kpi-card.purple .kpi-icon[b-hg5wmc4qqg] { color: #8b5cf6; }
.kpi-card.orange .kpi-icon[b-hg5wmc4qqg] { color: #f97316; }
.kpi-card.blue   .kpi-icon[b-hg5wmc4qqg] { color: #2563eb; }
.kpi-card.teal   .kpi-icon[b-hg5wmc4qqg] { color: #0d9488; }

.kpi-value[b-hg5wmc4qqg] {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    margin: 0.12rem 0;
}

.kpi-foot[b-hg5wmc4qqg] {
    font-size: 0.67rem;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kpi-foot.positive[b-hg5wmc4qqg] { color: #16a34a; }
.kpi-foot.info[b-hg5wmc4qqg]     { color: #0284c7; }
.kpi-foot.warning[b-hg5wmc4qqg]  { color: #d97706; }

/* ─── Charts Row (3 charts) ──────────────────────────────────── */
.charts-row[b-hg5wmc4qqg] {
    display: flex;
    gap: 0.5rem;
    flex: 1.2;
    min-height: 0;
}

.flex-2[b-hg5wmc4qqg] { flex: 2; min-width: 0; }
.flex-1[b-hg5wmc4qqg] { flex: 1; min-width: 0; }

.chart-card[b-hg5wmc4qqg] {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 0.6rem 0.8rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.025);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.chart-header[b-hg5wmc4qqg] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.3rem;
    flex-shrink: 0;
}

.chart-header h3[b-hg5wmc4qqg] {
    font-size: 0.88rem;
    font-weight: 800;
    margin: 0;
    color: #1e293b;
}

.chart-sub[b-hg5wmc4qqg] {
    font-size: 0.68rem;
    color: #64748b;
}

.chart-body[b-hg5wmc4qqg] {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
}

.chart-body canvas[b-hg5wmc4qqg] {
    max-height: 100% !important;
}

/* ─── Bottom Row: Panel + Quick Actions ──────────────────────── */
.dashboard-grid-2[b-hg5wmc4qqg] {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    min-height: 0;
}

.panel-card[b-hg5wmc4qqg] {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 0.6rem 0.8rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.025);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.panel-header[b-hg5wmc4qqg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
    flex-shrink: 0;
}

.panel-header h3[b-hg5wmc4qqg] {
    font-size: 0.88rem;
    font-weight: 800;
    margin: 0;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.roster-controls[b-hg5wmc4qqg] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.view-link[b-hg5wmc4qqg] {
    font-size: 0.73rem;
    font-weight: 700;
    color: #0891b2;
    text-decoration: none;
    transition: color 0.15s;
}

.view-link:hover[b-hg5wmc4qqg] { color: #0e7490; }

/* ─── Available Doctor Filter Chip ───────────────────────────── */
.filter-chip[b-hg5wmc4qqg] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.22rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-chip i[b-hg5wmc4qqg] {
    font-size: 0.55rem;
    color: #94a3b8;
    transition: color 0.2s;
}

.filter-chip.active[b-hg5wmc4qqg] {
    background: #dcfce7;
    border-color: #10b981;
    color: #15803d;
}

.filter-chip.active i[b-hg5wmc4qqg] { color: #10b981; }

.filter-chip:hover[b-hg5wmc4qqg] {
    border-color: #0891b2;
    color: #0891b2;
}

/* ─── Table ──────────────────────────────────────────────────── */
.table-responsive[b-hg5wmc4qqg] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.custom-table[b-hg5wmc4qqg] {
    width: 100%;
    border-collapse: collapse;
}

.custom-table th[b-hg5wmc4qqg] {
    background: #f8fafc;
    color: #475569;
    font-size: 0.69rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.4rem 0.55rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1;
    letter-spacing: 0.3px;
}

.custom-table td[b-hg5wmc4qqg] {
    padding: 0.38rem 0.55rem;
    font-size: 0.77rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.custom-table tbody tr:hover td[b-hg5wmc4qqg] {
    background: #f8fafc;
}

/* ─── Status Pills ───────────────────────────────────────────── */
.status-pill[b-hg5wmc4qqg] {
    display: inline-block;
    padding: 0.13rem 0.48rem;
    border-radius: 12px;
    font-size: 0.67rem;
    font-weight: 800;
    white-space: nowrap;
}

.status-pill.active[b-hg5wmc4qqg]  { background: #cff4fc; color: #0891b2; }
.status-pill.success[b-hg5wmc4qqg] { background: #dcfce7; color: #15803d; }
.status-pill.warning[b-hg5wmc4qqg] { background: #fef9c3; color: #a16207; }
.status-pill.muted[b-hg5wmc4qqg]   { background: #f1f5f9; color: #64748b; }

/* ─── Quick Access Popup (Light Theme) ────────────────────── */
.qa-backdrop[b-hg5wmc4qqg] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(2px);
    z-index: 999;
    animation: fadeIn-b-hg5wmc4qqg 0.18s ease;
}

@keyframes fadeIn-b-hg5wmc4qqg {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.qa-popup[b-hg5wmc4qqg] {
    position: fixed;
    top: 70px;
    right: 1.2rem;
    width: 340px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.16), 0 4px 16px rgba(0,0,0,0.08);
    z-index: 1000;
    overflow: hidden;
    animation: slideDown-b-hg5wmc4qqg 0.22s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes slideDown-b-hg5wmc4qqg {
    from { opacity: 0; transform: translateY(-16px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.qa-popup-header[b-hg5wmc4qqg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.qa-popup-title[b-hg5wmc4qqg] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.qa-title-icon[b-hg5wmc4qqg] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #0891b2;
}

.qa-popup-title h4[b-hg5wmc4qqg] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.qa-popup-title p[b-hg5wmc4qqg] {
    font-size: 0.7rem;
    color: #94a3b8;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.qa-close[b-hg5wmc4qqg] {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s;
}

.qa-close:hover[b-hg5wmc4qqg] {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

/* 3-column tile grid inside popup */
.qa-popup-grid[b-hg5wmc4qqg] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    padding: 1rem 1.1rem 1.1rem;
}

.qa-tile[b-hg5wmc4qqg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    padding: 0.65rem 0.3rem;
    border-radius: 14px;
    border: 1px solid #f1f5f9;
    background: #fafafa;
    transition: all 0.2s ease;
    cursor: pointer;
}

.qa-tile:hover[b-hg5wmc4qqg] {
    background: #f0f9ff;
    border-color: #bae6fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.1);
}

.qa-icon[b-hg5wmc4qqg] {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

.qa-tile:hover .qa-icon[b-hg5wmc4qqg] {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.qa-tile span[b-hg5wmc4qqg] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    line-height: 1.2;
}

.qa-tile small[b-hg5wmc4qqg] {
    font-size: 0.6rem;
    color: #94a3b8;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

/* ─── Spinner ────────────────────────────────────────────────── */
.spin-anim[b-hg5wmc4qqg] {
    animation: spin-b-hg5wmc4qqg 0.9s linear infinite;
    display: inline-block;
}

@keyframes spin-b-hg5wmc4qqg {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ─── Utilities ──────────────────────────────────────────────── */
.text-muted[b-hg5wmc4qqg]  { color: #94a3b8 !important; }
.fw-bold[b-hg5wmc4qqg]     { font-weight: 800 !important; }
.me-2[b-hg5wmc4qqg]        { margin-right: 0.5rem !important; }
.py-4[b-hg5wmc4qqg]        { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.text-center[b-hg5wmc4qqg] { text-align: center !important; }
.fs-4[b-hg5wmc4qqg]        { font-size: 1.25rem !important; }
.d-block[b-hg5wmc4qqg]     { display: block !important; }
.mb-1[b-hg5wmc4qqg]        { margin-bottom: 0.25rem !important; }

/* ─── Dark Mode Overrides ────────────────────────────────────── */
:host-context([data-theme="dark"]) .op-wrapper[b-hg5wmc4qqg],
[data-theme="dark"] .op-wrapper[b-hg5wmc4qqg] {
    background: #090d16 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .op-header[b-hg5wmc4qqg],
:host-context([data-theme="dark"]) .filter-bar[b-hg5wmc4qqg],
:host-context([data-theme="dark"]) .kpi-card[b-hg5wmc4qqg],
:host-context([data-theme="dark"]) .chart-card[b-hg5wmc4qqg],
:host-context([data-theme="dark"]) .panel-card[b-hg5wmc4qqg],
:host-context([data-theme="dark"]) .qa-popup[b-hg5wmc4qqg],
[data-theme="dark"] .op-header[b-hg5wmc4qqg],
[data-theme="dark"] .filter-bar[b-hg5wmc4qqg],
[data-theme="dark"] .kpi-card[b-hg5wmc4qqg],
[data-theme="dark"] .chart-card[b-hg5wmc4qqg],
[data-theme="dark"] .panel-card[b-hg5wmc4qqg],
[data-theme="dark"] .qa-popup[b-hg5wmc4qqg] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

:host-context([data-theme="dark"]) .header-title h1[b-hg5wmc4qqg],
:host-context([data-theme="dark"]) .chart-header h3[b-hg5wmc4qqg],
:host-context([data-theme="dark"]) .panel-header h3[b-hg5wmc4qqg],
:host-context([data-theme="dark"]) .kpi-value[b-hg5wmc4qqg],
:host-context([data-theme="dark"]) .filter-info strong[b-hg5wmc4qqg],
[data-theme="dark"] .header-title h1[b-hg5wmc4qqg],
[data-theme="dark"] .chart-header h3[b-hg5wmc4qqg],
[data-theme="dark"] .panel-header h3[b-hg5wmc4qqg],
[data-theme="dark"] .kpi-value[b-hg5wmc4qqg],
[data-theme="dark"] .filter-info strong[b-hg5wmc4qqg] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .filter-input[b-hg5wmc4qqg],
[data-theme="dark"] .filter-input[b-hg5wmc4qqg] {
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .custom-table th[b-hg5wmc4qqg],
[data-theme="dark"] .custom-table th[b-hg5wmc4qqg] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .custom-table td[b-hg5wmc4qqg],
[data-theme="dark"] .custom-table td[b-hg5wmc4qqg] {
    color: #cbd5e1 !important;
    border-bottom-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .custom-table tbody tr:hover td[b-hg5wmc4qqg],
[data-theme="dark"] .custom-table tbody tr:hover td[b-hg5wmc4qqg] {
    background: #0f172a !important;
}
/* /Components/Pages/OpeningStock.razor.rz.scp.css */
/* Scoped styles for OpeningStock component */

.opening-stock-page[b-t8jbfera67] {
    width: 100%;
    min-height: 100vh;
    background: transparent;
    padding-bottom: 3rem;
}

.items-shell[b-t8jbfera67] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.items-content[b-t8jbfera67] {
    width: 100%;
    margin: 0 auto;
}

/* ─── Premium Header Card (matching Stock Master) ─── */
.premium-header-card[b-t8jbfera67] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.18) !important;
    border-radius: 16px !important;
    padding: 1.25rem 2rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08) !important;
    position: relative;
    overflow: hidden;
    margin-top: 1.25rem !important;
    margin-bottom: 1.5rem !important;
}

.premium-header-card[b-t8jbfera67]::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.header-card-left[b-t8jbfera67] {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.header-card-icon[b-t8jbfera67] {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.2) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12) !important;
    color: #4f46e5;
    font-size: 1.4rem;
}

.header-card-text[b-t8jbfera67] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-t8jbfera67] {
    color: #312e81 !important;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tenant-code-badge[b-t8jbfera67] {
    background: rgba(99, 102, 241, 0.15) !important;
    color: #4338ca !important;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
}

.header-card-subheading[b-t8jbfera67] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-t8jbfera67] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-t8jbfera67] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

/* ─── Header Action Buttons ─── */
.btn-header-action[b-t8jbfera67] {
    height: 40px;
    border-radius: 12px;
    padding: 0 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: none;
    text-decoration: none;
}

.btn-header-template[b-t8jbfera67] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    border: 1px solid rgba(99, 102, 241, 0.25) !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
}

.btn-header-template:hover:not(:disabled)[b-t8jbfera67] {
    background: #f5f3ff !important;
    border-color: #4f46e5 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15) !important;
}

.btn-header-nav[b-t8jbfera67] {
    background: #4f46e5 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
}

.btn-header-nav:hover[b-t8jbfera67] {
    background: #4338ca !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35) !important;
}

/* ─── Glassmorphic Card Container ─── */
.glass-panel-card[b-t8jbfera67] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: all 0.25s ease;
}

.panel-header-strip[b-t8jbfera67] {
    padding: 1rem 1.75rem;
    background: linear-gradient(to right, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-header-title[b-t8jbfera67] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    letter-spacing: -0.2px;
}

.panel-header-title i[b-t8jbfera67] {
    color: #4f46e5;
    font-size: 1.1rem;
}

.panel-header-badge[b-t8jbfera67] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
}

.panel-body-area[b-t8jbfera67] {
    padding: 1.75rem;
}

/* ─── Upload Control Form Layout ─── */
.upload-form-wrapper[b-t8jbfera67] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: stretch;
}

@media (max-width: 992px) {
    .upload-form-wrapper[b-t8jbfera67] {
        grid-template-columns: 1fr;
    }
}

.upload-params-col[b-t8jbfera67] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group-custom[b-t8jbfera67] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-label-custom[b-t8jbfera67] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.form-label-custom .req-star[b-t8jbfera67] {
    color: #ef4444;
    font-weight: 900;
}

.form-label-custom .hint-badge[b-t8jbfera67] {
    font-size: 0.68rem;
    font-weight: 500;
    color: #64748b;
    margin-left: auto;
}

.custom-select-input[b-t8jbfera67] {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    background-color: #ffffff;
    padding: 0 1rem;
    font-size: 0.88rem;
    color: #1e293b;
    font-weight: 500;
    transition: all 0.2s ease;
    outline: none;
}

.custom-select-input:focus[b-t8jbfera67] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.custom-switch-card[b-t8jbfera67] {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    cursor: pointer;
}

.custom-switch-card:hover[b-t8jbfera67] {
    border-color: #cbd5e1;
}

.custom-switch-card.active[b-t8jbfera67] {
    background: #f0fdf4;
    border-color: #86efac;
}

.switch-text-wrap[b-t8jbfera67] {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
}

.switch-title[b-t8jbfera67] {
    font-size: 0.84rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
}

.switch-desc[b-t8jbfera67] {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.35;
}

/* ─── Guidance Card ─── */
.info-guidance-card[b-t8jbfera67] {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    text-align: left;
}

.info-guidance-head[b-t8jbfera67] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #4f46e5;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.info-guidance-list[b-t8jbfera67] {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.73rem;
    color: #64748b;
    line-height: 1.45;
}

.info-guidance-list li[b-t8jbfera67] {
    margin-bottom: 3px;
}

.info-guidance-list li:last-child[b-t8jbfera67] {
    margin-bottom: 0;
}

/* ─── File Dropzone Box ─── */
.dropzone-container[b-t8jbfera67] {
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    padding: 1.75rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 190px;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.dropzone-container:hover[b-t8jbfera67], .dropzone-container.has-file[b-t8jbfera67] {
    border-color: #4f46e5;
    background: #f5f3ff;
}

.dropzone-icon[b-t8jbfera67] {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    font-size: 1.5rem;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.08);
}

.dropzone-text-main[b-t8jbfera67] {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px;
}

.dropzone-text-sub[b-t8jbfera67] {
    font-size: 0.74rem;
    color: #64748b;
    margin-bottom: 12px;
}

.btn-browse-file[b-t8jbfera67] {
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.2);
    display: inline-flex;
    align-items: center;
}

.btn-browse-file:hover[b-t8jbfera67] {
    background: #4338ca;
}

.file-selected-badge-box[b-t8jbfera67] {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #86efac;
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}

.file-info-left[b-t8jbfera67] {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    overflow: hidden;
}

.file-info-icon[b-t8jbfera67] {
    font-size: 1.7rem;
    color: #10b981;
    flex-shrink: 0;
}

.file-info-meta[b-t8jbfera67] {
    overflow: hidden;
}

.file-info-title[b-t8jbfera67] {
    font-size: 0.86rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.file-info-size[b-t8jbfera67] {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 2px;
    display: flex;
    align-items: center;
}

.btn-remove-file[b-t8jbfera67] {
    background: #fee2e2;
    color: #ef4444;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-remove-file:hover[b-t8jbfera67] {
    background: #ef4444;
    color: #ffffff;
}

/* ─── Upload Action Button ─── */
.btn-upload-submit[b-t8jbfera67] {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3) !important;
    transition: all 0.25s ease !important;
    margin-top: 1.25rem;
}

.btn-upload-submit:hover:not(:disabled)[b-t8jbfera67] {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
    transform: translateY(-1.5px);
}

.btn-upload-submit:disabled[b-t8jbfera67] {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
}

/* ─── Status & Result Cards ─── */
.stat-summary-grid[b-t8jbfera67] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .stat-summary-grid[b-t8jbfera67] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stat-summary-grid[b-t8jbfera67] {
        grid-template-columns: 1fr;
    }
}

.stat-metric-card[b-t8jbfera67] {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.stat-metric-card:hover[b-t8jbfera67] {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.stat-icon-wrap[b-t8jbfera67] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-info-wrap[b-t8jbfera67] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stat-val[b-t8jbfera67] {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1e293b;
}

.stat-lbl[b-t8jbfera67] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    margin-top: 3px;
}

.stat-card-total .stat-icon-wrap[b-t8jbfera67] {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}
.stat-card-total .stat-val[b-t8jbfera67] {
    color: #1e40af;
}

.stat-card-inserted .stat-icon-wrap[b-t8jbfera67] {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}
.stat-card-inserted .stat-val[b-t8jbfera67] {
    color: #15803d;
}

.stat-card-updated .stat-icon-wrap[b-t8jbfera67] {
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
}
.stat-card-updated .stat-val[b-t8jbfera67] {
    color: #3730a3;
}

.stat-card-skipped .stat-icon-wrap[b-t8jbfera67] {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}
.stat-card-skipped .stat-val[b-t8jbfera67] {
    color: #b45309;
}

/* ─── Alerts & Banners ─── */
.banner-alert-box[b-t8jbfera67] {
    border-radius: 14px;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 1.25rem;
    text-align: left;
}

.banner-alert-success[b-t8jbfera67] {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #14532d;
}

.banner-alert-warning[b-t8jbfera67] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #78350f;
}

.banner-alert-error[b-t8jbfera67] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #7f1d1d;
}

.banner-icon[b-t8jbfera67] {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.banner-content[b-t8jbfera67] {
    flex: 1;
}

.banner-title[b-t8jbfera67] {
    font-size: 0.92rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.banner-text[b-t8jbfera67] {
    font-size: 0.82rem;
    line-height: 1.4;
    margin: 0;
}

.warning-list[b-t8jbfera67] {
    margin: 6px 0 0 0;
    padding-left: 1.25rem;
    font-size: 0.8rem;
}

/* ─── Errors / Skipped Rows Table ─── */
.error-table-card[b-t8jbfera67] {
    background: #ffffff;
    border: 1px solid #fca5a5;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.error-table-header[b-t8jbfera67] {
    background: #fee2e2;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #fecaca;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-download-skipped[b-t8jbfera67] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff;
    color: #15803d;
    border: 1.5px solid #86efac;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.btn-download-skipped:hover:not(:disabled)[b-t8jbfera67] {
    background: #f0fdf4;
    border-color: #22c55e;
    color: #166534;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(34, 197, 94, 0.2);
}

.btn-download-skipped:disabled[b-t8jbfera67] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-stat-download-chip[b-t8jbfera67] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ffffff;
    color: #b45309;
    border: 1px solid #fde68a;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-stat-download-chip:hover:not(:disabled)[b-t8jbfera67] {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #92400e;
}

.error-table-title[b-t8jbfera67] {
    font-size: 0.85rem;
    font-weight: 800;
    color: #991b1b;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.custom-table[b-t8jbfera67] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    text-align: left;
}

.custom-table th[b-t8jbfera67] {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
}

.custom-table td[b-t8jbfera67] {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    vertical-align: middle;
}

.custom-table tr:hover td[b-t8jbfera67] {
    background: #f8fafc;
}

.row-num-badge[b-t8jbfera67] {
    background: #f1f5f9;
    color: #475569;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    display: inline-block;
}

/* ─── Stock Inventory Grid Toolbar & Styles ─── */
.stock-section-wrapper[b-t8jbfera67] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.stock-filters-toolbar[b-t8jbfera67] {
    padding: 1rem 1.75rem;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.toolbar-left-side[b-t8jbfera67] {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.toolbar-title-wrap[b-t8jbfera67] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toolbar-title-text[b-t8jbfera67] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stock-count-badge[b-t8jbfera67] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
}

.filter-store-group[b-t8jbfera67] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 3px 12px;
    height: 38px;
}

.filter-store-label[b-t8jbfera67] {
    font-size: 0.76rem;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.filter-store-select[b-t8jbfera67] {
    border: none;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    outline: none;
    cursor: pointer;
}

.toolbar-right-side[b-t8jbfera67] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.items-search-wrap[b-t8jbfera67] {
    position: relative;
    display: flex;
    align-items: center;
}

.items-search[b-t8jbfera67] {
    width: 250px;
    height: 38px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    padding-left: 2.3rem !important;
    padding-right: 2rem !important;
    font-size: 0.82rem !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.items-search:focus[b-t8jbfera67] {
    outline: none !important;
    width: 290px !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.items-search-icon[b-t8jbfera67] {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.search-clear-btn[b-t8jbfera67] {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.88rem;
}

.search-clear-btn:hover[b-t8jbfera67] {
    color: #475569;
}

.view-toggle[b-t8jbfera67] {
    display: inline-flex;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #f8fafc !important;
    height: 38px;
    padding: 2px;
    align-items: center;
}

.view-toggle button[b-t8jbfera67] {
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    width: 36px;
    height: 32px;
    border-radius: 16px !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.view-toggle button.active[b-t8jbfera67] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.btn-refresh-grid[b-t8jbfera67] {
    height: 38px;
    border-radius: 20px;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 0 1.1rem;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-refresh-grid:hover:not(:disabled)[b-t8jbfera67] {
    background: #e2e8f0;
    color: #1e293b;
    border-color: #94a3b8;
}

.spin[b-t8jbfera67] {
    animation: rotateSpin-b-t8jbfera67 1s linear infinite;
}

@keyframes rotateSpin-b-t8jbfera67 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ─── State Loaders & Empty States ─── */
.stock-state-loading[b-t8jbfera67], .stock-state-empty[b-t8jbfera67] {
    text-align: center;
    padding: 3.5rem 1.5rem;
}

/* ─── NEAT & PERFECTLY ALIGNED TABLE ─── */
.opening-stock-table-responsive[b-t8jbfera67] {
    max-height: 600px;
    overflow-y: auto;
    overflow-x: auto;
    border-top: 1px solid #e2e8f0;
}

.opening-stock-table[b-t8jbfera67] {
    width: 100%;
    min-width: 1150px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.84rem;
    text-align: left;
}

.opening-stock-table thead tr th[b-t8jbfera67] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f8fafc !important;
    color: #475569 !important;
    font-weight: 800 !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.7px !important;
    text-transform: uppercase !important;
    padding: 14px 16px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
}

.opening-stock-table tbody tr td[b-t8jbfera67] {
    padding: 13px 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #334155;
    vertical-align: middle !important;
    white-space: nowrap !important;
    background: #ffffff;
    transition: background 0.15s ease;
}

.opening-stock-table tbody tr:hover td[b-t8jbfera67] {
    background: #f8faff !important;
}

/* Column Width Specifications */
.th-sno[b-t8jbfera67], .td-sno[b-t8jbfera67] {
    width: 55px;
    min-width: 55px;
    text-align: center;
    color: #64748b;
    font-weight: 600;
}

.th-code[b-t8jbfera67], .td-code[b-t8jbfera67] {
    width: 115px;
    min-width: 110px;
}

.th-item[b-t8jbfera67], .td-item[b-t8jbfera67] {
    min-width: 220px;
    max-width: 280px;
}

.th-store[b-t8jbfera67], .td-store[b-t8jbfera67] {
    width: 180px;
    min-width: 160px;
}

.th-batch[b-t8jbfera67], .td-batch[b-t8jbfera67] {
    width: 120px;
    min-width: 110px;
    text-align: center;
}

.th-qty[b-t8jbfera67], .td-qty[b-t8jbfera67] {
    width: 105px;
    min-width: 95px;
    text-align: right;
}

.th-cost[b-t8jbfera67], .td-cost[b-t8jbfera67] {
    width: 115px;
    min-width: 105px;
    text-align: right;
}

.th-val[b-t8jbfera67], .td-val[b-t8jbfera67] {
    width: 130px;
    min-width: 120px;
    text-align: right;
}

.th-status[b-t8jbfera67], .td-status[b-t8jbfera67] {
    width: 130px;
    min-width: 120px;
    text-align: center;
}

/* Cell Elements */
.stock-code-badge[b-t8jbfera67] {
    background: #eef2ff;
    color: #4f46e5;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
    border: 1px solid #e0e7ff;
}

.item-name-wrap[b-t8jbfera67] {
    font-weight: 700;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-text[b-t8jbfera67] {
    color: #475569;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.batch-no-pill[b-t8jbfera67] {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.batch-pill-active[b-t8jbfera67] {
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.batch-pill-muted[b-t8jbfera67] {
    background: #f8fafc;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
}

.stock-status-tag[b-t8jbfera67] {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
}

.status-instock[b-t8jbfera67] {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.status-lowstock[b-t8jbfera67] {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.status-outofstock[b-t8jbfera67] {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

/* ─── Card View Grid ─── */
.items-card-grid[b-t8jbfera67] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.25rem;
    padding: 1.5rem;
}

.item-card[b-t8jbfera67] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.item-card:hover[b-t8jbfera67] {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.item-card-head[b-t8jbfera67] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.card-item-code[b-t8jbfera67] {
    font-size: 0.82rem;
    font-weight: 800;
    color: #4f46e5;
}

.detail-row[b-t8jbfera67] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    padding: 5px 0;
}

.detail-label[b-t8jbfera67] {
    color: #64748b;
}

.detail-value[b-t8jbfera67] {
    color: #1e293b;
    font-weight: 600;
}

/* ─── Pagination Bar ─── */
.pagination-controls-wrap[b-t8jbfera67] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.75rem;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    flex-wrap: wrap;
    gap: 10px;
}

.pagination-info-text[b-t8jbfera67] {
    font-size: 0.82rem;
    font-weight: 500;
    color: #64748b;
}

.pagination-bar[b-t8jbfera67] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-btn[b-t8jbfera67] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled)[b-t8jbfera67] {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1e293b;
}

.page-btn.active[b-t8jbfera67] {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
}

.page-btn:disabled[b-t8jbfera67] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ─── Dark Mode Support ─── */
[data-theme="dark"] .premium-header-card[b-t8jbfera67] {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .header-card-heading[b-t8jbfera67] {
    color: #f8fafc !important;
}

[data-theme="dark"] .header-card-icon[b-t8jbfera67] {
    background: #1e293b !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
    color: #818cf8 !important;
}

[data-theme="dark"] .btn-header-template[b-t8jbfera67] {
    background: #1e293b !important;
    color: #818cf8 !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
}

[data-theme="dark"] .glass-panel-card[b-t8jbfera67],
[data-theme="dark"] .stock-section-wrapper[b-t8jbfera67],
[data-theme="dark"] .item-card[b-t8jbfera67] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .panel-header-strip[b-t8jbfera67] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .panel-header-title[b-t8jbfera67] {
    color: #f8fafc !important;
}

[data-theme="dark"] .form-label-custom[b-t8jbfera67] {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .custom-select-input[b-t8jbfera67],
[data-theme="dark"] .items-search[b-t8jbfera67] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .custom-switch-card[b-t8jbfera67],
[data-theme="dark"] .info-guidance-card[b-t8jbfera67],
[data-theme="dark"] .dropzone-container[b-t8jbfera67],
[data-theme="dark"] .filter-store-group[b-t8jbfera67],
[data-theme="dark"] .btn-refresh-grid[b-t8jbfera67],
[data-theme="dark"] .view-toggle[b-t8jbfera67] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .custom-switch-card.active[b-t8jbfera67] {
    background: #064e3b !important;
    border-color: #059669 !important;
}

[data-theme="dark"] .switch-title[b-t8jbfera67],
[data-theme="dark"] .dropzone-text-main[b-t8jbfera67],
[data-theme="dark"] .toolbar-title-text[b-t8jbfera67],
[data-theme="dark"] .detail-value[b-t8jbfera67],
[data-theme="dark"] .item-name-wrap[b-t8jbfera67],
[data-theme="dark"] .filter-store-select[b-t8jbfera67] {
    color: #f8fafc !important;
}

[data-theme="dark"] .dropzone-icon[b-t8jbfera67] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .file-selected-badge-box[b-t8jbfera67] {
    background: #0f172a !important;
    border-color: #059669 !important;
}

[data-theme="dark"] .file-info-title[b-t8jbfera67] {
    color: #f8fafc !important;
}

[data-theme="dark"] .opening-stock-table thead tr th[b-t8jbfera67] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .opening-stock-table tbody tr td[b-t8jbfera67] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .opening-stock-table tbody tr:hover td[b-t8jbfera67] {
    background: #0f172a !important;
}

[data-theme="dark"] .stock-filters-toolbar[b-t8jbfera67],
[data-theme="dark"] .pagination-controls-wrap[b-t8jbfera67] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .page-btn[b-t8jbfera67] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .page-btn:hover:not(:disabled)[b-t8jbfera67] {
    background: #334155 !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .stat-metric-card[b-t8jbfera67] {
    background: #0f172a !important;
    border-color: #334155 !important;
}
/* /Components/Pages/OpStatusMaster.razor.rz.scp.css */
/* ========== PAGE LAYOUT ========== */
:global(.main-content):has(.cm-page)[b-yduc9wfuzp] {
    padding: 0 !important;
}

.cm-page[b-yduc9wfuzp] {
    padding: 0.8rem 1rem 1rem;
    background: #ffffff;
    min-height: 100vh;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* ========== HEADER CARD ========== */
.cm-header-card[b-yduc9wfuzp] {
    background: linear-gradient(100deg, #e0ebff 0%, #e8f0ff 100%);
    border-radius: 14px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(80, 80, 200, 0.07);
}

.cm-header-left[b-yduc9wfuzp] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cm-title[b-yduc9wfuzp] {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1e1b4b;
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cm-subtitle[b-yduc9wfuzp] {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 600;
}

.cm-header-right[b-yduc9wfuzp] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Search Box */
.cm-search-box[b-yduc9wfuzp] {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0.55rem 1.2rem 0.55rem 2.2rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    min-width: 240px;
}

.cm-search-icon[b-yduc9wfuzp] {
    position: absolute;
    left: 0.8rem;
    color: #9ca3af;
    font-size: 0.85rem;
}

.cm-search-input[b-yduc9wfuzp] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.83rem;
    color: #374151;
    width: 100%;
}

/* Filter Toggle */
.cm-filter-toggle[b-yduc9wfuzp] {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 50px;
    padding: 0.55rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.cm-filter-toggle:hover[b-yduc9wfuzp] {
    border-color: #4f46e5;
    color: #4f46e5;
}

.cm-filter-toggle.active[b-yduc9wfuzp] {
    background: #eef2ff;
    border-color: #6366f1;
    color: #4338ca;
    box-shadow: 0 2px 5px rgba(99, 102, 241, 0.2);
}

/* New Button */
.cm-btn-new[b-yduc9wfuzp] {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.3);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.cm-btn-new:hover[b-yduc9wfuzp] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(79, 70, 229, 0.4);
}

/* ========== TABLE CARD ========== */
.cm-table-card[b-yduc9wfuzp] {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(80, 80, 200, 0.07);
}

.table-responsive-container[b-yduc9wfuzp] {
    width: 100%;
    overflow-x: auto;
}

/* ========== TABLE ========== */
.cm-table[b-yduc9wfuzp] {
    width: 100%;
    border-collapse: collapse;
}

.cm-table tbody tr[b-yduc9wfuzp] {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.cm-table tbody tr:last-child[b-yduc9wfuzp] {
    border-bottom: none;
}

.cm-table tbody tr:hover[b-yduc9wfuzp] {
    background: #fafbff;
}

.cm-table td[b-yduc9wfuzp] {
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
    color: #374151;
    vertical-align: middle;
}

.cm-table th[b-yduc9wfuzp] {
    padding: 0.85rem 1rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: left;
    background: white;
    border-bottom: 2px solid #f3f4f6;
}

.col-orderno[b-yduc9wfuzp] {
    font-weight: 700;
    color: #4f46e5 !important;
}

.status-name-text[b-yduc9wfuzp] {
    font-weight: 600;
    color: #1e293b;
}

.usercode-badge[b-yduc9wfuzp] {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
}

/* Clickable Status Badge Button */
.status-badge-btn[b-yduc9wfuzp] {
    border: none;
    border-radius: 50px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.18s ease;
}

.status-badge-btn.badge-active[b-yduc9wfuzp] {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.status-badge-btn.badge-active:hover[b-yduc9wfuzp] {
    background: #bbf7d0;
    transform: scale(1.05);
}

.status-badge-btn.badge-inactive[b-yduc9wfuzp] {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.status-badge-btn.badge-inactive:hover[b-yduc9wfuzp] {
    background: #fecaca;
    transform: scale(1.05);
}

.col-date[b-yduc9wfuzp] {
    font-size: 0.78rem;
    color: #64748b;
    white-space: nowrap;
}

.col-action[b-yduc9wfuzp] {
    white-space: nowrap;
}

/* Action buttons */
.cm-action-btn[b-yduc9wfuzp] {
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    margin: 0 2px;
    color: #9ca3af;
    transition: all 0.15s;
}

.cm-action-btn.edit:hover[b-yduc9wfuzp] {
    border-color: #4f46e5;
    color: #4f46e5;
    background: #eef2ff;
}

.cm-action-btn.delete:hover[b-yduc9wfuzp] {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

/* Empty row */
.cm-empty-row[b-yduc9wfuzp] {
    text-align: center;
    padding: 3rem 1rem !important;
    color: #9ca3af;
    font-size: 0.85rem;
}

.cm-empty-row i[b-yduc9wfuzp] {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

/* ========== MODAL BACKDROP ========== */
.cm-backdrop[b-yduc9wfuzp] {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 40, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    backdrop-filter: blur(2px);
}

/* ========== MODAL ========== */
.cm-modal[b-yduc9wfuzp] {
    background: white;
    border-radius: 18px;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    animation: modalIn-b-yduc9wfuzp 0.18s ease;
    overflow: hidden;
}

@keyframes modalIn-b-yduc9wfuzp {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cm-modal-header[b-yduc9wfuzp] {
    padding: 1.4rem 1.8rem 1.1rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cm-modal-title[b-yduc9wfuzp] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.cm-close-btn[b-yduc9wfuzp] {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.cm-close-btn:hover[b-yduc9wfuzp] {
    color: #ef4444;
}

/* ========== MODAL BODY ========== */
.cm-modal-body[b-yduc9wfuzp] {
    padding: 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cm-field-group[b-yduc9wfuzp] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cm-label[b-yduc9wfuzp] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
}

.cm-input[b-yduc9wfuzp] {
    padding: 0.75rem 0.95rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cm-input:focus[b-yduc9wfuzp] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    background: #ffffff;
}

/* ========== MODAL FOOTER ========== */
.cm-modal-footer[b-yduc9wfuzp] {
    padding: 1.1rem 1.8rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    align-items: center;
}

.cm-btn-cancel[b-yduc9wfuzp] {
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s;
}

.cm-btn-cancel:hover[b-yduc9wfuzp] {
    background: #f1f5f9;
    color: #1e293b;
}

.cm-btn-save[b-yduc9wfuzp] {
    background: #4f46e5;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.25);
    transition: all 0.15s;
}

.cm-btn-save:hover:not(:disabled)[b-yduc9wfuzp] {
    background: #4338ca;
}

.cm-btn-danger[b-yduc9wfuzp] {
    background: #ef4444 !important;
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.25) !important;
}

.cm-btn-danger:hover:not(:disabled)[b-yduc9wfuzp] {
    background: #dc2626 !important;
}

/* ========== TABLE PAGINATION FOOTER ========== */
.cm-table-footer[b-yduc9wfuzp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    background: #ffffff;
    border-top: 1px solid #f3f4f6;
}

.cm-pagination-info[b-yduc9wfuzp] {
    font-size: 0.82rem;
    color: #64748b;
}

.cm-pagination-controls[b-yduc9wfuzp] {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.cm-pg-btn[b-yduc9wfuzp] {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.cm-pg-btn:hover:not(:disabled)[b-yduc9wfuzp] {
    background: #eef2ff;
    color: #4f46e5;
    border-color: #c7d2fe;
}

.cm-pg-btn.active[b-yduc9wfuzp] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
}

.cm-pg-btn:disabled[b-yduc9wfuzp] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========== DARK MODE SUPPORT ========== */
:host-context([data-theme="dark"]) .cm-page[b-yduc9wfuzp],
[data-theme="dark"] .cm-page[b-yduc9wfuzp] {
    background: #0b1120;
    color: #e2e8f0;
}

:host-context([data-theme="dark"]) .cm-header-card[b-yduc9wfuzp],
[data-theme="dark"] .cm-header-card[b-yduc9wfuzp] {
    background: linear-gradient(100deg, #1e293b 0%, #0f172a 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

:host-context([data-theme="dark"]) .cm-title[b-yduc9wfuzp],
[data-theme="dark"] .cm-title[b-yduc9wfuzp] {
    color: #f8fafc;
}

:host-context([data-theme="dark"]) .cm-search-box[b-yduc9wfuzp],
[data-theme="dark"] .cm-search-box[b-yduc9wfuzp] {
    background: #1e293b;
    border: 1px solid #334155;
}

:host-context([data-theme="dark"]) .cm-search-input[b-yduc9wfuzp],
[data-theme="dark"] .cm-search-input[b-yduc9wfuzp] {
    color: #f8fafc;
}

:host-context([data-theme="dark"]) .cm-filter-toggle[b-yduc9wfuzp],
[data-theme="dark"] .cm-filter-toggle[b-yduc9wfuzp] {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

:host-context([data-theme="dark"]) .cm-table-card[b-yduc9wfuzp],
[data-theme="dark"] .cm-table-card[b-yduc9wfuzp] {
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

:host-context([data-theme="dark"]) .cm-table th[b-yduc9wfuzp],
[data-theme="dark"] .cm-table th[b-yduc9wfuzp] {
    background: #0f172a;
    color: #94a3b8;
    border-bottom-color: #334155;
}

:host-context([data-theme="dark"]) .cm-table tbody tr[b-yduc9wfuzp],
[data-theme="dark"] .cm-table tbody tr[b-yduc9wfuzp] {
    border-bottom-color: #334155;
}

:host-context([data-theme="dark"]) .cm-table tbody tr:hover[b-yduc9wfuzp],
[data-theme="dark"] .cm-table tbody tr:hover[b-yduc9wfuzp] {
    background: #243247;
}

:host-context([data-theme="dark"]) .cm-table tbody td[b-yduc9wfuzp],
[data-theme="dark"] .cm-table tbody td[b-yduc9wfuzp] {
    color: #cbd5e1;
}

:host-context([data-theme="dark"]) .status-name-text[b-yduc9wfuzp],
[data-theme="dark"] .status-name-text[b-yduc9wfuzp] {
    color: #f8fafc;
}

:host-context([data-theme="dark"]) .usercode-badge[b-yduc9wfuzp],
[data-theme="dark"] .usercode-badge[b-yduc9wfuzp] {
    background: #334155;
    color: #e2e8f0;
}

:host-context([data-theme="dark"]) .cm-action-btn[b-yduc9wfuzp],
[data-theme="dark"] .cm-action-btn[b-yduc9wfuzp] {
    background: #0f172a;
    border-color: #334155;
}

:host-context([data-theme="dark"]) .cm-modal[b-yduc9wfuzp],
[data-theme="dark"] .cm-modal[b-yduc9wfuzp] {
    background: #1e293b;
    border: 1px solid #334155;
}

:host-context([data-theme="dark"]) .cm-modal-header[b-yduc9wfuzp],
:host-context([data-theme="dark"]) .cm-modal-footer[b-yduc9wfuzp],
[data-theme="dark"] .cm-modal-header[b-yduc9wfuzp],
[data-theme="dark"] .cm-modal-footer[b-yduc9wfuzp] {
    background: #0f172a;
    border-color: #334155;
}

:host-context([data-theme="dark"]) .cm-modal-title[b-yduc9wfuzp],
[data-theme="dark"] .cm-modal-title[b-yduc9wfuzp] {
    color: #f8fafc;
}

:host-context([data-theme="dark"]) .cm-label[b-yduc9wfuzp],
[data-theme="dark"] .cm-label[b-yduc9wfuzp] {
    color: #cbd5e1;
}

:host-context([data-theme="dark"]) .cm-input[b-yduc9wfuzp],
[data-theme="dark"] .cm-input[b-yduc9wfuzp] {
    background: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}

:host-context([data-theme="dark"]) .cm-btn-cancel[b-yduc9wfuzp],
[data-theme="dark"] .cm-btn-cancel[b-yduc9wfuzp] {
    background: #0f172a;
    border-color: #334155;
    color: #cbd5e1;
}

:host-context([data-theme="dark"]) .cm-table-footer[b-yduc9wfuzp],
[data-theme="dark"] .cm-table-footer[b-yduc9wfuzp] {
    background: #0f172a;
    border-color: #334155;
    color: #94a3b8;
}

:host-context([data-theme="dark"]) .cm-pg-btn[b-yduc9wfuzp],
[data-theme="dark"] .cm-pg-btn[b-yduc9wfuzp] {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

/* OP Status Master dashboard theme */
:global(html:has(.cm-page))[b-yduc9wfuzp],
:global(body:has(.cm-page))[b-yduc9wfuzp] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.cm-page))[b-yduc9wfuzp],
:global(.app-main-wrapper:has(.cm-page))[b-yduc9wfuzp] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.cm-page)[b-yduc9wfuzp] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.cm-page[b-yduc9wfuzp] {
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    padding: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.cm-header-card[b-yduc9wfuzp] {
    flex: 0 0 auto !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.cm-title[b-yduc9wfuzp] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}

.cm-subtitle[b-yduc9wfuzp] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
}

.cm-header-right[b-yduc9wfuzp] {
    gap: 0.65rem !important;
}

.cm-search-box[b-yduc9wfuzp] {
    min-width: 260px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    padding: 0 1rem 0 2.2rem !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
}

.cm-search-input[b-yduc9wfuzp] {
    font-size: 0.82rem !important;
}

.cm-search-box:focus-within[b-yduc9wfuzp] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.cm-filter-toggle[b-yduc9wfuzp] {
    height: 36px !important;
    padding: 0 0.85rem !important;
    border-radius: 10px !important;
    color: #0876ad !important;
    border: 1px solid #a9ddfa !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
}

.cm-filter-toggle.active[b-yduc9wfuzp] {
    background: #e4f4ff !important;
    color: #0876ad !important;
    border-color: #87ccef !important;
}

.cm-btn-new[b-yduc9wfuzp] {
    height: 36px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
    font-size: 0.82rem !important;
}

.cm-btn-new:hover[b-yduc9wfuzp] {
    background: #05689b !important;
}

.cm-table-card[b-yduc9wfuzp] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
}

.table-responsive-container[b-yduc9wfuzp] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
}

.cm-table[b-yduc9wfuzp] {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.cm-table thead tr th[b-yduc9wfuzp] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.7rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
}

.cm-table thead tr th:last-child[b-yduc9wfuzp] {
    border-right: none !important;
}

.cm-table tbody[b-yduc9wfuzp] {
    background: #ffffff !important;
}

.cm-table tbody tr[b-yduc9wfuzp] {
    height: 34px !important;
    min-height: 34px !important;
}

.cm-table tbody tr:nth-child(even)[b-yduc9wfuzp] {
    background: #fbfdff !important;
}

.cm-table tbody tr:hover[b-yduc9wfuzp] {
    background: #f0f8ff !important;
}

.cm-table tbody td[b-yduc9wfuzp] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.7rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    font-size: 0.76rem !important;
    color: #334155 !important;
    vertical-align: middle !important;
}

.col-orderno[b-yduc9wfuzp] {
    color: #47627b !important;
    font-weight: 700 !important;
}

.status-name-text[b-yduc9wfuzp] {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.usercode-badge[b-yduc9wfuzp] {
    background: #e4f4ff !important;
    color: #0876ad !important;
    border: 1px solid #a9ddfa !important;
    border-radius: 999px !important;
    padding: 1px 7px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
}

.status-badge-btn[b-yduc9wfuzp] {
    border-radius: 999px !important;
    padding: 2px 8px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    border: 1px solid transparent !important;
    display: inline-flex !important;
    align-items: center !important;
}

.status-badge-btn.badge-active[b-yduc9wfuzp] {
    background: #dcfce7 !important;
    color: #15803d !important;
    border-color: #bbf7d0 !important;
}

.status-badge-btn.badge-inactive[b-yduc9wfuzp] {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border-color: #fecaca !important;
}

.col-date[b-yduc9wfuzp] {
    color: #64748b !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
}

.col-action[b-yduc9wfuzp] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    height: 34px !important;
}

.cm-action-btn[b-yduc9wfuzp] {
    width: 26px !important;
    height: 26px !important;
    margin-right: 2px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
}

.cm-action-btn.edit:hover[b-yduc9wfuzp] {
    border-color: #bae6fd !important;
    color: #0369a1 !important;
    background: #f0f9ff !important;
}

.cm-action-btn.delete[b-yduc9wfuzp] {
    color: #dc2626 !important;
}

.cm-action-btn.delete:hover[b-yduc9wfuzp] {
    border-color: #fecaca !important;
    color: #dc2626 !important;
    background: #fef2f2 !important;
}

.cm-table-footer[b-yduc9wfuzp] {
    flex: 0 0 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    box-sizing: border-box !important;
    padding: 0 1rem !important;
    background: #ffffff !important;
    border-top: 1px solid #e5edf5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.cm-pagination-info[b-yduc9wfuzp] {
    font-size: 0.74rem !important;
}

.cm-pg-btn[b-yduc9wfuzp] {
    min-width: 26px !important;
    height: 24px !important;
    padding: 0 0.5rem !important;
    border-radius: 6px !important;
    color: #526b82 !important;
    font-size: 0.72rem !important;
}

.cm-pg-btn:hover:not(:disabled)[b-yduc9wfuzp] {
    background: #e4f4ff !important;
    color: #0876ad !important;
    border-color: #a9ddfa !important;
}

.cm-pg-btn.active[b-yduc9wfuzp] {
    background: #0876ad !important;
    border-color: #0876ad !important;
    color: #ffffff !important;
}

.cm-modal-title[b-yduc9wfuzp],
.cm-btn-save[b-yduc9wfuzp] {
    color: #07547c !important;
}

.cm-btn-save[b-yduc9wfuzp] {
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
}

.cm-btn-save:hover[b-yduc9wfuzp] {
    background: #05689b !important;
}

.cm-input:focus[b-yduc9wfuzp] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

@media (max-width: 900px) {
    .cm-header-card[b-yduc9wfuzp] {
        align-items: flex-start !important;
        flex-direction: column !important;
        flex-basis: auto !important;
        gap: 0.7rem !important;
    }

    .cm-header-right[b-yduc9wfuzp],
    .cm-search-box[b-yduc9wfuzp] {
        width: 100% !important;
    }

    .cm-header-right[b-yduc9wfuzp] {
        flex-wrap: wrap !important;
    }

    .cm-table-card[b-yduc9wfuzp] {
        overflow: auto !important;
    }
}
/* /Components/Pages/OPTokenDisplay.razor.rz.scp.css */
.op-signage-root[b-6xwmf62n69] {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #0c1527;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.kiosk-display[b-6xwmf62n69] {
    padding: 12px !important;
}

.glass-panel[b-6xwmf62n69] {
    height: calc(100vh - 24px) !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 10px 14px !important;
    position: relative;
    overflow: hidden;
}

.main-layout[b-6xwmf62n69] {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    height: auto !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    overflow: hidden;
}

/* ══════════════ TOP HEADER BAR WITH CENTER DOCTOR BANNER ══════════════ */
.signage-top-header[b-6xwmf62n69] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    margin-bottom: 8px;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 100;
    min-height: 52px;
    gap: 12px;
    flex-shrink: 0;
}

.header-left[b-6xwmf62n69] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.brand-badge[b-6xwmf62n69] {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1.5px solid rgba(2, 132, 199, 0.25);
    color: #0369a1;
    padding: 6px 14px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
}

.brand-badge i[b-6xwmf62n69] {
    color: #0284c7;
    font-size: 15px;
}

.header-center[b-6xwmf62n69] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 2;
    min-width: 0;
}

.top-doctor-banner[b-6xwmf62n69] {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 2px 8px;
}

.top-doctor-avatar-img[b-6xwmf62n69] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0284c7;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.22);
    flex-shrink: 0;
    background: #ffffff;
}

.top-doctor-avatar-initial[b-6xwmf62n69] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25);
    flex-shrink: 0;
    text-transform: uppercase;
}

.top-doctor-avatar-opd[b-6xwmf62n69] {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    font-size: 18px;
}

.top-doctor-text-wrap[b-6xwmf62n69] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    min-width: 0;
}

.top-doctor-title[b-6xwmf62n69] {
    font-size: 18px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
    white-space: nowrap;
}

.top-doctor-subtitle[b-6xwmf62n69] {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    white-space: nowrap;
}

.header-right[b-6xwmf62n69] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.doctor-quick-select-wrap[b-6xwmf62n69] {
    position: relative;
    display: flex;
    align-items: center;
}

.doctor-quick-select-wrap .doctor-select-icon[b-6xwmf62n69] {
    position: absolute;
    left: 12px;
    color: #0284c7;
    font-size: 14px;
    pointer-events: none;
    z-index: 2;
}

.doctor-quick-select[b-6xwmf62n69] {
    height: 38px;
    padding: 6px 14px 6px 34px;
    background: #ffffff;
    border: 1.5px solid #0284c7;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 800;
    color: #0369a1;
    cursor: pointer;
    outline: none;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.12);
    transition: all 0.2s ease;
    max-width: 250px;
}

.doctor-quick-select:focus[b-6xwmf62n69] {
    border-color: #0369a1;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.top-settings-btn[b-6xwmf62n69] {
    background: #ffffff;
    border: 1.5px solid rgba(2, 132, 199, 0.3);
    color: #0284c7;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.1);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.top-settings-btn:hover[b-6xwmf62n69] {
    background: #0284c7;
    color: #ffffff;
    transform: rotate(45deg);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.op-badge-pill[b-6xwmf62n69] {
    background: rgba(2, 132, 199, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.2);
}

/* ══════════════ 3 REGISTRATION TYPES BADGES & ACCENTS ══════════════ */
.op-type-badge[b-6xwmf62n69] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    text-transform: capitalize;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* 1. OP Consultation (Emerald / Cyan) */
.op-type-badge.type-op[b-6xwmf62n69] {
    background: #ecfdf5;
    color: #047857;
    border: 1.5px solid #a7f3d0;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.1);
}

/* 2. Dressing (Vibrant Purple) */
.op-type-badge.type-dressing[b-6xwmf62n69] {
    background: #f5f3ff;
    color: #6d28d9;
    border: 1.5px solid #ddd6fe;
    box-shadow: 0 2px 6px rgba(109, 40, 217, 0.12);
}

/* 3. Others (Warm Amber / Gold) */
.op-type-badge.type-others[b-6xwmf62n69] {
    background: #fffbeb;
    color: #b45309;
    border: 1.5px solid #fde68a;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.12);
}

/* Hero Badge Overrides */
.hero-cat-badge[b-6xwmf62n69] {
    font-size: 13px !important;
    padding: 5px 14px !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
}

/* ══════════════ CATEGORY FILTER PILLS BAR ══════════════ */
.op-cat-filter-wrapper[b-6xwmf62n69] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    padding: 4px 6px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.op-cat-pill-btn[b-6xwmf62n69] {
    border: none;
    background: transparent;
    padding: 5px 12px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.op-cat-pill-btn:hover[b-6xwmf62n69] {
    background: rgba(0, 0, 0, 0.04);
    color: #0f172a;
}

.op-cat-pill-btn.active-all[b-6xwmf62n69] {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

.op-cat-pill-btn.active-op[b-6xwmf62n69] {
    background: #059669;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
}

.op-cat-pill-btn.active-dressing[b-6xwmf62n69] {
    background: #7c3aed;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35);
}

.op-cat-pill-btn.active-others[b-6xwmf62n69] {
    background: #d97706;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

.cat-count-badge[b-6xwmf62n69] {
    background: rgba(255, 255, 255, 0.25);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 10.5px;
    font-weight: 800;
}

.op-cat-pill-btn:not([class*='active-']) .cat-count-badge[b-6xwmf62n69] {
    background: #e2e8f0;
    color: #475569;
}

/* ══════════════ ENHANCED ADMIN SETTINGS DRAWER ══════════════ */
.admin-drawer-backdrop[b-6xwmf62n69] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1050;
    animation: fadeInDrawer-b-6xwmf62n69 0.25s ease-out;
}

@keyframes fadeInDrawer-b-6xwmf62n69 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.admin-drawer-card[b-6xwmf62n69] {
    position: fixed;
    top: 0;
    right: 0;
    width: 440px;
    max-width: 92vw;
    height: 100vh;
    background: #ffffff !important;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    box-shadow: -15px 0 45px rgba(15, 23, 42, 0.25);
    animation: slideInRight-b-6xwmf62n69 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Inter', system-ui, sans-serif;
}

.admin-drawer-header[b-6xwmf62n69] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    flex-shrink: 0;
}

.drawer-header-icon[b-6xwmf62n69] {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.drawer-title[b-6xwmf62n69] {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.drawer-subtitle[b-6xwmf62n69] {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.drawer-close-btn[b-6xwmf62n69] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drawer-close-btn:hover[b-6xwmf62n69] {
    background: #f1f5f9;
    color: #0f172a;
    transform: rotate(90deg);
}

.admin-drawer-body[b-6xwmf62n69] {
    padding: 1.25rem 1.5rem;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    background: #ffffff !important;
}

.admin-drawer-body[b-6xwmf62n69]::-webkit-scrollbar {
    width: 6px;
}

.admin-drawer-body[b-6xwmf62n69]::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.admin-drawer-body[b-6xwmf62n69]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.admin-drawer-body[b-6xwmf62n69]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.settings-section[b-6xwmf62n69] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    transition: all 0.2s ease;
}

.settings-section:hover[b-6xwmf62n69] {
    border-color: #cbd5e1;
}

.settings-section-header[b-6xwmf62n69] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-section-icon-badge[b-6xwmf62n69] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.settings-section-title[b-6xwmf62n69] {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.2px;
    margin: 0;
}

.settings-field[b-6xwmf62n69] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.settings-label[b-6xwmf62n69] {
    font-size: 12px;
    font-weight: 700;
    color: #475569 !important;
    margin: 0;
}

.settings-input-group[b-6xwmf62n69] {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.settings-input-group .input-icon[b-6xwmf62n69] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 15px;
    pointer-events: none;
    z-index: 2;
}

.settings-input[b-6xwmf62n69],
.settings-select[b-6xwmf62n69] {
    width: 100% !important;
    height: 42px !important;
    padding: 8px 14px 8px 38px !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    outline: none !important;
}

.settings-input:focus[b-6xwmf62n69],
.settings-select:focus[b-6xwmf62n69] {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
    background: #ffffff !important;
    color: #0f172a !important;
}

.settings-select[b-6xwmf62n69] {
    cursor: pointer;
    appearance: auto;
}

.settings-info-callout[b-6xwmf62n69] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 11.5px;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.4;
}

.settings-info-callout i[b-6xwmf62n69] {
    color: #0284c7;
    font-size: 13px;
    margin-top: 1px;
    flex-shrink: 0;
}

.settings-sliders-grid[b-6xwmf62n69] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.settings-slider-card[b-6xwmf62n69] {
    background: #ffffff;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.slider-label-row[b-6xwmf62n69] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-badge[b-6xwmf62n69] {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
}

.settings-range[b-6xwmf62n69] {
    width: 100%;
    accent-color: #0284c7;
    cursor: pointer;
    height: 6px;
    border-radius: 4px;
}

.btn-settings-test[b-6xwmf62n69] {
    width: 100%;
    padding: 10px 16px;
    background: #ffffff;
    border: 1.5px solid #0284c7;
    color: #0284c7;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-settings-test:hover[b-6xwmf62n69] {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-settings-reset[b-6xwmf62n69] {
    width: 100%;
    padding: 9px 14px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-settings-reset:hover[b-6xwmf62n69] {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-settings-dashboard[b-6xwmf62n69] {
    width: 100%;
    padding: 12px 18px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #ffffff !important;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
    transition: all 0.2s ease;
}

.btn-settings-dashboard:hover[b-6xwmf62n69] {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35);
}

/* Card Time & Patient Name Refinements for OP Grid View (Center Aligned) */
.queue-card .card-info[b-6xwmf62n69] {
    text-align: center !important;
    margin: 4px 0 6px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px;
    padding-left: 0 !important;
}

.queue-card .card-name[b-6xwmf62n69] {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center !important;
}

.queue-card .card-time[b-6xwmf62n69] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    gap: 5px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    text-align: center !important;
}

.queue-card .card-time i[b-6xwmf62n69] {
    color: #0284c7 !important;
    font-size: 12px !important;
}

/* Horizontal Row / Card View (Left Aligned) */
.queue-row .row-name[b-6xwmf62n69] {
    text-align: left !important;
    justify-content: flex-start !important;
}

.queue-row .row-time[b-6xwmf62n69] {
    text-align: left !important;
    justify-content: flex-start !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

@keyframes slideInRight-b-6xwmf62n69 {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* ══════════════ CLEAN IDLE / STANDBY DISPLAY (NO TOKENS) ══════════════ */
.idle-standby-display[b-6xwmf62n69] {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(135% 100% at 50% 15%, #f8fafc 0%, #eef6ff 45%, #e0f2fe 100%);
}

.idle-settings-btn[b-6xwmf62n69] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(2, 132, 199, 0.25);
    color: #0284c7;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

.idle-settings-btn:hover[b-6xwmf62n69] {
    background: #0284c7;
    color: #ffffff;
    transform: rotate(45deg) scale(1.05);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.25);
}

.idle-standby-content[b-6xwmf62n69] {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
    max-width: 860px;
    width: 90%;
    padding: 3.5rem 4.5rem;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    border-radius: 36px;
    box-shadow: 0 25px 60px -12px rgba(2, 132, 199, 0.15), 0 0 0 1px rgba(2, 132, 199, 0.08), inset 0 1px 2px rgba(255, 255, 255, 1);
    animation: fadeInScale-b-6xwmf62n69 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInScale-b-6xwmf62n69 {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.idle-header-brand[b-6xwmf62n69] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.idle-hospital-pill[b-6xwmf62n69] {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 249, 255, 0.9) 100%);
    border: 1.5px solid rgba(2, 132, 199, 0.28);
    color: #0369a1;
    padding: 10px 28px;
    border-radius: 30px;
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: all 0.3s ease;
}

.idle-hospital-pill i[b-6xwmf62n69] {
    font-size: 1.25rem;
    color: #0284c7;
}

.idle-title-group[b-6xwmf62n69] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    text-align: center;
    width: 100%;
}

.idle-dept-title[b-6xwmf62n69] {
    font-size: 46px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1.15;
    background: linear-gradient(135deg, #0f172a 0%, #0369a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.idle-dept-subtitle[b-6xwmf62n69] {
    font-size: 20px;
    font-weight: 700;
    color: #475569;
    margin: 0;
    letter-spacing: 0.5px;
}

.idle-clock-card[b-6xwmf62n69] {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 1);
    border-radius: 28px;
    padding: 2.2rem 4.5rem;
    box-shadow: 0 18px 40px rgba(2, 132, 199, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 580px;
}

.idle-clock-time[b-6xwmf62n69] {
    font-size: 74px;
    font-weight: 900;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -2px;
}

.idle-clock-sec[b-6xwmf62n69] {
    font-size: 38px;
    font-weight: 800;
    color: #0284c7;
    opacity: 0.95;
}

.idle-clock-ampm[b-6xwmf62n69] {
    font-size: 26px;
    font-weight: 800;
    color: #64748b;
    margin-left: 8px;
    letter-spacing: 1px;
}

.idle-clock-divider[b-6xwmf62n69] {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(2, 132, 199, 0.2) 50%, transparent 100%);
    margin: 1.35rem 0 1.15rem 0;
}

.idle-clock-date[b-6xwmf62n69] {
    font-size: 16.5px;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    letter-spacing: 0.4px;
}

.idle-clock-date i[b-6xwmf62n69] {
    color: #0284c7;
    font-size: 1.1rem;
}

.idle-footer-status[b-6xwmf62n69] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.idle-status-indicator[b-6xwmf62n69] {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(240, 253, 244, 0.95);
    border: 1.5px solid rgba(22, 163, 74, 0.3);
    color: #15803d;
    padding: 10px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(22, 163, 74, 0.12);
}

.idle-pulse-dot[b-6xwmf62n69] {
    width: 12px;
    height: 12px;
    background-color: #16a34a;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
    animation: idlePulse-b-6xwmf62n69 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes idlePulse-b-6xwmf62n69 {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
    }
}

/* /Components/Pages/OtConsole.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════
   OPERATION THEATER CLINICAL CONSOLE — Scoped Styles
   Design: Doctor Patient List Dashboard & CaseSheet Workspace UI
   Theme: Medico Professional (#034f75 / #026aa7 / #0284c7)
   ═══════════════════════════════════════════════════════════════════ */

/* Background Blobs & Animation */
.animated-background[b-crtylqsl1c] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.floating-blob[b-crtylqsl1c] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: floatBlob-b-crtylqsl1c 20s infinite alternate;
}

.blob-1[b-crtylqsl1c] {
    width: 450px;
    height: 450px;
    background: #e2f1ff;
    top: -5%;
    left: -5%;
}

.blob-2[b-crtylqsl1c] {
    width: 450px;
    height: 450px;
    background: #f1f5f9;
    bottom: -10%;
    right: -5%;
}

@keyframes floatBlob-b-crtylqsl1c {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

/* Dashboard Container */
.dashboard-container[b-crtylqsl1c] {
    margin: 1.25rem auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 3rem);
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
}

/* Dashboard Header */
.dashboard-header[b-crtylqsl1c] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.dashboard-title h1[b-crtylqsl1c] {
    font-size: 1.65rem;
    font-weight: 800;
    color: #034f75;
    letter-spacing: -0.5px;
    margin: 0 0 0.2rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-title p[b-crtylqsl1c] {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
}

.header-actions-group[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.btn-header-action[b-crtylqsl1c] {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #0369a1;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-header-action:hover:not(:disabled)[b-crtylqsl1c] {
    background: #f0f9ff;
    border-color: #0284c7;
    color: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.12);
}

.btn-header-primary[b-crtylqsl1c] {
    background: linear-gradient(135deg, #034f75 0%, #0284c7 100%);
    border: 1.5px solid transparent;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.35rem 0.95rem;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.2);
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-header-primary:hover:not(:disabled)[b-crtylqsl1c] {
    background: linear-gradient(135deg, #024160 0%, #026aa7 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* Stats Popup Overlay */
.stats-popup-card[b-crtylqsl1c] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 10000;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    min-width: 290px;
    animation: fadeInSlide-b-crtylqsl1c 0.2s ease-out;
}

@keyframes fadeInSlide-b-crtylqsl1c {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.stats-popup-header[b-crtylqsl1c] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #f1f5f9;
}

.stats-popup-header span[b-crtylqsl1c] {
    font-size: 0.68rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-popup-header .close-btn[b-crtylqsl1c] {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.15s ease;
}

.stats-popup-header .close-btn:hover[b-crtylqsl1c] {
    color: #475569;
}

.stats-popup-list[b-crtylqsl1c] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.stat-popup-item[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: all 0.15s ease;
}

.stat-popup-item:hover[b-crtylqsl1c] {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.stat-popup-item i[b-crtylqsl1c] {
    font-size: 0.95rem;
    margin-right: 0.65rem;
    width: 20px;
    text-align: center;
}

.stat-popup-item.blue i[b-crtylqsl1c] { color: #0284c7; }
.stat-popup-item.green i[b-crtylqsl1c] { color: #059669; }
.stat-popup-item.orange i[b-crtylqsl1c] { color: #d97706; }
.stat-popup-item.purple i[b-crtylqsl1c] { color: #7c3aed; }

.stat-popup-item .label[b-crtylqsl1c] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    flex-grow: 1;
}

.stat-popup-item .num[b-crtylqsl1c] {
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.1rem 0.5rem;
    border-radius: 12px;
}

.stat-popup-item.blue .num[b-crtylqsl1c] { background: #e0f2fe; color: #0369a1; }
.stat-popup-item.green .num[b-crtylqsl1c] { background: #d1fae5; color: #065f46; }
.stat-popup-item.orange .num[b-crtylqsl1c] { background: #fef3c7; color: #b45309; }
.stat-popup-item.purple .num[b-crtylqsl1c] { background: #f3e8ff; color: #5b21b6; }

/* Dashboard Tabs (Doctor Patient List Style) */
.medico-tabs[b-crtylqsl1c] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    border-bottom: 2px solid rgba(2, 132, 199, 0.1);
    padding-bottom: 2px;
}

.tab-btn[b-crtylqsl1c] {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #64748b;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover[b-crtylqsl1c] {
    color: #034f75;
}

.tab-btn.active[b-crtylqsl1c] {
    color: #0284c7;
    border-bottom-color: #0284c7;
}

.tab-btn i[b-crtylqsl1c] {
    font-size: 1.1rem;
}

/* Filter Card */
.filter-card[b-crtylqsl1c] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.45rem 0.65rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    overflow: visible;
}

.filter-flex[b-crtylqsl1c] {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    align-items: flex-end;
    width: 100%;
}

.filter-flex .filter-group[b-crtylqsl1c] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1 1 auto;
}

.filter-flex .filter-date-col[b-crtylqsl1c] {
    flex: 0 0 115px;
    max-width: 115px;
}

.filter-flex .filter-doc-col[b-crtylqsl1c] {
    flex: 1.1 1 120px;
    min-width: 100px;
}

.filter-flex .filter-status-col[b-crtylqsl1c] {
    flex: 0.9 1 100px;
    min-width: 85px;
}

.filter-flex .filter-type-col[b-crtylqsl1c] {
    flex: 0.8 1 85px;
    min-width: 75px;
}

.filter-flex .filter-slot-col[b-crtylqsl1c] {
    flex: 0.85 1 95px;
    min-width: 80px;
}

.filter-flex .filter-pagination-col[b-crtylqsl1c] {
    flex: 0.5 1 60px;
    min-width: 55px;
}

.filter-flex .filter-search-col[b-crtylqsl1c] {
    flex: 1.3 1 130px;
    min-width: 110px;
}

.filter-flex .filter-action-group[b-crtylqsl1c] {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
}

.filter-flex .filter-label[b-crtylqsl1c] {
    font-size: 0.65rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    margin-bottom: 0;
}

.filter-flex .filter-select[b-crtylqsl1c],
.filter-flex .filter-input[b-crtylqsl1c] {
    background: #ffffff;
    border: 1.2px solid #cbd5e1;
    border-radius: 7px;
    padding: 0.2rem 0.45rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: #334155;
    height: 32px;
    line-height: 1.3;
    transition: all 0.15s ease-in-out;
    box-sizing: border-box;
    width: 100%;
}

.filter-flex .filter-select:focus[b-crtylqsl1c],
.filter-flex .filter-input:focus[b-crtylqsl1c] {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}

.filter-flex .btn-reset[b-crtylqsl1c] {
    background: #ffffff;
    border: 1.2px solid #0284c7;
    color: #0284c7;
    font-weight: 700;
    font-size: 0.76rem;
    padding: 0.2rem 0.65rem;
    border-radius: 7px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease-in-out;
    box-sizing: border-box;
}

.filter-flex .btn-reset:hover[b-crtylqsl1c] {
    background: #f0f9ff;
    border-color: #0284c7;
}

/* Table Card & Sticky Table */
.table-card[b-crtylqsl1c] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.table-responsive[b-crtylqsl1c] {
    overflow-x: auto;
    overflow-y: auto;
    max-height: calc(100vh - 295px);
    min-height: 300px;
    flex: 1;
}

.medico-table[b-crtylqsl1c] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.medico-table th[b-crtylqsl1c] {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0.55rem 0.65rem;
    background: #026aa7;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: none;
    white-space: nowrap;
}

.medico-table th:last-child[b-crtylqsl1c] {
    border-right: none;
}

.medico-table td[b-crtylqsl1c] {
    padding: 0.45rem 0.65rem;
    border-bottom: 1px solid #eaecf0;
    background-color: #ffffff;
    color: #344054;
    font-weight: 500;
    font-size: 0.78rem;
    vertical-align: middle;
}

.medico-table tr.clickable-row[b-crtylqsl1c] {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.medico-table tr.clickable-row:hover td[b-crtylqsl1c] {
    background-color: #f0f9ff !important;
}

/* Row Specific Cells */
.row-patient-cell[b-crtylqsl1c] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.patient-primary-name[b-crtylqsl1c] {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.82rem;
    letter-spacing: -0.2px;
}

.proc-name-text[b-crtylqsl1c] {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.8rem;
}

.doc-info-col[b-crtylqsl1c] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.doc-name-text[b-crtylqsl1c] {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.82rem;
}

.doc-qual-text[b-crtylqsl1c] {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.2;
}

.slot-info-col[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
}

.slot-theater-text[b-crtylqsl1c] {
    font-weight: 700;
    color: #034f75;
}

.slot-time-text[b-crtylqsl1c] {
    color: #475569;
    font-weight: 500;
}

.patient-mrd-sub[b-crtylqsl1c] {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
}

/* Status & Priority Pills */
.status-pill[b-crtylqsl1c] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.2px;
}

.status-pill.requested[b-crtylqsl1c] { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.status-pill.scheduled[b-crtylqsl1c] { background: #ede9fe; color: #6d28d9; border: 1px solid #ddd6fe; }
.status-pill.in-op[b-crtylqsl1c] { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.status-pill.recovery[b-crtylqsl1c] { background: #fef08a; color: #854d0e; border: 1px solid #fde047; }
.status-pill.completed[b-crtylqsl1c] { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.status-pill.cancelled[b-crtylqsl1c] { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

.priority-pill[b-crtylqsl1c] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.priority-pill.emergency[b-crtylqsl1c] { background: #dc2626; color: #ffffff; animation: pulseRed-b-crtylqsl1c 2s infinite; }
.priority-pill.urgent[b-crtylqsl1c] { background: #f97316; color: #ffffff; }
.priority-pill.routine[b-crtylqsl1c] { background: #0284c7; color: #ffffff; }
.priority-pill.elective[b-crtylqsl1c] { background: #64748b; color: #ffffff; }

@keyframes pulseRed-b-crtylqsl1c {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

.surgeon-badge[b-crtylqsl1c] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #034f75;
    font-weight: 700;
}

.theater-badge[b-crtylqsl1c] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.72rem;
}

.badge-time[b-crtylqsl1c] {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 600;
}

/* Actions Dropdown */
.actions-dropdown-container[b-crtylqsl1c] {
    position: relative;
    display: inline-block;
}

.btn-action-trigger[b-crtylqsl1c] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-action-trigger:hover[b-crtylqsl1c] {
    background: #f1f5f9;
    color: #026aa7;
    border-color: #94a3b8;
}

.actions-dropdown-menu[b-crtylqsl1c] {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    min-width: 140px;
    z-index: 100;
    padding: 4px;
    animation: fadeInSlide-b-crtylqsl1c 0.15s ease-out;
}

.dropdown-item[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 6px 8px;
    border: none;
    background: transparent;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease;
}

.dropdown-item:hover[b-crtylqsl1c] {
    background: #f1f5f9;
    color: #026aa7;
}

.dropdown-item.text-danger:hover[b-crtylqsl1c] {
    background: #fee2e2;
    color: #b91c1c;
}

/* Empty State */
.empty-state[b-crtylqsl1c] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
    color: #64748b;
}

.empty-icon[b-crtylqsl1c] {
    font-size: 2.5rem;
    color: #cbd5e1;
    margin-bottom: 0.75rem;
}

.empty-title[b-crtylqsl1c] {
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.25rem;
}

.empty-sub[b-crtylqsl1c] {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.btn-primary-compact[b-crtylqsl1c] {
    background: #026aa7;
    color: #ffffff;
    border: none;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Pagination Footer */
.pagination-footer[b-crtylqsl1c] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-top: 1px solid #eaecf0;
    background-color: #ffffff;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    margin-top: -1px;
}

.pagination-info[b-crtylqsl1c] {
    font-size: 0.8rem;
    color: #64748b;
}

.pagination-info-highlight[b-crtylqsl1c] {
    font-weight: 700;
    color: #334155;
}

.pagination-btns[b-crtylqsl1c] {
    display: flex;
    gap: 4px;
    align-items: center;
}

.pagination-btns .page-btn[b-crtylqsl1c] {
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #475569;
    font-weight: 600;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pagination-btns .page-btn:hover:not(.active):not(:disabled)[b-crtylqsl1c] {
    background: #f0f9ff;
    border-color: #0284c7;
    color: #0284c7;
}

.pagination-btns .page-btn:disabled[b-crtylqsl1c] {
    opacity: 0.45;
    cursor: not-allowed;
}

.pagination-btns .page-btn.active[b-crtylqsl1c] {
    background: #026aa7;
    border-color: #026aa7;
    color: #ffffff;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════════
   CASESHEET-STYLE POPUP WORKSPACE MODAL
   ═══════════════════════════════════════════════════════════════════ */
.casesheet-backdrop[b-crtylqsl1c] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn-b-crtylqsl1c 0.25s ease-out;
}

.casesheet-modal[b-crtylqsl1c] {
    background: #ffffff;
    border-radius: 18px;
    width: 95vw;
    height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    animation: slideUp-b-crtylqsl1c 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes fadeIn-b-crtylqsl1c {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp-b-crtylqsl1c {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* CaseSheet Header */
.casesheet-header[b-crtylqsl1c] {
    background: linear-gradient(135deg, #034f75 0%, #026aa7 100%);
    padding: 0.85rem 1.5rem;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(3, 79, 117, 0.15);
    flex-shrink: 0;
}

.header-patient-info[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.patient-avatar[b-crtylqsl1c] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.patient-meta[b-crtylqsl1c] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.patient-title[b-crtylqsl1c] {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.patient-sub[b-crtylqsl1c] {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.patient-cust-badge[b-crtylqsl1c] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
}

.badge-mrd[b-crtylqsl1c] { background: rgba(255, 255, 255, 0.2); color: #ffffff; }
.badge-theater-slot[b-crtylqsl1c] { background: #e0f2fe; color: #0369a1; }
.badge-priority-flag[b-crtylqsl1c] { background: #fef08a; color: #854d0e; }

.btn-close-modal[b-crtylqsl1c] {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.btn-close-modal:hover[b-crtylqsl1c] {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Tabs Bar */
.casesheet-tabs-container[b-crtylqsl1c] {
    background: #f8fafc;
    border-bottom: 1px solid #cbd5e1;
    display: flex;
    padding: 0 1rem;
    gap: 0.35rem;
    overflow-x: auto;
    flex-shrink: 0;
}

.casesheet-tab-btn[b-crtylqsl1c] {
    padding: 0.75rem 1.1rem;
    font-weight: 600;
    font-size: 0.82rem;
    color: #64748b;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.casesheet-tab-btn:hover[b-crtylqsl1c] {
    color: #0284c7;
}

.casesheet-tab-btn.active[b-crtylqsl1c] {
    color: #034f75;
    font-weight: 700;
}

.casesheet-tab-btn.active[b-crtylqsl1c]::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #034f75;
    border-radius: 3px 3px 0 0;
}

.tab-check-tick[b-crtylqsl1c] {
    color: #059669;
    font-size: 0.75rem;
}

/* CaseSheet Workspace Body */
.casesheet-body[b-crtylqsl1c] {
    flex: 1;
    display: flex;
    overflow: hidden;
    background: #ffffff;
}

.workspace-full-width[b-crtylqsl1c] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 1.25rem 1.75rem;
    background: #ffffff;
}

.casesheet-tab-pane[b-crtylqsl1c] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    animation: fadeIn-b-crtylqsl1c 0.2s ease-out;
}

/* CaseSheet Footer */
.casesheet-footer[b-crtylqsl1c] {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.footer-left[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-footer-status[b-crtylqsl1c] {
    background: #ffffff;
    border: 1.2px solid #cbd5e1;
    color: #334155;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.15s ease;
}

.btn-footer-status:hover[b-crtylqsl1c] {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.footer-right[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.btn-footer-secondary[b-crtylqsl1c] {
    background: #ffffff;
    border: 1.2px solid #cbd5e1;
    color: #475569;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-footer-secondary:hover[b-crtylqsl1c] {
    background: #f1f5f9;
    color: #1e293b;
}

.btn-footer-primary[b-crtylqsl1c] {
    background: linear-gradient(135deg, #034f75 0%, #0284c7 100%);
    border: 1px solid transparent;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.45rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
    transition: all 0.2s ease;
}

.btn-footer-primary:hover:not(:disabled)[b-crtylqsl1c] {
    background: linear-gradient(135deg, #024160 0%, #026aa7 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

.btn-footer-primary:disabled[b-crtylqsl1c] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════════
   TAB 1: CLINICAL REQUEST ENHANCED UI & MODERN CARDS
   ═══════════════════════════════════════════════════════════════════ */

/* Section Header */
.clinical-section-header[b-crtylqsl1c] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1.5px solid #f1f5f9;
}

.clinical-section-title[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.section-icon-badge[b-crtylqsl1c] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.section-main-heading[b-crtylqsl1c] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #034f75;
    margin: 0;
    line-height: 1.2;
}

.section-sub-heading[b-crtylqsl1c] {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
}

.btn-card-edit-action[b-crtylqsl1c] {
    background: #ffffff;
    border: 1.5px solid #0284c7;
    color: #0284c7;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.08);
    transition: all 0.2s ease;
}

.btn-card-edit-action:hover[b-crtylqsl1c] {
    background: #0284c7;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

/* Surgery Request Table (Matching Image 2) */
.directory-section[b-crtylqsl1c] {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.lc-table-container[b-crtylqsl1c] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-crtylqsl1c],
.ot-schedule-table[b-crtylqsl1c] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-crtylqsl1c],
.ot-schedule-table thead tr[b-crtylqsl1c] {
    background: #fafbfc;
    border-bottom: 1.5px solid #e2e8f0;
}

.lc-table th[b-crtylqsl1c],
.ot-schedule-table th[b-crtylqsl1c] {
    padding: 0.85rem 1rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.lc-table td[b-crtylqsl1c],
.ot-schedule-table td[b-crtylqsl1c] {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    vertical-align: middle;
}

.lc-table tbody tr:last-child td[b-crtylqsl1c],
.ot-schedule-table tbody tr:last-child td[b-crtylqsl1c] {
    border-bottom: none;
}

.lc-table-row:hover[b-crtylqsl1c] {
    background: rgba(248, 250, 252, 0.9);
}

.table-inline-edit-row[b-crtylqsl1c] {
    background: #ffffff !important;
}

.table-inline-edit-row td[b-crtylqsl1c] {
    padding: 0.5rem 0.6rem !important;
    vertical-align: middle !important;
}

.patient-cell-inline[b-crtylqsl1c] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.patient-avatar-box[b-crtylqsl1c] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eef2ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.patient-avatar-box.small[b-crtylqsl1c] {
    width: 28px;
    height: 28px;
    font-size: 14px;
}

.patient-name-title[b-crtylqsl1c] {
    font-weight: 700;
    color: #1e293b;
    font-size: 13px;
    line-height: 1.2;
}

.doctor-cell-stack[b-crtylqsl1c] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lc-circle-btn-32[b-crtylqsl1c] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #64748b;
}

.lc-circle-btn-32:hover[b-crtylqsl1c] {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4f46e5;
    transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════════════
   MODAL POPUP SYSTEM (ADD/EDIT SURGERY REQUEST & STATUS MODALS)
   ═══════════════════════════════════════════════════════════════════ */

.modal-overlay[b-crtylqsl1c] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2500;
    backdrop-filter: blur(6px);
    animation: fadeIn-b-crtylqsl1c 0.2s ease-out;
}

.modal-form-card[b-crtylqsl1c] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 860px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.35);
    animation: slideUp-b-crtylqsl1c 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-surgery-request-card[b-crtylqsl1c] {
    max-width: 860px !important;
    border-radius: 16px !important;
}

.modal-header-bar[b-crtylqsl1c] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-title-box[b-crtylqsl1c],
.modal-header-left[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.modal-header-title-box .header-icon[b-crtylqsl1c],
.modal-header-icon-box[b-crtylqsl1c] {
    font-size: 22px;
    color: #4f46e5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-title-text[b-crtylqsl1c] {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.modal-subtitle-text[b-crtylqsl1c] {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.modal-close-btn[b-crtylqsl1c] {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    font-size: 1.2rem;
    line-height: 1;
}

.modal-close-btn:hover[b-crtylqsl1c] {
    color: #ef4444;
    background: #fef2f2;
}

/* Modal Tab Bar */
.modal-tab-bar[b-crtylqsl1c] {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0 24px;
}

.modal-tab-btn[b-crtylqsl1c] {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.modal-tab-btn:hover[b-crtylqsl1c] {
    color: #4f46e5;
    background-color: rgba(238, 242, 255, 0.5);
}

.modal-tab-btn.active[b-crtylqsl1c] {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
    background-color: #ffffff;
}

.modal-body[b-crtylqsl1c],
.modal-body-content[b-crtylqsl1c] {
    padding: 22px 24px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.modal-footer-bar[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 14px 24px;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

/* Form Grid & Layout inside Modal */
.form-grid-2[b-crtylqsl1c] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-grid-3[b-crtylqsl1c] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.form-grid-4[b-crtylqsl1c] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.form-group[b-crtylqsl1c] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    position: relative;
}

.form-group label[b-crtylqsl1c] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Inputs inside Modal */
.lab-input[b-crtylqsl1c] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
    box-sizing: border-box;
}

.lab-input:focus[b-crtylqsl1c] {
    outline: none;
    border-color: #4f46e5;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lab-input.with-icon[b-crtylqsl1c] {
    padding-left: 36px;
}

.lab-input:disabled[b-crtylqsl1c],
.lab-input[readonly][b-crtylqsl1c] {
    background-color: #f1f5f9;
    color: #475569;
    cursor: not-allowed;
}

textarea.lab-input[b-crtylqsl1c] {
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
}

select.lab-input[b-crtylqsl1c] {
    cursor: pointer;
}

/* Patient Search Autocomplete inside Modal */
.patient-search-container[b-crtylqsl1c] {
    position: relative;
}

.patient-search-input-wrapper[b-crtylqsl1c] {
    position: relative;
    width: 100%;
}

.search-input-icon[b-crtylqsl1c] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}

.patient-dropdown-menu[b-crtylqsl1c] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 240px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    z-index: 2600;
}

.patient-dropdown-item[b-crtylqsl1c] {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background-color 0.15s;
}

.patient-dropdown-item:last-child[b-crtylqsl1c] {
    border-bottom: none;
}

.patient-dropdown-item:hover[b-crtylqsl1c] {
    background-color: #eef2ff;
}

.selected-patient-badge[b-crtylqsl1c] {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-clear-patient[b-crtylqsl1c] {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-clear-patient:hover[b-crtylqsl1c] {
    background-color: #fee2e2;
    color: #ef4444;
}

.btn-save[b-crtylqsl1c] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 9px 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover:not(:disabled)[b-crtylqsl1c] {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-crtylqsl1c] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-primary-outline[b-crtylqsl1c] {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    color: #4f46e5;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 9px 18px;
    border-radius: 8px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.btn-primary-outline:hover[b-crtylqsl1c] {
    background-color: #e0e7ff;
    border-color: #a5b4fc;
}

.btn-secondary-outline[b-crtylqsl1c] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 9px 18px;
    border-radius: 8px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.btn-secondary-outline:hover[b-crtylqsl1c] {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

/* Structured Table inside Billing Tab */
.structured-table-card[b-crtylqsl1c] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.structured-table[b-crtylqsl1c] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.structured-table thead tr[b-crtylqsl1c] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.structured-table th[b-crtylqsl1c] {
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.structured-table td[b-crtylqsl1c] {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.structured-table tbody tr:hover[b-crtylqsl1c] {
    background: #f8fafc;
}

.structured-table tbody tr.table-row-selected[b-crtylqsl1c] {
    background: #eef2ff !important;
}

.structured-table tfoot td[b-crtylqsl1c] {
    padding: 10px 14px;
    border-top: 2px solid #e2e8f0;
}

/* Status Modal Buttons */
.btn-modal-cancel[b-crtylqsl1c] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modal-cancel:hover[b-crtylqsl1c] {
    background: #f1f5f9;
}

.btn-modal-save[b-crtylqsl1c] {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
    transition: all 0.2s;
}

.btn-modal-save:hover[b-crtylqsl1c] {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

/* Status Modal Choices */
.status-choice-btn[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.status-choice-btn:hover[b-crtylqsl1c] {
    border-color: #0284c7;
    background: #f0f9ff;
}

.status-choice-btn.active-requested[b-crtylqsl1c] { border-color: #f59e0b; background: #fffbeb; }
.status-choice-btn.active-scheduled[b-crtylqsl1c] { border-color: #0284c7; background: #f0f9ff; }
.status-choice-btn.active-inprogress[b-crtylqsl1c] { border-color: #7c3aed; background: #f5f3ff; }
.status-choice-btn.active-completed[b-crtylqsl1c] { border-color: #10b981; background: #ecfdf5; }
.status-choice-btn.active-cancelled[b-crtylqsl1c] { border-color: #ef4444; background: #fef2f2; }

.status-choice-dot[b-crtylqsl1c] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-choice-title[b-crtylqsl1c] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.status-choice-desc[b-crtylqsl1c] {
    font-size: 11px;
    color: #64748b;
}

.modal-field-label[b-crtylqsl1c] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Narrative Cards */
.ot-doc-narrative-grid[b-crtylqsl1c] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 900px) {
    .ot-doc-narrative-grid[b-crtylqsl1c] {
        grid-template-columns: 1fr;
    }
}

.ot-doc-narrative-card[b-crtylqsl1c] {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.ot-doc-narrative-card:hover[b-crtylqsl1c] {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ot-doc-narrative-card.card-indigo-accent[b-crtylqsl1c] {
    border-left: 4px solid #4f46e5;
}

.ot-doc-narrative-card.card-amber-accent[b-crtylqsl1c] {
    border-left: 4px solid #f59e0b;
}

.narrative-card-header[b-crtylqsl1c] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.65rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.narrative-title[b-crtylqsl1c] {
    font-size: 0.76rem;
    font-weight: 800;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.narrative-card-body[b-crtylqsl1c] {
    padding: 1rem 1.15rem;
    font-size: 0.86rem;
    color: #334155;
    line-height: 1.55;
    min-height: 85px;
    background: #ffffff;
    font-weight: 500;
}

.ot-clinical-section-card[b-crtylqsl1c] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.card-section-title[b-crtylqsl1c] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #034f75;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1.5px solid #f1f5f9;
}

/* Form Grids */
.form-grid-2[b-crtylqsl1c] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-grid-3[b-crtylqsl1c] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.form-grid-4[b-crtylqsl1c] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.custom-label[b-crtylqsl1c] {
    font-size: 0.74rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.2px;
    margin-bottom: 0.25rem;
    display: block;
}

.custom-input[b-crtylqsl1c],
.custom-select[b-crtylqsl1c],
.custom-textarea[b-crtylqsl1c] {
    width: 100%;
    background: #ffffff;
    border: 1.2px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.custom-input:focus[b-crtylqsl1c],
.custom-select:focus[b-crtylqsl1c],
.custom-textarea:focus[b-crtylqsl1c] {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}

.custom-textarea[b-crtylqsl1c] {
    resize: vertical;
    min-height: 70px;
    line-height: 1.4;
}

/* Checklists */
.checklist-grid[b-crtylqsl1c] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.65rem;
}

.checklist-item[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
}

.checklist-item:hover[b-crtylqsl1c] {
    background: #f0f9ff;
    border-color: #0284c7;
}

.checklist-item input[type="checkbox"][b-crtylqsl1c] {
    accent-color: #0284c7;
    width: 16px;
    height: 16px;
}

/* Structured Clinical Tables & 2-Line Records */
.structured-table-card[b-crtylqsl1c] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.structured-table[b-crtylqsl1c] {
    width: 100%;
    border-collapse: collapse;
}

.structured-table th[b-crtylqsl1c] {
    background: #f1f5f9;
    color: #475569;
    font-weight: 700;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0.55rem 0.75rem;
    border-bottom: 1.5px solid #e2e8f0;
    white-space: nowrap;
}

.structured-table td[b-crtylqsl1c] {
    padding: 0.45rem 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.78rem;
    color: #334155;
    vertical-align: middle;
}

/* 2-Line Record Layouts */
.table-inline-edit-row.primary-line td[b-crtylqsl1c] {
    background: #f0f9ff;
    border-bottom: 1px dashed #bae6fd;
}

.table-inline-edit-row.secondary-line td[b-crtylqsl1c] {
    background: #f8fafc;
    border-bottom: 2px solid #0284c7;
    padding: 0.65rem 1rem;
}

.record-row.primary-line td[b-crtylqsl1c] {
    background: #ffffff;
    border-bottom: 1px dashed #f1f5f9;
}

.record-row.secondary-line td[b-crtylqsl1c] {
    background: #fafafa;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.45rem 1rem;
}

.inline-subrow-container[b-crtylqsl1c] {
    padding: 0.6rem 0.9rem !important;
}

.inline-subrow-grid[b-crtylqsl1c] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: flex-start;
}

.inline-field-group[b-crtylqsl1c] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.inline-field-label[b-crtylqsl1c] {
    font-size: 0.68rem;
    font-weight: 800;
    color: #0369a1;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
    display: flex;
    align-items: center;
}

.table-inline-input[b-crtylqsl1c] {
    background: #ffffff !important;
    border: 1.2px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    padding: 0.25rem 0.5rem !important;
    transition: all 0.15s ease-in-out;
}

.table-inline-input:focus[b-crtylqsl1c] {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15) !important;
    outline: none !important;
}

.btn-inline-action[b-crtylqsl1c] {
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.85rem;
}

.inline-subrow-display[b-crtylqsl1c] {
    padding: 0.45rem 1rem !important;
}

.inline-subrow-display-grid[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.subrow-item[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
}

.subrow-label[b-crtylqsl1c] {
    font-weight: 700;
    color: #64748b;
}

.subrow-value[b-crtylqsl1c] {
    color: #1e293b;
    font-weight: 600;
}

.patient-sub-item[b-crtylqsl1c] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.patient-sub-divider[b-crtylqsl1c] {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
    margin: 0 0.35rem;
}

.badge-score[b-crtylqsl1c] {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 0.74rem;
}

/* Team Assignment & Roster */
.team-assign-container[b-crtylqsl1c] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.team-assign-card[b-crtylqsl1c] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pending-roster-tray[b-crtylqsl1c] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-height: 240px;
    overflow-y: auto;
}

/* Sub-Modals (Add/Edit OT Request & Status Update) */
.ot-sub-modal-backdrop[b-crtylqsl1c] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn-b-crtylqsl1c 0.2s ease-out;
}

.ot-sub-modal[b-crtylqsl1c] {
    background: #ffffff;
    border-radius: 16px;
    width: 90vw;
    max-width: 650px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    animation: slideUp-b-crtylqsl1c 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ot-sub-modal-header[b-crtylqsl1c] {
    background: linear-gradient(135deg, #034f75 0%, #026aa7 100%);
    padding: 0.85rem 1.25rem;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ot-sub-modal-header h3[b-crtylqsl1c] {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close-icon[b-crtylqsl1c] {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.15s ease;
}

.modal-close-icon:hover[b-crtylqsl1c] {
    opacity: 1;
}

.ot-sub-modal-body[b-crtylqsl1c] {
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ot-sub-modal-footer[b-crtylqsl1c] {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
}

/* Scrollbar Customization */
.table-responsive[b-crtylqsl1c]::-webkit-scrollbar,
.workspace-full-width[b-crtylqsl1c]::-webkit-scrollbar,
.casesheet-tabs-container[b-crtylqsl1c]::-webkit-scrollbar,
.ot-sub-modal-body[b-crtylqsl1c]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.table-responsive[b-crtylqsl1c]::-webkit-scrollbar-thumb,
.workspace-full-width[b-crtylqsl1c]::-webkit-scrollbar-thumb,
.casesheet-tabs-container[b-crtylqsl1c]::-webkit-scrollbar-thumb,
.ot-sub-modal-body[b-crtylqsl1c]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.table-responsive[b-crtylqsl1c]::-webkit-scrollbar-thumb:hover,
.workspace-full-width[b-crtylqsl1c]::-webkit-scrollbar-thumb:hover,
.casesheet-tabs-container[b-crtylqsl1c]::-webkit-scrollbar-thumb:hover,
.ot-sub-modal-body[b-crtylqsl1c]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .filter-flex[b-crtylqsl1c] {
        flex-wrap: wrap;
    }
    .filter-flex .filter-group[b-crtylqsl1c] {
        flex: 1 1 45%;
        max-width: none;
    }
    .casesheet-modal[b-crtylqsl1c] {
        width: 98vw;
        height: 96vh;
    }
}

@media (max-width: 768px) {
    .dashboard-header[b-crtylqsl1c] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .filter-flex .filter-group[b-crtylqsl1c] {
        flex: 1 1 100%;
    }
    .form-grid-2[b-crtylqsl1c],
    .form-grid-3[b-crtylqsl1c],
    .form-grid-4[b-crtylqsl1c] {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   OT SUITE SCHEDULE TABLE REFINEMENTS
   ═══════════════════════════════════════════════════════════════════ */
.ot-schedule-table[b-crtylqsl1c] {
    width: 100% !important;
    border-collapse: collapse !important;
    text-align: left !important;
}

.ot-schedule-table thead tr[b-crtylqsl1c] {
    background: #fafbfc !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
}

.ot-schedule-table th[b-crtylqsl1c] {
    padding: 0.85rem 0.75rem !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
}

.ot-schedule-table td[b-crtylqsl1c] {
    padding: 0.85rem 0.75rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 12px !important;
    vertical-align: middle !important;
}

.ot-schedule-table tbody tr.table-inline-edit-row[b-crtylqsl1c] {
    background: #f8fafc !important;
}

.ot-schedule-table tbody tr.table-inline-edit-row td[b-crtylqsl1c] {
    padding: 0.55rem 0.65rem !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   SURGICAL TEAM MEMBERS: 2-COLUMN SPLIT LAYOUT (ASSIGN & ROSTER)
   ═══════════════════════════════════════════════════════════════════ */

.team-split-layout[b-crtylqsl1c] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
    width: 100%;
}

@media (max-width: 1100px) {
    .team-split-layout[b-crtylqsl1c] {
        grid-template-columns: 1fr;
    }
}

.team-split-col[b-crtylqsl1c] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    gap: 12px;
}

.team-split-left[b-crtylqsl1c] {
    position: relative;
}

/* ─── 1. ROSTER & ASSIGN CARDS ─── */
.team-view-section[b-crtylqsl1c] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-roster-header-card[b-crtylqsl1c] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.roster-header-main[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.roster-icon-box[b-crtylqsl1c] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.22);
    flex-shrink: 0;
}

.roster-title-col[b-crtylqsl1c] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.roster-title-row[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.roster-title-text[b-crtylqsl1c] {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e1b4b;
    margin: 0;
    line-height: 1.2;
}

.roster-count-badge[b-crtylqsl1c] {
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.roster-sub-meta[b-crtylqsl1c] {
    font-size: 11.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.meta-separator[b-crtylqsl1c] {
    color: #cbd5e1;
    font-size: 10px;
}

.meta-theater-badge[b-crtylqsl1c] {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    font-size: 10.5px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 6px;
}

.roster-header-action[b-crtylqsl1c] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.btn-assign-header-pill[b-crtylqsl1c] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 9999px;
    height: 38px;
    padding: 0 18px;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.25);
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-assign-header-pill:hover[b-crtylqsl1c] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(79, 70, 229, 0.35);
    color: #ffffff !important;
}

/* ─── 2. ROSTER FILTER STRIP ─── */
.roster-filter-strip[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    flex-wrap: wrap;
}

.roster-filter-btn[b-crtylqsl1c] {
    border: 1px solid transparent;
    background: transparent;
    color: #475569;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.roster-filter-btn:hover[b-crtylqsl1c] {
    background: #e2e8f0;
    color: #1e293b;
}

.roster-filter-btn.active[b-crtylqsl1c] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.22);
}

.r-filter-count[b-crtylqsl1c] {
    opacity: 0.9;
    font-size: 10.5px;
    font-weight: 700;
}

/* ─── 3. ROSTER TABLE CARD ─── */
.roster-table-card[b-crtylqsl1c] {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.roster-table-scroll-wrap[b-crtylqsl1c] {
    max-height: 520px;
    overflow-y: auto;
}

.modern-roster-table[b-crtylqsl1c] {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.modern-roster-table thead th[b-crtylqsl1c] {
    background: #f8fafc;
    color: #475569;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 10px 14px;
    border-bottom: 2px solid #e2e8f0;
    border-top: none;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 2;
}

.roster-table-row[b-crtylqsl1c] {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.12s ease;
}

.roster-table-row:hover[b-crtylqsl1c] {
    background: #f8fafc;
}

.roster-table-row.row-being-edited[b-crtylqsl1c] {
    background: #fefce8 !important;
    border-left: 3px solid #eab308;
}

.roster-table-row td[b-crtylqsl1c] {
    padding: 10px 14px;
    font-size: 12.5px;
    color: #1e293b;
    vertical-align: middle;
    box-sizing: border-box;
    border-bottom: 1px solid #f1f5f9;
}

.roster-table-row:last-child td[b-crtylqsl1c] {
    border-bottom: none;
}

.col-staff-name[b-crtylqsl1c] {
    text-align: left;
}

.col-qualification[b-crtylqsl1c] {
    text-align: left;
}

.col-role[b-crtylqsl1c] {
    text-align: left;
}

.col-action[b-crtylqsl1c] {
    text-align: right;
}

/* Staff Avatar & Name */
.staff-cell-inline[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.staff-avatar-circle[b-crtylqsl1c] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.avatar-indigo[b-crtylqsl1c] {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    color: #ffffff;
}

.avatar-purple-circle[b-crtylqsl1c] {
    background: linear-gradient(135deg, #7e22ce 0%, #6b21a8 100%);
    color: #ffffff;
}

.avatar-emerald[b-crtylqsl1c] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.staff-avatar-img[b-crtylqsl1c] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.staff-name-box[b-crtylqsl1c] {
    min-width: 0;
}

.staff-name-text[b-crtylqsl1c] {
    font-weight: 700;
    color: #0f172a;
    font-size: 13px;
    line-height: 1.2;
}

/* Qualification Text */
.qualification-text[b-crtylqsl1c] {
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Role Pill Tag */
.role-pill-tag[b-crtylqsl1c] {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 3px 10px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    text-transform: capitalize;
}

.role-pill-surgeon[b-crtylqsl1c] {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

.role-pill-asst-surgeon[b-crtylqsl1c] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.role-pill-anesthetist[b-crtylqsl1c] {
    background: #faf5ff;
    color: #6b21a8;
    border: 1px solid #e9d5ff;
}

.role-pill-scrub-nurse[b-crtylqsl1c] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.role-pill-circ-nurse[b-crtylqsl1c] {
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

.role-pill-technician[b-crtylqsl1c] {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #cbd5e1;
}

/* Ghost Actions */
.btn-ghost-action[b-crtylqsl1c] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.12s ease;
}

.btn-ghost-action:hover[b-crtylqsl1c] {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

.btn-ghost-edit:hover[b-crtylqsl1c] {
    background: #eef2ff;
    color: #4338ca;
    border-color: #c7d2fe;
}

.btn-ghost-delete:hover[b-crtylqsl1c] {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

/* Empty State Box */
.roster-empty-box[b-crtylqsl1c] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 1.25rem;
    width: 100%;
}

.roster-empty-icon[b-crtylqsl1c] {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.roster-empty-title[b-crtylqsl1c] {
    font-size: 13.5px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.35rem 0;
}

.roster-empty-desc[b-crtylqsl1c] {
    font-size: 11.5px;
    color: #64748b;
    max-width: 360px;
    margin: 0 auto;
    line-height: 1.4;
}

/* ─── 4. ASSIGN CARD STYLES ─── */
.team-assign-card[b-crtylqsl1c] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.assign-card-header[b-crtylqsl1c] {
    padding: 0.85rem 1.15rem;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.assign-header-left[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.assign-header-icon-box[b-crtylqsl1c] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.22);
    flex-shrink: 0;
}

.assign-header-text[b-crtylqsl1c] {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.assign-card-title[b-crtylqsl1c] {
    font-size: 0.96rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
}

.assign-card-subtitle[b-crtylqsl1c] {
    font-size: 0.74rem;
    font-weight: 500;
    color: #64748b;
    margin: 2px 0 0 0;
    line-height: 1.2;
}

.btn-cancel-edit-pill[b-crtylqsl1c] {
    background: #ffffff;
    color: #b45309;
    border: 1px solid #fde047;
    border-radius: 9999px;
    height: 30px;
    padding: 0 12px;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-cancel-edit-pill:hover[b-crtylqsl1c] {
    background: #fefce8;
    border-color: #eab308;
}

.editing-member-banner[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #fefce8;
    border-bottom: 1px solid #fde047;
    gap: 8px;
    flex-shrink: 0;
}

.assign-role-edit-select[b-crtylqsl1c] {
    height: 28px;
    font-size: 11.5px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    padding: 2px 8px;
    background-color: #ffffff;
    max-width: 220px;
}

.assign-card-body[b-crtylqsl1c] {
    padding: 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.assign-tabs-container[b-crtylqsl1c] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #ffffff;
    border-radius: 8px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.assign-tabs-strip[b-crtylqsl1c] {
    display: flex;
    border-bottom: 1.5px solid #e2e8f0;
    gap: 4px;
    padding-bottom: 4px;
    flex-shrink: 0;
}

.assign-tab-btn[b-crtylqsl1c] {
    border: none;
    background: transparent;
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
}

.assign-tab-btn:hover[b-crtylqsl1c] {
    color: #1e293b;
    background: #f1f5f9;
}

.assign-tab-btn.active[b-crtylqsl1c] {
    color: #4f46e5;
    background: #eef2ff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.assign-tab-badge[b-crtylqsl1c] {
    background: #e2e8f0;
    color: #475569;
    font-size: 9.5px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 9999px;
}

.assign-tab-btn.active .assign-tab-badge[b-crtylqsl1c] {
    background: #ffffff;
    color: #4338ca;
}

.assign-tab-content[b-crtylqsl1c] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.picker-search-wrap[b-crtylqsl1c] {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.picker-search-wrap i[b-crtylqsl1c] {
    position: absolute;
    left: 10px;
    color: #94a3b8;
    font-size: 12px;
}

.picker-search-input[b-crtylqsl1c] {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    padding: 6px 26px 6px 30px;
    font-size: 12px;
    outline: none;
    height: 34px;
    background: #ffffff;
    transition: all 0.15s ease;
}

.picker-search-input:focus[b-crtylqsl1c] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.picker-search-clear[b-crtylqsl1c] {
    position: absolute;
    right: 8px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 13px;
    cursor: pointer;
}

.picker-list-box[b-crtylqsl1c] {
    max-height: 310px;
    min-height: 180px;
    flex: 1;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px;
    background: #ffffff;
}

.picker-list-box[b-crtylqsl1c]::-webkit-scrollbar {
    width: 6px;
}

.picker-list-box[b-crtylqsl1c]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.picker-list-box[b-crtylqsl1c]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.picker-item[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 7px;
    cursor: pointer;
    margin-bottom: 2px;
    border: 1px solid transparent;
    transition: all 0.12s ease;
}

.picker-item:hover[b-crtylqsl1c] {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.picker-item.selected[b-crtylqsl1c] {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.picker-item.already-assigned[b-crtylqsl1c] {
    background: #f0fdf4;
    border-color: #dcfce7;
}

.picker-item.editing-highlight[b-crtylqsl1c] {
    background: #fefce8 !important;
    border-color: #fde047 !important;
    box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.2);
}

.btn-item-quick-edit[b-crtylqsl1c] {
    border: none;
    background: #d1fae5;
    color: #047857;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.btn-item-quick-edit:hover[b-crtylqsl1c] {
    background: #a7f3d0;
    color: #065f46;
}

.picker-checkbox[b-crtylqsl1c] {
    display: flex;
    align-items: center;
}

.picker-checkbox input[b-crtylqsl1c] {
    cursor: pointer;
    width: 15px;
    height: 15px;
    accent-color: #4f46e5;
}

.picker-item-details[b-crtylqsl1c] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.picker-item-name[b-crtylqsl1c] {
    font-size: 12px;
    color: #0f172a;
    line-height: 1.2;
}

.manual-input-group[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    padding-left: 10px;
    background: #ffffff;
    height: 36px;
    transition: all 0.15s ease;
}

.manual-input-group:focus-within[b-crtylqsl1c] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.manual-input-icon[b-crtylqsl1c] {
    color: #94a3b8;
    font-size: 13px;
    margin-right: 6px;
}

.manual-name-input[b-crtylqsl1c] {
    border: none;
    outline: none;
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    flex: 1;
    height: 100%;
}

.btn-add-to-team[b-crtylqsl1c] {
    background: #4f46e5;
    color: #ffffff;
    border: none;
    height: 100%;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-add-to-team:hover:not(:disabled)[b-crtylqsl1c] {
    background: #4338ca;
}

.btn-add-to-team:disabled[b-crtylqsl1c] {
    opacity: 0.55;
    cursor: not-allowed;
}

.pending-roster-tray[b-crtylqsl1c] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    padding: 8px 10px;
    flex-shrink: 0;
    max-height: 95px;
    overflow-y: auto;
}

.pending-tray-header[b-crtylqsl1c] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.pending-tray-title[b-crtylqsl1c] {
    font-size: 11.5px;
    font-weight: 700;
    color: #1e1b4b;
}

.pending-tray-count-badge[b-crtylqsl1c] {
    background: #4f46e5;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 9999px;
}

.btn-clear-all-link[b-crtylqsl1c] {
    border: none;
    background: transparent;
    color: #dc2626;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.btn-clear-all-link:hover[b-crtylqsl1c] {
    text-decoration: underline;
}

.pending-chips-wrap[b-crtylqsl1c] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pending-member-chip[b-crtylqsl1c] {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 6px;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
}

.pending-chip-nurse[b-crtylqsl1c] {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.pending-chip-role[b-crtylqsl1c] {
    font-weight: 800;
    color: #4338ca;
    font-size: 10px;
    text-transform: uppercase;
}

.pending-chip-nurse .pending-chip-role[b-crtylqsl1c] {
    color: #047857;
}

.pending-chip-name[b-crtylqsl1c] {
    font-weight: 600;
    color: #0f172a;
}

.btn-chip-remove[b-crtylqsl1c] {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
}

.btn-chip-remove:hover[b-crtylqsl1c] {
    color: #dc2626;
}

.assign-card-footer[b-crtylqsl1c] {
    padding: 0.75rem 1.25rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
    margin-top: auto;
}

.btn-modal-cancel[b-crtylqsl1c] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-weight: 700;
    font-size: 12.5px;
    height: 38px;
    padding: 0 1.25rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-modal-cancel:hover:not(:disabled)[b-crtylqsl1c] {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
}

.btn-modal-cancel:disabled[b-crtylqsl1c] {
    opacity: 0.45;
    cursor: not-allowed;
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
}

.btn-assign-primary[b-crtylqsl1c] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    height: 38px;
    padding: 0 1.35rem;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.25);
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-assign-primary:hover:not(:disabled)[b-crtylqsl1c] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
    color: #ffffff;
}

.btn-assign-primary:disabled[b-crtylqsl1c] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* OT Console Medicine Typeahead Dropdown */
.ot-typeahead-dropdown[b-crtylqsl1c] {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    z-index: 99999 !important;
    max-height: 240px;
    min-width: 320px;
    width: max-content;
    max-width: 450px;
    overflow-y: auto;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.22), 0 4px 12px -2px rgba(15, 23, 42, 0.12);
    margin-top: 4px;
}

.ot-typeahead-item[b-crtylqsl1c] {
    padding: 9px 13px;
    cursor: pointer;
    font-size: 0.82rem;
    text-align: left;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ot-typeahead-item:last-child[b-crtylqsl1c] {
    border-bottom: none;
}

.ot-typeahead-item:hover[b-crtylqsl1c] {
    background-color: #f8faff;
}

.ot-typeahead-item-title[b-crtylqsl1c] {
    font-size: 0.86rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.ot-typeahead-item-sub[b-crtylqsl1c] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
}

.ot-typeahead-price-col[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ot-typeahead-rate-val[b-crtylqsl1c] {
    color: #4f46e5;
    font-weight: 800;
    font-size: 0.86rem;
    font-family: monospace;
}

.ot-typeahead-stock-col[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ot-batch-badge[b-crtylqsl1c] {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 5px;
    border: 1px solid #e2e8f0;
}

.ot-stock-pill[b-crtylqsl1c] {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
}

.ot-stock-pill.stk-available[b-crtylqsl1c] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.ot-stock-pill.stk-zero[b-crtylqsl1c] {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.ot-typeahead-dropdown[b-crtylqsl1c]::-webkit-scrollbar {
    width: 6px;
}

.ot-typeahead-dropdown[b-crtylqsl1c]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.ot-typeahead-dropdown[b-crtylqsl1c]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ========================================================================= */
/* PATIENT ADVANCE TAB STYLES                                               */
/* ========================================================================= */

.advance-tab-wrapper[b-crtylqsl1c] {
    margin-top: -0.5rem;
    animation: fadeIn-b-crtylqsl1c 0.15s ease-out;
}

.advance-main-card[b-crtylqsl1c] {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    padding: 0.85rem 1.15rem;
}

.patient-row[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

.patient-info-left[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.patient-avatar-lg[b-crtylqsl1c] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.22);
}

.patient-name-lg[b-crtylqsl1c] {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.patient-id-sm[b-crtylqsl1c] {
    font-size: 0.72rem;
    color: #64748b;
    margin: 0.15rem 0 0 0;
    font-weight: 500;
}

.patient-controls-right[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-left: auto;
}

.control-select-pill[b-crtylqsl1c] {
    position: relative;
    display: flex;
    align-items: center;
}

.control-pill-icon[b-crtylqsl1c] {
    position: absolute;
    left: 0.55rem;
    color: #6366f1;
    font-size: 0.75rem;
    pointer-events: none;
    z-index: 1;
}

.control-header-select[b-crtylqsl1c] {
    appearance: none;
    -webkit-appearance: none;
    background: #ffffff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right 0.5rem center/8px 8px;
    border: 1.2px solid #e0e7ff;
    border-radius: 6px;
    padding: 0.28rem 1.45rem 0.28rem 1.65rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: #1e1b4b;
    outline: none;
    cursor: pointer;
    min-width: 120px;
    height: 28px;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.control-header-select:hover[b-crtylqsl1c] {
    border-color: #a5b4fc;
    background-color: #f8faff;
}

.control-header-select:focus[b-crtylqsl1c] {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
    background-color: #ffffff;
}

.btn-refresh-header[b-crtylqsl1c] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.75rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: #4f46e5;
    background: #ffffff;
    border: 1.2px solid #e0e7ff;
    border-radius: 6px;
    cursor: pointer;
    height: 28px;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    white-space: nowrap;
}

.btn-refresh-header:hover[b-crtylqsl1c] {
    background: #eef2ff;
    border-color: #6366f1;
    color: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.15);
}

.btn-refresh-header:active[b-crtylqsl1c] {
    transform: translateY(0);
}

.summary-grid-4[b-crtylqsl1c] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.stat-card[b-crtylqsl1c] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.15s ease;
}

.stat-card:hover[b-crtylqsl1c] {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.stat-card.deposited[b-crtylqsl1c] { border-top: 3px solid #4f46e5; }
.stat-card.used[b-crtylqsl1c]      { border-top: 3px solid #059669; }
.stat-card.refunded[b-crtylqsl1c]  { border-top: 3px solid #d97706; }
.stat-card.balance[b-crtylqsl1c]   { border-top: 3px solid #0d9488; background: #f0fdfa; border-color: #ccfbf1; }

.stat-label[b-crtylqsl1c] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value[b-crtylqsl1c] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    font-family: monospace;
    line-height: 1.2;
}

.stat-card.balance .stat-value[b-crtylqsl1c] {
    color: #0d9488;
}

.content-split[b-crtylqsl1c] {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.left-panel[b-crtylqsl1c] {
    width: 320px;
    flex-shrink: 0;
}

.right-panel[b-crtylqsl1c] {
    flex: 1;
    min-width: 0;
}

.tab-pills[b-crtylqsl1c] {
    display: flex;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 2.5px;
    gap: 2.5px;
    margin-bottom: 0.65rem;
    border: 1px solid #e2e8f0;
}

.tab-pill[b-crtylqsl1c] {
    flex: 1;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: none;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.tab-pill.active-deposit[b-crtylqsl1c] {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.tab-pill.active-refund[b-crtylqsl1c] {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
}

.form-panel[b-crtylqsl1c] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
}

.form-panel h3[b-crtylqsl1c] {
    font-size: 0.82rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.65rem 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.field-group[b-crtylqsl1c] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.55rem;
}

.field-label[b-crtylqsl1c] {
    font-size: 0.62rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.field-input[b-crtylqsl1c] {
    border: 1.2px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
    font-size: 0.76rem;
    background: #ffffff;
    color: #0f172a;
    outline: none;
    width: 100%;
    transition: all 0.15s;
    box-sizing: border-box;
}

.field-input:focus[b-crtylqsl1c] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.12);
}

.btn-deposit-main[b-crtylqsl1c] {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.45rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2);
    transition: all 0.15s;
    text-align: center;
}

.btn-deposit-main:hover:not(:disabled)[b-crtylqsl1c] {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
}

.btn-deposit-main:disabled[b-crtylqsl1c] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.btn-refund-main[b-crtylqsl1c] {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.45rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.2);
    transition: all 0.15s;
    text-align: center;
}

.btn-refund-main:hover:not(:disabled)[b-crtylqsl1c] {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
}

.btn-refund-main:disabled[b-crtylqsl1c] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.ledger-panel[b-crtylqsl1c] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    height: 100%;
}

.ledger-header[b-crtylqsl1c] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.ledger-title[b-crtylqsl1c] {
    font-size: 0.82rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-icon-sm[b-crtylqsl1c] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    border-radius: 6px;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.15s;
}

.btn-icon-sm:hover:not(:disabled)[b-crtylqsl1c] {
    background: #eff6ff;
    color: #4f46e5;
    border-color: #818cf8;
}

.ledger-table[b-crtylqsl1c] {
    width: 100%;
    border-collapse: collapse;
}

.ledger-table th[b-crtylqsl1c] {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #475569;
    background: #f1f5f9;
    padding: 0.45rem 0.55rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.ledger-table td[b-crtylqsl1c] {
    font-size: 0.74rem;
    color: #334155;
    padding: 0.45rem 0.55rem;
    border-bottom: 1px solid #f1f5f9;
}

.ledger-table tr:last-child td[b-crtylqsl1c] {
    border-bottom: none;
}

.type-badge[b-crtylqsl1c] {
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    display: inline-block;
}

.type-badge.deposit[b-crtylqsl1c]  { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.type-badge.refunded[b-crtylqsl1c] { background: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }
.type-badge.used[b-crtylqsl1c]     { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }



/* OT Console single-viewport theme */
:global(html:has(.ot-console-page))[b-crtylqsl1c],
:global(body:has(.ot-console-page))[b-crtylqsl1c] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.ot-console-page))[b-crtylqsl1c],
:global(.app-main-wrapper:has(.ot-console-page))[b-crtylqsl1c] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.ot-console-page)[b-crtylqsl1c] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.dashboard-container.ot-console-page[b-crtylqsl1c] {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.dashboard-container.ot-console-page .dashboard-header[b-crtylqsl1c] {
    flex: 0 0 auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0.1rem 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.dashboard-container.ot-console-page .dashboard-title h1[b-crtylqsl1c] {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #07547c !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
}

.dashboard-container.ot-console-page .btn-header-primary[b-crtylqsl1c],
.dashboard-container.ot-console-page .btn-header-action[b-crtylqsl1c] {
    height: 32px !important;
    padding: 0.35rem 0.85rem !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
    gap: 0.35rem !important;
    display: inline-flex !important;
    align-items: center !important;
}

.dashboard-container.ot-console-page .medico-tabs[b-crtylqsl1c] {
    flex: 0 0 auto !important;
    margin-bottom: 0 !important;
    gap: 0.4rem !important;
    padding-bottom: 2px !important;
}

.dashboard-container.ot-console-page .tab-btn[b-crtylqsl1c] {
    height: 32px !important;
    padding: 0.35rem 0.85rem !important;
    font-size: 0.78rem !important;
}

.dashboard-container.ot-console-page .filter-card[b-crtylqsl1c] {
    flex: 0 0 auto !important;
    padding: 0.35rem 0.75rem !important;
    margin-bottom: 0 !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid #dfe7f1 !important;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.03) !important;
}

.dashboard-container.ot-console-page .filter-flex[b-crtylqsl1c] {
    gap: 0.5rem !important;
    align-items: flex-end !important;
}

.dashboard-container.ot-console-page .filter-group[b-crtylqsl1c] {
    gap: 0.15rem !important;
}

.dashboard-container.ot-console-page .filter-label[b-crtylqsl1c] {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-bottom: 1px !important;
}

.dashboard-container.ot-console-page .filter-input[b-crtylqsl1c],
.dashboard-container.ot-console-page .filter-select[b-crtylqsl1c] {
    height: 32px !important;
    padding: 0.25rem 0.6rem !important;
    border-radius: 8px !important;
    font-size: 0.78rem !important;
}

.dashboard-container.ot-console-page .btn-reset[b-crtylqsl1c] {
    height: 32px !important;
    padding: 0.25rem 0.75rem !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
}

.dashboard-container.ot-console-page .table-card[b-crtylqsl1c] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dashboard-container.ot-console-page .table-responsive[b-crtylqsl1c] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    height: 100% !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-overflow-scrolling: touch !important;
}

.dashboard-container.ot-console-page .medico-table[b-crtylqsl1c] {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.dashboard-container.ot-console-page .medico-table th[b-crtylqsl1c],
.medico-table th[b-crtylqsl1c] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.65rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.dashboard-container.ot-console-page .medico-table th:last-child[b-crtylqsl1c],
.medico-table th:last-child[b-crtylqsl1c] {
    border-right: none !important;
}

.dashboard-container.ot-console-page .medico-table tbody tr[b-crtylqsl1c] {
    height: 34px !important;
    min-height: 34px !important;
}

.dashboard-container.ot-console-page .medico-table tbody tr:nth-child(even) td[b-crtylqsl1c] {
    background-color: #fbfdff !important;
}

.dashboard-container.ot-console-page .medico-table tbody tr:hover td[b-crtylqsl1c] {
    background-color: #f0f8ff !important;
}

.dashboard-container.ot-console-page .medico-table td[b-crtylqsl1c] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.65rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    font-size: 0.76rem !important;
    color: #334155 !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.dashboard-container.ot-console-page .pagination-footer[b-crtylqsl1c] {
    flex: 0 0 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    box-sizing: border-box !important;
    padding: 0 0.85rem !important;
    margin: 0 !important;
    background: #ffffff !important;
    border-top: 1px solid #e5edf5 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.dashboard-container.ot-console-page .pagination-info[b-crtylqsl1c] {
    font-size: 0.74rem !important;
    color: #526b82 !important;
}

.dashboard-container.ot-console-page .page-btn[b-crtylqsl1c] {
    min-width: 26px !important;
    height: 24px !important;
    padding: 0 0.5rem !important;
    border-radius: 6px !important;
    font-size: 0.72rem !important;
    color: #526b82 !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
}

.dashboard-container.ot-console-page .page-btn:hover:not(:disabled)[b-crtylqsl1c] {
    background: #e4f4ff !important;
    color: #0876ad !important;
    border-color: #a9ddfa !important;
}

.dashboard-container.ot-console-page .page-btn.active[b-crtylqsl1c] {
    background: #0876ad !important;
    border-color: #0876ad !important;
    color: #ffffff !important;
}
/* /Components/Pages/OtMaster.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════
   MEDICO OPERATION THEATER MASTER — PREMIUM CLINICAL CONSOLE
   Fixed viewport layout, no page scroll, modern design tokens
   ═══════════════════════════════════════════════════════════════════ */

.referral-page[b-c9pnm48nny] {
    padding: 1rem 1.5rem;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f8fafc;
    height: calc(100vh - 48px);
    max-height: calc(100vh - 48px);
    box-sizing: border-box;
    color: #1e293b;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    overflow: hidden;
}

@media (max-width: 768px) {
    .referral-page[b-c9pnm48nny] {
        padding: 0.75rem 1rem;
        height: auto;
        max-height: none;
        overflow: visible;
    }
}

/* Outpatient dashboard visual language */
:global(.main-content):has(.referral-page)[b-c9pnm48nny] {
    padding: .75rem 1rem !important;
    background: #f1f5fb !important;
}

.referral-page[b-c9pnm48nny] {
    padding: 1rem 1.5rem !important;
    gap: .75rem !important;
    background: #f1f5fb !important;
}

.lab-header-card[b-c9pnm48nny] {
    padding: .45rem 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.header-icon-box[b-c9pnm48nny] {
    width: 40px !important;
    height: 40px !important;
    border-radius: 9px !important;
    background: #087bb5 !important;
    box-shadow: 0 4px 10px rgba(8, 123, 181, .2) !important;
}

.lab-title-text[b-c9pnm48nny] {
    color: #07547c !important;
    font-size: 1.8rem !important;
}

.suite-count-badge[b-c9pnm48nny],
.count-badge[b-c9pnm48nny] {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border-color: #7dd3fc !important;
}

.status-text[b-c9pnm48nny] {
    color: #64748b !important;
}

.search-input-wrapper .lc-search-input[b-c9pnm48nny],
.lc-search-input[b-c9pnm48nny] {
    height: 40px !important;
    border-radius: 10px !important;
    border-color: #cbd9e8 !important;
}

.btn-new-entry[b-c9pnm48nny] {
    height: 40px !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, .2) !important;
}

.stats-mini-bar[b-c9pnm48nny] {
    gap: .65rem !important;
}

.stat-mini-card[b-c9pnm48nny] {
    min-height: 58px !important;
    padding: 9px 13px !important;
    border-color: #dbe8f3 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(30, 64, 175, .04) !important;
}

.stat-icon-primary[b-c9pnm48nny] {
    background: #e0f2fe !important;
    color: #0876ad !important;
}

.directory-section[b-c9pnm48nny] {
    border-color: #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, .05) !important;
}

.lc-table thead tr[b-c9pnm48nny] {
    background: #087bb5 !important;
}

.lc-table thead th[b-c9pnm48nny] {
    background: #087bb5 !important;
    color: #fff !important;
    border-bottom-color: #07547c !important;
}

.lc-table td[b-c9pnm48nny] {
    color: #334155 !important;
    border-bottom-color: #edf2f7 !important;
}

.lc-table tbody tr:nth-child(even) td[b-c9pnm48nny] {
    background: #fff !important;
}

.lc-table-row:hover td[b-c9pnm48nny] {
    background: #f0f8ff !important;
}

/* ─────────────────────────────────────────────────────────────────
   1. TOP HEADER CARD
   ───────────────────────────────────────────────────────────────── */
.lab-header-card[b-c9pnm48nny] {
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 50%, #e0e7ff 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 14px -2px rgba(79, 70, 229, 0.08);
    padding: 0.95rem 1.35rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    flex-shrink: 0;
    box-sizing: border-box;
}

.header-left-group[b-c9pnm48nny] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.header-icon-box[b-c9pnm48nny] {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
    flex-shrink: 0;
}

.header-text-group[b-c9pnm48nny] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.title-row[b-c9pnm48nny] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.lab-title-text[b-c9pnm48nny] {
    color: #1e1b4b;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0;
    white-space: nowrap;
    display: inline-block;
}

.suite-count-badge[b-c9pnm48nny] {
    background: #e0e7ff;
    color: #4338ca;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.header-subtitle-row[b-c9pnm48nny] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-pulse-dot[b-c9pnm48nny] {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
    animation: lc-pulse-b-c9pnm48nny 2s infinite;
}

.status-text[b-c9pnm48nny] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-right-group[b-c9pnm48nny] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-input-wrapper[b-c9pnm48nny] {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon[b-c9pnm48nny] {
    position: absolute;
    left: 12px;
    font-size: 13px;
    color: #94a3b8;
    pointer-events: none;
}

.lc-search-input[b-c9pnm48nny] {
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    padding: 7px 32px 7px 34px;
    font-size: 0.8125rem;
    width: 270px;
    outline: none;
    transition: all 0.2s;
    color: #1e293b;
}

.lc-search-input:focus[b-c9pnm48nny] {
    border-color: #6366f1;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    width: 300px;
}

.search-clear-btn[b-c9pnm48nny] {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    font-size: 13px;
}

.search-clear-btn:hover[b-c9pnm48nny] {
    color: #64748b;
}

.btn-new-entry[b-c9pnm48nny] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 0.8125rem;
    cursor: pointer;
    padding: 7px 18px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-new-entry:hover[b-c9pnm48nny] {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
}

/* ─────────────────────────────────────────────────────────────────
   2. STATS MINI BAR
   ───────────────────────────────────────────────────────────────── */
.stats-mini-bar[b-c9pnm48nny] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .stats-mini-bar[b-c9pnm48nny] {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-mini-card[b-c9pnm48nny] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: all 0.2s;
    user-select: none;
}

.stat-mini-card[role="button"][b-c9pnm48nny] {
    cursor: pointer;
}

.stat-mini-card:hover[b-c9pnm48nny] {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.stat-mini-card.active-filter[b-c9pnm48nny] {
    border-color: #6366f1;
    background: #fafbff;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.stat-mini-icon[b-c9pnm48nny] {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.stat-icon-primary[b-c9pnm48nny] { background: #eef2ff; color: #4f46e5; }
.stat-icon-success[b-c9pnm48nny] { background: #ecfdf5; color: #059669; }
.stat-icon-danger[b-c9pnm48nny]  { background: #fef2f2; color: #dc2626; }
.stat-icon-warning[b-c9pnm48nny] { background: #fffbeb; color: #d97706; }

.stat-content[b-c9pnm48nny] {
    display: flex;
    flex-direction: column;
}

.stat-mini-value[b-c9pnm48nny] {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
}

.stat-mini-label[b-c9pnm48nny] {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-indicator-dot[b-c9pnm48nny] {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    background: #4f46e5;
    border-radius: 50%;
}

/* ─────────────────────────────────────────────────────────────────
   3. DIRECTORY SECTION & TABLE (NO PAGE SCROLL)
   ───────────────────────────────────────────────────────────────── */
.directory-section[b-c9pnm48nny] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.directory-top-bar[b-c9pnm48nny] {
    padding: 0.75rem 1.25rem;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.directory-heading-text[b-c9pnm48nny] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
}

.badge-count[b-c9pnm48nny] {
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
}

.filter-pill-group[b-c9pnm48nny] {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 8px;
}

.filter-pill-btn[b-c9pnm48nny] {
    background: transparent;
    border: none;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.filter-pill-btn:hover[b-c9pnm48nny] {
    color: #1e293b;
}

.filter-pill-btn.active[b-c9pnm48nny] {
    background: #ffffff;
    color: #4f46e5;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.lc-table-container[b-c9pnm48nny] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: auto;
}

/* Sleek custom scrollbars */
.lc-table-container[b-c9pnm48nny]::-webkit-scrollbar,
.modal-body[b-c9pnm48nny]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.lc-table-container[b-c9pnm48nny]::-webkit-scrollbar-track,
.modal-body[b-c9pnm48nny]::-webkit-scrollbar-track {
    background: #f8fafc;
}

.lc-table-container[b-c9pnm48nny]::-webkit-scrollbar-thumb,
.modal-body[b-c9pnm48nny]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.lc-table-container[b-c9pnm48nny]::-webkit-scrollbar-thumb:hover,
.modal-body[b-c9pnm48nny]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.lc-table[b-c9pnm48nny] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead th[b-c9pnm48nny] {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 1.15rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    white-space: nowrap;
    box-shadow: 0 1px 0 #e2e8f0;
}

.lc-table td[b-c9pnm48nny] {
    padding: 0.75rem 1.15rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.8125rem;
    vertical-align: middle;
    background: #ffffff;
}

.lc-table-row:hover td[b-c9pnm48nny] {
    background: #f8faff;
}

.ot-cell-inline[b-c9pnm48nny] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ot-badge-icon[b-c9pnm48nny] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.ot-badge-icon.active-suite[b-c9pnm48nny] {
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.ot-badge-icon.inactive-suite[b-c9pnm48nny] {
    background: #f1f5f9;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
}

.ot-cell-info[b-c9pnm48nny] {
    display: flex;
    flex-direction: column;
}

.ot-name-title[b-c9pnm48nny] {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.875rem;
    line-height: 1.2;
}

.ot-sub-code[b-c9pnm48nny] {
    font-size: 0.6875rem;
    color: #94a3b8;
    font-family: monospace;
}

.specialty-badge[b-c9pnm48nny] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 3px 9px;
    border-radius: 6px;
    font-weight: 600;
    color: #334155;
    font-size: 0.75rem;
}

.location-cell[b-c9pnm48nny] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-size: 0.8125rem;
    font-weight: 500;
}

.timing-pill[b-c9pnm48nny] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 6px;
    background: #f8faff;
    border: 1px solid #e0e7ff;
    color: #312e81;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25px;
}

.equipment-tags-container[b-c9pnm48nny] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 320px;
}

.equipment-tag[b-c9pnm48nny] {
    background: #f1f5f9;
    color: #475569;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 0.6875rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.equipment-tag i[b-c9pnm48nny] {
    font-size: 10px;
    color: #10b981;
}

.ot-status-pill[b-c9pnm48nny] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.ot-status-pill .status-dot[b-c9pnm48nny] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.ot-status-pill.active[b-c9pnm48nny] {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.ot-status-pill.active .status-dot[b-c9pnm48nny] {
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.ot-status-pill.inactive[b-c9pnm48nny] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.ot-status-pill.inactive .status-dot[b-c9pnm48nny] {
    background: #ef4444;
}

.action-btn-group[b-c9pnm48nny] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.lc-circle-btn-32[b-c9pnm48nny] {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #64748b;
    transition: all 0.2s;
}

.lc-circle-btn-32.edit-btn:hover[b-c9pnm48nny] {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4f46e5;
}

.lc-circle-btn-32.delete-btn:hover[b-c9pnm48nny] {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

/* Empty State */
.empty-state-cell[b-c9pnm48nny] {
    padding: 3rem 1.5rem;
    text-align: center;
}

.empty-state-card[b-c9pnm48nny] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-icon-wrap[b-c9pnm48nny] {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 0.75rem;
}

.empty-title[b-c9pnm48nny] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    margin: 0 0 0.25rem 0;
}

.empty-desc[b-c9pnm48nny] {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0 0 1rem 0;
    max-width: 380px;
}

/* ─────────────────────────────────────────────────────────────────
   4. MODAL STYLES (ICON & TITLE ALIGNED IN SAME LINE)
   ───────────────────────────────────────────────────────────────── */
.modal-overlay[b-c9pnm48nny] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-c9pnm48nny] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 92%;
    max-width: 660px;
    max-height: 88vh;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.25);
    animation: lc-modal-pop-b-c9pnm48nny 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lc-modal-pop-b-c9pnm48nny {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Modal Header: icon and text strictly aligned on the same horizontal line */
.modal-header-bar[b-c9pnm48nny] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
    flex-shrink: 0;
}

.modal-title-wrap[b-c9pnm48nny] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.modal-title-icon[b-c9pnm48nny] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    color: #4f46e5;
    border: 1px solid rgba(79, 70, 229, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.modal-title-texts[b-c9pnm48nny] {
    display: flex;
    flex-direction: column;
}

.modal-title-heading[b-c9pnm48nny] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.modal-title-sub[b-c9pnm48nny] {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    display: block;
    margin-top: 1px;
}

.modal-close-btn[b-c9pnm48nny] {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 14px;
}

.modal-close-btn:hover[b-c9pnm48nny] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-c9pnm48nny] {
    padding: 1.35rem 1.5rem;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-grid-2[b-c9pnm48nny] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

@media (max-width: 600px) {
    .form-grid-2[b-c9pnm48nny] {
        grid-template-columns: 1fr;
    }
}

.form-group[b-c9pnm48nny] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-label[b-c9pnm48nny] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.required-star[b-c9pnm48nny] {
    color: #ef4444;
    font-weight: 700;
}

.label-hint[b-c9pnm48nny] {
    color: #6366f1;
    font-weight: 600;
    text-transform: none;
    font-size: 0.7rem;
}

.field-hint[b-c9pnm48nny] {
    font-size: 0.68rem;
    color: #94a3b8;
    font-style: italic;
    margin-top: 2px;
}

.lab-input[b-c9pnm48nny] {
    width: 100%;
    padding: 0.55rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #f8fafc;
    font-size: 0.84rem;
    transition: all 0.2s;
    color: #1e293b;
    box-sizing: border-box;
    outline: none;
}

.lab-input:focus[b-c9pnm48nny] {
    border-color: #6366f1;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.lab-input.input-error[b-c9pnm48nny] {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.form-error-msg[b-c9pnm48nny] {
    font-size: 0.72rem;
    color: #ef4444;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.equipment-quick-chips[b-c9pnm48nny] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.quick-chip-label[b-c9pnm48nny] {
    font-size: 0.68rem;
    color: #94a3b8;
    font-weight: 600;
}

.quick-chip[b-c9pnm48nny] {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s;
}

.quick-chip:hover[b-c9pnm48nny] {
    background: #eef2ff;
    color: #4f46e5;
    border-color: #c7d2fe;
}

.form-group-toggle[b-c9pnm48nny] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.toggle-switch-wrap[b-c9pnm48nny] {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 22px;
    flex-shrink: 0;
}

.toggle-switch-wrap input[b-c9pnm48nny] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider[b-c9pnm48nny] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 22px;
}

.toggle-slider[b-c9pnm48nny]:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

.toggle-switch-wrap input:checked + .toggle-slider[b-c9pnm48nny] {
    background-color: #10b981;
}

.toggle-switch-wrap input:checked + .toggle-slider[b-c9pnm48nny]:before {
    transform: translateX(16px);
}

.toggle-texts[b-c9pnm48nny] {
    display: flex;
    flex-direction: column;
}

.toggle-title[b-c9pnm48nny] {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1e293b;
}

.toggle-sub[b-c9pnm48nny] {
    font-size: 0.7rem;
    color: #64748b;
}

.modal-footer-bar[b-c9pnm48nny] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 1rem 1.5rem;
    background-color: #fafbfc;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.btn-save[b-c9pnm48nny] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 0.84rem;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    transition: all 0.2s;
}

.btn-save:hover[b-c9pnm48nny] {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
}

.btn-save:disabled[b-c9pnm48nny] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary-outline[b-c9pnm48nny] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    font-size: 0.84rem;
    cursor: pointer;
    padding: 7px 16px;
    border-radius: 8px;
    transition: all 0.15s;
}

.btn-secondary-outline:hover[b-c9pnm48nny] {
    background-color: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

/* Delete Modal */
.delete-confirm-card[b-c9pnm48nny] {
    max-width: 420px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.delete-icon-wrap[b-c9pnm48nny] {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fef2f2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 0.85rem;
}

.delete-modal-title[b-c9pnm48nny] {
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.delete-modal-msg[b-c9pnm48nny] {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0 0 1.25rem 0;
    line-height: 1.45;
}

.delete-modal-actions[b-c9pnm48nny] {
    display: flex;
    gap: 10px;
    width: 100%;
}

.delete-modal-actions button[b-c9pnm48nny] {
    flex: 1;
}

.btn-danger-filled[b-c9pnm48nny] {
    background: #ef4444;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 0.84rem;
    cursor: pointer;
    padding: 8px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-danger-filled:hover[b-c9pnm48nny] {
    background-color: #dc2626;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

/* Animations */
@keyframes lc-pulse-b-c9pnm48nny {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.15); }
    100% { opacity: 1; transform: scale(1); }
}

.lc-fadeInUp[b-c9pnm48nny] {
    animation: lc-fadeInUp-b-c9pnm48nny 0.3s ease-out;
}

@keyframes lc-fadeInUp-b-c9pnm48nny {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────────────────────────
   5. DARK MODE SUPPORT
   ───────────────────────────────────────────────────────────────── */
:host-context([data-theme="dark"]) .referral-page[b-c9pnm48nny],
[data-theme="dark"] .referral-page[b-c9pnm48nny] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-c9pnm48nny],
[data-theme="dark"] .lab-header-card[b-c9pnm48nny] {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .stat-mini-card[b-c9pnm48nny],
[data-theme="dark"] .stat-mini-card[b-c9pnm48nny],
:host-context([data-theme="dark"]) .directory-section[b-c9pnm48nny],
[data-theme="dark"] .directory-section[b-c9pnm48nny] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-c9pnm48nny],
[data-theme="dark"] .lab-title-text[b-c9pnm48nny],
:host-context([data-theme="dark"]) .stat-mini-value[b-c9pnm48nny],
[data-theme="dark"] .stat-mini-value[b-c9pnm48nny],
:host-context([data-theme="dark"]) .directory-heading-text[b-c9pnm48nny],
[data-theme="dark"] .directory-heading-text[b-c9pnm48nny],
:host-context([data-theme="dark"]) .ot-name-title[b-c9pnm48nny],
[data-theme="dark"] .ot-name-title[b-c9pnm48nny] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lc-search-input[b-c9pnm48nny],
[data-theme="dark"] .lc-search-input[b-c9pnm48nny] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .directory-top-bar[b-c9pnm48nny],
[data-theme="dark"] .directory-top-bar[b-c9pnm48nny] {
    background: #1e293b !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table thead th[b-c9pnm48nny],
[data-theme="dark"] .lc-table thead th[b-c9pnm48nny] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
    color: #94a3b8 !important;
    box-shadow: 0 1px 0 #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table td[b-c9pnm48nny],
[data-theme="dark"] .lc-table td[b-c9pnm48nny] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .lc-table-row:hover td[b-c9pnm48nny],
[data-theme="dark"] .lc-table-row:hover td[b-c9pnm48nny] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .modal-form-card[b-c9pnm48nny],
[data-theme="dark"] .modal-form-card[b-c9pnm48nny],
:host-context([data-theme="dark"]) .modal-header-bar[b-c9pnm48nny],
[data-theme="dark"] .modal-header-bar[b-c9pnm48nny],
:host-context([data-theme="dark"]) .modal-body[b-c9pnm48nny],
[data-theme="dark"] .modal-body[b-c9pnm48nny],
:host-context([data-theme="dark"]) .modal-footer-bar[b-c9pnm48nny],
[data-theme="dark"] .modal-footer-bar[b-c9pnm48nny] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-title-heading[b-c9pnm48nny],
[data-theme="dark"] .modal-title-heading[b-c9pnm48nny] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-input[b-c9pnm48nny],
[data-theme="dark"] .lab-input[b-c9pnm48nny] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .btn-secondary-outline[b-c9pnm48nny],
[data-theme="dark"] .btn-secondary-outline[b-c9pnm48nny] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}




/* Operation Theater Master single-viewport theme */
:global(html:has(.ot-master-page))[b-c9pnm48nny],
:global(body:has(.ot-master-page))[b-c9pnm48nny] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.ot-master-page))[b-c9pnm48nny],
:global(.app-main-wrapper:has(.ot-master-page))[b-c9pnm48nny] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.ot-master-page)[b-c9pnm48nny] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.referral-page.ot-master-page[b-c9pnm48nny] {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.referral-page.ot-master-page .lab-header-card[b-c9pnm48nny] {
    flex: 0 0 auto !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.referral-page.ot-master-page .lab-title-text[b-c9pnm48nny] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
}

.referral-page.ot-master-page .suite-count-badge[b-c9pnm48nny] {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #7dd3fc !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 9999px !important;
}

.referral-page.ot-master-page .status-text[b-c9pnm48nny] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.referral-page.ot-master-page .lc-search-input[b-c9pnm48nny] {
    width: 260px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    font-size: 0.82rem !important;
    padding: 0 1rem 0 2.2rem !important;
}

.referral-page.ot-master-page .btn-new-entry[b-c9pnm48nny] {
    height: 36px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
}

.referral-page.ot-master-page .btn-new-entry:hover[b-c9pnm48nny] {
    background: #05689b !important;
}

.referral-page.ot-master-page .stats-mini-bar[b-c9pnm48nny] {
    flex: 0 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
    margin: 0 !important;
}

.referral-page.ot-master-page .stat-mini-card[b-c9pnm48nny] {
    min-height: 48px !important;
    padding: 6px 12px !important;
    border-radius: 10px !important;
    border: 1px solid #dfe7f1 !important;
    background: rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 2px 6px rgba(30, 64, 175, 0.03) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.referral-page.ot-master-page .stat-mini-value[b-c9pnm48nny] {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

.referral-page.ot-master-page .stat-mini-label[b-c9pnm48nny] {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #64748b !important;
}

.referral-page.ot-master-page .directory-section[b-c9pnm48nny] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.referral-page.ot-master-page .directory-top-bar[b-c9pnm48nny] {
    flex: 0 0 auto !important;
    padding: 0.4rem 1rem !important;
    background: #f8fbfe !important;
    border-bottom: 1px solid #dfe7f1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.referral-page.ot-master-page .directory-heading-text[b-c9pnm48nny] {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    color: #07547c !important;
}

.referral-page.ot-master-page .filter-pill-btn[b-c9pnm48nny] {
    height: 26px !important;
    padding: 0 0.75rem !important;
    font-size: 0.72rem !important;
    border-radius: 6px !important;
}

.referral-page.ot-master-page .lc-table-container[b-c9pnm48nny] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
}

.referral-page.ot-master-page .lc-table[b-c9pnm48nny] {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.referral-page.ot-master-page .lc-table thead tr th[b-c9pnm48nny],
.referral-page .lc-table th[b-c9pnm48nny] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.75rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.ot-master-page .lc-table thead tr th:last-child[b-c9pnm48nny],
.referral-page .lc-table th:last-child[b-c9pnm48nny] {
    border-right: none !important;
}

.referral-page.ot-master-page .lc-table tbody tr[b-c9pnm48nny] {
    height: 34px !important;
    min-height: 34px !important;
}

.referral-page.ot-master-page .lc-table tbody tr:nth-child(even) td[b-c9pnm48nny] {
    background: #fbfdff !important;
}

.referral-page.ot-master-page .lc-table-row:hover td[b-c9pnm48nny] {
    background: #f0f8ff !important;
}

.referral-page.ot-master-page .lc-table td[b-c9pnm48nny] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.75rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    color: #334155 !important;
    font-size: 0.76rem !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.ot-master-page .lc-btn[b-c9pnm48nny],
.referral-page.ot-master-page .lc-circle-btn-32[b-c9pnm48nny] {
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.referral-page.ot-master-page .lc-btn:hover[b-c9pnm48nny],
.referral-page.ot-master-page .lc-circle-btn-32:hover[b-c9pnm48nny] {
    border-color: #bae6fd !important;
    background: #f0f9ff !important;
    color: #0369a1 !important;
}
/* /Components/Pages/OtSchedule.razor.rz.scp.css */
/* ==========================================================================
   OT SCHEDULE & THEATER TIMINGS STYLESHEET (OtSchedule.razor.css)
   ========================================================================== */

.ot-schedule-page[b-h3o8qpbmpj] {
    padding: 1rem 1.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-color, #1e293b);
    background-color: #f8fafc;
    height: calc(100vh - 48px);
    max-height: calc(100vh - 48px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow: hidden;
}

@media (max-width: 768px) {
    .ot-schedule-page[b-h3o8qpbmpj] {
        padding: 0.75rem 1rem;
        height: auto;
        max-height: none;
        overflow: visible;
    }
}

/* ==========================================================================
   1. HEADER CARD (MEDICO POLISHED GRADIENT - INCREASED HEIGHT)
   ========================================================================== */
.lab-header-card[b-h3o8qpbmpj] {
    background: linear-gradient(135deg, #f5f7ff 0%, #eef2ff 50%, #e0e7ff 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 14px -2px rgba(79, 70, 229, 0.08);
    padding: 0.95rem 1.35rem;
    min-height: 74px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    flex-shrink: 0;
}

.header-left-wrap[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.header-icon-box[b-h3o8qpbmpj] {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.28);
    flex-shrink: 0;
}

.title-and-badge-row[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: nowrap;
}

.lab-title-text[b-h3o8qpbmpj] {
    font-size: 1.24rem;
    font-weight: 800;
    color: #1e1b4b;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.badge-slot-count[b-h3o8qpbmpj] {
    background: #4f46e5;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.22rem 0.65rem;
    border-radius: 9999px;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
    white-space: nowrap;
}

.header-status-indicator[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.15rem;
}

.status-pulse-dot[b-h3o8qpbmpj] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
    animation: pulseGlow-b-h3o8qpbmpj 2s infinite ease-in-out;
}

@keyframes pulseGlow-b-h3o8qpbmpj {
    0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.1); }
}

.status-text[b-h3o8qpbmpj] {
    font-size: 0.73rem;
    color: #475569;
    font-weight: 600;
}

.header-right-wrap[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

/* Header Controls */
.patient-search-relative[b-h3o8qpbmpj] {
    position: relative;
    width: 240px;
}

.search-icon-svg[b-h3o8qpbmpj] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: #94a3b8;
    pointer-events: none;
}

.lc-header-search-input[b-h3o8qpbmpj] {
    width: 100%;
    height: 38px;
    padding-left: 2.2rem;
    padding-right: 2rem;
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 9px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #1e293b;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.lc-header-search-input:focus[b-h3o8qpbmpj] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.btn-search-clear[b-h3o8qpbmpj] {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search-clear:hover[b-h3o8qpbmpj] {
    color: #64748b;
}

.lc-theater-select[b-h3o8qpbmpj] {
    height: 38px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 9px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #1e293b;
    min-width: 175px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.lc-theater-select:focus[b-h3o8qpbmpj] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.btn-indigo-action[b-h3o8qpbmpj] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    border-radius: 9px;
    height: 38px;
    padding: 0 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-indigo-action:hover:not(:disabled)[b-h3o8qpbmpj] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
    color: #ffffff;
}

.btn-indigo-action:disabled[b-h3o8qpbmpj] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==========================================================================
   2. KPI SUMMARY GRID (TODAY'S METRICS)
   ========================================================================== */
.kpi-grid[b-h3o8qpbmpj] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .kpi-grid[b-h3o8qpbmpj] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .kpi-grid[b-h3o8qpbmpj] {
        grid-template-columns: 1fr;
    }
}

.kpi-card[b-h3o8qpbmpj] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.kpi-card[b-h3o8qpbmpj]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3.5px;
    background: transparent;
    transition: background 0.2s;
}

.kpi-total[b-h3o8qpbmpj]::before { background: #4f46e5; }
.kpi-today[b-h3o8qpbmpj]::before { background: #10b981; }
.kpi-pending[b-h3o8qpbmpj]::before { background: #f59e0b; }
.kpi-theaters[b-h3o8qpbmpj]::before { background: #0284c7; }

.kpi-card:hover[b-h3o8qpbmpj] {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.clickable-kpi[b-h3o8qpbmpj] {
    cursor: pointer;
}

.clickable-kpi:hover[b-h3o8qpbmpj] {
    border-color: #f59e0b;
}

.kpi-icon-box[b-h3o8qpbmpj] {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.kpi-details[b-h3o8qpbmpj] {
    display: flex;
    flex-direction: column;
}

.kpi-value[b-h3o8qpbmpj] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.kpi-label[b-h3o8qpbmpj] {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.2rem;
}

/* ==========================================================================
   3. DATE NAVIGATION & VIEW CONTROLS TOOLBAR
   ========================================================================== */
.schedule-toolbar-card[b-h3o8qpbmpj] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.55rem 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    flex-shrink: 0;
}

.date-navigator-wrap[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.date-nav-btn-group[b-h3o8qpbmpj] {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #ffffff;
    overflow: hidden;
}

.btn-nav-date[b-h3o8qpbmpj] {
    width: 28px;
    height: 28px;
    border: none;
    background: #ffffff;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 0.8rem;
}

.btn-nav-date:hover[b-h3o8qpbmpj] {
    background: #f1f5f9;
    color: #1e293b;
}

.btn-date-today[b-h3o8qpbmpj] {
    height: 28px;
    padding: 0 0.75rem;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-size: 0.74rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-date-today.active[b-h3o8qpbmpj], .btn-date-today:hover[b-h3o8qpbmpj] {
    background: #eef2ff;
    color: #4338ca;
}

.date-picker-box .lc-date-control[b-h3o8qpbmpj] {
    height: 32px;
    border-radius: 8px;
    font-size: 0.78rem;
    border: 1px solid #cbd5e1;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    color: #1e293b;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.15s ease;
}

.date-picker-box .lc-date-control:focus[b-h3o8qpbmpj] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    outline: none;
}

.selected-date-pill[b-h3o8qpbmpj] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0 0.85rem;
    height: 32px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

/* Segmented Tab Switcher (Bookings vs Unscheduled Queue) */
.schedule-tab-toggle[b-h3o8qpbmpj] {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 3px;
    gap: 4px;
}

.tab-toggle-btn[b-h3o8qpbmpj] {
    border: none;
    background: transparent;
    padding: 0.35rem 0.95rem;
    height: 34px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.tab-toggle-btn:hover:not(.active)[b-h3o8qpbmpj] {
    color: #1e293b;
    background: rgba(255, 255, 255, 0.7);
}

.tab-toggle-btn.active.bookings-active[b-h3o8qpbmpj] {
    background: #ffffff;
    color: #4338ca;
    box-shadow: 0 2px 5px rgba(67, 56, 202, 0.12), 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid #e0e7ff;
}

.tab-toggle-btn.active.queue-active[b-h3o8qpbmpj] {
    background: #ffffff;
    color: #b45309;
    box-shadow: 0 2px 5px rgba(180, 83, 9, 0.12), 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid #fde68a;
}

/* ==========================================================================
   5. SCHEDULE WORKSPACE & TIMELINE VIEW (COMPACT 2-COLUMN CARDS)
   ========================================================================== */
.schedule-workspace-card[b-h3o8qpbmpj] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.timeline-theater-strip[b-h3o8qpbmpj] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: stretch;
}

@media (max-width: 992px) {
    .timeline-theater-strip[b-h3o8qpbmpj] {
        grid-template-columns: 1fr;
    }
}

.theater-row-block[b-h3o8qpbmpj] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.theater-row-block:hover[b-h3o8qpbmpj] {
    border-color: #cbd5e1;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.theater-row-header[b-h3o8qpbmpj] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.theater-header-identity[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.theater-badge-icon[b-h3o8qpbmpj] {
    width: 32px;
    height: 32px;
    background: #e0e7ff;
    color: #4338ca;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.theater-title-block[b-h3o8qpbmpj] {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.theater-title-line[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.theater-title[b-h3o8qpbmpj] {
    font-size: 0.9rem;
    color: #0f172a;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.theater-sub-text[b-h3o8qpbmpj] {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 1px;
    line-height: 1.2;
}

.theater-header-actions[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.slot-count-badge[b-h3o8qpbmpj] {
    background: #f8fafc;
    color: #475569;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 5px;
    border: 1px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
}

/* Small size Add Slot button */
.btn-add-theater-slot[b-h3o8qpbmpj] {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
    border-radius: 5px;
    padding: 2px 7px;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1.2;
    height: 23px;
}

.btn-add-theater-slot:hover[b-h3o8qpbmpj] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
}

/* Empty Theater Strip (Ultra-Compact Inside Card) */
.empty-theater-strip[b-h3o8qpbmpj] {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: all 0.15s ease;
}

.empty-theater-strip:hover[b-h3o8qpbmpj] {
    border-color: #818cf8;
    background: #fafcff;
}

.empty-strip-left[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.empty-cal-icon[b-h3o8qpbmpj] {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #e0e7ff;
    color: #4338ca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.empty-text-wrap[b-h3o8qpbmpj] {
    display: flex;
    flex-direction: column;
}

.empty-strip-title[b-h3o8qpbmpj] {
    font-size: 0.74rem;
    font-weight: 700;
    color: #334155;
    display: block;
    line-height: 1.2;
}

.empty-strip-sub[b-h3o8qpbmpj] {
    font-size: 0.66rem;
    color: #94a3b8;
    display: block;
    line-height: 1.2;
    margin-top: 1px;
}

.empty-strip-actions[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.3rem;
    flex-wrap: wrap;
    border-top: 1px solid #eef2f6;
    padding-top: 0.35rem;
}

.quick-time-chips[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.quick-time-pill[b-h3o8qpbmpj] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.15s;
    line-height: 1.3;
}

.quick-time-pill:hover[b-h3o8qpbmpj] {
    background: #e0e7ff;
    color: #4338ca;
    border-color: #c7d2fe;
}

.btn-book-slot-mini[b-h3o8qpbmpj] {
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 2px 7px;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    height: 22px;
    transition: all 0.15s;
}

.btn-book-slot-mini:hover[b-h3o8qpbmpj] {
    background: #4338ca;
}

/* Slots Cards Grid inside theater */
.slots-cards-grid[b-h3o8qpbmpj] {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

/* Slot Card (Executive Healthcare Card Layout) */
.slot-card[b-h3o8qpbmpj] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #6366f1;
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.slot-card:hover[b-h3o8qpbmpj] {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
    transform: translateY(-1px);
}

.slot-card.slot-in-progress[b-h3o8qpbmpj] {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.slot-card.slot-completed[b-h3o8qpbmpj] {
    border-left-color: #059669;
}

.slot-card.slot-cancelled[b-h3o8qpbmpj] {
    opacity: 0.75;
    border-left-color: #ef4444;
    background: #fdf2f2;
}

.slot-card-header[b-h3o8qpbmpj] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.slot-time-pill[b-h3o8qpbmpj] {
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #e0e7ff;
}

.slot-duration-tag[b-h3o8qpbmpj] {
    background: #ffffff;
    color: #4338ca;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.05rem 0.35rem;
    border-radius: 4px;
    border: 1px solid #c7d2fe;
}

.slot-status-pill[b-h3o8qpbmpj] {
    display: inline-flex;
    align-items: center;
    gap: 4.5px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.18rem 0.55rem;
    border-radius: 6px;
    text-transform: capitalize;
}

.badge-status-booked[b-h3o8qpbmpj] {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

.badge-status-in_progress[b-h3o8qpbmpj],
.badge-status-in-progress[b-h3o8qpbmpj],
.badge-status-in_op[b-h3o8qpbmpj],
.badge-status-surgery[b-h3o8qpbmpj] {
    background: #f5f3ff;
    color: #6b21a8;
    border: 1px solid #ddd6fe;
}

.badge-status-completed[b-h3o8qpbmpj] {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.badge-status-in_recovery[b-h3o8qpbmpj],
.badge-status-recovery[b-h3o8qpbmpj],
.badge-status-recovered[b-h3o8qpbmpj] {
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.badge-status-transferred[b-h3o8qpbmpj],
.badge-status-discharged[b-h3o8qpbmpj] {
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

.badge-status-requested[b-h3o8qpbmpj] {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.badge-status-cancelled[b-h3o8qpbmpj] {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.status-indicator-dot[b-h3o8qpbmpj] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.slot-card-body[b-h3o8qpbmpj] {
    display: flex;
    flex-direction: column;
}

.slot-proc-header[b-h3o8qpbmpj] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
    gap: 0.4rem;
}

.slot-proc-name[b-h3o8qpbmpj] {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
}

.slot-priority-tag[b-h3o8qpbmpj] {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.priority-emergency[b-h3o8qpbmpj],
.priority-urgent[b-h3o8qpbmpj] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.slot-meta-grid[b-h3o8qpbmpj] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 7px;
    padding: 0.45rem 0.6rem;
    margin-bottom: 0.45rem;
}

@media (max-width: 480px) {
    .slot-meta-grid[b-h3o8qpbmpj] {
        grid-template-columns: 1fr;
    }
}

.slot-meta-item[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.meta-icon-avatar[b-h3o8qpbmpj] {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.meta-item-content[b-h3o8qpbmpj] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.meta-label[b-h3o8qpbmpj] {
    font-size: 0.64rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
}

.meta-val[b-h3o8qpbmpj] {
    font-size: 0.76rem;
    color: #1e293b;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.meta-sub-id[b-h3o8qpbmpj] {
    font-size: 0.68rem;
    font-weight: 500;
    color: #94a3b8;
    margin-left: 2px;
}

.slot-notes-box[b-h3o8qpbmpj] {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #92400e;
    font-size: 0.72rem;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
}

.slot-actions-bar[b-h3o8qpbmpj] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.45rem;
    border-top: 1px solid #f1f5f9;
    margin-top: 0.35rem;
}

.btn-slot-console[b-h3o8qpbmpj] {
    background: #f8fafc;
    color: #4338ca;
    border: 1px solid #e0e7ff;
    border-radius: 6px;
    padding: 0.2rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    height: 26px;
}

.btn-slot-console:hover[b-h3o8qpbmpj] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
}

.slot-action-btn-group[b-h3o8qpbmpj] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-slot-action[b-h3o8qpbmpj] {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-action-postpone[b-h3o8qpbmpj] {
    color: #d97706;
}

.btn-action-postpone:hover[b-h3o8qpbmpj] {
    background: #fffbeb;
    border-color: #fde68a;
    transform: translateY(-1px);
}

.btn-action-edit[b-h3o8qpbmpj] {
    color: #2563eb;
}

.btn-action-edit:hover[b-h3o8qpbmpj] {
    background: #eff6ff;
    border-color: #93c5fd;
    transform: translateY(-1px);
}

.btn-action-cancel[b-h3o8qpbmpj] {
    color: #dc2626;
}

.btn-action-cancel:hover[b-h3o8qpbmpj] {
    background: #fef2f2;
    border-color: #fca5a5;
    transform: translateY(-1px);
}

.btn-tbl-postpone[b-h3o8qpbmpj] {
    color: #d97706;
}

.btn-tbl-postpone:hover[b-h3o8qpbmpj] {
    background: #fffbeb;
    border-color: #fde68a;
}

/* ==========================================================================
   4. UNSCHEDULED SURGERY REQUESTS QUEUE DRAWER
   ========================================================================== */
.unscheduled-drawer-card[b-h3o8qpbmpj] {
    background: #ffffff;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 10px;
    box-shadow: 0 4px 12px -2px rgba(245, 158, 11, 0.12);
    overflow: hidden;
    animation: drawerSlideDown-b-h3o8qpbmpj 0.18s ease-out;
}

@keyframes drawerSlideDown-b-h3o8qpbmpj {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.drawer-header[b-h3o8qpbmpj] {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    padding: 0.65rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #fde68a;
}

.drawer-title[b-h3o8qpbmpj] {
    font-size: 0.88rem;
    font-weight: 800;
    color: #92400e;
}

.btn-close-drawer[b-h3o8qpbmpj] {
    background: none;
    border: none;
    font-size: 1.35rem;
    color: #92400e;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: opacity 0.15s;
}

.btn-close-drawer:hover[b-h3o8qpbmpj] {
    opacity: 0.7;
}

.drawer-body[b-h3o8qpbmpj] {
    padding: 0.85rem 1rem;
}

.unscheduled-grid[b-h3o8qpbmpj] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 0.75rem;
}

.unscheduled-case-pill[b-h3o8qpbmpj] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.15s ease;
}

.unscheduled-case-pill:hover[b-h3o8qpbmpj] {
    border-color: #f59e0b;
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.15);
    transform: translateY(-1px);
}

.case-pill-left[b-h3o8qpbmpj] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.case-proc[b-h3o8qpbmpj] {
    font-size: 0.84rem;
    font-weight: 700;
    color: #0f172a;
}

.case-meta[b-h3o8qpbmpj] {
    font-size: 0.72rem;
    color: #64748b;
}

.btn-schedule-now[b-h3o8qpbmpj] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    border-radius: 7px;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
    transition: all 0.15s ease;
}

.btn-schedule-now:hover[b-h3o8qpbmpj] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

.toolbar-results-count[b-h3o8qpbmpj] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0 0.85rem;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

/* ==========================================================================
   6. TABLE LIST VIEW & UNSCHEDULED QUEUE
   ========================================================================== */
.queue-sub-header[b-h3o8qpbmpj] {
    padding: 0.75rem 1.25rem;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.queue-heading[b-h3o8qpbmpj] {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
}

.queue-badge-count[b-h3o8qpbmpj] {
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
}

.emergency-alert-pill[b-h3o8qpbmpj] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
    animation: lc-pulse 2s infinite;
}

.table-responsive[b-h3o8qpbmpj] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: auto;
}

/* Custom scrollbar */
.table-responsive[b-h3o8qpbmpj]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.table-responsive[b-h3o8qpbmpj]::-webkit-scrollbar-track {
    background: #f8fafc;
}
.table-responsive[b-h3o8qpbmpj]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.table-responsive[b-h3o8qpbmpj]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.ot-schedule-table[b-h3o8qpbmpj] {
    font-size: 0.8125rem;
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    table-layout: fixed;
}

.ot-schedule-table th[b-h3o8qpbmpj] {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #f8fafc;
    color: #64748b;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.7rem 0.65rem;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 0 #e2e8f0;
    white-space: nowrap;
}

.ot-schedule-table td[b-h3o8qpbmpj] {
    padding: 0.7rem 0.65rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.8125rem;
    vertical-align: middle;
    background: #ffffff;
}

/* Fixed Column Widths (Optimized to fit screen 100% without horizontal scroll) */
.col-req-date[b-h3o8qpbmpj]        { width: 130px; min-width: 120px; }
.col-booking-time[b-h3o8qpbmpj]    { width: 155px; min-width: 140px; }
.col-booking-theater[b-h3o8qpbmpj] { width: 125px; min-width: 105px; }
.col-procedure[b-h3o8qpbmpj]       { width: 175px; min-width: 140px; overflow: hidden; }
.col-patient[b-h3o8qpbmpj]         { width: 135px; min-width: 115px; overflow: hidden; }
.col-surgeon[b-h3o8qpbmpj]         { width: 145px; min-width: 125px; overflow: hidden; }
.col-duration[b-h3o8qpbmpj]        { width: 90px; min-width: 75px; }
.col-priority[b-h3o8qpbmpj]        { width: 105px; min-width: 90px; }
.col-status[b-h3o8qpbmpj]          { width: 110px; min-width: 100px; }
.col-actions[b-h3o8qpbmpj]         { width: 120px; min-width: 115px; white-space: nowrap; }

/* Procedure Cell Block (Strict Static Width with Ellipsis) */
.procedure-cell-block[b-h3o8qpbmpj] {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
}

.procedure-title-row[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.procedure-name-text[b-h3o8qpbmpj] {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.8125rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
}

.surgery-type-chip[b-h3o8qpbmpj] {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.procedure-notes-preview[b-h3o8qpbmpj] {
    font-size: 0.7rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

/* Date Cell */
.date-cell-wrap[b-h3o8qpbmpj] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.date-main-text[b-h3o8qpbmpj] {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.8125rem;
    white-space: nowrap;
}

.status-awaiting-badge[b-h3o8qpbmpj] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    width: fit-content;
    white-space: nowrap;
}

.time-range-pill[b-h3o8qpbmpj] {
    display: inline-flex;
    align-items: center;
    color: #4338ca;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    white-space: nowrap;
}

/* Patient Cell */
.patient-cell-wrap[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.patient-avatar-mini[b-h3o8qpbmpj] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.patient-name-block[b-h3o8qpbmpj] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.patient-main-name[b-h3o8qpbmpj] {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.8125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.patient-sub-id[b-h3o8qpbmpj] {
    font-size: 0.6875rem;
    color: #94a3b8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Surgeon Cell */
.surgeon-cell-wrap[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    overflow: hidden;
}

.surgeon-name-text[b-h3o8qpbmpj] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Duration & Priority */
.duration-badge-pill[b-h3o8qpbmpj] {
    display: inline-flex;
    align-items: center;
    background: #f8faff;
    border: 1px solid #e0e7ff;
    color: #4338ca;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 2px 7px;
    border-radius: 6px;
    white-space: nowrap;
}

.priority-pill[b-h3o8qpbmpj] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.priority-pill.priority-emergency[b-h3o8qpbmpj] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.priority-pill.priority-emergency .emergency-dot[b-h3o8qpbmpj] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    animation: lc-pulse 1.5s infinite;
}

.priority-pill.priority-elective[b-h3o8qpbmpj] {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

/* Action Button: Book Slot */
.btn-book-slot-action[b-h3o8qpbmpj] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    border-radius: 7px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-book-slot-action:hover[b-h3o8qpbmpj] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
    color: #ffffff;
}

.theater-cell-wrap[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.theater-mini-icon[b-h3o8qpbmpj] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #eef2ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.theater-cell-info[b-h3o8qpbmpj] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.theater-main-name[b-h3o8qpbmpj] {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.8125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.theater-sub-loc[b-h3o8qpbmpj] {
    font-size: 0.6875rem;
    color: #94a3b8;
    white-space: nowrap;
}

.schedule-row:hover td[b-h3o8qpbmpj] {
    background-color: #f8faff;
}

.schedule-row.row-emergency-highlight td[b-h3o8qpbmpj] {
    background-color: #fffbfb;
}

.schedule-row.row-cancelled[b-h3o8qpbmpj] {
    opacity: 0.6;
}

.schedule-row.row-in-progress td[b-h3o8qpbmpj] {
    background-color: #f0fdf4;
}

.btn-tbl-icon[b-h3o8qpbmpj] {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-tbl-postpone[b-h3o8qpbmpj] { color: #d97706; }
.btn-tbl-postpone:hover[b-h3o8qpbmpj] { background: #fef3c7; border-color: #fde68a; }

.btn-tbl-view[b-h3o8qpbmpj] { color: #4f46e5; }
.btn-tbl-view:hover[b-h3o8qpbmpj] { background: #eef2ff; border-color: #c7d2fe; }

.btn-tbl-edit[b-h3o8qpbmpj] { color: #2563eb; }
.btn-tbl-edit:hover[b-h3o8qpbmpj] { background: #eff6ff; border-color: #bfdbfe; }

.btn-tbl-cancel[b-h3o8qpbmpj] { color: #dc2626; }
.btn-tbl-cancel:hover[b-h3o8qpbmpj] { background: #fef2f2; border-color: #fecaca; }

/* Font and text color utility helpers */
.font-13[b-h3o8qpbmpj] { font-size: 0.8125rem; }
.font-12[b-h3o8qpbmpj] { font-size: 0.75rem; }
.font-11[b-h3o8qpbmpj] { font-size: 0.6875rem; }
.font-10[b-h3o8qpbmpj] { font-size: 0.625rem; }
.font-9[b-h3o8qpbmpj]  { font-size: 0.5625rem; }
.font-bold[b-h3o8qpbmpj] { font-weight: 700; }
.font-semibold[b-h3o8qpbmpj] { font-weight: 600; }
.font-mono[b-h3o8qpbmpj] { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

.text-slate-900[b-h3o8qpbmpj] { color: #0f172a; }
.text-slate-800[b-h3o8qpbmpj] { color: #1e293b; }
.text-slate-700[b-h3o8qpbmpj] { color: #334155; }
.text-slate-600[b-h3o8qpbmpj] { color: #475569; }
.text-slate-500[b-h3o8qpbmpj] { color: #64748b; }
.text-slate-400[b-h3o8qpbmpj] { color: #94a3b8; }
.text-slate-300[b-h3o8qpbmpj] { color: #cbd5e1; }
.text-indigo-700[b-h3o8qpbmpj] { color: #4338ca; }
.text-indigo-600[b-h3o8qpbmpj] { color: #4f46e5; }
.text-indigo-500[b-h3o8qpbmpj] { color: #6366f1; }
.text-emerald-600[b-h3o8qpbmpj] { color: #059669; }

/* ==========================================================================
   7. MODAL STYLING (PERFECT 100% WIDTH, CRISP ALIGNMENT, SPACIOUS PADDING)
   ========================================================================== */
.modal-overlay[b-h3o8qpbmpj] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1.5rem;
}

.modal-form-card[b-h3o8qpbmpj] {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 640px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    animation: modalFadeIn-b-h3o8qpbmpj 0.18s ease-out;
}

@keyframes modalFadeIn-b-h3o8qpbmpj {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header-bar[b-h3o8qpbmpj] {
    padding: 1.25rem 1.85rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

.modal-header-left[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.modal-header-icon-box[b-h3o8qpbmpj] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #e0e7ff;
    color: #4338ca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.modal-header-icon-box.icon-blue[b-h3o8qpbmpj] {
    background: #dbeafe;
    color: #1d4ed8;
}

.modal-header-text[b-h3o8qpbmpj] {
    display: flex;
    flex-direction: column;
}

.modal-title-text[b-h3o8qpbmpj] {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.modal-subtitle-text[b-h3o8qpbmpj] {
    font-size: 0.76rem;
    color: #64748b;
    margin-top: 3px;
}

.modal-close-btn[b-h3o8qpbmpj] {
    background: transparent;
    border: none;
    font-size: 1.45rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
}

.modal-close-btn:hover[b-h3o8qpbmpj] {
    color: #ef4444 !important;
    background-color: #fee2e2;
}

.modal-body-content[b-h3o8qpbmpj] {
    padding: 1.75rem 2rem;
}

.conflict-alert-box[b-h3o8qpbmpj] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: #991b1b;
    margin-bottom: 1.35rem;
}

/* Selected Case Preview Banner */
.selected-case-preview-card[b-h3o8qpbmpj] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #6366f1;
    border-radius: 10px;
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.95rem;
    margin-bottom: 1.35rem;
}

.case-preview-badge[b-h3o8qpbmpj] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #e0e7ff;
    color: #4338ca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.case-preview-badge.icon-blue[b-h3o8qpbmpj] {
    background: #dbeafe;
    color: #1d4ed8;
}

.case-preview-details[b-h3o8qpbmpj] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.case-preview-title[b-h3o8qpbmpj] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.case-preview-sub[b-h3o8qpbmpj] {
    font-size: 0.76rem;
    color: #64748b;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.preview-dot[b-h3o8qpbmpj] {
    color: #cbd5e1;
}

.modal-form-group[b-h3o8qpbmpj] {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 1.35rem;
}

.modal-form-row[b-h3o8qpbmpj] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
    width: 100%;
    margin-bottom: 1.35rem;
}

@media (max-width: 520px) {
    .modal-form-row[b-h3o8qpbmpj] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.modal-form-col[b-h3o8qpbmpj] {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.modal-field-label[b-h3o8qpbmpj] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.55rem;
    display: block;
}

.modal-select-control[b-h3o8qpbmpj],
.modal-input-control[b-h3o8qpbmpj] {
    display: block !important;
    width: 100% !important;
    height: 42px !important;
    border-radius: 9px !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 0.84rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 0.95rem !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
    box-sizing: border-box !important;
    transition: all 0.15s ease;
}

.modal-select-control:focus[b-h3o8qpbmpj],
.modal-input-control:focus[b-h3o8qpbmpj],
.modal-textarea-control:focus[b-h3o8qpbmpj] {
    outline: none !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

.modal-input-control.bg-readonly[b-h3o8qpbmpj] {
    background-color: #f8fafc !important;
    color: #64748b !important;
    cursor: default;
}

.modal-textarea-control[b-h3o8qpbmpj] {
    display: block !important;
    width: 100% !important;
    border-radius: 9px !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 0.84rem !important;
    font-family: inherit !important;
    padding: 0.75rem 0.95rem !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
    box-sizing: border-box !important;
    resize: vertical;
}

/* --- Enhanced Typeahead Search Dropdown --- */
.modal-search-autocomplete-wrapper[b-h3o8qpbmpj] {
    position: relative;
    width: 100%;
}

.modal-search-input-box[b-h3o8qpbmpj] {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.modal-search-icon[b-h3o8qpbmpj] {
    position: absolute;
    left: 1rem;
    color: #818cf8;
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
}

.modal-input-control.with-search-icon[b-h3o8qpbmpj] {
    padding-left: 2.75rem !important;
    padding-right: 2.5rem !important;
}

.modal-input-control.with-search-icon.has-selection[b-h3o8qpbmpj] {
    font-weight: 700 !important;
    color: #1e1b4b !important;
    background-color: #f5f7ff !important;
    border-color: #818cf8 !important;
}

.btn-clear-search[b-h3o8qpbmpj],
.btn-dropdown-arrow[b-h3o8qpbmpj] {
    position: absolute;
    right: 0.75rem;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.15s ease;
    z-index: 2;
}

.btn-clear-search:hover[b-h3o8qpbmpj] {
    color: #ef4444;
    background: #fee2e2;
}

.btn-dropdown-arrow:hover[b-h3o8qpbmpj] {
    color: #4338ca;
    background: #eef2ff;
}

.modal-typeahead-dropdown[b-h3o8qpbmpj] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 290px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    z-index: 2100;
    box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(99, 102, 241, 0.08);
    padding: 6px;
}

.modal-typeahead-dropdown[b-h3o8qpbmpj]::-webkit-scrollbar {
    width: 6px;
}

.modal-typeahead-dropdown[b-h3o8qpbmpj]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.typeahead-option-item[b-h3o8qpbmpj] {
    padding: 9px 12px;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    margin-bottom: 3px;
}

.typeahead-option-item:last-child[b-h3o8qpbmpj] {
    margin-bottom: 0;
}

.typeahead-option-item:hover[b-h3o8qpbmpj] {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    transform: translateX(2px);
}

.typeahead-option-item.selected[b-h3o8qpbmpj] {
    background-color: #eef2ff;
    border-color: #c7d2fe;
}

.typeahead-item-layout[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.typeahead-item-icon[b-h3o8qpbmpj] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #e0e7ff;
    color: #4338ca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.typeahead-item-main[b-h3o8qpbmpj] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex-grow: 1;
}

.typeahead-proc-line[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.typeahead-proc-title[b-h3o8qpbmpj] {
    font-size: 0.84rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

.typeahead-emergency-badge[b-h3o8qpbmpj] {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 9999px;
    letter-spacing: 0.02em;
}

.typeahead-chip[b-h3o8qpbmpj] {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
}

.typeahead-meta-line[b-h3o8qpbmpj] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: 0.72rem;
    color: #64748b;
    flex-wrap: wrap;
}

.typeahead-meta-item[b-h3o8qpbmpj] {
    display: inline-flex;
    align-items: center;
}

.typeahead-dot[b-h3o8qpbmpj] {
    color: #cbd5e1;
    font-size: 0.75rem;
}

.typeahead-item-right[b-h3o8qpbmpj] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.typeahead-duration-pill[b-h3o8qpbmpj] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
}

.typeahead-empty-state[b-h3o8qpbmpj] {
    padding: 1.75rem 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.82rem;
}

.modal-footer-bar[b-h3o8qpbmpj] {
    padding: 1.15rem 2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 0.85rem;
    background: #f8fafc;
}

.btn-modal-cancel[b-h3o8qpbmpj] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    border-radius: 9px;
    height: 40px;
    padding: 0 1.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-modal-cancel:hover[b-h3o8qpbmpj] {
    background: #f1f5f9;
    color: #1e293b;
}

.btn-modal-save[b-h3o8qpbmpj] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    border-radius: 9px;
    height: 40px;
    padding: 0 1.5rem;
    font-size: 0.84rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(79, 70, 229, 0.25);
    transition: all 0.15s;
    cursor: pointer;
}

.btn-modal-save:hover:not(:disabled)[b-h3o8qpbmpj] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
}

.btn-modal-save:disabled[b-h3o8qpbmpj] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==========================================================================
   8. DARK MODE ADAPTATIONS
   ========================================================================== */
[data-theme="dark"] .ot-schedule-page[b-h3o8qpbmpj] {
    --text-color: #f1f5f9;
    background-color: #0f172a;
}

[data-theme="dark"] .lab-header-card[b-h3o8qpbmpj] {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-color: #4338ca;
}

[data-theme="dark"] .kpi-card[b-h3o8qpbmpj],
[data-theme="dark"] .schedule-toolbar-card[b-h3o8qpbmpj],
[data-theme="dark"] .schedule-workspace-card[b-h3o8qpbmpj],
[data-theme="dark"] .modal-form-card[b-h3o8qpbmpj],
[data-theme="dark"] .slot-card[b-h3o8qpbmpj],
[data-theme="dark"] .empty-theater-strip[b-h3o8qpbmpj],
[data-theme="dark"] .unscheduled-case-pill[b-h3o8qpbmpj] {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

[data-theme="dark"] .selected-case-preview-card[b-h3o8qpbmpj] {
    background: #0f172a;
    border-color: #334155;
    border-left-color: #6366f1;
}

[data-theme="dark"] .case-preview-title[b-h3o8qpbmpj] {
    color: #f8fafc;
}

[data-theme="dark"] .lab-title-text[b-h3o8qpbmpj],
[data-theme="dark"] .kpi-value[b-h3o8qpbmpj],
[data-theme="dark"] .theater-title[b-h3o8qpbmpj],
[data-theme="dark"] .empty-strip-title[b-h3o8qpbmpj],
[data-theme="dark"] .slot-proc-name[b-h3o8qpbmpj] {
    color: #f8fafc !important;
}

[data-theme="dark"] .modal-title-text[b-h3o8qpbmpj] {
    color: #f8fafc !important;
}

[data-theme="dark"] .modal-field-label[b-h3o8qpbmpj] {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .modal-select-control[b-h3o8qpbmpj],
[data-theme="dark"] .modal-input-control[b-h3o8qpbmpj],
[data-theme="dark"] .modal-textarea-control[b-h3o8qpbmpj] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .theater-row-block[b-h3o8qpbmpj] {
    background: #0f172a;
    border-color: #334155;
}

[data-theme="dark"] .ot-schedule-table th[b-h3o8qpbmpj] {
    background: #0f172a;
    color: #94a3b8;
    border-color: #334155;
}

[data-theme="dark"] .ot-schedule-table td[b-h3o8qpbmpj] {
    border-color: #334155;
}

[data-theme="dark"] .lc-header-search-input[b-h3o8qpbmpj],
[data-theme="dark"] .lc-theater-select[b-h3o8qpbmpj],
[data-theme="dark"] .lc-date-control[b-h3o8qpbmpj],
[data-theme="dark"] .nt-select-control[b-h3o8qpbmpj],
[data-theme="dark"] .nt-input-control[b-h3o8qpbmpj],
[data-theme="dark"] .nt-textarea-control[b-h3o8qpbmpj] {
    background-color: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}

[data-theme="dark"] .selected-date-pill[b-h3o8qpbmpj] {
    background: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}

[data-theme="dark"] .modal-header-bar[b-h3o8qpbmpj],
[data-theme="dark"] .modal-footer-bar[b-h3o8qpbmpj] {
    background: #0f172a;
    border-color: #334155;
}

[data-theme="dark"] .slot-meta-grid[b-h3o8qpbmpj] {
    background: #0f172a;
    border-color: #334155;
}

[data-theme="dark"] .meta-val[b-h3o8qpbmpj] {
    color: #f8fafc !important;
}

[data-theme="dark"] .slot-time-pill[b-h3o8qpbmpj] {
    background: #1e1b4b;
    border-color: #3730a3;
    color: #c7d2fe;
}

[data-theme="dark"] .slot-duration-tag[b-h3o8qpbmpj] {
    background: #312e81;
    border-color: #4338ca;
    color: #e0e7ff;
}

[data-theme="dark"] .btn-slot-console[b-h3o8qpbmpj] {
    background: #1e293b;
    border-color: #334155;
    color: #c7d2fe;
}

[data-theme="dark"] .btn-slot-console:hover[b-h3o8qpbmpj] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
}

[data-theme="dark"] .btn-slot-action[b-h3o8qpbmpj] {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .modal-close-btn:hover[b-h3o8qpbmpj] {
    color: #f87171 !important;
    background-color: rgba(239, 68, 68, 0.2) !important;
}

[data-theme="dark"] .modal-typeahead-dropdown[b-h3o8qpbmpj] {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .typeahead-option-item[b-h3o8qpbmpj] {
    border-color: #334155;
}

[data-theme="dark"] .typeahead-option-item:hover[b-h3o8qpbmpj] {
    background-color: #334155;
}

[data-theme="dark"] .typeahead-option-item.selected[b-h3o8qpbmpj] {
    background-color: #312e81;
}

[data-theme="dark"] .modal-input-control.with-search-icon.has-selection[b-h3o8qpbmpj] {
    color: #f8fafc !important;
    background-color: #1e293b !important;
    border-color: #6366f1 !important;
}

[data-theme="dark"] .schedule-tab-toggle[b-h3o8qpbmpj] {
    background: #0f172a;
    border-color: #334155;
}

[data-theme="dark"] .tab-toggle-btn[b-h3o8qpbmpj] {
    color: #94a3b8;
}

[data-theme="dark"] .tab-toggle-btn:hover:not(.active)[b-h3o8qpbmpj] {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .tab-toggle-btn.active.bookings-active[b-h3o8qpbmpj] {
    background: #1e293b;
    color: #c7d2fe;
    border-color: #4338ca;
}

[data-theme="dark"] .tab-toggle-btn.active.queue-active[b-h3o8qpbmpj] {
    background: #1e293b;
    color: #fde68a;
    border-color: #f59e0b;
}

/* ==========================================================================
   CENTER-ALIGNED & ATTRACTIVE EMPTY STATE STYLING
   ========================================================================== */
.schedule-empty-state-card[b-h3o8qpbmpj] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 56px 24px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03) !important;
    width: 100% !important;
    margin: 16px 0 !important;
    box-sizing: border-box !important;
    animation: fadeIn 0.25s ease-in-out;
}

.empty-state-icon-circle[b-h3o8qpbmpj] {
    width: 68px !important;
    height: 68px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    color: #4f46e5 !important;
    border: 1px solid #c7d2fe !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 30px !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.12) !important;
    margin-bottom: 16px !important;
    transition: transform 0.25s ease;
}

.schedule-empty-state-card:hover .empty-state-icon-circle[b-h3o8qpbmpj] {
    transform: scale(1.06);
}

.empty-state-heading[b-h3o8qpbmpj] {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
    letter-spacing: -0.01em !important;
}

.empty-state-description[b-h3o8qpbmpj] {
    font-size: 12.5px !important;
    color: #64748b !important;
    margin: 0 0 20px 0 !important;
    max-width: 420px !important;
    line-height: 1.45 !important;
}

.btn-schedule-first-slot[b-h3o8qpbmpj] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    padding: 9px 24px !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.28) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.btn-schedule-first-slot:hover[b-h3o8qpbmpj] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.38) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .schedule-empty-state-card[b-h3o8qpbmpj] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .empty-state-icon-circle[b-h3o8qpbmpj] {
    background: rgba(99, 102, 241, 0.15) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    color: #818cf8 !important;
}

[data-theme="dark"] .empty-state-heading[b-h3o8qpbmpj] {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .empty-state-description[b-h3o8qpbmpj] {
    color: #94a3b8 !important;
}


/* /Components/Pages/OtStaffNote.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════
   MEDICO OT STAFF NOTES — POLISHED CLINICAL DESIGN SYSTEM
   Intraoperative Medicines, Consumables & Reusable Tools Log
   ═══════════════════════════════════════════════════════════════════ */

.ot-staff-page[b-twm0t17go9] {
    padding: 1.25rem 1.75rem 3.5rem 1.75rem;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f8fafc;
    min-height: calc(100vh - 48px);
    box-sizing: border-box;
    color: #1e293b;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

@media (max-width: 768px) {
    .ot-staff-page[b-twm0t17go9] {
        padding: 1rem;
    }
}

/* ─────────────────────────────────────────────────────────────────
   1. TOP HEADER CONSOLE
   ───────────────────────────────────────────────────────────────── */
.staff-page-header[b-twm0t17go9] {
    position: relative;
    z-index: 100;
    background: linear-gradient(135deg, #f5f7ff 0%, #eef2ff 50%, #e0e7ff 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 14px -2px rgba(79, 70, 229, 0.08);
    padding: 1rem 1.5rem;
    min-height: 72px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    flex-shrink: 0;
}

.header-title-left[b-twm0t17go9] {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.header-icon-box[b-twm0t17go9] {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.25);
    flex-shrink: 0;
}

.header-title-text[b-twm0t17go9] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.header-title-row[b-twm0t17go9] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.page-main-title[b-twm0t17go9] {
    color: #1e1b4b;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.2;
    white-space: nowrap;
}

.total-items-pill[b-twm0t17go9] {
    background: #e0e7ff;
    color: #4338ca;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 9999px;
    border: 1px solid #c7d2fe;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.header-subtitle-row[b-twm0t17go9] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-pulse-dot[b-twm0t17go9] {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.status-text[b-twm0t17go9] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.header-controls-right[b-twm0t17go9] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

/* Primary Action Button */
.btn-primary-action[b-twm0t17go9] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    padding: 9px 20px;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.28);
    transition: all 0.18s ease;
    white-space: nowrap;
}

.btn-primary-action:hover:not(:disabled)[b-twm0t17go9] {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(79, 70, 229, 0.38);
}

.btn-primary-action:disabled[b-twm0t17go9] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ─────────────────────────────────────────────────────────────────
   2. HEADER LIVE SEARCH AUTOCOMPLETE & ACTIVE CASE BANNER
   ───────────────────────────────────────────────────────────────── */
.case-search-dropdown-wrap[b-twm0t17go9] {
    position: relative;
    width: 380px;
    max-width: 100%;
}

.case-search-box-inner[b-twm0t17go9] {
    position: relative;
    z-index: 999;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #c7d2fe;
    border-radius: 9999px;
    padding: 0 14px 0 38px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-search-box-inner.focused[b-twm0t17go9] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
    background: #ffffff;
}

.case-search-icon[b-twm0t17go9] {
    position: absolute;
    left: 14px;
    color: #6366f1;
    font-size: 14px;
    pointer-events: none;
}

.case-search-input[b-twm0t17go9] {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 9px 4px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.case-search-input[b-twm0t17go9]::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.case-search-clear-btn[b-twm0t17go9],
.case-search-toggle-btn[b-twm0t17go9] {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    padding: 0 2px;
    display: flex;
    align-items: center;
    transition: all 0.15s ease;
}

.case-search-clear-btn:hover[b-twm0t17go9] {
    color: #ef4444;
}

.case-search-toggle-btn:hover[b-twm0t17go9] {
    color: #4f46e5;
}

.case-search-toggle-btn.open[b-twm0t17go9] {
    transform: rotate(180deg);
    color: #4f46e5;
}

/* Custom Dropdown Popover */
.case-dropdown-popover[b-twm0t17go9] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 520px;
    max-width: 94vw;
    background: #ffffff;
    border: 1px solid #e0e7ff;
    border-radius: 14px;
    box-shadow: 0 20px 45px -8px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(79, 70, 229, 0.08);
    overflow: hidden;
    animation: lc-popover-in-b-twm0t17go9 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    pointer-events: auto;
}

.popover-header[b-twm0t17go9] {
    padding: 10px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popover-title[b-twm0t17go9] {
    font-size: 11px;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.6px;
}

.popover-badge[b-twm0t17go9] {
    font-size: 11px;
    font-weight: 700;
    color: #4f46e5;
    background: #eef2ff;
    padding: 2px 8px;
    border-radius: 9999px;
}

.popover-list-body[b-twm0t17go9] {
    max-height: 340px;
    overflow-y: auto;
}

.popover-empty[b-twm0t17go9] {
    padding: 32px 20px;
    text-align: center;
}

.case-dropdown-item[b-twm0t17go9] {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    text-align: left;
    pointer-events: auto;
    user-select: none;
}

.case-dropdown-item:last-child[b-twm0t17go9] {
    border-bottom: none;
}

.case-dropdown-item:hover[b-twm0t17go9],
.case-dropdown-item.is-highlighted[b-twm0t17go9] {
    background: #f5f7ff;
}

.case-dropdown-item.is-selected[b-twm0t17go9] {
    background: #eef2ff;
    border-left: 4px solid #4f46e5;
}

.item-main-info[b-twm0t17go9] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.item-pat-row[b-twm0t17go9] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.item-patient-name[b-twm0t17go9] {
    font-size: 13.5px;
    color: #0f172a;
}

.item-custid-tag[b-twm0t17go9] {
    font-size: 11px;
    color: #475569;
    font-weight: 700;
    font-family: monospace;
    background: #f1f5f9;
    padding: 1px 7px;
    border-radius: 5px;
    border: 1px solid #e2e8f0;
}

.item-vip-badge[b-twm0t17go9] {
    background: #fef3c7;
    color: #b45309;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    border: 1px solid #fde68a;
}

.item-sub-row[b-twm0t17go9] {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.item-procedure-name[b-twm0t17go9] {
    color: #334155;
}

.item-diag-text[b-twm0t17go9] {
    color: #64748b;
}

.item-doc-name[b-twm0t17go9] {
    color: #64748b;
}

.item-status-pill-wrap[b-twm0t17go9] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

/* Dropdown Backdrop */
.case-dropdown-backdrop[b-twm0t17go9] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 998;
    background: transparent;
    cursor: default;
    pointer-events: auto;
}

/* ─────────────────────────────────────────────────────────────────
   ACTIVE CASE META BANNER
   ───────────────────────────────────────────────────────────────── */
.active-case-meta-banner[b-twm0t17go9] {
    background: linear-gradient(135deg, #ffffff 0%, #fcfdff 100%);
    border: 1px solid #e0e7ff;
    border-left: 4.5px solid #4f46e5;
    border-radius: 14px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 4px 16px -2px rgba(79, 70, 229, 0.06), 0 1px 2px rgba(0, 0, 0, 0.02);
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.case-meta-patient-group[b-twm0t17go9] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 230px;
}

.patient-info-wrap[b-twm0t17go9] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.patient-title-group[b-twm0t17go9] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.patient-name[b-twm0t17go9] {
    font-size: 1.12rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.patient-custid-badge[b-twm0t17go9] {
    font-size: 0.74rem;
    color: #4338ca;
    font-weight: 700;
    font-family: monospace;
    background: #eef2ff;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid #c7d2fe;
    display: inline-flex;
    align-items: center;
}

.vip-badge[b-twm0t17go9] {
    background: #fef3c7;
    color: #b45309;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid #fde68a;
    display: inline-flex;
    align-items: center;
}

.patient-sub-meta[b-twm0t17go9] {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 2px;
}

.patient-demographics-pill[b-twm0t17go9] {
    display: inline-flex;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 2px 8px;
    border-radius: 6px;
}

.case-meta-divider[b-twm0t17go9] {
    width: 1px;
    height: 42px;
    background: #e2e8f0;
}

.case-meta-columns[b-twm0t17go9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex: 1;
    flex-wrap: wrap;
}

.meta-item[b-twm0t17go9] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.meta-label[b-twm0t17go9] {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    display: flex;
    align-items: center;
}

.meta-value[b-twm0t17go9] {
    font-size: 0.88rem;
    color: #1e293b;
}

.meta-proc-row[b-twm0t17go9] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.meta-diagnosis-tag[b-twm0t17go9] {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 1px 7px;
    border-radius: 4px;
}

.surgeon-name-box[b-twm0t17go9] {
    color: #1e1b4b;
    display: inline-flex;
    align-items: center;
}

.surgeon-avatar-circle[b-twm0t17go9] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #4338ca;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-right: 6px;
}

.status-banner-badge[b-twm0t17go9] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 9999px;
}

.status-indicator-dot[b-twm0t17go9] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}

.meta-fee-item[b-twm0t17go9] {
    text-align: right;
    min-width: 110px;
}

.meta-fee-value[b-twm0t17go9] {
    font-size: 1.15rem;
    font-weight: 800;
    color: #4f46e5;
    font-family: monospace;
}

/* ─────────────────────────────────────────────────────────────────
   3. KPI STATISTICS TILES
   ───────────────────────────────────────────────────────────────── */
.kpi-grid[b-twm0t17go9] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.85rem;
}

.kpi-card[b-twm0t17go9] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.kpi-card:hover[b-twm0t17go9] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.kpi-icon-box[b-twm0t17go9] {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.kpi-icon-indigo[b-twm0t17go9] { background: #eef2ff; color: #4f46e5; }
.kpi-icon-emerald[b-twm0t17go9] { background: #ecfdf5; color: #059669; }
.kpi-icon-blue[b-twm0t17go9] { background: #eff6ff; color: #2563eb; }
.kpi-icon-purple[b-twm0t17go9] { background: #f5f3ff; color: #7c3aed; }

.kpi-details[b-twm0t17go9] {
    display: flex;
    flex-direction: column;
}

.kpi-value[b-twm0t17go9] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.kpi-label[b-twm0t17go9] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 2px;
}

/* ─────────────────────────────────────────────────────────────────
   4. CONTENT TABLE CARDS & EMPTY STATE
   ───────────────────────────────────────────────────────────────── */
.content-table-card[b-twm0t17go9] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.table-top-bar[b-twm0t17go9] {
    padding: 0.9rem 1.25rem;
    background: #fafafa;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.table-title-wrap[b-twm0t17go9] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-heading-text[b-twm0t17go9] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.badge-count[b-twm0t17go9] {
    font-size: 0.74rem;
    font-weight: 800;
    background: #eef2ff;
    color: #4f46e5;
    padding: 3px 10px;
    border-radius: 9999px;
    border: 1px solid #c7d2fe;
}

.table-actions-wrap[b-twm0t17go9] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-pill-group[b-twm0t17go9] {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    padding: 2px;
    border-radius: 8px;
}

.filter-pill-btn[b-twm0t17go9] {
    border: none;
    background: transparent;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.filter-pill-btn.active[b-twm0t17go9] {
    background: #ffffff;
    color: #4f46e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.tbl-search-box[b-twm0t17go9] {
    position: relative;
    display: flex;
    align-items: center;
}

.tbl-search-input[b-twm0t17go9] {
    border-radius: 9999px;
    padding-left: 28px;
    padding-right: 28px;
    font-size: 0.78rem;
    width: 220px;
}

.tbl-search-box .search-icon[b-twm0t17go9] {
    position: absolute;
    left: 10px;
    color: #94a3b8;
    font-size: 0.75rem;
}

.btn-clear-search-sm[b-twm0t17go9] {
    position: absolute;
    right: 8px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.7rem;
    cursor: pointer;
}

/* Scrollable Table Wrap with Fixed Sticky Header */
.table-scroll-wrap[b-twm0t17go9] {
    max-height: 520px;
    min-height: 240px;
    overflow-y: auto;
    overflow-x: auto;
    position: relative;
    border-radius: 0 0 14px 14px;
    scrollbar-gutter: stable;
}

.table-scroll-wrap[b-twm0t17go9]::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-scroll-wrap[b-twm0t17go9]::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.table-scroll-wrap[b-twm0t17go9]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.table-scroll-wrap[b-twm0t17go9]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Custom Table */
.custom-medico-table[b-twm0t17go9] {
    margin: 0;
    width: 100%;
    font-size: 0.82rem;
    border-collapse: separate;
    border-spacing: 0;
}

.custom-medico-table thead[b-twm0t17go9] {
    position: sticky;
    top: 0;
    z-index: 10;
}

.custom-medico-table thead th[b-twm0t17go9] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f8fafc;
    color: #475569;
    font-size: 0.73rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 14px;
    border-bottom: 2px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    white-space: nowrap;
}

.custom-medico-table tbody td[b-twm0t17go9] {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    background: #ffffff;
}

.custom-medico-table tbody tr:hover td[b-twm0t17go9] {
    background: #f8faff;
}

/* Item Type Pills (Text Only, Sleek & Modern) */
.type-pill[b-twm0t17go9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.pill-medicine[b-twm0t17go9] { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.pill-tool[b-twm0t17go9] { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.pill-other[b-twm0t17go9] { background: #fdf4ff; color: #a21caf; border: 1px solid #f5d0fe; }

.item-name-text[b-twm0t17go9] {
    font-size: 0.84rem;
    font-weight: 700;
    color: #1e293b;
    display: block;
    word-break: break-word;
}

.qty-badge[b-twm0t17go9] {
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    color: #334155;
    font-size: 0.76rem;
    display: inline-block;
    border: 1px solid #e2e8f0;
}

.staff-tag[b-twm0t17go9] {
    font-size: 0.76rem;
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

/* Status sub pills (Clean Text Pill) */
.status-pill-sub[b-twm0t17go9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.pill-billed[b-twm0t17go9] { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.pill-unbilled[b-twm0t17go9] { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.pill-note[b-twm0t17go9] { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }

/* Action Buttons */
.btn-action-delete[b-twm0t17go9] {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-action-delete:hover[b-twm0t17go9] {
    background: #dc2626;
    color: #ffffff;
}

/* ─────────────────────────────────────────────────────────────────
   EMPTY STATES (TABLE & SHOWCASE)
   ───────────────────────────────────────────────────────────────── */
.table-empty-state-box[b-twm0t17go9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 56px 24px;
    background: #ffffff;
}

.empty-state-icon-circle[b-twm0t17go9] {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
}

.empty-state-title[b-twm0t17go9] {
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 6px 0;
}

.empty-state-subtitle[b-twm0t17go9] {
    font-size: 12.5px;
    color: #64748b;
    margin: 0 0 20px 0;
    max-width: 440px;
    line-height: 1.4;
}

.btn-log-first-item[b-twm0t17go9] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 13px;
    padding: 9px 22px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-log-first-item:hover[b-twm0t17go9] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.4);
}

.table-loading-box[b-twm0t17go9] {
    padding: 48px 24px;
    text-align: center;
}

.empty-case-showcase[b-twm0t17go9] {
    padding: 44px 24px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    margin-bottom: 16px;
}

.empty-case-icon-box[b-twm0t17go9] {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 14px auto;
}

.empty-case-title[b-twm0t17go9] {
    font-size: 16.5px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.empty-case-subtitle[b-twm0t17go9] {
    font-size: 13px;
    color: #64748b;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.5;
}

.recent-cases-tray[b-twm0t17go9] {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.recent-tray-label[b-twm0t17go9] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recent-chips-list[b-twm0t17go9] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 820px;
}

.recent-case-chip[b-twm0t17go9] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 12px;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.recent-case-chip:hover[b-twm0t17go9] {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.12);
}

@keyframes lc-popover-in-b-twm0t17go9 {
    from { opacity: 0; transform: scale(0.97) translateY(-6px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ─────────────────────────────────────────────────────────────────
   5. MODAL DIALOGS & QUICK CHIPS
   ───────────────────────────────────────────────────────────────── */
.modal-overlay[b-twm0t17go9] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
    animation: fadeIn-b-twm0t17go9 0.15s ease-out;
}

@keyframes fadeIn-b-twm0t17go9 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-form-card[b-twm0t17go9] {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 540px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    overflow: visible !important;
    z-index: 2010;
}

.modal-header-bar[b-twm0t17go9] {
    padding: 16px 22px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
}

.modal-header-left[b-twm0t17go9] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header-icon-box[b-twm0t17go9] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.25);
}

.modal-title-text[b-twm0t17go9] {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.modal-subtitle-text[b-twm0t17go9] {
    font-size: 0.76rem;
    color: #64748b;
    display: block;
    margin-top: 1px;
}

.modal-close-btn[b-twm0t17go9] {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.modal-close-btn:hover[b-twm0t17go9] {
    background: #fee2e2;
    color: #ef4444;
}

.modal-body-content[b-twm0t17go9] {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow: visible !important;
}

.modal-field-label[b-twm0t17go9] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
    display: block;
}

.modal-input-control[b-twm0t17go9],
.modal-select-control[b-twm0t17go9],
.modal-textarea-control[b-twm0t17go9] {
    border-radius: 9px;
    border: 1px solid #cbd5e1;
    font-size: 0.85rem;
    padding: 9px 12px;
    color: #1e293b;
    transition: all 0.18s ease;
    width: 100%;
    box-sizing: border-box;
}

.modal-input-control:focus[b-twm0t17go9],
.modal-select-control:focus[b-twm0t17go9],
.modal-textarea-control:focus[b-twm0t17go9] {
    border-color: #4f46e5;
    background-color: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(79, 70, 229, 0.14);
    outline: none;
}

/* OT Console Typeahead Dropdown */
.ot-typeahead-dropdown[b-twm0t17go9] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 2500;
    max-height: 240px;
    overflow-y: auto;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.18), 0 4px 12px -2px rgba(15, 23, 42, 0.08);
    margin-top: 4px;
}

.ot-typeahead-item[b-twm0t17go9] {
    padding: 9px 13px;
    cursor: pointer;
    font-size: 0.82rem;
    text-align: left;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ot-typeahead-item:last-child[b-twm0t17go9] {
    border-bottom: none;
}

.ot-typeahead-item:hover[b-twm0t17go9] {
    background-color: #f8faff;
}

.ot-typeahead-item-title[b-twm0t17go9] {
    font-size: 0.86rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.ot-typeahead-item-sub[b-twm0t17go9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
}

.ot-typeahead-price-col[b-twm0t17go9] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ot-typeahead-rate-val[b-twm0t17go9] {
    color: #4f46e5;
    font-weight: 800;
    font-size: 0.86rem;
    font-family: monospace;
}

.ot-typeahead-stock-col[b-twm0t17go9] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ot-batch-badge[b-twm0t17go9] {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 5px;
    border: 1px solid #e2e8f0;
}

.ot-stock-pill[b-twm0t17go9] {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
}

.ot-stock-pill.stk-available[b-twm0t17go9] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.ot-stock-pill.stk-zero[b-twm0t17go9] {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.ot-typeahead-dropdown[b-twm0t17go9]::-webkit-scrollbar {
    width: 6px;
}

.ot-typeahead-dropdown[b-twm0t17go9]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.ot-typeahead-dropdown[b-twm0t17go9]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.modal-form-row[b-twm0t17go9] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.billing-hint-box[b-twm0t17go9] {
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
}

.hint-chargeable[b-twm0t17go9] {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.modal-footer-bar[b-twm0t17go9] {
    padding: 14px 22px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-radius: 0 0 16px 16px;
}

.btn-modal-cancel[b-twm0t17go9] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 8px 18px;
    border-radius: 9px;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-modal-cancel:hover[b-twm0t17go9] {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.btn-modal-save[b-twm0t17go9] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    border: none;
    color: #ffffff;
    padding: 8px 22px;
    border-radius: 9px;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.18s ease;
}

.btn-modal-save:hover:not(:disabled)[b-twm0t17go9] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(79, 70, 229, 0.38);
}

.btn-modal-save:disabled[b-twm0t17go9] {
    opacity: 0.6;
    cursor: not-allowed;
}
/* /Components/Pages/OtTeamMember.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════
   MEDICO OT TEAM MEMBER ROSTER — POLISHED CLINICAL DESIGN SYSTEM
   Card Grid View with Pop-up Modal for Viewing OT Team Members
   ═══════════════════════════════════════════════════════════════════ */

.ot-team-page[b-ige9ak4dd3] {
    padding: 1.25rem 1.75rem 1.5rem 1.75rem;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f8fafc;
    height: calc(100vh - 48px);
    max-height: calc(100vh - 48px);
    box-sizing: border-box;
    color: #1e293b;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    overflow: hidden;
}

@media (max-width: 768px) {
    .ot-team-page[b-ige9ak4dd3] {
        padding: 1rem 1rem;
        height: auto;
        max-height: none;
        overflow: visible;
    }
}

/* ─────────────────────────────────────────────────────────────────
   1. TOP HEADER (INCREASED HEIGHT & PROMINENT PRESENCE)
   ───────────────────────────────────────────────────────────────── */
.team-page-header[b-ige9ak4dd3] {
    background: linear-gradient(135deg, #f5f7ff 0%, #eef2ff 50%, #e0e7ff 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 14px -2px rgba(79, 70, 229, 0.08);
    padding: 1.15rem 1.5rem;
    min-height: 74px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    flex-shrink: 0;
    box-sizing: border-box;
}

.header-title-left[b-ige9ak4dd3] {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.header-title-left[b-ige9ak4dd3]::before {
    content: "\F4DB"; /* Bootstrap icon: bi-people-fill */
    font-family: "bootstrap-icons";
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.25);
    flex-shrink: 0;
}

.page-main-title[b-ige9ak4dd3] {
    color: #1e1b4b;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.page-main-title[b-ige9ak4dd3]::after {
    content: "Surgical Crew, Theater Allocation & Clinician Directory";
    font-size: 0.74rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.01em;
    text-transform: none;
    margin-top: 3px;
}

.header-controls-right[b-ige9ak4dd3] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Header Single Dropdown Filter (Left of Search) */
.header-filter-select-wrap[b-ige9ak4dd3] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-filter-chevron[b-ige9ak4dd3] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 10px;
    color: #94a3b8;
    z-index: 2;
}

.header-filter-select[b-ige9ak4dd3] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    height: 38px;
    padding: 0 28px 0 14px;
    font-size: 11.5px;
    font-weight: 700;
    color: #1e293b;
    outline: none;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.header-filter-select:hover[b-ige9ak4dd3] {
    border-color: #94a3b8;
    background: #f8fafc;
}

.header-filter-select:focus[b-ige9ak4dd3] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

/* Search input with sleek pill styling */
.header-search-wrap[b-ige9ak4dd3] {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-wrap .search-icon[b-ige9ak4dd3] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 13px;
    color: #94a3b8;
    z-index: 2;
}

.header-search-input[b-ige9ak4dd3] {
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    padding: 8px 32px 8px 38px;
    font-size: 13px;
    font-weight: 500;
    outline: none;
    width: 320px;
    height: 38px;
    box-sizing: border-box;
    color: #1e293b;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.header-search-input:focus[b-ige9ak4dd3] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    width: 345px;
}

.btn-clear-search[b-ige9ak4dd3] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 13px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-clear-search:hover[b-ige9ak4dd3] {
    color: #475569;
}

/* Primary CTA Button */
.btn-assign-primary[b-ige9ak4dd3] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    height: 38px;
    padding: 0 1.35rem;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.25);
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-assign-primary.btn-sm[b-ige9ak4dd3] {
    height: 32px;
    padding: 0 1rem;
    font-size: 11.5px;
}

.btn-assign-primary:hover:not(:disabled)[b-ige9ak4dd3] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
    color: #ffffff;
}

.btn-assign-primary:disabled[b-ige9ak4dd3] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ─────────────────────────────────────────────────────────────────
   2. KPI METRIC CARDS
   ───────────────────────────────────────────────────────────────── */
.kpi-grid[b-ige9ak4dd3] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .kpi-grid[b-ige9ak4dd3] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.kpi-card[b-ige9ak4dd3] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    padding: 0.7rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    height: 62px;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.kpi-card[b-ige9ak4dd3]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3.5px;
    background: transparent;
}

.kpi-card:nth-child(1)[b-ige9ak4dd3]::before { background: #4f46e5; }
.kpi-card:nth-child(2)[b-ige9ak4dd3]::before { background: #0284c7; }
.kpi-card:nth-child(3)[b-ige9ak4dd3]::before { background: #7e22ce; }
.kpi-card:nth-child(4)[b-ige9ak4dd3]::before { background: #10b981; }

.kpi-card:hover[b-ige9ak4dd3] {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

.kpi-icon-box[b-ige9ak4dd3] {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.kpi-icon-indigo[b-ige9ak4dd3] {
    background: #eef2ff;
    color: #4f46e5;
}

.kpi-icon-blue[b-ige9ak4dd3] {
    background: #e0f2fe;
    color: #0284c7;
}

.kpi-icon-sky[b-ige9ak4dd3] {
    background: #f3e8ff;
    color: #7e22ce;
}

.kpi-icon-emerald[b-ige9ak4dd3] {
    background: #dcfce7;
    color: #15803d;
}

.kpi-details[b-ige9ak4dd3] {
    display: flex;
    flex-direction: column;
}

.kpi-value[b-ige9ak4dd3] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    letter-spacing: -0.01em;
}

.kpi-label[b-ige9ak4dd3] {
    font-size: 0.69rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 3px;
    white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────────────
   3. SURGERY CASE CARDS VIEW (DEDICATED SCROLL AREA)
   ───────────────────────────────────────────────────────────────── */
.case-cards-container[b-ige9ak4dd3] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cards-section-header[b-ige9ak4dd3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
    flex-shrink: 0;
}

.filter-pills-wrap[b-ige9ak4dd3] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-pill-btn[b-ige9ak4dd3] {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5.5px 14px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.12s ease;
}

.filter-pill-btn:hover[b-ige9ak4dd3] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.filter-pill-btn.active[b-ige9ak4dd3] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.filter-pill-btn.active i[b-ige9ak4dd3] {
    color: #ffffff;
}

.filter-pill-btn .pill-count[b-ige9ak4dd3] {
    opacity: 0.9;
    font-weight: 700;
}

.filter-pill-btn.active .pill-count[b-ige9ak4dd3] {
    color: rgba(255, 255, 255, 0.9);
}

.cards-count-badge[b-ige9ak4dd3] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
}

/* Dedicated Scroll Area for Cards */
.surgery-cards-scroll-area[b-ige9ak4dd3] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2px 6px 18px 2px;
}

.surgery-cards-scroll-area[b-ige9ak4dd3]::-webkit-scrollbar {
    width: 6px;
}

.surgery-cards-scroll-area[b-ige9ak4dd3]::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.surgery-cards-scroll-area[b-ige9ak4dd3]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.surgery-cards-scroll-area[b-ige9ak4dd3]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Responsive Grid */
.surgery-cards-grid[b-ige9ak4dd3] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 0.95rem;
}

@media (max-width: 650px) {
    .surgery-cards-grid[b-ige9ak4dd3] {
        grid-template-columns: 1fr;
    }
}

/* Surgery Case Card */
.surgery-case-card[b-ige9ak4dd3] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    position: relative;
    transition: all 0.18s ease;
}

.surgery-case-card:hover[b-ige9ak4dd3] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -2px rgba(79, 70, 229, 0.12), 0 2px 6px rgba(0, 0, 0, 0.03);
    border-color: #c7d2fe;
}

.case-card-top[b-ige9ak4dd3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.65rem;
}

.case-patient-profile[b-ige9ak4dd3] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.patient-avatar-box[b-ige9ak4dd3] {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #f5f7ff;
    color: #4f46e5;
    border: 1.5px solid #c7d2fe;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.patient-meta-text[b-ige9ak4dd3] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.patient-card-title[b-ige9ak4dd3] {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.patient-id-badge[b-ige9ak4dd3] {
    background: #f1f5f9;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
    margin-top: 2px;
}

.case-priority-badge[b-ige9ak4dd3] {
    font-size: 10px;
    font-weight: 800;
    padding: 2.5px 8px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.priority-elective[b-ige9ak4dd3] {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.priority-emergency[b-ige9ak4dd3] {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Compact Procedure Banner */
.case-card-procedure[b-ige9ak4dd3] {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border: 1px solid #e0e7ff;
    border-radius: 8px;
    padding: 7px 11px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.procedure-mini-icon[b-ige9ak4dd3] {
    color: #4f46e5;
    font-size: 14px;
    flex-shrink: 0;
}

.procedure-name[b-ige9ak4dd3] {
    font-size: 13px;
    font-weight: 800;
    color: #1e1b4b;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.procedure-type-tag[b-ige9ak4dd3] {
    font-size: 9.5px;
    font-weight: 700;
    color: #6366f1;
    background: #ffffff;
    border: 1px solid #c7d2fe;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* Metadata Box (Theater, Schedule, Doctor) */
.case-details-box[b-ige9ak4dd3] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 2px 0;
}

.case-detail-row[b-ige9ak4dd3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    line-height: 1.35;
}

.case-detail-label[b-ige9ak4dd3] {
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.case-detail-val[b-ige9ak4dd3] {
    font-weight: 600;
    color: #1e293b;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.theater-badge-pill[b-ige9ak4dd3] {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    font-size: 11px;
    font-weight: 700;
    padding: 1.5px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}

/* Team Breakdown Bar */
.case-team-summary-bar[b-ige9ak4dd3] {
    border-top: 1px dashed #e2e8f0;
    padding-top: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

.staff-total-wrap[b-ige9ak4dd3] {
    display: flex;
    align-items: center;
    font-size: 11.5px;
    color: #1e1b4b;
}

.staff-total-text[b-ige9ak4dd3] {
    font-weight: 600;
}

.staff-total-text strong[b-ige9ak4dd3] {
    font-weight: 800;
    color: #4f46e5;
}

.staff-breakdown-tags[b-ige9ak4dd3] {
    display: flex;
    gap: 4px;
    align-items: center;
}

.staff-mini-tag[b-ige9ak4dd3] {
    font-size: 10px;
    font-weight: 700;
    padding: 1.5px 6px;
    border-radius: 4px;
}

.tag-doc[b-ige9ak4dd3] {
    background: #eef2ff;
    color: #4338ca;
}

.tag-nurse[b-ige9ak4dd3] {
    background: #dcfce7;
    color: #15803d;
}

.staff-none-pill[b-ige9ak4dd3] {
    font-size: 11px;
    font-weight: 600;
    color: #92400e;
    background: #fef3c7;
    padding: 2px 7px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

/* Card Action Footer — SMALL & CENTER ALIGNED */
.case-card-footer[b-ige9ak4dd3] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

.btn-card-view-team[b-ige9ak4dd3] {
    background: #f5f7ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
    border-radius: 6px;
    height: 29px;
    padding: 0 14px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-card-view-team i[b-ige9ak4dd3] {
    color: #4f46e5;
    transition: color 0.15s ease;
}

.btn-card-view-team:hover[b-ige9ak4dd3] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.25);
}

.btn-card-view-team:hover i[b-ige9ak4dd3] {
    color: #ffffff;
}

.btn-card-assign-icon[b-ige9ak4dd3] {
    width: 29px;
    height: 29px;
    border-radius: 6px;
    background: #f5f7ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.btn-card-assign-icon:hover[b-ige9ak4dd3] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.22);
}

/* ─────────────────────────────────────────────────────────────────
   4. VIEW TEAM MEMBERS POP-UP MODAL (SHOW ONLY NAME, QUALIFICATION, ROLE)
   ───────────────────────────────────────────────────────────────── */
.team-view-modal-card[b-ige9ak4dd3] {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(99, 102, 241, 0.08);
    width: 100%;
    max-width: 800px;
    height: 480px;
    min-height: 480px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideUp-b-ige9ak4dd3 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header-right-actions[b-ige9ak4dd3] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-assign-header-pill[b-ige9ak4dd3] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    height: 32px;
    padding: 0 14px;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.22);
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-assign-header-pill:hover[b-ige9ak4dd3] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.32);
    color: #ffffff;
}

.modal-title-row[b-ige9ak4dd3] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.modal-count-pill[b-ige9ak4dd3] {
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.modal-case-sub-meta[b-ige9ak4dd3] {
    font-size: 11.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 3px;
}

.modal-meta-dot[b-ige9ak4dd3] {
    color: #cbd5e1;
    font-size: 10px;
}

/* Modal Filter Strip */
.modal-filter-strip[b-ige9ak4dd3] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.modal-filter-btn[b-ige9ak4dd3] {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.12s ease;
}

.modal-filter-btn:hover[b-ige9ak4dd3] {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

.modal-filter-btn.active[b-ige9ak4dd3] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.2);
}

.m-pill-count[b-ige9ak4dd3] {
    opacity: 0.85;
    font-size: 10.5px;
    font-weight: 700;
}

/* Scrollable Table inside Pop-up */
.modal-table-scroll-wrap[b-ige9ak4dd3] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.modal-table-scroll-wrap[b-ige9ak4dd3]::-webkit-scrollbar {
    width: 6px;
}

.modal-table-scroll-wrap[b-ige9ak4dd3]::-webkit-scrollbar-track {
    background: #f8fafc;
}

.modal-table-scroll-wrap[b-ige9ak4dd3]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Centered Empty State inside Modal */
.modal-empty-state-box[b-ige9ak4dd3] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin: auto;
    width: 100%;
    box-sizing: border-box;
}

.modal-empty-icon-wrap[b-ige9ak4dd3] {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 0.75rem;
}

.modal-empty-title[b-ige9ak4dd3] {
    font-size: 14.5px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.35rem 0;
    text-align: center;
}

.modal-empty-desc[b-ige9ak4dd3] {
    font-size: 12px;
    color: #64748b;
    max-width: 380px;
    margin: 0 auto 1.15rem auto;
    line-height: 1.4;
    text-align: center;
}

.btn-empty-assign[b-ige9ak4dd3] {
    height: 34px;
    padding: 0 1.25rem;
    font-size: 12px;
    margin: 0 auto;
}

.ot-modal-table[b-ige9ak4dd3] {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

.ot-modal-table thead th[b-ige9ak4dd3] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f8fafc;
    color: #475569;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 11px 16px;
    border-bottom: 2px solid #e2e8f0;
    border-top: none;
    box-sizing: border-box;
}

.modal-table-row[b-ige9ak4dd3] {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.12s ease;
}

.modal-table-row:hover[b-ige9ak4dd3] {
    background: #f8fafc;
}

.modal-table-row td[b-ige9ak4dd3] {
    padding: 11px 16px;
    font-size: 12.5px;
    color: #1e293b;
    vertical-align: middle;
    box-sizing: border-box;
    border-bottom: 1px solid #f1f5f9;
}

/* Exact Column Alignments */
.ot-modal-table .col-staff-name[b-ige9ak4dd3] {
    text-align: left;
    padding-left: 20px;
    padding-right: 12px;
}

.ot-modal-table .col-qualification[b-ige9ak4dd3] {
    text-align: left;
    padding-left: 14px;
    padding-right: 12px;
}

.ot-modal-table .col-role[b-ige9ak4dd3] {
    text-align: left;
    padding-left: 14px;
    padding-right: 12px;
}

.ot-modal-table .col-action[b-ige9ak4dd3] {
    text-align: center;
    padding-left: 8px;
    padding-right: 18px;
}

/* Staff Cell with Avatar + Name */
.staff-cell-inline[b-ige9ak4dd3] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.staff-avatar-box[b-ige9ak4dd3] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.avatar-indigo[b-ige9ak4dd3] {
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #e0e7ff;
}

.avatar-sky[b-ige9ak4dd3] {
    background: #f3e8ff;
    color: #7e22ce;
    border: 1px solid #e9d5ff;
}

.staff-avatar-circle[b-ige9ak4dd3] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 800;
    color: #ffffff;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.avatar-indigo[b-ige9ak4dd3] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
}

.avatar-sky-circle[b-ige9ak4dd3] {
    background: linear-gradient(135deg, #7e22ce 0%, #6b21a8 100%);
    color: #ffffff;
}

.avatar-emerald[b-ige9ak4dd3] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.staff-avatar-img[b-ige9ak4dd3] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.staff-name-text[b-ige9ak4dd3] {
    font-weight: 700;
    color: #0f172a;
    font-size: 13px;
    line-height: 1.2;
}

/* Qualification Cell */
.qualification-text[b-ige9ak4dd3] {
    font-size: 11.5px;
    font-weight: 600;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 3px 9px;
    border-radius: 6px;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Role Pill Tags */
.role-pill-tag[b-ige9ak4dd3] {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 3px 9px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    text-transform: capitalize;
}

.role-pill-surgeon[b-ige9ak4dd3] {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

.role-pill-asst-surgeon[b-ige9ak4dd3] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.role-pill-anesthetist[b-ige9ak4dd3] {
    background: #faf5ff;
    color: #6b21a8;
    border: 1px solid #e9d5ff;
}

.role-pill-scrub-nurse[b-ige9ak4dd3] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.role-pill-circ-nurse[b-ige9ak4dd3] {
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

.role-pill-technician[b-ige9ak4dd3] {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #cbd5e1;
}

/* Actions */
.btn-ghost-action[b-ige9ak4dd3] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    cursor: pointer;
    transition: all 0.12s ease;
}

.btn-ghost-action:hover[b-ige9ak4dd3] {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

.btn-ghost-delete:hover[b-ige9ak4dd3] {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

/* ─────────────────────────────────────────────────────────────────
   5. ASSIGN MODAL
   ───────────────────────────────────────────────────────────────── */
.modal-overlay[b-ige9ak4dd3] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.25rem;
    animation: modalFadeIn-b-ige9ak4dd3 0.18s ease;
}

@keyframes modalFadeIn-b-ige9ak4dd3 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.team-modal-card[b-ige9ak4dd3] {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(99, 102, 241, 0.08);
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideUp-b-ige9ak4dd3 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp-b-ige9ak4dd3 {
    from {
        transform: translateY(10px) scale(0.98);
    }
    to {
        transform: translateY(0) scale(1);
    }
}

.modal-header-bar[b-ige9ak4dd3] {
    padding: 1.15rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-left[b-ige9ak4dd3] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header-icon-box[b-ige9ak4dd3] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.22);
}

.modal-title-text[b-ige9ak4dd3] {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e1b4b;
    margin: 0;
    line-height: 1.25;
}

.modal-subtitle-text[b-ige9ak4dd3] {
    font-size: 0.76rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 3px;
    margin-bottom: 0;
}

.modal-close-btn[b-ige9ak4dd3] {
    border: none;
    background: transparent;
    font-size: 1.35rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.modal-close-btn:hover[b-ige9ak4dd3] {
    color: #dc2626;
    background: #fee2e2;
    transform: none; /* Red hover alone, no rotation animation */
}

.assign-modal-body[b-ige9ak4dd3] {
    padding: 1.35rem 1.65rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.assign-modal-body[b-ige9ak4dd3]::-webkit-scrollbar {
    width: 6px;
}

.assign-modal-body[b-ige9ak4dd3]::-webkit-scrollbar-track {
    background: #f8fafc;
}

.assign-modal-body[b-ige9ak4dd3]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.form-field-unit[b-ige9ak4dd3] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nt-form-label[b-ige9ak4dd3] {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    display: block;
    margin: 0;
}

.modal-case-search-wrap[b-ige9ak4dd3] {
    position: relative;
}

.modal-case-input-box[b-ige9ak4dd3] {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #ffffff;
    padding: 0 12px;
    height: 42px;
    transition: all 0.15s ease;
}

.modal-case-input-box.focused[b-ige9ak4dd3] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.case-search-icon[b-ige9ak4dd3] {
    color: #94a3b8;
    font-size: 14px;
    margin-right: 8px;
    flex-shrink: 0;
}

.modal-case-input[b-ige9ak4dd3] {
    border: none;
    outline: none;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    width: 100%;
    height: 100%;
    background: transparent;
}

.btn-clear-case-input[b-ige9ak4dd3],
.btn-toggle-dropdown[b-ige9ak4dd3] {
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-clear-case-input:hover[b-ige9ak4dd3],
.btn-toggle-dropdown:hover[b-ige9ak4dd3] {
    color: #475569;
}

.modal-case-dropdown-popover[b-ige9ak4dd3] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    max-height: 230px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.modal-case-dropdown-item[b-ige9ak4dd3] {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 13px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.12s ease;
}

.modal-case-dropdown-item:hover[b-ige9ak4dd3] {
    background: #f8fafc;
}

.modal-case-dropdown-item.selected[b-ige9ak4dd3] {
    background: #eef2ff;
}

.modal-case-avatar[b-ige9ak4dd3] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #4f46e5;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-case-info[b-ige9ak4dd3] {
    flex: 1;
    min-width: 0;
}

.selected-case-preview-card[b-ige9ak4dd3] {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.08);
}

.case-preview-badge[b-ige9ak4dd3] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #10b981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(16, 185, 129, 0.25);
}

.case-preview-title[b-ige9ak4dd3] {
    font-size: 13px;
    font-weight: 800;
    color: #065f46;
    line-height: 1.2;
}

.case-preview-sub[b-ige9ak4dd3] {
    font-size: 11.5px;
    color: #047857;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.preview-dot[b-ige9ak4dd3] {
    color: #86efac;
}

.nt-select-control[b-ige9ak4dd3] {
    border-radius: 9px;
    border: 1px solid #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    padding: 9px 14px;
    height: 42px;
    background-color: #ffffff;
    transition: all 0.15s ease;
}

.nt-select-control:focus[b-ige9ak4dd3] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    outline: none;
}

.assign-tabs-container[b-ige9ak4dd3] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
}

.assign-tabs-strip[b-ige9ak4dd3] {
    display: flex;
    border-bottom: 1.5px solid #e2e8f0;
    gap: 6px;
    padding-bottom: 4px;
}

.assign-tab-btn[b-ige9ak4dd3] {
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    padding: 7px 13px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.assign-tab-btn:hover[b-ige9ak4dd3] {
    color: #1e293b;
    background: #f1f5f9;
}

.assign-tab-btn.active[b-ige9ak4dd3] {
    color: #4f46e5;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.assign-tab-badge[b-ige9ak4dd3] {
    background: #e2e8f0;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 9999px;
}

.assign-tab-btn.active .assign-tab-badge[b-ige9ak4dd3] {
    background: #eef2ff;
    color: #4338ca;
}

.assign-tab-content[b-ige9ak4dd3] {
    display: flex;
    flex-direction: column;
}

.picker-search-wrap[b-ige9ak4dd3] {
    position: relative;
    display: flex;
    align-items: center;
}

.picker-search-wrap i[b-ige9ak4dd3] {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 13px;
}

.picker-search-input[b-ige9ak4dd3] {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 30px 8px 34px;
    font-size: 12.5px;
    outline: none;
    height: 38px;
    background: #ffffff;
    transition: all 0.15s ease;
}

.picker-search-input:focus[b-ige9ak4dd3] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.picker-search-clear[b-ige9ak4dd3] {
    position: absolute;
    right: 10px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
}

.picker-list-box[b-ige9ak4dd3] {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    padding: 5px;
    background: #ffffff;
}

.picker-list-box[b-ige9ak4dd3]::-webkit-scrollbar {
    width: 5px;
}

.picker-list-box[b-ige9ak4dd3]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.picker-item[b-ige9ak4dd3] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 7px;
    cursor: pointer;
    margin-bottom: 3px;
    border: 1px solid transparent;
    transition: all 0.12s ease;
}

.picker-item:hover[b-ige9ak4dd3] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.picker-item.selected[b-ige9ak4dd3] {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.picker-item-details[b-ige9ak4dd3] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.picker-item-name[b-ige9ak4dd3] {
    font-size: 12.5px;
    color: #0f172a;
}

.manual-input-group[b-ige9ak4dd3] {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    overflow: hidden;
    padding-left: 12px;
    background: #ffffff;
    height: 42px;
    transition: all 0.15s ease;
}

.manual-input-group:focus-within[b-ige9ak4dd3] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.manual-input-icon[b-ige9ak4dd3] {
    color: #94a3b8;
    font-size: 14px;
    margin-right: 8px;
}

.manual-name-input[b-ige9ak4dd3] {
    border: none;
    outline: none;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    flex: 1;
    height: 100%;
}

.btn-add-to-team[b-ige9ak4dd3] {
    background: #4f46e5;
    color: #ffffff;
    border: none;
    height: 100%;
    padding: 0 16px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-add-to-team:hover:not(:disabled)[b-ige9ak4dd3] {
    background: #4338ca;
}

.btn-add-to-team:disabled[b-ige9ak4dd3] {
    opacity: 0.55;
    cursor: not-allowed;
}

.pending-roster-tray[b-ige9ak4dd3] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 11px 14px;
}

.pending-tray-header[b-ige9ak4dd3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.pending-tray-title[b-ige9ak4dd3] {
    font-size: 12px;
    font-weight: 700;
    color: #1e1b4b;
}

.pending-tray-count-badge[b-ige9ak4dd3] {
    background: #4f46e5;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 9999px;
}

.btn-clear-all-link[b-ige9ak4dd3] {
    border: none;
    background: transparent;
    color: #dc2626;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
}

.btn-clear-all-link:hover[b-ige9ak4dd3] {
    text-decoration: underline;
}

.pending-chips-wrap[b-ige9ak4dd3] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pending-member-chip[b-ige9ak4dd3] {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 7px;
    padding: 4px 9px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
}

.pending-chip-nurse[b-ige9ak4dd3] {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.pending-chip-role[b-ige9ak4dd3] {
    font-weight: 800;
    color: #4338ca;
    font-size: 10px;
    text-transform: uppercase;
}

.pending-chip-nurse .pending-chip-role[b-ige9ak4dd3] {
    color: #047857;
}

.pending-chip-name[b-ige9ak4dd3] {
    font-weight: 600;
    color: #0f172a;
}

.btn-chip-remove[b-ige9ak4dd3] {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
}

.btn-chip-remove:hover[b-ige9ak4dd3] {
    color: #dc2626;
}

/* Modal Footer (Right-Aligned Buttons) */
.modal-footer-bar[b-ige9ak4dd3] {
    padding: 1.1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.btn-modal-cancel[b-ige9ak4dd3] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 12.5px;
    font-weight: 700;
    height: 38px;
    padding: 0 1.35rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-modal-cancel:hover[b-ige9ak4dd3] {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
}

/* /Components/Pages/OutPatientVisiting.razor.rz.scp.css */
/* Background Animation & Global styles */
.animated-background[b-bs1xc8djpo] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.floating-blob[b-bs1xc8djpo] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: float-b-bs1xc8djpo 20s infinite alternate;
}

.blob-1[b-bs1xc8djpo] {
    width: 450px;
    height: 450px;
    background: #e2f1ff;
    top: -5%;
    left: -5%;
}

.blob-2[b-bs1xc8djpo] {
    width: 450px;
    height: 450px;
    background: #f1f5f9;
    bottom: -10%;
    right: -5%;
}

@keyframes float-b-bs1xc8djpo {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

.dashboard-container[b-bs1xc8djpo] {
    margin: 1.25rem auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 3rem);
    overflow: hidden;
}

/* Dashboard Header & Stats Grid */
.dashboard-header[b-bs1xc8djpo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.dashboard-title h1[b-bs1xc8djpo] {
    font-size: 1.85rem;
    font-weight: 800;
    color: #034f75;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
}

.dashboard-title p[b-bs1xc8djpo] {
    color: #64748b;
    font-size: 0.9rem;
}

.stats-grid[b-bs1xc8djpo] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card[b-bs1xc8djpo] {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease;
}

.stat-card:hover[b-bs1xc8djpo] {
    transform: translateY(-2px);
}

.stat-icon[b-bs1xc8djpo] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.blue[b-bs1xc8djpo] {
    background: #e0f2fe;
    color: #0284c7;
}

.stat-icon.green[b-bs1xc8djpo] {
    background: #d1fae5;
    color: #059669;
}

.stat-icon.orange[b-bs1xc8djpo] {
    background: #fef3c7;
    color: #d97706;
}

.stat-icon.purple[b-bs1xc8djpo] {
    background: #f3e8ff;
    color: #7c3aed;
}

.stat-info[b-bs1xc8djpo] {
    display: flex;
    flex-direction: column;
}

.stat-value[b-bs1xc8djpo] {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}

.stat-label[b-bs1xc8djpo] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 0.1rem;
}

/* Glass Filters Control Board */
.filters-card[b-bs1xc8djpo] {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 12px;
    padding: 0.5rem 0.85rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.filters-row[b-bs1xc8djpo] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-end;
}

.filter-group[b-bs1xc8djpo] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.filter-group.filter-date-group[b-bs1xc8djpo] {
    flex: 1 1 120px;
    max-width: 130px;
}

.filter-group.filter-doc-group[b-bs1xc8djpo] {
    flex: 1.2 1 130px;
    max-width: 160px;
}

.filter-group.filter-status-group[b-bs1xc8djpo] {
    flex: 1 1 100px;
    max-width: 120px;
}

.filter-group.filter-type-group[b-bs1xc8djpo] {
    flex: 0.9 1 95px;
    max-width: 110px;
}

.filter-group.filter-slot-group[b-bs1xc8djpo] {
    flex: 0.9 1 95px;
    max-width: 110px;
}

.filter-group.filter-search-group[b-bs1xc8djpo] {
    flex: 1.5 1 140px;
    min-width: 130px;
}

.filter-group.filter-order-group[b-bs1xc8djpo] {
    flex: 0 0 auto;
    min-width: 140px;
}

.filter-group.filter-action-group[b-bs1xc8djpo] {
    flex: 0 0 auto;
    align-self: flex-end;
}

.filter-group label[b-bs1xc8djpo] {
    font-size: 0.68rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.filter-control[b-bs1xc8djpo],
select.walkin-input[b-bs1xc8djpo] {
    width: 100%;
    height: 34px;
    border: 1.2px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

select.filter-control[b-bs1xc8djpo],
select.walkin-input[b-bs1xc8djpo] {
    appearance: none;
    -webkit-appearance: none;
    padding: 0.25rem 1.4rem 0.25rem 0.55rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23026aa7' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.45rem center;
    background-size: 0.7rem;
    cursor: pointer;
}

input[type="date"].filter-control[b-bs1xc8djpo] {
    padding: 0.25rem 0.45rem;
    font-size: 0.78rem;
    background-image: none;
}

input[type="text"].filter-control[b-bs1xc8djpo] {
    padding: 0.25rem 0.55rem;
    font-size: 0.78rem;
    background-image: none;
}

.filter-control:hover[b-bs1xc8djpo],
select.walkin-input:hover[b-bs1xc8djpo] {
    border-color: #0284c7;
    background: #ffffff;
}

.filter-control:focus[b-bs1xc8djpo],
select.walkin-input:focus[b-bs1xc8djpo] {
    outline: none;
    border-color: #026aa7;
    box-shadow: 0 0 0 3px rgba(2, 106, 167, 0.15);
    background: #ffffff;
}

.filter-control option[b-bs1xc8djpo],
select.walkin-input option[b-bs1xc8djpo] {
    background-color: #ffffff;
    color: #0f172a;
    font-weight: 600;
    padding: 8px 12px;
}

.btn-sort-toggle[b-bs1xc8djpo] {
    height: 34px;
    font-weight: 700;
    font-size: 0.76rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    gap: 6px;
    cursor: pointer;
    border: 1.2px solid #cbd5e1;
    background: #f8fafc;
    color: #64748b;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-sort-toggle:hover[b-bs1xc8djpo] {
    border-color: #0284c7;
    background: #f0f9ff;
    color: #026aa7;
}

.btn-sort-toggle.active[b-bs1xc8djpo] {
    border-color: #0284c7;
    background: #f0f9ff;
    color: #026aa7;
}

.btn-sort-toggle .btn-sort-text[b-bs1xc8djpo] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-sort-toggle .btn-sort-text i[b-bs1xc8djpo] {
    font-size: 0.85rem;
}

.btn-sort-toggle .badge[b-bs1xc8djpo] {
    font-size: 0.65rem;
    padding: 2px 5px;
}

.btn-filter-reset[b-bs1xc8djpo] {
    height: 34px;
    padding: 0 0.85rem;
    background: #ffffff;
    border: 1.2px solid #026aa7;
    color: #026aa7;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.btn-filter-reset:hover[b-bs1xc8djpo] {
    background: #f0f9ff;
    border-color: #025687;
    color: #025687;
    transform: translateY(-1px);
}

.btn-header-action[b-bs1xc8djpo] {
    background: #026aa7;
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(2, 106, 167, 0.15);
}

.btn-header-action:hover[b-bs1xc8djpo] {
    background: #025687;
    transform: translateY(-1px);
}

.btn-header-action.secondary[b-bs1xc8djpo] {
    background: #ffffff;
    border: 1.5px solid #026aa7;
    color: #026aa7;
    box-shadow: none;
}

.btn-header-action.secondary:hover[b-bs1xc8djpo] {
    background: #f0f9ff;
    color: #025687;
    border-color: #025687;
}

/* Premium Stats Popup Card Overlay */
.stats-popup-card[b-bs1xc8djpo] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    z-index: 10000;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.85rem 1.1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    min-width: 300px;
    animation: statsFadeIn-b-bs1xc8djpo 0.2s ease-out;
}

@keyframes statsFadeIn-b-bs1xc8djpo {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-popup-header[b-bs1xc8djpo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid #f1f5f9;
}

.stats-popup-header span[b-bs1xc8djpo] {
    font-size: 0.72rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.stats-popup-header .close-btn[b-bs1xc8djpo] {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.15s ease;
}

.stats-popup-header .close-btn:hover[b-bs1xc8djpo] {
    color: #475569;
}

.stats-popup-list[b-bs1xc8djpo] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-popup-item[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: all 0.15s ease;
}

.stat-popup-item:hover[b-bs1xc8djpo] {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.stat-popup-item i[b-bs1xc8djpo] {
    font-size: 1rem;
    margin-right: 0.75rem;
    width: 22px;
    text-align: center;
}

.stat-popup-item.blue i[b-bs1xc8djpo] {
    color: #0284c7;
}

.stat-popup-item.green i[b-bs1xc8djpo] {
    color: #059669;
}

.stat-popup-item.orange i[b-bs1xc8djpo] {
    color: #d97706;
}

.stat-popup-item.purple i[b-bs1xc8djpo] {
    color: #7c3aed;
}

.stat-popup-item .label[b-bs1xc8djpo] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    flex-grow: 1;
}

.stat-popup-item .num[b-bs1xc8djpo] {
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.15rem 0.65rem;
    border-radius: 12px;
}

.stat-popup-item.blue .num[b-bs1xc8djpo] {
    background: #e0f2fe;
    color: #0369a1;
}

.stat-popup-item.green .num[b-bs1xc8djpo] {
    background: #d1fae5;
    color: #065f46;
}

.stat-popup-item.orange .num[b-bs1xc8djpo] {
    background: #fef3c7;
    color: #b45309;
}

.stat-popup-item.purple .num[b-bs1xc8djpo] {
    background: #f3e8ff;
    color: #5b21b6;
}

/* Pagination Footer */
.pagination-footer[b-bs1xc8djpo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid #eaecf0;
    background-color: #ffffff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    margin-top: -1px;
}

.pagination-info[b-bs1xc8djpo] {
    font-size: 0.82rem;
    color: #64748b;
}

.pagination-info-highlight[b-bs1xc8djpo] {
    font-weight: 700;
    color: #334155;
}

.pagination-btns[b-bs1xc8djpo] {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pagination-btns .page-btn[b-bs1xc8djpo] {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #475569;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pagination-btns .page-btn:hover:not(.active):not(:disabled)[b-bs1xc8djpo] {
    background: #f0f9ff;
    border-color: #0284c7;
    color: #0284c7;
}

.pagination-btns .page-btn:disabled[b-bs1xc8djpo] {
    opacity: 0.45;
    cursor: not-allowed;
}

.pagination-btns .page-btn.active[b-bs1xc8djpo] {
    background: #026aa7;
    border-color: #026aa7;
    color: #ffffff;
    font-weight: 700;
}

/* Pagination Toggle Button */
.btn-pagination-toggle[b-bs1xc8djpo] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    height: 30px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-size: 0.74rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-pagination-toggle:hover[b-bs1xc8djpo] {
    background: #f8fafc;
    border-color: #026aa7;
    color: #026aa7;
}

.btn-pagination-toggle.show-all-active[b-bs1xc8djpo] {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

.btn-pagination-toggle .badge[b-bs1xc8djpo] {
    font-size: 0.62rem;
    padding: 2px 5px;
    border-radius: 4px;
}

/* Table Card & Medico Table */
.table-card[b-bs1xc8djpo] {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.table-responsive[b-bs1xc8djpo] {
    overflow-x: auto !important;
    overflow-y: auto;
    max-height: calc(100vh - 280px);
    min-height: 300px;
    border-radius: 10px;
    border: 1px solid #eaecf0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    flex: 1;
}

.medico-table[b-bs1xc8djpo] {
    width: 100%;
    min-width: 950px;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.78rem;
}

.medico-table th[b-bs1xc8djpo] {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0.45rem 0.65rem;
    background: #026aa7;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
}

.medico-table th:last-child[b-bs1xc8djpo] {
    border-right: none;
}

.medico-table td[b-bs1xc8djpo] {
    padding: 0.35rem 0.65rem;
    border-bottom: 1px solid #eaecf0;
    background-color: #ffffff;
    color: #334155;
    font-weight: 500;
    font-size: 0.76rem;
    vertical-align: middle;
    white-space: nowrap;
}

.medico-table tr:hover td[b-bs1xc8djpo] {
    background: #f8fafc;
}

.patient-name-val[b-bs1xc8djpo] {
    font-weight: 700;
    color: #334155;
}

.doctor-name-val[b-bs1xc8djpo] {
    font-weight: 700;
    color: #334155;
}

.time-badge[b-bs1xc8djpo] {
    background: #f1f5f9;
    color: #334155;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-block;
    white-space: nowrap;
}

.col-sno[b-bs1xc8djpo] {
    text-align: center;
    font-weight: 700;
    color: #475569;
}

.walkin-time-badge[b-bs1xc8djpo] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #334155;
}

.badge-op[b-bs1xc8djpo] {
    color: #0369a1;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1.2px solid #7dd3fc;
    padding: 0 6px;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 25px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(2, 132, 199, 0.1);
}

.vitals-header-badge[b-bs1xc8djpo] {
    color: #0369a1;
    background: #f0f9ff;
    border: 1.5px solid #7dd3fc;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(2, 106, 167, 0.1);
}

.badge-type[b-bs1xc8djpo] {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.12rem 0.4rem;
    border-radius: 4px;
}

.badge-type.online[b-bs1xc8djpo] {
    background: #eff6ff;
    color: #3b82f6;
    border: 1px solid #dbeafe;
}

.badge-type.walkin[b-bs1xc8djpo] {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fef3c7;
}

/* Actions Menu & Select Dropdown */
.btn-group-actions[b-bs1xc8djpo] {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.actions-dropdown-container[b-bs1xc8djpo] {
    position: relative;
    display: inline-block;
}

.btn-action-dots[b-bs1xc8djpo] {
    background: transparent;
    border: none;
    color: #64748b;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.btn-action-dots:hover[b-bs1xc8djpo],
.btn-action-dots.active[b-bs1xc8djpo] {
    background-color: #f1f5f9;
    color: #0f172a;
}

.dropdown-backdrop[b-bs1xc8djpo] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    background: transparent;
}

.actions-dropdown-menu[b-bs1xc8djpo] {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    padding: 0.25rem 0.5rem;
    display: flex;
    gap: 0.35rem;
    z-index: 1000;
    margin-right: 8px;
    align-items: center;
    white-space: nowrap;
}

.action-icon-btn[b-bs1xc8djpo] {
    background: transparent;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.action-icon-btn.preview-bill[b-bs1xc8djpo] {
    color: #6366f1;
}

.action-icon-btn.preview-bill:hover[b-bs1xc8djpo] {
    background-color: #e0e7ff;
}

.action-icon-btn.download-bill[b-bs1xc8djpo] {
    color: #16a34a;
}

.action-icon-btn.download-bill:hover[b-bs1xc8djpo] {
    background-color: #dcfce7;
}

.action-icon-btn.preview-casesheet[b-bs1xc8djpo] {
    color: #8b5cf6;
}

.action-icon-btn.preview-casesheet:hover[b-bs1xc8djpo] {
    background-color: #f3e8ff;
}

.action-icon-btn.print-casesheet[b-bs1xc8djpo] {
    color: #0d9488;
}

.action-icon-btn.print-casesheet:hover[b-bs1xc8djpo] {
    background-color: #ccfbf1;
}

.action-icon-btn.vitals[b-bs1xc8djpo] {
    color: #ec4899;
}

.action-icon-btn.vitals:hover[b-bs1xc8djpo] {
    background-color: #fdf2f8;
}

.action-icon-btn.billing[b-bs1xc8djpo] {
    color: #0284c7;
}

.action-icon-btn.billing:hover[b-bs1xc8djpo] {
    background-color: #e0f2fe;
}

.action-icon-btn.cancel[b-bs1xc8djpo] {
    color: #ef4444;
}

.action-icon-btn.cancel:hover[b-bs1xc8djpo] {
    background-color: #fef2f2;
}

.dropdown-divider[b-bs1xc8djpo] {
    height: 1px;
    background-color: #e2e8f0;
    margin: 0.25rem 0;
}

.btn-action[b-bs1xc8djpo] {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-action.register[b-bs1xc8djpo] {
    color: #026aa7;
    border-color: #93c5fd;
    background: #f0f9ff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.btn-action.register:hover[b-bs1xc8djpo] {
    background: #026aa7;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(2, 106, 167, 0.15);
}

.btn-action.vitals[b-bs1xc8djpo] {
    color: #ec4899;
    border-color: #fbcfe8;
    background: #fdf2f8;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.btn-action.vitals:hover[b-bs1xc8djpo] {
    background: #ec4899;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(236, 72, 153, 0.15);
}

.status-badge[b-bs1xc8djpo] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    letter-spacing: 0.2px;
}

.status-badge.unregistered[b-bs1xc8djpo],
.status-badge.pending[b-bs1xc8djpo] {
    background: #f1f5f9;
    color: #475569;
}

.status-badge.waiting[b-bs1xc8djpo] {
    background: #fef3c7;
    color: #b45309;
}

.status-badge.in_consultation[b-bs1xc8djpo] {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.completed[b-bs1xc8djpo] {
    background: #d1fae5;
    color: #065f46;
}

.status-select[b-bs1xc8djpo] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.22rem 1.45rem 0.22rem 0.5rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    cursor: pointer;
    outline: none;
    font-family: inherit;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.45rem center;
    background-size: 0.55rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.status-select:hover[b-bs1xc8djpo] {
    transform: scale(1.02);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.status-select.waiting[b-bs1xc8djpo] {
    background-color: #fef3c7;
    color: #b45309;
    border-color: #fde68a;
}

.status-select.in_consultation[b-bs1xc8djpo] {
    background-color: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}

.status-select.completed[b-bs1xc8djpo] {
    background-color: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

.status-select.report[b-bs1xc8djpo] {
    background-color: #f5f3ff;
    color: #6d28d9;
    border-color: #ddd6fe;
}

.status-select.booked[b-bs1xc8djpo] {
    background-color: #ecfeff;
    color: #0e7490;
    border-color: #a5f3fc;
}

.status-select.arrived[b-bs1xc8djpo] {
    background-color: #f0fdfa;
    color: #0f766e;
    border-color: #99f6e4;
}

.status-select option[b-bs1xc8djpo] {
    background-color: #ffffff;
    color: #1e293b;
    font-weight: 600;
}

/* Glassmorphic Modals */
.modal-backdrop[b-bs1xc8djpo] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.glass-modal[b-bs1xc8djpo] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    z-index: 1001;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.glass-modal.large-modal[b-bs1xc8djpo] {
    max-width: 1400px;
    width: 95vw;
}

.modal-header[b-bs1xc8djpo] {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3[b-bs1xc8djpo] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #026aa7;
    margin: 0;
}

.close-btn[b-bs1xc8djpo] {
    border: none;
    background: none;
    font-size: 1.75rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s ease;
}

.close-btn:hover[b-bs1xc8djpo] {
    color: #475569;
}

.modal-body[b-bs1xc8djpo] {
    padding: 1.75rem;
    flex: 1;
    overflow-y: auto;
}

.form-group[b-bs1xc8djpo] {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label[b-bs1xc8djpo] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.3px;
    margin: 0;
    display: block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.form-group:focus-within label[b-bs1xc8djpo] {
    color: #026aa7;
    transform: translateY(-1px);
}

.vitals-grid[b-bs1xc8djpo] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

.modal-footer[b-bs1xc8djpo] {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn-modal[b-bs1xc8djpo] {
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-modal.cancel[b-bs1xc8djpo] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
}

.btn-modal.cancel:hover[b-bs1xc8djpo] {
    background: #f1f5f9;
}

.btn-modal.confirm[b-bs1xc8djpo] {
    background: #026aa7;
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(2, 106, 167, 0.15);
}

.btn-modal.confirm:hover[b-bs1xc8djpo] {
    background: #025687;
}

.empty-state[b-bs1xc8djpo] {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

.empty-state i[b-bs1xc8djpo] {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
    display: block;
}

.empty-state h4[b-bs1xc8djpo] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.5rem;
}

.empty-state p[b-bs1xc8djpo] {
    font-size: 0.9rem;
    margin: 0;
}

/* Vitals Dashboard Layout */
.vitals-dashboard-layout[b-bs1xc8djpo] {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
}

.vitals-left-column[b-bs1xc8djpo] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vitals-right-column[b-bs1xc8djpo] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vitals-card[b-bs1xc8djpo] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.vitals-card-header[b-bs1xc8djpo] {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vitals-grid-5[b-bs1xc8djpo] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
}

.vitals-grid-4[b-bs1xc8djpo] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.vitals-grid-3[b-bs1xc8djpo] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.form-group label[b-bs1xc8djpo] {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #475569;
    font-weight: 800;
    margin-bottom: 0.2rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.readonly-input[b-bs1xc8djpo] {
    background-color: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1e40af;
    font-weight: 700;
}

/* Pain Scale Slider */
.pain-scale-container[b-bs1xc8djpo] {
    margin-top: 2rem;
    position: relative;
}

.pain-scale-layout[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.pain-value[b-bs1xc8djpo] {
    font-weight: 700;
    color: #10b981;
}

.pain-value.max[b-bs1xc8djpo] {
    color: #ef4444;
}

.pain-scale-slider[b-bs1xc8djpo] {
    flex: 1;
    -webkit-appearance: none;
    height: 6px;
    background: #e2e8f0;
    border-radius: 5px;
    outline: none;
}

.pain-scale-slider[b-bs1xc8djpo]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #034f75;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pain-value-display[b-bs1xc8djpo] {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ef4444;
}

/* Clinical Rows */
.clinical-rows[b-bs1xc8djpo] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.clinical-row[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.clinical-row label[b-bs1xc8djpo] {
    font-size: 0.75rem;
    font-weight: 800;
    color: #475569;
    margin: 0;
    flex: 0 0 120px;
    text-transform: uppercase;
}

.clinical-input[b-bs1xc8djpo] {
    flex: 1;
}

/* Toggle Switch */
.toggle-wrapper[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toggle-label[b-bs1xc8djpo] {
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
}

.switch[b-bs1xc8djpo] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input[b-bs1xc8djpo] {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider.round[b-bs1xc8djpo] {
    border-radius: 34px;
}

.slider.round[b-bs1xc8djpo]:before {
    border-radius: 50%;
}

.slider[b-bs1xc8djpo] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
}

.slider[b-bs1xc8djpo]:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.slider[b-bs1xc8djpo] {
    background-color: #0ea5e9;
}

input:checked+.slider[b-bs1xc8djpo]:before {
    transform: translateX(20px);
}

.h-100[b-bs1xc8djpo] {
    height: 100%;
}

/* Direct Walk-in Modal Grid Layout */
.modal-grid-2[b-bs1xc8djpo] {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.25rem;
}

.walkin-modal[b-bs1xc8djpo] {
    max-width: 900px !important;
    width: 95% !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(2, 106, 167, 0.15) !important;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.22) !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Choice chip toggles for Doctor Specialist Selection */
.radio-toggle-group[b-bs1xc8djpo] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    background: #f1f5f9;
    padding: 0.3rem;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
}

.radio-toggle-btn[b-bs1xc8djpo] {
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.radio-toggle-btn:hover:not(.active)[b-bs1xc8djpo] {
    color: #026aa7;
    background: rgba(2, 106, 167, 0.06);
}

.radio-toggle-btn.active[b-bs1xc8djpo] {
    background: #ffffff;
    color: #026aa7;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.radio-toggle-group.three-options[b-bs1xc8djpo] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.35rem !important;
}

.radio-toggle-group.three-options .radio-toggle-btn[b-bs1xc8djpo] {
    padding: 0.5rem 0.4rem !important;
    font-size: 0.8rem !important;
    gap: 0.35rem !important;
    white-space: nowrap !important;
}

.radio-toggle-group.three-options .radio-toggle-btn i[b-bs1xc8djpo] {
    font-size: 0.85rem !important;
}

/* Premium form labels for walk-in form */
.walkin-label-bold[b-bs1xc8djpo] {
    font-size: 0.78rem;
    font-weight: 800;
    color: #034f75;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    display: block;
}

/* Premium Form Inputs */
.walkin-input[b-bs1xc8djpo],
.walkin-textarea[b-bs1xc8djpo] {
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    padding: 0.75rem 1rem;
    background: #ffffff;
    width: 100%;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e293b;
    transition: all 0.2s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
}

select.walkin-input[b-bs1xc8djpo] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.8rem;
    padding-right: 2.5rem;
}

.walkin-input:hover[b-bs1xc8djpo],
.walkin-textarea:hover[b-bs1xc8djpo] {
    border-color: #94a3b8;
}

.walkin-input:focus[b-bs1xc8djpo],
.walkin-textarea:focus[b-bs1xc8djpo] {
    outline: none;
    border-color: #026aa7;
    box-shadow: 0 0 0 4px rgba(2, 106, 167, 0.12), inset 0 2px 4px rgba(0, 0, 0, 0.01);
}

/* Slots Container */
.slots-theme-container[b-bs1xc8djpo] {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    min-height: 280px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.slots-theme-container.empty[b-bs1xc8djpo] {
    justify-content: center;
    align-items: center;
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
}

/* Slot grid button redesign */
.slots-theme-grid[b-bs1xc8djpo] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    overflow-y: auto;
    max-height: 300px;
    padding: 0.25rem;
}

.slot-theme-btn[b-bs1xc8djpo] {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    position: relative;
    outline: none;
}

.slot-theme-btn:hover:not(.disabled)[b-bs1xc8djpo] {
    border-color: #0284c7;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(2, 132, 199, 0.1), 0 4px 6px -4px rgba(2, 132, 199, 0.1);
}

.slot-theme-btn.selected[b-bs1xc8djpo] {
    border-color: #026aa7;
    background: linear-gradient(135deg, #026aa7 0%, #0078b1 100%);
    color: #ffffff;
    box-shadow: 0 10px 20px -3px rgba(2, 106, 167, 0.3), 0 4px 6px -2px rgba(2, 106, 167, 0.3);
    transform: translateY(-2px) scale(1.02);
}

.slot-theme-btn.disabled[b-bs1xc8djpo] {
    background: #f8fafc;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
    transform: none;
}

.slot-time-bold[b-bs1xc8djpo] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.slot-theme-btn.selected .slot-time-bold[b-bs1xc8djpo] {
    color: #ffffff !important;
}

/* Status Dot Indicators */
.status-dot[b-bs1xc8djpo] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

.status-dot.green[b-bs1xc8djpo] {
    background-color: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.status-dot.red[b-bs1xc8djpo] {
    background-color: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}

.slot-count-sub[b-bs1xc8djpo] {
    font-size: 0.73rem;
    font-weight: 800;
    color: #15803d;
    background: #dcfce7;
    border: 1px solid #86efac;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.1px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.slot-count-sub.full[b-bs1xc8djpo] {
    color: #b91c1c !important;
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
}

.slot-theme-btn.disabled[b-bs1xc8djpo] {
    background: #fff5f5 !important;
    border-color: #fca5a5 !important;
    opacity: 0.75;
    cursor: not-allowed;
}

.slot-theme-btn.selected .slot-count-sub.available[b-bs1xc8djpo] {
    background: #ffffff !important;
    color: #15803d !important;
    border-color: #ffffff !important;
}

.slot-theme-btn.selected .slot-count-sub.full[b-bs1xc8djpo] {
    background: #ffffff !important;
    color: #b91c1c !important;
    border-color: #ffffff !important;
}

/* Empty State visual */
.walkin-modal-empty-state[b-bs1xc8djpo] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    text-align: center;
    color: #64748b;
    padding: 2rem;
}

.walkin-modal-empty-icon[b-bs1xc8djpo] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f0f9ff;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.05);
}

.walkin-modal-empty-text[b-bs1xc8djpo] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
}

.walkin-modal-empty-subtext[b-bs1xc8djpo] {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

/* Footer buttons redesign */
.btn-walkin-primary[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #026aa7 0%, #0284c7 100%);
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(2, 106, 167, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-walkin-primary:hover[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #025687 0%, #026aa7 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(2, 106, 167, 0.3);
}

.btn-walkin-secondary[b-bs1xc8djpo] {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #475569;
    font-weight: 700;
    border-radius: 10px;
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-walkin-secondary:hover[b-bs1xc8djpo] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
}

/* Redesigned Select Available Time Slot Styles */
.walkin-slot-label[b-bs1xc8djpo] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.5rem;
    display: block;
}

.slots-empty-state[b-bs1xc8djpo] {
    text-align: center;
    color: #64748b;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.slots-empty-icon[b-bs1xc8djpo] {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slots-empty-state h4[b-bs1xc8djpo] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.5rem;
}

.slots-empty-state p[b-bs1xc8djpo] {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
    max-width: 280px;
    margin: 0 auto;
}

/* Autocomplete/Search Results list */
.autocomplete-search-wrapper[b-bs1xc8djpo] {
    position: relative;
    width: 100%;
}

.autocomplete-dropdown[b-bs1xc8djpo] {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    margin-top: 4px;
    text-align: left;
}

.autocomplete-item[b-bs1xc8djpo] {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    color: #334155;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    border-left: 4px solid transparent;
    transition: background-color 0.15s ease, border-left-color 0.15s ease;
}

.autocomplete-item:hover[b-bs1xc8djpo],
.autocomplete-item.active-focused[b-bs1xc8djpo] {
    background-color: #e0f2fe !important;
    color: #026aa7 !important;
    border-left-color: #0284c7 !important;
}

.autocomplete-item:hover .autocomplete-code[b-bs1xc8djpo],
.autocomplete-item.active-focused .autocomplete-code[b-bs1xc8djpo] {
    background-color: #0284c7 !important;
    color: #ffffff !important;
}

.autocomplete-code[b-bs1xc8djpo] {
    font-weight: 700;
    color: #64748b;
    font-size: 0.72rem;
    background: #f1f5f9;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
}

/* VIP Highlight Styles (Golden) */
.medico-table tr.vip-row td[b-bs1xc8djpo],
.recent-checkins-table tr.vip-row td[b-bs1xc8djpo],
tr.vip-row td[b-bs1xc8djpo] {
    background-color: #fef9c3 !important;
    /* Golden background */
    border-bottom: 1px solid #fde047 !important;
}

.medico-table tr.vip-row:hover td[b-bs1xc8djpo],
.recent-checkins-table tr.vip-row:hover td[b-bs1xc8djpo],
tr.vip-row:hover td[b-bs1xc8djpo] {
    background-color: #fef08a !important;
    /* Gold on hover */
}

.medico-table tr.vip-row td:first-child[b-bs1xc8djpo],
tr.vip-row td:first-child[b-bs1xc8djpo] {
    border-left: 4px solid #eab308 !important;
    /* Gold left border */
}

/* IP Referred Highlight Styles (Green) */
.medico-table tr.ip-referred-row td[b-bs1xc8djpo],
.recent-checkins-table tr.ip-referred-row td[b-bs1xc8djpo],
tr.ip-referred-row td[b-bs1xc8djpo] {
    background-color: #dcfce7 !important;
    /* Green background */
    border-bottom: 1px solid #86efac !important;
}

.medico-table tr.ip-referred-row:hover td[b-bs1xc8djpo],
.recent-checkins-table tr.ip-referred-row:hover td[b-bs1xc8djpo],
tr.ip-referred-row:hover td[b-bs1xc8djpo] {
    background-color: #bbf7d0 !important;
    /* Green on hover */
}

.medico-table tr.ip-referred-row td:first-child[b-bs1xc8djpo],
tr.ip-referred-row td:first-child[b-bs1xc8djpo] {
    border-left: 4px solid #22c55e !important;
    /* Green left border */
}

/* Combined VIP & IP Referred Row */
.medico-table tr.vip-row.ip-referred-row td[b-bs1xc8djpo],
tr.vip-row.ip-referred-row td[b-bs1xc8djpo] {
    background: linear-gradient(90deg, #fef9c3 0%, #dcfce7 100%) !important;
}

.ip-referred-badge[b-bs1xc8djpo] {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #15803d;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Bills & Paid Status Badges - Horizontal Left-Right Layout */
.bill-paid-status-container[b-bs1xc8djpo] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 170px !important;
    white-space: nowrap !important;
}

.status-badge-pill[b-bs1xc8djpo] {
    font-size: 0.71rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.25;
}

.status-badge-pill.unbilled[b-bs1xc8djpo] {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.status-badge-pill.partially-billed[b-bs1xc8djpo],
.status-badge-pill.partial-billed[b-bs1xc8djpo] {
    background: #ffedd5;
    color: #9a3412;
    border: 1px solid #fdba74;
}

.status-badge-pill.billed[b-bs1xc8djpo] {
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.btn-bill-status[b-bs1xc8djpo] {
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.73rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.btn-bill-status.unpaid[b-bs1xc8djpo] {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.btn-bill-status.unpaid:hover[b-bs1xc8djpo] {
    background: #fca5a5;
    color: #7f1d1d;
}

.btn-bill-status.paid[b-bs1xc8djpo] {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    cursor: default;
}

/* ═══════════════════════════════════════════════════════════════
   OUTPATIENT VISITING DASHBOARD DARK THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .dashboard-title h1[b-bs1xc8djpo],
[data-theme="dark"] .dashboard-title h1[b-bs1xc8djpo] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .dashboard-title p[b-bs1xc8djpo],
[data-theme="dark"] .dashboard-title p[b-bs1xc8djpo] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .filters-card[b-bs1xc8djpo],
[data-theme="dark"] .filters-card[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

:host-context([data-theme="dark"]) .filter-group label[b-bs1xc8djpo],
[data-theme="dark"] .filter-group label[b-bs1xc8djpo] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .filter-control[b-bs1xc8djpo],
:host-context([data-theme="dark"]) select.walkin-input[b-bs1xc8djpo],
[data-theme="dark"] .filter-control[b-bs1xc8djpo],
[data-theme="dark"] select.walkin-input[b-bs1xc8djpo] {
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .filter-control option[b-bs1xc8djpo],
:host-context([data-theme="dark"]) select.walkin-input option[b-bs1xc8djpo],
[data-theme="dark"] .filter-control option[b-bs1xc8djpo],
[data-theme="dark"] select.walkin-input option[b-bs1xc8djpo] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .table-responsive[b-bs1xc8djpo],
[data-theme="dark"] .table-responsive[b-bs1xc8djpo] {
    border-color: #334155 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

:host-context([data-theme="dark"]) .medico-table th[b-bs1xc8djpo],
[data-theme="dark"] .medico-table th[b-bs1xc8djpo] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-bottom: 1px solid #334155 !important;
    border-right: 1px solid #1e293b !important;
}

:host-context([data-theme="dark"]) .medico-table td[b-bs1xc8djpo],
[data-theme="dark"] .medico-table td[b-bs1xc8djpo] {
    background-color: #1e293b !important;
    color: #cbd5e1 !important;
    border-bottom: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .medico-table td span[b-bs1xc8djpo],
[data-theme="dark"] .medico-table td span[b-bs1xc8djpo] {
    color: #e2e8f0 !important;
}

:host-context([data-theme="dark"]) .medico-table tr:hover td[b-bs1xc8djpo],
[data-theme="dark"] .medico-table tr:hover td[b-bs1xc8djpo] {
    background-color: #0f172a !important;
}

:host-context([data-theme="dark"]) .medico-table tr.vip-row td[b-bs1xc8djpo],
:host-context([data-theme="dark"]) tr.vip-row td[b-bs1xc8djpo],
[data-theme="dark"] .medico-table tr.vip-row td[b-bs1xc8djpo],
[data-theme="dark"] tr.vip-row td[b-bs1xc8djpo] {
    background-color: #2b2306 !important;
    color: #fef08a !important;
    border-bottom-color: #713f12 !important;
}

:host-context([data-theme="dark"]) .medico-table tr.vip-row td span[b-bs1xc8djpo],
:host-context([data-theme="dark"]) tr.vip-row td span[b-bs1xc8djpo],
[data-theme="dark"] .medico-table tr.vip-row td span[b-bs1xc8djpo],
[data-theme="dark"] tr.vip-row td span[b-bs1xc8djpo] {
    color: #fef08a !important;
}

:host-context([data-theme="dark"]) .medico-table tr.vip-row:hover td[b-bs1xc8djpo],
[data-theme="dark"] .medico-table tr.vip-row:hover td[b-bs1xc8djpo] {
    background-color: #3b3009 !important;
}

:host-context([data-theme="dark"]) .medico-table tr.ip-referred-row td[b-bs1xc8djpo],
:host-context([data-theme="dark"]) tr.ip-referred-row td[b-bs1xc8djpo],
[data-theme="dark"] .medico-table tr.ip-referred-row td[b-bs1xc8djpo],
[data-theme="dark"] tr.ip-referred-row td[b-bs1xc8djpo] {
    background-color: #092c1b !important;
    color: #86efac !important;
    border-bottom-color: #14532d !important;
}

:host-context([data-theme="dark"]) .medico-table tr.ip-referred-row td span[b-bs1xc8djpo],
:host-context([data-theme="dark"]) tr.ip-referred-row td span[b-bs1xc8djpo],
[data-theme="dark"] .medico-table tr.ip-referred-row td span[b-bs1xc8djpo],
[data-theme="dark"] tr.ip-referred-row td span[b-bs1xc8djpo] {
    color: #86efac !important;
}

:host-context([data-theme="dark"]) .medico-table tr.ip-referred-row:hover td[b-bs1xc8djpo],
[data-theme="dark"] .medico-table tr.ip-referred-row:hover td[b-bs1xc8djpo] {
    background-color: #0e3d26 !important;
}

:host-context([data-theme="dark"]) .medico-table tr.vip-row.ip-referred-row td[b-bs1xc8djpo],
:host-context([data-theme="dark"]) tr.vip-row.ip-referred-row td[b-bs1xc8djpo],
[data-theme="dark"] .medico-table tr.vip-row.ip-referred-row td[b-bs1xc8djpo],
[data-theme="dark"] tr.vip-row.ip-referred-row td[b-bs1xc8djpo] {
    background: linear-gradient(90deg, #2b2306 0%, #092c1b 100%) !important;
}

:host-context([data-theme="dark"]) .pagination-footer[b-bs1xc8djpo],
[data-theme="dark"] .pagination-footer[b-bs1xc8djpo] {
    background-color: #1e293b !important;
    border-top: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .pagination-info[b-bs1xc8djpo],
[data-theme="dark"] .pagination-info[b-bs1xc8djpo] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .pagination-info-highlight[b-bs1xc8djpo],
[data-theme="dark"] .pagination-info-highlight[b-bs1xc8djpo] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .pagination-btns .page-btn[b-bs1xc8djpo],
[data-theme="dark"] .pagination-btns .page-btn[b-bs1xc8djpo] {
    background: #0f172a !important;
    color: #cbd5e1 !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .pagination-btns .page-btn.active[b-bs1xc8djpo],
[data-theme="dark"] .pagination-btns .page-btn.active[b-bs1xc8djpo] {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
}

:host-context([data-theme="dark"]) .btn-header-action.secondary[b-bs1xc8djpo],
[data-theme="dark"] .btn-header-action.secondary[b-bs1xc8djpo] {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .btn-action-dots[b-bs1xc8djpo],
[data-theme="dark"] .btn-action-dots[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .btn-action-dots:hover[b-bs1xc8djpo],
:host-context([data-theme="dark"]) .btn-action-dots.active[b-bs1xc8djpo],
[data-theme="dark"] .btn-action-dots:hover[b-bs1xc8djpo],
[data-theme="dark"] .btn-action-dots.active[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .actions-dropdown-menu[b-bs1xc8djpo],
[data-theme="dark"] .actions-dropdown-menu[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
}

:host-context([data-theme="dark"]) .action-item-btn[b-bs1xc8djpo],
[data-theme="dark"] .action-item-btn[b-bs1xc8djpo] {
    color: #f1f5f9 !important;
}

:host-context([data-theme="dark"]) .btn-action-dots:hover[b-bs1xc8djpo],
[data-theme="dark"] .btn-action-dots:hover[b-bs1xc8djpo] {
    background-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .actions-dropdown-menu[b-bs1xc8djpo],
[data-theme="dark"] .actions-dropdown-menu[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #334155 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

:host-context([data-theme="dark"]) .action-icon-btn.preview-bill:hover[b-bs1xc8djpo],
[data-theme="dark"] .action-icon-btn.preview-bill:hover[b-bs1xc8djpo] {
    background-color: rgba(99, 102, 241, 0.2) !important;
}

:host-context([data-theme="dark"]) .action-icon-btn.download-bill:hover[b-bs1xc8djpo],
[data-theme="dark"] .action-icon-btn.download-bill:hover[b-bs1xc8djpo] {
    background-color: rgba(22, 163, 74, 0.2) !important;
}

:host-context([data-theme="dark"]) .action-icon-btn.preview-casesheet:hover[b-bs1xc8djpo],
[data-theme="dark"] .action-icon-btn.preview-casesheet:hover[b-bs1xc8djpo] {
    background-color: rgba(139, 92, 246, 0.2) !important;
}

:host-context([data-theme="dark"]) .action-icon-btn.print-casesheet:hover[b-bs1xc8djpo],
[data-theme="dark"] .action-icon-btn.print-casesheet:hover[b-bs1xc8djpo] {
    background-color: rgba(13, 148, 136, 0.2) !important;
}

:host-context([data-theme="dark"]) .action-icon-btn.vitals:hover[b-bs1xc8djpo],
[data-theme="dark"] .action-icon-btn.vitals:hover[b-bs1xc8djpo] {
    background-color: rgba(236, 72, 153, 0.2) !important;
}

:host-context([data-theme="dark"]) .action-icon-btn.billing:hover[b-bs1xc8djpo],
[data-theme="dark"] .action-icon-btn.billing:hover[b-bs1xc8djpo] {
    background-color: rgba(2, 132, 199, 0.2) !important;
}

:host-context([data-theme="dark"]) .action-icon-btn.cancel:hover[b-bs1xc8djpo],
[data-theme="dark"] .action-icon-btn.cancel:hover[b-bs1xc8djpo] {
    background-color: rgba(239, 68, 68, 0.2) !important;
}

:host-context([data-theme="dark"]) .dropdown-divider[b-bs1xc8djpo],
[data-theme="dark"] .dropdown-divider[b-bs1xc8djpo] {
    background-color: #334155 !important;
}

:host-context([data-theme="dark"]) .btn-action.register[b-bs1xc8djpo],
[data-theme="dark"] .btn-action.register[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .btn-action.vitals[b-bs1xc8djpo],
[data-theme="dark"] .btn-action.vitals[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f472b6 !important;
}

:host-context([data-theme="dark"]) .badge-type.walkin[b-bs1xc8djpo],
[data-theme="dark"] .badge-type.walkin[b-bs1xc8djpo] {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #fbbf24 !important;
    border-color: #78350f !important;
}

:host-context([data-theme="dark"]) .badge-type.online[b-bs1xc8djpo],
[data-theme="dark"] .badge-type.online[b-bs1xc8djpo] {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #60a5fa !important;
    border-color: #1e3a8a !important;
}

:host-context([data-theme="dark"]) .btn-bill-status.unpaid[b-bs1xc8djpo],
[data-theme="dark"] .btn-bill-status.unpaid[b-bs1xc8djpo] {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #fca5a5 !important;
    border-color: #7f1d1d !important;
}

:host-context([data-theme="dark"]) .btn-bill-status.paid[b-bs1xc8djpo],
[data-theme="dark"] .btn-bill-status.paid[b-bs1xc8djpo] {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #6ee7b7 !important;
    border-color: #064e3b !important;
}

:host-context([data-theme="dark"]) .status-badge-pill.unbilled[b-bs1xc8djpo],
[data-theme="dark"] .status-badge-pill.unbilled[b-bs1xc8djpo] {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #fbbf24 !important;
    border-color: rgba(251, 191, 36, 0.4) !important;
}

:host-context([data-theme="dark"]) .status-badge-pill.billed[b-bs1xc8djpo],
[data-theme="dark"] .status-badge-pill.billed[b-bs1xc8djpo] {
    background: rgba(56, 189, 248, 0.2) !important;
    color: #38bdf8 !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
}

:host-context([data-theme="dark"]) .status-badge.waiting[b-bs1xc8djpo],
:host-context([data-theme="dark"]) .status-select.waiting[b-bs1xc8djpo],
[data-theme="dark"] .status-badge.waiting[b-bs1xc8djpo],
[data-theme="dark"] .status-select.waiting[b-bs1xc8djpo] {
    background-color: #451a03 !important;
    color: #fde68a !important;
    border-color: #78350f !important;
}

:host-context([data-theme="dark"]) .status-badge.in_consultation[b-bs1xc8djpo],
:host-context([data-theme="dark"]) .status-select.in_consultation[b-bs1xc8djpo],
[data-theme="dark"] .status-badge.in_consultation[b-bs1xc8djpo],
[data-theme="dark"] .status-select.in_consultation[b-bs1xc8djpo] {
    background-color: #1e3a8a !important;
    color: #bfdbfe !important;
    border-color: #1d4ed8 !important;
}

:host-context([data-theme="dark"]) .status-badge.completed[b-bs1xc8djpo],
:host-context([data-theme="dark"]) .status-select.completed[b-bs1xc8djpo],
[data-theme="dark"] .status-badge.completed[b-bs1xc8djpo],
[data-theme="dark"] .status-select.completed[b-bs1xc8djpo] {
    background-color: #064e3b !important;
    color: #a7f3d0 !important;
    border-color: #047857 !important;
}

/* === Custom Doctor Selector Dropdown === */
.doctor-selector-wrapper[b-bs1xc8djpo] {
    position: relative;
    width: 100%;
}

.doctor-selector-button[b-bs1xc8djpo] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.doctor-selector-button:hover[b-bs1xc8djpo] {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.doctor-selector-button.active[b-bs1xc8djpo] {
    border-color: #026aa7;
    background: #e0f2fe;
    color: #026aa7;
}

.doctor-selector-button .dropdown-icon[b-bs1xc8djpo] {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.doctor-selector-button.active .dropdown-icon[b-bs1xc8djpo] {
    transform: rotate(180deg);
}

.doctor-selector-dropdown[b-bs1xc8djpo] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 360px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
}

.doctor-selector-dropdown[b-bs1xc8djpo]::-webkit-scrollbar {
    width: 6px;
}

.doctor-selector-dropdown[b-bs1xc8djpo]::-webkit-scrollbar-track {
    background: transparent;
}

.doctor-selector-dropdown[b-bs1xc8djpo]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.doctor-selector-dropdown[b-bs1xc8djpo]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.doctor-option-item[b-bs1xc8djpo] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.15s ease;
}

.doctor-option-item:hover[b-bs1xc8djpo] {
    background: #f0f9ff;
    padding-left: 1.25rem;
}

.doctor-option-item.selected[b-bs1xc8djpo] {
    background: #e0f2fe;
    border-left: 3px solid #026aa7;
    padding-left: 0.75rem;
}

.doctor-availability-indicator[b-bs1xc8djpo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
}

.doctor-availability-indicator.available[b-bs1xc8djpo] {
    background: #10b981;
    color: #ffffff;
}

.doctor-availability-indicator.unavailable[b-bs1xc8djpo] {
    background: #ef4444;
    color: #ffffff;
}

.doctor-option-content[b-bs1xc8djpo] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.doctor-option-name[b-bs1xc8djpo] {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.95rem;
}

.doctor-option-slots[b-bs1xc8djpo] {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

/* ==========================================================================
   ENHANCED CANCEL OP MODAL CARD
   ========================================================================== */
.cancel-modal-wrapper[b-bs1xc8djpo] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    width: 100%;
    max-width: 540px;
    padding: 1rem;
    animation: cancelModalPop-b-bs1xc8djpo 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cancelModalPop-b-bs1xc8djpo {
    from {
        opacity: 0;
        transform: translate(-50%, -46%) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.cancel-card[b-bs1xc8djpo] {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(220, 38, 38, 0.2), 0 0 0 1px rgba(239, 68, 68, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Header */
.cancel-card-header[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #fff5f5 0%, #fee2e2 100%);
    border-bottom: 1px solid #fecaca;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cancel-header-left[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.cancel-icon-bubble[b-bs1xc8djpo] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    flex-shrink: 0;
}

.cancel-header-titles h3[b-bs1xc8djpo] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #991b1b !important;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.cancel-header-titles p[b-bs1xc8djpo] {
    margin: 2px 0 0 0;
    font-size: 0.8rem;
    color: #b91c1c;
    opacity: 0.85;
    font-weight: 500;
}

.cancel-close-btn[b-bs1xc8djpo] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cancel-close-btn:hover[b-bs1xc8djpo] {
    background: #ef4444;
    color: #ffffff;
    transform: rotate(90deg);
}

/* Body */
.cancel-card-body[b-bs1xc8djpo] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: #ffffff;
    max-height: calc(85vh - 160px);
    overflow-y: auto;
}

/* Patient Summary Box */
.cancel-patient-summary[b-bs1xc8djpo] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.patient-summary-main[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.patient-avatar-badge[b-bs1xc8djpo] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.patient-name-block[b-bs1xc8djpo] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.patient-name-text[b-bs1xc8djpo] {
    font-weight: 800;
    font-size: 1.05rem;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.patient-sub-info[b-bs1xc8djpo] {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.token-pill-badge[b-bs1xc8djpo] {
    background: #e0e7ff;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    flex-shrink: 0;
}

.token-pill-label[b-bs1xc8djpo] {
    font-size: 0.6rem;
    font-weight: 800;
    color: #4338ca;
    letter-spacing: 0.5px;
}

.token-pill-val[b-bs1xc8djpo] {
    font-size: 0.95rem;
    font-weight: 900;
    color: #3730a3;
}

.patient-summary-grid[b-bs1xc8djpo] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.summary-chip[b-bs1xc8djpo] {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 0.45rem 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.summary-chip-label[b-bs1xc8djpo] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.summary-chip-value[b-bs1xc8djpo] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-chip-value.op-no[b-bs1xc8djpo] {
    color: #0284c7;
}

.cancel-warning-banner[b-bs1xc8djpo] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #92400e;
    font-weight: 600;
    line-height: 1.35;
}

.cancel-warning-banner i[b-bs1xc8djpo] {
    color: #d97706;
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* Reason Section */
.cancel-reason-section[b-bs1xc8djpo] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.reason-section-header[b-bs1xc8djpo] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.reason-label[b-bs1xc8djpo] {
    font-size: 0.82rem;
    font-weight: 800;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.required-star[b-bs1xc8djpo] {
    color: #ef4444;
}

.reason-hint[b-bs1xc8djpo] {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 500;
}

.quick-reasons-row[b-bs1xc8djpo] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.quick-reason-chip[b-bs1xc8djpo] {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.quick-reason-chip:hover[b-bs1xc8djpo] {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}

.quick-reason-chip.selected[b-bs1xc8djpo] {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.cancel-reason-textarea[b-bs1xc8djpo] {
    width: 100%;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    font-size: 0.88rem;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.2s ease;
    resize: vertical;
    font-family: inherit;
    line-height: 1.4;
}

.cancel-reason-textarea:focus[b-bs1xc8djpo] {
    outline: none;
    background: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Payload details */
.cancel-payload-wrapper .payload-summary[b-bs1xc8djpo] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    outline: none;
    user-select: none;
    transition: color 0.15s ease;
}

.cancel-payload-wrapper .payload-summary:hover[b-bs1xc8djpo] {
    color: #0284c7;
}

.payload-code-block[b-bs1xc8djpo] {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    margin-top: 0.4rem;
    font-size: 0.75rem;
    font-family: 'Fira Code', monospace;
    max-height: 140px;
    overflow-y: auto;
}

/* Footer */
.cancel-card-footer[b-bs1xc8djpo] {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
}

.btn-cancel-modal[b-bs1xc8djpo] {
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-cancel-modal.keep-btn[b-bs1xc8djpo] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
}

.btn-cancel-modal.keep-btn:hover[b-bs1xc8djpo] {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
}

.btn-cancel-modal.confirm-btn[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.btn-cancel-modal.confirm-btn:hover:not(:disabled)[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4);
    transform: translateY(-1px);
}

.btn-cancel-modal.confirm-btn:disabled[b-bs1xc8djpo] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Dark mode support */
html[data-theme="dark"] .cancel-card[b-bs1xc8djpo] {
    background: #0f172a;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(239, 68, 68, 0.3);
}

html[data-theme="dark"] .cancel-card-header[b-bs1xc8djpo] {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.25) 100%);
    border-bottom: 1px solid rgba(239, 68, 68, 0.3);
}

html[data-theme="dark"] .cancel-header-titles h3[b-bs1xc8djpo] {
    color: #fca5a5 !important;
}

html[data-theme="dark"] .cancel-header-titles p[b-bs1xc8djpo] {
    color: #f87171;
}

html[data-theme="dark"] .cancel-card-body[b-bs1xc8djpo] {
    background: #0f172a;
}

html[data-theme="dark"] .cancel-patient-summary[b-bs1xc8djpo] {
    background: #1e293b;
    border-color: #334155;
}

html[data-theme="dark"] .patient-name-text[b-bs1xc8djpo] {
    color: #f8fafc;
}

html[data-theme="dark"] .summary-chip[b-bs1xc8djpo] {
    background: #0f172a;
    border-color: #334155;
}

html[data-theme="dark"] .summary-chip-value[b-bs1xc8djpo] {
    color: #e2e8f0;
}

html[data-theme="dark"] .reason-label[b-bs1xc8djpo] {
    color: #cbd5e1;
}

html[data-theme="dark"] .quick-reason-chip[b-bs1xc8djpo] {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}

html[data-theme="dark"] .cancel-reason-textarea[b-bs1xc8djpo] {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

html[data-theme="dark"] .cancel-card-footer[b-bs1xc8djpo] {
    background: #1e293b;
    border-color: #334155;
}

html[data-theme="dark"] .btn-cancel-modal.keep-btn[b-bs1xc8djpo] {
    background: #0f172a;
    border-color: #334155;
    color: #cbd5e1;
}

/* Kutty User Count Badge Styles */
.kutty-user-badge[b-bs1xc8djpo] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0369a1;
    border: 1px solid #7dd3fc;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12);
    vertical-align: middle;
    transition: all 0.2s ease;
}



.quick-reason-chip.selected[b-bs1xc8djpo] {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.cancel-reason-textarea[b-bs1xc8djpo] {
    width: 100%;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    font-size: 0.88rem;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.2s ease;
    resize: vertical;
    font-family: inherit;
    line-height: 1.4;
}

.cancel-reason-textarea:focus[b-bs1xc8djpo] {
    outline: none;
    background: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Payload details */
.cancel-payload-wrapper .payload-summary[b-bs1xc8djpo] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    outline: none;
    user-select: none;
    transition: color 0.15s ease;
}

.cancel-payload-wrapper .payload-summary:hover[b-bs1xc8djpo] {
    color: #0284c7;
}

.payload-code-block[b-bs1xc8djpo] {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    margin-top: 0.4rem;
    font-size: 0.75rem;
    font-family: 'Fira Code', monospace;
    max-height: 140px;
    overflow-y: auto;
}

/* Footer */
.cancel-card-footer[b-bs1xc8djpo] {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
}

.btn-cancel-modal[b-bs1xc8djpo] {
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-cancel-modal.keep-btn[b-bs1xc8djpo] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
}

.btn-cancel-modal.keep-btn:hover[b-bs1xc8djpo] {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
}

.btn-cancel-modal.confirm-btn[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.btn-cancel-modal.confirm-btn:hover:not(:disabled)[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4);
    transform: translateY(-1px);
}

.btn-cancel-modal.confirm-btn:disabled[b-bs1xc8djpo] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Kutty User Count Badge Styles */
.kutty-user-badge[b-bs1xc8djpo] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0369a1;
    border: 1px solid #7dd3fc;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12);
    vertical-align: middle;
    transition: all 0.2s ease;
}

.kutty-user-badge:hover[b-bs1xc8djpo] {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
}

.kutty-user-badge.active-filter[b-bs1xc8djpo] {
    outline: 2px solid #0284c7 !important;
    outline-offset: 1px !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.3) !important;
    font-weight: 800 !important;
}

.kutty-user-badge.alt[b-bs1xc8djpo] {
    background: #f0f9ff;
    color: #026aa7;
    border: 1px solid #bae6fd;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

.kutty-user-badge.status-waiting[b-bs1xc8djpo] {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

.kutty-user-badge.status-in-consultation[b-bs1xc8djpo] {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

.kutty-user-badge.status-completed[b-bs1xc8djpo] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

.kutty-user-badge.status-cancelled[b-bs1xc8djpo] {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

.kutty-user-badge.status-report[b-bs1xc8djpo] {
    background: #f5f3ff;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

.kutty-user-badge.status-booked[b-bs1xc8djpo] {
    background: #ecfeff;
    color: #0e7490;
    border: 1px solid #a5f3fc;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

.kutty-user-badge.status-arrived[b-bs1xc8djpo] {
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid #99f6e4;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

.kutty-user-badge.status-rescheduled[b-bs1xc8djpo] {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

.table-bar-header[b-bs1xc8djpo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.5rem 0.75rem 0.5rem;
}

.queue-status-summary[b-bs1xc8djpo] {
    flex: 1 1 auto;
    min-width: 0;
    column-gap: 1rem;
    row-gap: 0.45rem;
}

.queue-summary-title[b-bs1xc8djpo] {
    margin-right: 0.35rem;
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.queue-header-tools[b-bs1xc8djpo] {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .queue-status-summary[b-bs1xc8djpo] {
        width: 100%;
    }

    .queue-header-tools[b-bs1xc8djpo] {
        flex-wrap: wrap;
        justify-content: flex-start;
        white-space: normal;
    }
}

/* Dark theme overrides for kutty-user-badge */
html[data-theme="dark"] .kutty-user-badge[b-bs1xc8djpo],
body.dark-mode .kutty-user-badge[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%);
    color: #e0f2fe;
    border-color: #0284c7;
}

html[data-theme="dark"] .kutty-user-badge.alt[b-bs1xc8djpo],
body.dark-mode .kutty-user-badge.alt[b-bs1xc8djpo] {
    background: #1e293b;
    color: #38bdf8;
    border-color: #334155;
}

html[data-theme="dark"] .kutty-user-badge.status-waiting[b-bs1xc8djpo],
body.dark-mode .kutty-user-badge.status-waiting[b-bs1xc8djpo] {
    background: #451a03;
    color: #fcd34d;
    border-color: #78350f;
}

html[data-theme="dark"] .kutty-user-badge.status-in-consultation[b-bs1xc8djpo],
body.dark-mode .kutty-user-badge.status-in-consultation[b-bs1xc8djpo] {
    background: #172554;
    color: #93c5fd;
    border-color: #1e40af;
}

html[data-theme="dark"] .kutty-user-badge.status-completed[b-bs1xc8djpo],
body.dark-mode .kutty-user-badge.status-completed[b-bs1xc8djpo] {
    background: #022c22;
    color: #6ee7b7;
    border-color: #065f46;
}

html[data-theme="dark"] .kutty-user-badge.status-cancelled[b-bs1xc8djpo],
body.dark-mode .kutty-user-badge.status-cancelled[b-bs1xc8djpo] {
    background: #450a0a;
    color: #fca5a5;
    border-color: #7f1d1d;
}

html[data-theme="dark"] .kutty-user-badge.status-report[b-bs1xc8djpo],
body.dark-mode .kutty-user-badge.status-report[b-bs1xc8djpo] {
    background: #2e1065;
    color: #c4b5fd;
    border-color: #6b21a8;
}

html[data-theme="dark"] .kutty-user-badge.status-booked[b-bs1xc8djpo],
body.dark-mode .kutty-user-badge.status-booked[b-bs1xc8djpo] {
    background: #083344;
    color: #67e8f9;
    border-color: #155e75;
}

html[data-theme="dark"] .kutty-user-badge.status-arrived[b-bs1xc8djpo],
body.dark-mode .kutty-user-badge.status-arrived[b-bs1xc8djpo] {
    background: #042f2e;
    color: #5eead4;
    border-color: #115e59;
}

html[data-theme="dark"] .kutty-user-badge.status-rescheduled[b-bs1xc8djpo],
body.dark-mode .kutty-user-badge.status-rescheduled[b-bs1xc8djpo] {
    background: #431407;
    color: #fdba74;
    border-color: #9a3412;
}

html[data-theme="dark"] .table-bar-header span[b-bs1xc8djpo],
body.dark-mode .table-bar-header span[b-bs1xc8djpo] {
    color: #f1f5f9 !important;
}

/* Bill & Paid Status Left-Right Layout */
.bill-paid-status-container[b-bs1xc8djpo] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 170px !important;
    white-space: nowrap !important;
}

.bill-paid-status-container .status-left[b-bs1xc8djpo] {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.bill-paid-status-container .status-right[b-bs1xc8djpo] {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* Quick Patient Registration Modal Styles */
.quick-reg-backdrop[b-bs1xc8djpo] {
    z-index: 1060;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.quick-reg-modal-wrapper[b-bs1xc8djpo] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1065;
    width: 95%;
    max-width: 780px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

@keyframes cardPopIn-b-bs1xc8djpo {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes overlayFadeIn-b-bs1xc8djpo {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.quick-reg-card[b-bs1xc8djpo] {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 90vh;
    animation: cardPopIn-b-bs1xc8djpo 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-reg-header[b-bs1xc8djpo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-bottom: 1px solid #bae6fd;
}

.quick-reg-header-left[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.quick-reg-icon-bubble[b-bs1xc8djpo] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #0284c7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.quick-reg-title[b-bs1xc8djpo] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0369a1;
}

.quick-reg-subtitle[b-bs1xc8djpo] {
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
}

.quick-reg-close-btn[b-bs1xc8djpo] {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: #64748b;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.quick-reg-close-btn:hover[b-bs1xc8djpo] {
    background: rgba(0, 0, 0, 0.08);
    color: #0f172a;
}

.quick-reg-body[b-bs1xc8djpo] {
    padding: 1.25rem 1.5rem;
    overflow-y: auto;
    max-height: calc(90vh - 150px);
}

.quick-section-heading[b-bs1xc8djpo] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px dashed #e2e8f0;
}

.quick-form-grid[b-bs1xc8djpo] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.qf-col-2[b-bs1xc8djpo] {
    flex: 0 0 calc(16.666% - 0.65rem);
}

.qf-col-3[b-bs1xc8djpo] {
    flex: 0 0 calc(25% - 0.65rem);
}

.qf-col-4[b-bs1xc8djpo] {
    flex: 0 0 calc(33.333% - 0.65rem);
}

.qf-col-5[b-bs1xc8djpo] {
    flex: 0 0 calc(41.666% - 0.65rem);
}

.qf-col-6[b-bs1xc8djpo] {
    flex: 0 0 calc(50% - 0.65rem);
}

.qf-col-8[b-bs1xc8djpo] {
    flex: 0 0 calc(66.666% - 0.65rem);
}

.qf-col-12[b-bs1xc8djpo] {
    flex: 0 0 100%;
}

@media (max-width: 640px) {

    .qf-col-2[b-bs1xc8djpo],
    .qf-col-3[b-bs1xc8djpo],
    .qf-col-4[b-bs1xc8djpo],
    .qf-col-5[b-bs1xc8djpo],
    .qf-col-6[b-bs1xc8djpo],
    .qf-col-8[b-bs1xc8djpo] {
        flex: 0 0 100%;
    }
}

.qf-label[b-bs1xc8djpo] {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.qf-req[b-bs1xc8djpo] {
    color: #ef4444;
    font-weight: 800;
}

.qf-input[b-bs1xc8djpo] {
    width: 100%;
    height: 38px;
    padding: 0.35rem 0.65rem;
    font-size: 0.88rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background-color: #ffffff;
    color: #0f172a;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.qf-input:focus[b-bs1xc8djpo] {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.quick-area-dropdown[b-bs1xc8djpo] {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    z-index: 1070;
    padding: 4px;
}

.quick-area-item[b-bs1xc8djpo] {
    padding: 7px 10px;
    cursor: pointer;
    font-size: 0.84rem;
    border-radius: 6px;
    color: #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s ease;
}

.quick-area-item:hover[b-bs1xc8djpo] {
    background: #f1f5f9;
}

.quick-flags-row[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.quick-check-badge[b-bs1xc8djpo] {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    user-select: none;
}

.quick-check-badge:hover[b-bs1xc8djpo] {
    background: #e2e8f0;
}

.quick-check-badge.active[b-bs1xc8djpo] {
    background: #e0f2fe;
    color: #0369a1;
    border-color: #7dd3fc;
}

.quick-vip-role-box[b-bs1xc8djpo] {
    flex: 0 0 170px !important;
    max-width: 170px !important;
    min-width: 140px !important;
}

.quick-vip-role-box .vip-input[b-bs1xc8djpo] {
    height: 34px;
    width: 100%;
    font-size: 0.82rem;
    border-color: #f59e0b;
    background: #fffbeb;
    padding: 0.25rem 0.5rem;
}

/* Mini Plus Button */
.quick-mini-plus-btn[b-bs1xc8djpo] {
    width: 36px;
    height: 38px;
    flex: 0 0 36px;
    border: 1.5px solid #7dd3fc;
    background: #f0f9ff;
    color: #0284c7;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.quick-mini-plus-btn:hover[b-bs1xc8djpo] {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.quick-reg-footer[b-bs1xc8djpo] {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
}

/* Enhanced Action Buttons */
.quick-btn-cancel[b-bs1xc8djpo] {
    padding: 0.62rem 1.35rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #475569;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.quick-btn-cancel:hover:not(:disabled)[b-bs1xc8djpo] {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.quick-btn-save[b-bs1xc8djpo] {
    padding: 0.62rem 1.6rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.quick-btn-save:hover:not(:disabled)[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
    transform: translateY(-1px);
}

.quick-btn-cancel:disabled[b-bs1xc8djpo],
.quick-btn-save:disabled[b-bs1xc8djpo] {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Quick Add Mini Modals */
.quick-mini-modal-overlay[b-bs1xc8djpo] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: overlayFadeIn-b-bs1xc8djpo 0.15s ease-out;
}

.quick-mini-modal-card[b-bs1xc8djpo] {
    background: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 440px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.08);
    border: 1px solid #bae6fd;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: cardPopIn-b-bs1xc8djpo 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-mini-modal-header[b-bs1xc8djpo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.25rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-bottom: 1px solid #bae6fd;
}

.quick-mini-modal-header h4[b-bs1xc8djpo] {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #0369a1;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.quick-mini-modal-body[b-bs1xc8djpo] {
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 70vh;
    overflow-y: auto;
}

.quick-mini-modal-footer[b-bs1xc8djpo] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* Dark theme styling for Quick Register modal */
html[data-theme="dark"] .quick-reg-card[b-bs1xc8djpo],
body.dark-mode .quick-reg-card[b-bs1xc8djpo] {
    background: #0f172a;
    border: 1px solid #334155;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

html[data-theme="dark"] .quick-reg-header[b-bs1xc8djpo],
body.dark-mode .quick-reg-header[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #0c4a6e 0%, #082f49 100%);
    border-bottom: 1px solid #1e3a8a;
}

html[data-theme="dark"] .quick-reg-title[b-bs1xc8djpo],
body.dark-mode .quick-reg-title[b-bs1xc8djpo] {
    color: #e0f2fe;
}

html[data-theme="dark"] .quick-reg-subtitle[b-bs1xc8djpo],
body.dark-mode .quick-reg-subtitle[b-bs1xc8djpo] {
    color: #94a3b8;
}

html[data-theme="dark"] .quick-section-heading[b-bs1xc8djpo],
body.dark-mode .quick-section-heading[b-bs1xc8djpo] {
    color: #e2e8f0;
    border-bottom-color: #334155;
}

html[data-theme="dark"] .qf-label[b-bs1xc8djpo],
body.dark-mode .qf-label[b-bs1xc8djpo] {
    color: #94a3b8;
}

html[data-theme="dark"] .qf-input[b-bs1xc8djpo],
body.dark-mode .qf-input[b-bs1xc8djpo] {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

html[data-theme="dark"] .qf-input:focus[b-bs1xc8djpo],
body.dark-mode .qf-input:focus[b-bs1xc8djpo] {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

html[data-theme="dark"] .quick-area-dropdown[b-bs1xc8djpo],
body.dark-mode .quick-area-dropdown[b-bs1xc8djpo] {
    background: #1e293b;
    border-color: #334155;
}

html[data-theme="dark"] .quick-area-item[b-bs1xc8djpo],
body.dark-mode .quick-area-item[b-bs1xc8djpo] {
    color: #cbd5e1;
}

html[data-theme="dark"] .quick-area-item:hover[b-bs1xc8djpo],
body.dark-mode .quick-area-item:hover[b-bs1xc8djpo] {
    background: #334155;
}

html[data-theme="dark"] .quick-flags-row[b-bs1xc8djpo],
body.dark-mode .quick-flags-row[b-bs1xc8djpo] {
    background: #1e293b;
    border-color: #334155;
}

html[data-theme="dark"] .quick-check-badge[b-bs1xc8djpo],
body.dark-mode .quick-check-badge[b-bs1xc8djpo] {
    color: #cbd5e1;
}

html[data-theme="dark"] .quick-check-badge.active[b-bs1xc8djpo],
body.dark-mode .quick-check-badge.active[b-bs1xc8djpo] {
    background: #0369a1;
    color: #e0f2fe;
    border-color: #0284c7;
}

html[data-theme="dark"] .quick-mini-plus-btn[b-bs1xc8djpo],
body.dark-mode .quick-mini-plus-btn[b-bs1xc8djpo] {
    background: #1e293b;
    color: #38bdf8;
    border-color: #0284c7;
}

html[data-theme="dark"] .quick-mini-plus-btn:hover[b-bs1xc8djpo],
body.dark-mode .quick-mini-plus-btn:hover[b-bs1xc8djpo] {
    background: #0284c7;
    color: #ffffff;
}

html[data-theme="dark"] .quick-btn-cancel[b-bs1xc8djpo],
body.dark-mode .quick-btn-cancel[b-bs1xc8djpo] {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

html[data-theme="dark"] .quick-mini-modal-card[b-bs1xc8djpo],
body.dark-mode .quick-mini-modal-card[b-bs1xc8djpo] {
    background: #0f172a;
    border-color: #334155;
}

html[data-theme="dark"] .quick-mini-modal-header[b-bs1xc8djpo],
body.dark-mode .quick-mini-modal-header[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #0c4a6e 0%, #082f49 100%);
    border-bottom-color: #1e3a8a;
}

html[data-theme="dark"] .quick-mini-modal-header h4[b-bs1xc8djpo],
body.dark-mode .quick-mini-modal-header h4[b-bs1xc8djpo] {
    color: #e0f2fe;
}

html[data-theme="dark"] .quick-mini-modal-footer[b-bs1xc8djpo],
body.dark-mode .quick-mini-modal-footer[b-bs1xc8djpo] {
    background: #1e293b;
    border-top-color: #334155;
}

html[data-theme="dark"] .quick-reg-footer[b-bs1xc8djpo],
body.dark-mode .quick-reg-footer[b-bs1xc8djpo] {
    background: #1e293b;
    border-top-color: #334155;
}

/* Category Dropdown Popover */
.category-dropdown-wrapper[b-bs1xc8djpo] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.category-popover-menu[b-bs1xc8djpo] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    z-index: 1050;
    min-width: 200px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    animation: fadeInSlide-b-bs1xc8djpo 0.15s ease-out;
}

@keyframes fadeInSlide-b-bs1xc8djpo {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-popover-item[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.category-popover-item:hover[b-bs1xc8djpo] {
    background: #f1f5f9;
    color: #026aa7;
}

.category-popover-item.selected[b-bs1xc8djpo] {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
}

.category-popover-divider[b-bs1xc8djpo] {
    height: 1px;
    background: #e2e8f0;
    margin: 2px 0;
}

.cat-pop-count[b-bs1xc8djpo] {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 8px;
    background: #e2e8f0;
    color: #475569;
}

.category-popover-item.selected .cat-pop-count[b-bs1xc8djpo] {
    background: #0284c7;
    color: #ffffff;
}

/* Dark mode support */
html[data-theme="dark"] .category-popover-menu[b-bs1xc8djpo],
body.dark-mode .category-popover-menu[b-bs1xc8djpo] {
    background: #0f172a;
    border-color: #334155;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .category-popover-item[b-bs1xc8djpo],
body.dark-mode .category-popover-item[b-bs1xc8djpo] {
    color: #cbd5e1;
}

html[data-theme="dark"] .category-popover-item:hover[b-bs1xc8djpo],
body.dark-mode .category-popover-item:hover[b-bs1xc8djpo] {
    background: #1e293b;
    color: #38bdf8;
}

html[data-theme="dark"] .category-popover-item.selected[b-bs1xc8djpo],
body.dark-mode .category-popover-item.selected[b-bs1xc8djpo] {
    background: #0369a1;
    color: #ffffff;
}

html[data-theme="dark"] .cat-pop-count[b-bs1xc8djpo],
body.dark-mode .cat-pop-count[b-bs1xc8djpo] {
    background: #334155;
    color: #cbd5e1;
}

html[data-theme="dark"] .category-popover-divider[b-bs1xc8djpo],
body.dark-mode .category-popover-divider[b-bs1xc8djpo] {
    background: #334155;
}

/* Combo Registration Bundle Section */
.combo-bundle-section[b-bs1xc8djpo] {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-top: 1rem;
    box-shadow: none;
}

.combo-bundle-header[b-bs1xc8djpo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.combo-bundle-subtext[b-bs1xc8djpo] {
    font-size: 0.76rem;
    color: #64748b;
    font-weight: 500;
}

.btn-combo-add-service[b-bs1xc8djpo] {
    background: #f8fafc;
    color: #034f75;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    font-size: 0.76rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-combo-add-service:hover[b-bs1xc8djpo] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #026aa7;
    transform: translateY(-1px);
}

.combo-dressing-toggle-row[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.6rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.combo-dressing-toggle-row:hover[b-bs1xc8djpo] {
    border-color: #94a3b8;
}

.combo-switch-container[b-bs1xc8djpo] {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
}

.combo-switch-container input[b-bs1xc8djpo] {
    opacity: 0;
    width: 0;
    height: 0;
}

.combo-switch-slider[b-bs1xc8djpo] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 20px;
}

.combo-switch-slider[b-bs1xc8djpo]:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

.combo-switch-container input:checked+.combo-switch-slider[b-bs1xc8djpo] {
    background-color: #034f75;
}

.combo-switch-container input:checked+.combo-switch-slider[b-bs1xc8djpo]:before {
    transform: translateX(16px);
}

.combo-switch-text[b-bs1xc8djpo] {
    font-size: 0.86rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.combo-dressing-toggle-row[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.45rem 0.65rem;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
}

.combo-dressing-toggle-row.active[b-bs1xc8djpo] {
    background: #eff6ff;
    border-color: #93c5fd;
}

.combo-service-items-container[b-bs1xc8djpo] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.combo-service-item-row[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.45rem 0.65rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.combo-service-item-row:hover[b-bs1xc8djpo] {
    border-color: #94a3b8;
}

.combo-item-badge[b-bs1xc8djpo] {
    font-size: 0.74rem;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.combo-service-select[b-bs1xc8djpo] {
    flex: 1;
    height: 38px;
    font-size: 0.84rem;
    font-weight: 500;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.25rem 2.2rem 0.25rem 0.65rem;
    background-color: #ffffff;
}

.combo-service-select:hover[b-bs1xc8djpo] {
    border-color: #94a3b8;
}

.btn-combo-delete[b-bs1xc8djpo] {
    background: #fef2f2;
    color: #ef4444;
    border: 1.2px solid #fecaca;
    border-radius: 8px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.btn-combo-delete:hover[b-bs1xc8djpo] {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

.combo-service-amount-wrapper[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    position: relative;
    width: 120px;
    min-width: 100px;
    flex-shrink: 0;
}

.combo-service-amount-curr[b-bs1xc8djpo] {
    position: absolute;
    left: 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #10b981;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.combo-service-amount-input[b-bs1xc8djpo] {
    width: 100%;
    height: 38px;
    font-size: 0.86rem;
    font-weight: 700;
    color: #0f172a;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.25rem 0.5rem 0.25rem 1.4rem;
    background-color: #f8fafc;
    text-align: right;
    transition: all 0.2s ease;
}

.combo-service-amount-input:focus[b-bs1xc8djpo] {
    background-color: #ffffff;
    border-color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.add-services-amount-wrapper[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    position: relative;
    width: 120px;
    min-width: 100px;
    flex-shrink: 0;
}

.add-services-amount-curr[b-bs1xc8djpo] {
    position: absolute;
    left: 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #10b981;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.add-services-amount-input[b-bs1xc8djpo] {
    width: 100%;
    height: 38px;
    font-size: 0.86rem;
    font-weight: 700;
    color: #0f172a;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.25rem 0.5rem 0.25rem 1.4rem;
    background-color: #f8fafc;
    text-align: right;
    transition: all 0.2s ease;
    outline: none;
}

.add-services-amount-input:focus[b-bs1xc8djpo] {
    background-color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE STYLES (OUTPATIENT VISITING)
   ========================================================================== */
@media (max-width: 992px) {
    .dashboard-container[b-bs1xc8djpo] {
        margin: 0.5rem auto;
        padding: 0 0.5rem;
        max-height: none;
        overflow: visible;
        width: 100%;
    }

    .dashboard-header[b-bs1xc8djpo] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        margin-bottom: 1rem;
    }

    .dashboard-header>div:last-child[b-bs1xc8djpo] {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 0.4rem;
    }

    .btn-header-action[b-bs1xc8djpo] {
        flex: 1 1 auto;
        justify-content: center;
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
        height: 36px;
        white-space: nowrap;
    }

    .filters-card[b-bs1xc8djpo] {
        padding: 0.85rem;
        margin-bottom: 1rem;
        border-radius: 12px;
    }

    .filters-row[b-bs1xc8djpo] {
        gap: 0.65rem;
    }

    .filter-group[b-bs1xc8djpo] {
        flex: 1 1 calc(33.333% - 0.5rem);
        max-width: 100%;
        min-width: 130px;
    }

    .table-responsive[b-bs1xc8djpo] {
        max-height: calc(100vh - 200px);
        min-height: 250px;
        -webkit-overflow-scrolling: touch;
    }

    .medico-table[b-bs1xc8djpo] {
        min-width: 850px;
    }
}

@media (max-width: 768px) {
    .dashboard-title h1[b-bs1xc8djpo] {
        font-size: 1.35rem;
        line-height: 1.25;
    }

    .dashboard-title p[b-bs1xc8djpo] {
        font-size: 0.8rem;
    }

    .filters-card[b-bs1xc8djpo] {
        padding: 0.75rem;
    }

    .filter-group[b-bs1xc8djpo] {
        flex: 1 1 calc(50% - 0.4rem);
        min-width: 120px;
    }

    .filter-control[b-bs1xc8djpo],
    select.walkin-input[b-bs1xc8djpo] {
        padding: 0.45rem 1.6rem 0.45rem 0.55rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }

    .btn-sort-toggle[b-bs1xc8djpo],
    .btn-filter-reset[b-bs1xc8djpo] {
        height: 34px;
        font-size: 0.75rem;
    }

    .table-bar-header[b-bs1xc8djpo] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.35rem 0.25rem 0.5rem;
    }

    .table-bar-header>div[b-bs1xc8djpo] {
        width: 100%;
    }

    .kutty-user-badge[b-bs1xc8djpo] {
        font-size: 0.72rem;
        padding: 0.18rem 0.45rem;
    }

    .pagination-footer[b-bs1xc8djpo] {
        flex-direction: column;
        gap: 0.6rem;
        align-items: center;
        text-align: center;
        padding: 10px 14px;
    }

    .pagination-btns[b-bs1xc8djpo] {
        flex-wrap: wrap;
        justify-content: center;
    }

    .glass-modal[b-bs1xc8djpo],
    .custom-modal-content[b-bs1xc8djpo],
    .modal-dialog[b-bs1xc8djpo] {
        width: 95% !important;
        max-width: 95% !important;
        max-height: 92vh;
        border-radius: 16px;
    }

    .modal-header[b-bs1xc8djpo] {
        padding: 1rem 1.25rem;
    }

    .modal-header h3[b-bs1xc8djpo],
    .modal-header .modal-title[b-bs1xc8djpo] {
        font-size: 1.05rem;
    }

    .modal-body[b-bs1xc8djpo] {
        padding: 1rem 1.15rem;
    }

    .modal-footer[b-bs1xc8djpo] {
        padding: 0.75rem 1.15rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .btn-modal[b-bs1xc8djpo] {
        flex: 1 1 auto;
        text-align: center;
        padding: 0.55rem 1rem;
        font-size: 0.82rem;
    }

    .stats-popup-card[b-bs1xc8djpo] {
        position: fixed !important;
        top: auto !important;
        bottom: 1rem !important;
        left: 1rem !important;
        right: 1rem !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: calc(100vw - 2rem) !important;
        z-index: 10050 !important;
    }
}

@media (max-width: 480px) {
    .filter-group[b-bs1xc8djpo] {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .btn-header-action[b-bs1xc8djpo] {
        width: 100%;
    }

    .dashboard-header>div:last-child[b-bs1xc8djpo] {
        flex-direction: column;
    }
}

/* ==========================================================================
   DARK MODE COMPREHENSIVE OVERRIDES FOR OUTPATIENT VISITING
   ========================================================================== */
:host-context([data-theme="dark"]) .dashboard-title h1[b-bs1xc8djpo],
[data-theme="dark"] .dashboard-title h1[b-bs1xc8djpo],
body.dark-mode .dashboard-title h1[b-bs1xc8djpo] {
    color: #f1f5f9 !important;
}

:host-context([data-theme="dark"]) .dashboard-title p[b-bs1xc8djpo],
[data-theme="dark"] .dashboard-title p[b-bs1xc8djpo],
body.dark-mode .dashboard-title p[b-bs1xc8djpo] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .btn-header-action.secondary[b-bs1xc8djpo],
[data-theme="dark"] .btn-header-action.secondary[b-bs1xc8djpo],
body.dark-mode .btn-header-action.secondary[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #0284c7 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .btn-header-action.secondary:hover[b-bs1xc8djpo],
[data-theme="dark"] .btn-header-action.secondary:hover[b-bs1xc8djpo],
body.dark-mode .btn-header-action.secondary:hover[b-bs1xc8djpo] {
    background: #0f172a !important;
    color: #7dd3fc !important;
}

:host-context([data-theme="dark"]) .filters-card[b-bs1xc8djpo],
[data-theme="dark"] .filters-card[b-bs1xc8djpo],
body.dark-mode .filters-card[b-bs1xc8djpo] {
    background: rgba(30, 41, 59, 0.85) !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .filter-group label[b-bs1xc8djpo],
[data-theme="dark"] .filter-group label[b-bs1xc8djpo],
body.dark-mode .filter-group label[b-bs1xc8djpo] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .filter-control[b-bs1xc8djpo],
:host-context([data-theme="dark"]) select.walkin-input[b-bs1xc8djpo],
[data-theme="dark"] .filter-control[b-bs1xc8djpo],
[data-theme="dark"] select.walkin-input[b-bs1xc8djpo],
body.dark-mode .filter-control[b-bs1xc8djpo],
body.dark-mode select.walkin-input[b-bs1xc8djpo] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .filter-control:focus[b-bs1xc8djpo],
:host-context([data-theme="dark"]) select.walkin-input:focus[b-bs1xc8djpo],
[data-theme="dark"] .filter-control:focus[b-bs1xc8djpo],
[data-theme="dark"] select.walkin-input:focus[b-bs1xc8djpo],
body.dark-mode .filter-control:focus[b-bs1xc8djpo],
body.dark-mode select.walkin-input:focus[b-bs1xc8djpo] {
    border-color: #0284c7 !important;
    background-color: #0f172a !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25) !important;
}

:host-context([data-theme="dark"]) .filter-control option[b-bs1xc8djpo],
:host-context([data-theme="dark"]) select.walkin-input option[b-bs1xc8djpo],
[data-theme="dark"] .filter-control option[b-bs1xc8djpo],
[data-theme="dark"] select.walkin-input option[b-bs1xc8djpo],
body.dark-mode .filter-control option[b-bs1xc8djpo],
body.dark-mode select.walkin-input option[b-bs1xc8djpo] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .btn-sort-toggle[b-bs1xc8djpo],
[data-theme="dark"] .btn-sort-toggle[b-bs1xc8djpo],
body.dark-mode .btn-sort-toggle[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .btn-sort-toggle:hover[b-bs1xc8djpo],
:host-context([data-theme="dark"]) .btn-sort-toggle.active[b-bs1xc8djpo],
[data-theme="dark"] .btn-sort-toggle:hover[b-bs1xc8djpo],
[data-theme="dark"] .btn-sort-toggle.active[b-bs1xc8djpo],
body.dark-mode .btn-sort-toggle:hover[b-bs1xc8djpo],
body.dark-mode .btn-sort-toggle.active[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #0284c7 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .btn-filter-reset[b-bs1xc8djpo],
[data-theme="dark"] .btn-filter-reset[b-bs1xc8djpo],
body.dark-mode .btn-filter-reset[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #0284c7 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .btn-filter-reset:hover[b-bs1xc8djpo],
[data-theme="dark"] .btn-filter-reset:hover[b-bs1xc8djpo],
body.dark-mode .btn-filter-reset:hover[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #38bdf8 !important;
    color: #7dd3fc !important;
}

:host-context([data-theme="dark"]) .table-bar-header span[b-bs1xc8djpo],
[data-theme="dark"] .table-bar-header span[b-bs1xc8djpo],
body.dark-mode .table-bar-header span[b-bs1xc8djpo] {
    color: #f1f5f9 !important;
}

:host-context([data-theme="dark"]) .kutty-user-badge[b-bs1xc8djpo],
[data-theme="dark"] .kutty-user-badge[b-bs1xc8djpo],
body.dark-mode .kutty-user-badge[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%) !important;
    color: #e0f2fe !important;
    border-color: #0284c7 !important;
}

:host-context([data-theme="dark"]) .kutty-user-badge.alt[b-bs1xc8djpo],
[data-theme="dark"] .kutty-user-badge.alt[b-bs1xc8djpo],
body.dark-mode .kutty-user-badge.alt[b-bs1xc8djpo] {
    background: #1e293b !important;
    color: #38bdf8 !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .kutty-user-badge.status-waiting[b-bs1xc8djpo],
[data-theme="dark"] .kutty-user-badge.status-waiting[b-bs1xc8djpo],
body.dark-mode .kutty-user-badge.status-waiting[b-bs1xc8djpo] {
    background: #451a03 !important;
    color: #fcd34d !important;
    border-color: #78350f !important;
}

:host-context([data-theme="dark"]) .kutty-user-badge.status-inconsultation[b-bs1xc8djpo],
[data-theme="dark"] .kutty-user-badge.status-inconsultation[b-bs1xc8djpo],
body.dark-mode .kutty-user-badge.status-inconsultation[b-bs1xc8djpo] {
    background: #1e1b4b !important;
    color: #a5b4fc !important;
    border-color: #3730a3 !important;
}

:host-context([data-theme="dark"]) .kutty-user-badge.status-completed[b-bs1xc8djpo],
[data-theme="dark"] .kutty-user-badge.status-completed[b-bs1xc8djpo],
body.dark-mode .kutty-user-badge.status-completed[b-bs1xc8djpo] {
    background: #022c22 !important;
    color: #6ee7b7 !important;
    border-color: #065f46 !important;
}

:host-context([data-theme="dark"]) .kutty-user-badge.status-cancelled[b-bs1xc8djpo],
[data-theme="dark"] .kutty-user-badge.status-cancelled[b-bs1xc8djpo],
body.dark-mode .kutty-user-badge.status-cancelled[b-bs1xc8djpo] {
    background: #450a0a !important;
    color: #fca5a5 !important;
    border-color: #7f1d1d !important;
}

:host-context([data-theme="dark"]) .btn-pagination-toggle[b-bs1xc8djpo],
[data-theme="dark"] .btn-pagination-toggle[b-bs1xc8djpo],
body.dark-mode .btn-pagination-toggle[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .btn-pagination-toggle:hover[b-bs1xc8djpo],
[data-theme="dark"] .btn-pagination-toggle:hover[b-bs1xc8djpo],
body.dark-mode .btn-pagination-toggle:hover[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #0284c7 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .table-responsive[b-bs1xc8djpo],
[data-theme="dark"] .table-responsive[b-bs1xc8djpo],
body.dark-mode .table-responsive[b-bs1xc8djpo] {
    border-color: #334155 !important;
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .medico-table th[b-bs1xc8djpo],
[data-theme="dark"] .medico-table th[b-bs1xc8djpo],
body.dark-mode .medico-table th[b-bs1xc8djpo] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-bottom: 1px solid #334155 !important;
    border-right: 1px solid #1e293b !important;
}

:host-context([data-theme="dark"]) .medico-table td[b-bs1xc8djpo],
[data-theme="dark"] .medico-table td[b-bs1xc8djpo],
body.dark-mode .medico-table td[b-bs1xc8djpo] {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    border-bottom: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .medico-table tr:hover td[b-bs1xc8djpo],
[data-theme="dark"] .medico-table tr:hover td[b-bs1xc8djpo],
body.dark-mode .medico-table tr:hover td[b-bs1xc8djpo] {
    background: #273549 !important;
}

:host-context([data-theme="dark"]) .patient-name-val[b-bs1xc8djpo],
[data-theme="dark"] .patient-name-val[b-bs1xc8djpo],
body.dark-mode .patient-name-val[b-bs1xc8djpo],
:host-context([data-theme="dark"]) .doctor-name-val[b-bs1xc8djpo],
[data-theme="dark"] .doctor-name-val[b-bs1xc8djpo],
body.dark-mode .doctor-name-val[b-bs1xc8djpo] {
    color: #f1f5f9 !important;
}

:host-context([data-theme="dark"]) .badge-op[b-bs1xc8djpo],
[data-theme="dark"] .badge-op[b-bs1xc8djpo],
body.dark-mode .badge-op[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%) !important;
    color: #e0f2fe !important;
    border-color: #0284c7 !important;
}

:host-context([data-theme="dark"]) .time-badge[b-bs1xc8djpo],
[data-theme="dark"] .time-badge[b-bs1xc8djpo],
body.dark-mode .time-badge[b-bs1xc8djpo] {
    background: #0f172a !important;
    color: #94a3b8 !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .status-select[b-bs1xc8djpo],
[data-theme="dark"] .status-select[b-bs1xc8djpo],
body.dark-mode .status-select[b-bs1xc8djpo] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .status-select option[b-bs1xc8djpo],
[data-theme="dark"] .status-select option[b-bs1xc8djpo],
body.dark-mode .status-select option[b-bs1xc8djpo] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .status-select.waiting[b-bs1xc8djpo],
[data-theme="dark"] .status-select.waiting[b-bs1xc8djpo],
body.dark-mode .status-select.waiting[b-bs1xc8djpo] {
    background-color: #451a03 !important;
    color: #fcd34d !important;
    border-color: #78350f !important;
}

:host-context([data-theme="dark"]) .status-select.in_consultation[b-bs1xc8djpo],
[data-theme="dark"] .status-select.in_consultation[b-bs1xc8djpo],
body.dark-mode .status-select.in_consultation[b-bs1xc8djpo] {
    background-color: #1e1b4b !important;
    color: #a5b4fc !important;
    border-color: #3730a3 !important;
}

:host-context([data-theme="dark"]) .status-select.completed[b-bs1xc8djpo],
[data-theme="dark"] .status-select.completed[b-bs1xc8djpo],
body.dark-mode .status-select.completed[b-bs1xc8djpo] {
    background-color: #022c22 !important;
    color: #6ee7b7 !important;
    border-color: #065f46 !important;
}

:host-context([data-theme="dark"]) .status-select.report[b-bs1xc8djpo],
[data-theme="dark"] .status-select.report[b-bs1xc8djpo],
body.dark-mode .status-select.report[b-bs1xc8djpo] {
    background-color: #2e1065 !important;
    color: #c4b5fd !important;
    border-color: #6b21a8 !important;
}

:host-context([data-theme="dark"]) .status-select.booked[b-bs1xc8djpo],
[data-theme="dark"] .status-select.booked[b-bs1xc8djpo],
body.dark-mode .status-select.booked[b-bs1xc8djpo] {
    background-color: #083344 !important;
    color: #67e8f9 !important;
    border-color: #155e75 !important;
}

:host-context([data-theme="dark"]) .status-select.arrived[b-bs1xc8djpo],
[data-theme="dark"] .status-select.arrived[b-bs1xc8djpo],
body.dark-mode .status-select.arrived[b-bs1xc8djpo] {
    background-color: #042f2e !important;
    color: #5eead4 !important;
    border-color: #115e59 !important;
}

:host-context([data-theme="dark"]) .status-select.cancelled[b-bs1xc8djpo],
[data-theme="dark"] .status-select.cancelled[b-bs1xc8djpo],
body.dark-mode .status-select.cancelled[b-bs1xc8djpo] {
    background-color: #450a0a !important;
    color: #fca5a5 !important;
    border-color: #7f1d1d !important;
}

:host-context([data-theme="dark"]) .status-badge-pill.unbilled[b-bs1xc8djpo],
[data-theme="dark"] .status-badge-pill.unbilled[b-bs1xc8djpo],
body.dark-mode .status-badge-pill.unbilled[b-bs1xc8djpo] {
    background: #451a03 !important;
    color: #fcd34d !important;
    border-color: #78350f !important;
}

:host-context([data-theme="dark"]) .status-badge-pill.billed[b-bs1xc8djpo],
[data-theme="dark"] .status-badge-pill.billed[b-bs1xc8djpo],
body.dark-mode .status-badge-pill.billed[b-bs1xc8djpo] {
    background: #022c22 !important;
    color: #6ee7b7 !important;
    border-color: #065f46 !important;
}

:host-context([data-theme="dark"]) .btn-bill-status.paid[b-bs1xc8djpo],
[data-theme="dark"] .btn-bill-status.paid[b-bs1xc8djpo],
body.dark-mode .btn-bill-status.paid[b-bs1xc8djpo] {
    background: #022c22 !important;
    color: #6ee7b7 !important;
    border-color: #065f46 !important;
}

:host-context([data-theme="dark"]) .btn-bill-status.unpaid[b-bs1xc8djpo],
[data-theme="dark"] .btn-bill-status.unpaid[b-bs1xc8djpo],
body.dark-mode .btn-bill-status.unpaid[b-bs1xc8djpo] {
    background: #450a0a !important;
    color: #fca5a5 !important;
    border-color: #7f1d1d !important;
}

:host-context([data-theme="dark"]) .btn-action-dots[b-bs1xc8djpo],
[data-theme="dark"] .btn-action-dots[b-bs1xc8djpo],
body.dark-mode .btn-action-dots[b-bs1xc8djpo] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .btn-action-dots:hover[b-bs1xc8djpo],
:host-context([data-theme="dark"]) .btn-action-dots.active[b-bs1xc8djpo],
[data-theme="dark"] .btn-action-dots:hover[b-bs1xc8djpo],
[data-theme="dark"] .btn-action-dots.active[b-bs1xc8djpo],
body.dark-mode .btn-action-dots:hover[b-bs1xc8djpo],
body.dark-mode .btn-action-dots.active[b-bs1xc8djpo] {
    background: #0f172a !important;
    color: #f1f5f9 !important;
}

:host-context([data-theme="dark"]) .actions-dropdown-menu[b-bs1xc8djpo],
[data-theme="dark"] .actions-dropdown-menu[b-bs1xc8djpo],
body.dark-mode .actions-dropdown-menu[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #334155 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

:host-context([data-theme="dark"]) .action-icon-btn[b-bs1xc8djpo],
[data-theme="dark"] .action-icon-btn[b-bs1xc8djpo],
body.dark-mode .action-icon-btn[b-bs1xc8djpo] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .action-icon-btn:hover[b-bs1xc8djpo],
[data-theme="dark"] .action-icon-btn:hover[b-bs1xc8djpo],
body.dark-mode .action-icon-btn:hover[b-bs1xc8djpo] {
    background: #1e293b !important;
}

:host-context([data-theme="dark"]) .pagination-footer[b-bs1xc8djpo],
[data-theme="dark"] .pagination-footer[b-bs1xc8djpo],
body.dark-mode .pagination-footer[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .pagination-info[b-bs1xc8djpo],
[data-theme="dark"] .pagination-info[b-bs1xc8djpo],
body.dark-mode .pagination-info[b-bs1xc8djpo] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .pagination-info-highlight[b-bs1xc8djpo],
[data-theme="dark"] .pagination-info-highlight[b-bs1xc8djpo],
body.dark-mode .pagination-info-highlight[b-bs1xc8djpo] {
    color: #f1f5f9 !important;
}

:host-context([data-theme="dark"]) .pagination-btns .page-btn[b-bs1xc8djpo],
[data-theme="dark"] .pagination-btns .page-btn[b-bs1xc8djpo],
body.dark-mode .pagination-btns .page-btn[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .pagination-btns .page-btn:hover:not(.active):not(:disabled)[b-bs1xc8djpo],
[data-theme="dark"] .pagination-btns .page-btn:hover:not(.active):not(:disabled)[b-bs1xc8djpo],
body.dark-mode .pagination-btns .page-btn:hover:not(.active):not(:disabled)[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #0284c7 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .pagination-btns .page-btn.active[b-bs1xc8djpo],
[data-theme="dark"] .pagination-btns .page-btn.active[b-bs1xc8djpo],
body.dark-mode .pagination-btns .page-btn.active[b-bs1xc8djpo] {
    background: #026aa7 !important;
    border-color: #026aa7 !important;
    color: #ffffff !important;
}

/* Modals Dark Mode */
:host-context([data-theme="dark"]) .cancel-card[b-bs1xc8djpo],
:host-context([data-theme="dark"]) .glass-modal[b-bs1xc8djpo],
[data-theme="dark"] .cancel-card[b-bs1xc8djpo],
[data-theme="dark"] .glass-modal[b-bs1xc8djpo],
body.dark-mode .cancel-card[b-bs1xc8djpo],
body.dark-mode .glass-modal[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6) !important;
}

:host-context([data-theme="dark"]) .cancel-card-header[b-bs1xc8djpo],
:host-context([data-theme="dark"]) .modal-header[b-bs1xc8djpo],
[data-theme="dark"] .cancel-card-header[b-bs1xc8djpo],
[data-theme="dark"] .modal-header[b-bs1xc8djpo],
body.dark-mode .cancel-card-header[b-bs1xc8djpo],
body.dark-mode .modal-header[b-bs1xc8djpo] {
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .cancel-header-titles h3[b-bs1xc8djpo],
:host-context([data-theme="dark"]) .modal-header h3[b-bs1xc8djpo],
[data-theme="dark"] .cancel-header-titles h3[b-bs1xc8djpo],
[data-theme="dark"] .modal-header h3[b-bs1xc8djpo],
body.dark-mode .cancel-header-titles h3[b-bs1xc8djpo],
body.dark-mode .modal-header h3[b-bs1xc8djpo] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .cancel-header-titles p[b-bs1xc8djpo],
[data-theme="dark"] .cancel-header-titles p[b-bs1xc8djpo],
body.dark-mode .cancel-header-titles p[b-bs1xc8djpo] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .cancel-patient-summary[b-bs1xc8djpo],
[data-theme="dark"] .cancel-patient-summary[b-bs1xc8djpo],
body.dark-mode .cancel-patient-summary[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .patient-name-text[b-bs1xc8djpo],
[data-theme="dark"] .patient-name-text[b-bs1xc8djpo],
body.dark-mode .patient-name-text[b-bs1xc8djpo] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .patient-sub-info[b-bs1xc8djpo],
[data-theme="dark"] .patient-sub-info[b-bs1xc8djpo],
body.dark-mode .patient-sub-info[b-bs1xc8djpo] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .summary-chip[b-bs1xc8djpo],
[data-theme="dark"] .summary-chip[b-bs1xc8djpo],
body.dark-mode .summary-chip[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .summary-chip-label[b-bs1xc8djpo],
[data-theme="dark"] .summary-chip-label[b-bs1xc8djpo],
body.dark-mode .summary-chip-label[b-bs1xc8djpo] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .summary-chip-value[b-bs1xc8djpo],
[data-theme="dark"] .summary-chip-value[b-bs1xc8djpo],
body.dark-mode .summary-chip-value[b-bs1xc8djpo] {
    color: #f1f5f9 !important;
}

:host-context([data-theme="dark"]) .reason-label[b-bs1xc8djpo],
[data-theme="dark"] .reason-label[b-bs1xc8djpo],
body.dark-mode .reason-label[b-bs1xc8djpo] {
    color: #e2e8f0 !important;
}

:host-context([data-theme="dark"]) .reason-hint[b-bs1xc8djpo],
[data-theme="dark"] .reason-hint[b-bs1xc8djpo],
body.dark-mode .reason-hint[b-bs1xc8djpo] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .quick-reason-chip[b-bs1xc8djpo],
[data-theme="dark"] .quick-reason-chip[b-bs1xc8djpo],
body.dark-mode .quick-reason-chip[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .quick-reason-chip:hover[b-bs1xc8djpo],
:host-context([data-theme="dark"]) .quick-reason-chip.selected[b-bs1xc8djpo],
[data-theme="dark"] .quick-reason-chip:hover[b-bs1xc8djpo],
[data-theme="dark"] .quick-reason-chip.selected[b-bs1xc8djpo],
body.dark-mode .quick-reason-chip:hover[b-bs1xc8djpo],
body.dark-mode .quick-reason-chip.selected[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #0284c7 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .cancel-reason-textarea[b-bs1xc8djpo],
[data-theme="dark"] .cancel-reason-textarea[b-bs1xc8djpo],
body.dark-mode .cancel-reason-textarea[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .cancel-card-footer[b-bs1xc8djpo],
:host-context([data-theme="dark"]) .modal-footer[b-bs1xc8djpo],
[data-theme="dark"] .cancel-card-footer[b-bs1xc8djpo],
[data-theme="dark"] .modal-footer[b-bs1xc8djpo],
body.dark-mode .cancel-card-footer[b-bs1xc8djpo],
body.dark-mode .modal-footer[b-bs1xc8djpo] {
    border-top-color: #334155 !important;
    background: #1e293b !important;
}

:host-context([data-theme="dark"]) .btn-cancel-modal.keep-btn[b-bs1xc8djpo],
:host-context([data-theme="dark"]) .btn-modal.cancel[b-bs1xc8djpo],
[data-theme="dark"] .btn-cancel-modal.keep-btn[b-bs1xc8djpo],
[data-theme="dark"] .btn-modal.cancel[b-bs1xc8djpo],
body.dark-mode .btn-cancel-modal.keep-btn[b-bs1xc8djpo],
body.dark-mode .btn-modal.cancel[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .vitals-card[b-bs1xc8djpo],
[data-theme="dark"] .vitals-card[b-bs1xc8djpo],
body.dark-mode .vitals-card[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .vitals-card-header[b-bs1xc8djpo],
[data-theme="dark"] .vitals-card-header[b-bs1xc8djpo],
body.dark-mode .vitals-card-header[b-bs1xc8djpo] {
    color: #f8fafc !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .form-group label[b-bs1xc8djpo],
[data-theme="dark"] .form-group label[b-bs1xc8djpo],
body.dark-mode .form-group label[b-bs1xc8djpo] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .stats-popup-card[b-bs1xc8djpo],
[data-theme="dark"] .stats-popup-card[b-bs1xc8djpo],
body.dark-mode .stats-popup-card[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .stats-popup-header[b-bs1xc8djpo],
[data-theme="dark"] .stats-popup-header[b-bs1xc8djpo],
body.dark-mode .stats-popup-header[b-bs1xc8djpo] {
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .stats-popup-header span[b-bs1xc8djpo],
[data-theme="dark"] .stats-popup-header span[b-bs1xc8djpo],
body.dark-mode .stats-popup-header span[b-bs1xc8djpo] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .stat-popup-item[b-bs1xc8djpo],
[data-theme="dark"] .stat-popup-item[b-bs1xc8djpo],
body.dark-mode .stat-popup-item[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .stat-popup-item .label[b-bs1xc8djpo],
[data-theme="dark"] .stat-popup-item .label[b-bs1xc8djpo],
body.dark-mode .stat-popup-item .label[b-bs1xc8djpo] {
    color: #e2e8f0 !important;
}

/* ==========================================================================
   ADD SERVICES MODAL ENHANCED STYLES
   ========================================================================== */
.add-services-modal-wrapper[b-bs1xc8djpo] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    width: 95%;
    max-width: 620px;
    animation: modalSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.add-services-card[b-bs1xc8djpo] {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.add-services-header[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #075985 100%);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.add-services-header-left[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.add-services-header-icon[b-bs1xc8djpo] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.add-services-header-titles h3[b-bs1xc8djpo] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: -0.02em;
}

.add-services-header-titles p[b-bs1xc8djpo] {
    margin: 0.15rem 0 0 0;
    font-size: 0.8rem;
    color: #e0f2fe !important;
    font-weight: 400;
}

.add-services-close-btn[b-bs1xc8djpo] {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.add-services-close-btn:hover[b-bs1xc8djpo] {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: rotate(90deg);
}

.add-services-body[b-bs1xc8djpo] {
    padding: 1.25rem 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.add-services-patient-box[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.add-services-patient-top[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.add-services-patient-info[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.add-services-patient-avatar[b-bs1xc8djpo] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.add-services-patient-name[b-bs1xc8djpo] {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.add-services-patient-id[b-bs1xc8djpo] {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.add-services-token-badge[b-bs1xc8djpo] {
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    color: #1d4ed8;
    border-radius: 8px;
    padding: 0.25rem 0.65rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.add-services-token-label[b-bs1xc8djpo] {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.add-services-token-val[b-bs1xc8djpo] {
    font-size: 0.95rem;
    font-weight: 800;
}

.add-services-chips-grid[b-bs1xc8djpo] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.add-services-chip[b-bs1xc8djpo] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
    display: flex;
    flex-direction: column;
}

.add-services-chip-lbl[b-bs1xc8djpo] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.add-services-chip-val[b-bs1xc8djpo] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.add-services-chip-val.op-code[b-bs1xc8djpo] {
    color: #0284c7;
    font-weight: 700;
}

.add-services-dressing-card[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.add-services-dressing-card.active[b-bs1xc8djpo] {
    background: #f0fdf4;
    border-color: #86efac;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.12);
}

.add-services-dressing-label[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: #1e293b;
}

.add-services-dressing-icon[b-bs1xc8djpo] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f0fdf4;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.add-services-section-box[b-bs1xc8djpo] {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.add-services-section-header[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.add-services-section-title[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.add-services-btn-add[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.add-services-btn-add:hover[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

.add-services-item-row[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.45rem 0.65rem;
    transition: all 0.2s ease;
}

.add-services-item-row:hover[b-bs1xc8djpo] {
    border-color: #94a3b8;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.add-services-item-tag[b-bs1xc8djpo] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    background: #e2e8f0;
    padding: 0.35rem 0.55rem;
    border-radius: 6px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.add-services-select[b-bs1xc8djpo] {
    flex: 1;
    height: 38px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1e293b;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 0.75rem;
    background-color: #ffffff;
    transition: all 0.2s ease;
    outline: none;
}

.add-services-select:focus[b-bs1xc8djpo] {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.add-services-btn-del[b-bs1xc8djpo] {
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.add-services-btn-del:hover[b-bs1xc8djpo] {
    background: #fee2e2;
    color: #dc2626;
    border-color: #f87171;
    transform: scale(1.05);
}

.add-services-footer[b-bs1xc8djpo] {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.add-services-btn-cancel[b-bs1xc8djpo] {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.55rem 1.25rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.add-services-btn-cancel:hover[b-bs1xc8djpo] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

.add-services-btn-submit[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.55rem 1.4rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.add-services-btn-submit:hover:not(:disabled)[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
}

.add-services-btn-submit:disabled[b-bs1xc8djpo] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Dark Mode for Add Services Modal */
:host-context([data-theme="dark"]) .add-services-card[b-bs1xc8djpo],
[data-theme="dark"] .add-services-card[b-bs1xc8djpo],
body.dark-mode .add-services-card[b-bs1xc8djpo] {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
}

:host-context([data-theme="dark"]) .add-services-patient-box[b-bs1xc8djpo],
[data-theme="dark"] .add-services-patient-box[b-bs1xc8djpo],
body.dark-mode .add-services-patient-box[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .add-services-patient-name[b-bs1xc8djpo],
[data-theme="dark"] .add-services-patient-name[b-bs1xc8djpo],
body.dark-mode .add-services-patient-name[b-bs1xc8djpo] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .add-services-chip[b-bs1xc8djpo],
[data-theme="dark"] .add-services-chip[b-bs1xc8djpo],
body.dark-mode .add-services-chip[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .add-services-chip-val[b-bs1xc8djpo],
[data-theme="dark"] .add-services-chip-val[b-bs1xc8djpo],
body.dark-mode .add-services-chip-val[b-bs1xc8djpo] {
    color: #f1f5f9 !important;
}

:host-context([data-theme="dark"]) .add-services-dressing-card[b-bs1xc8djpo],
[data-theme="dark"] .add-services-dressing-card[b-bs1xc8djpo],
body.dark-mode .add-services-dressing-card[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .add-services-dressing-card.active[b-bs1xc8djpo],
[data-theme="dark"] .add-services-dressing-card.active[b-bs1xc8djpo],
body.dark-mode .add-services-dressing-card.active[b-bs1xc8djpo] {
    background: #064e3b !important;
    border-color: #059669 !important;
}

:host-context([data-theme="dark"]) .add-services-dressing-label[b-bs1xc8djpo],
[data-theme="dark"] .add-services-dressing-label[b-bs1xc8djpo],
body.dark-mode .add-services-dressing-label[b-bs1xc8djpo] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .add-services-section-box[b-bs1xc8djpo],
[data-theme="dark"] .add-services-section-box[b-bs1xc8djpo],
body.dark-mode .add-services-section-box[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .add-services-section-title[b-bs1xc8djpo],
[data-theme="dark"] .add-services-section-title[b-bs1xc8djpo],
body.dark-mode .add-services-section-title[b-bs1xc8djpo] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .add-services-item-row[b-bs1xc8djpo],
[data-theme="dark"] .add-services-item-row[b-bs1xc8djpo],
body.dark-mode .add-services-item-row[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .add-services-select[b-bs1xc8djpo],
[data-theme="dark"] .add-services-select[b-bs1xc8djpo],
body.dark-mode .add-services-select[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .add-services-footer[b-bs1xc8djpo],
[data-theme="dark"] .add-services-footer[b-bs1xc8djpo],
body.dark-mode .add-services-footer[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-top-color: #334155 !important;
}

:host-context([data-theme="dark"]) .add-services-btn-cancel[b-bs1xc8djpo],
[data-theme="dark"] .add-services-btn-cancel[b-bs1xc8djpo],
body.dark-mode .add-services-btn-cancel[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

/* ==========================================================================
   DUPLICATE REGISTRATION WARNING CARD MODAL
   ========================================================================== */
.duplicate-warning-backdrop[b-bs1xc8djpo] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1060;
}

.duplicate-warning-modal-wrapper[b-bs1xc8djpo] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1065;
    width: 95%;
    max-width: 550px;
    padding: 0.75rem;
    animation: duplicateModalPop-b-bs1xc8djpo 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes duplicateModalPop-b-bs1xc8djpo {
    from {
        opacity: 0;
        transform: translate(-50%, -46%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.duplicate-warning-card[b-bs1xc8djpo] {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(226, 232, 240, 0.9);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.duplicate-card-accent-bar[b-bs1xc8djpo] {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #f59e0b 0%, #f97316 45%, #ef4444 100%);
    flex-shrink: 0;
}

.duplicate-card-header[b-bs1xc8djpo] {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.35rem 1.6rem 1.15rem 1.6rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.duplicate-header-left[b-bs1xc8djpo] {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
}

.duplicate-icon-bubble[b-bs1xc8djpo] {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: 0 6px 16px -4px rgba(245, 158, 11, 0.28);
    flex-shrink: 0;
}

.duplicate-header-titles[b-bs1xc8djpo] {
    display: flex;
    flex-direction: column;
}

.duplicate-badge-row[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
}

.duplicate-badge-pill[b-bs1xc8djpo] {
    background: #fef3c7;
    color: #b45309;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 2.5px 9px;
    border-radius: 999px;
    border: 1px solid #fde68a;
    display: inline-flex;
    align-items: center;
}

.duplicate-date-badge[b-bs1xc8djpo] {
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2.5px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
}

.duplicate-header-titles h3[b-bs1xc8djpo] {
    margin: 0;
    font-size: 1.22rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.duplicate-header-titles p[b-bs1xc8djpo] {
    margin: 3px 0 0 0;
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
}

.duplicate-close-btn[b-bs1xc8djpo] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.duplicate-close-btn:hover[b-bs1xc8djpo] {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
    transform: rotate(90deg);
}

.duplicate-card-body[b-bs1xc8djpo] {
    padding: 1.35rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    background: #ffffff;
}

/* Patient Card */
.duplicate-patient-card[b-bs1xc8djpo] {
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.duplicate-patient-header[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.patient-avatar-box[b-bs1xc8djpo] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
}

.patient-identity-col[b-bs1xc8djpo] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.patient-name-text[b-bs1xc8djpo] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: capitalize;
}

.patient-sub-tags[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.patient-id-tag[b-bs1xc8djpo], .patient-type-tag[b-bs1xc8djpo] {
    font-size: 0.74rem;
    color: #64748b;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.patient-id-tag[b-bs1xc8djpo] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #475569;
}

/* Hero Token Badge */
.duplicate-token-hero[b-bs1xc8djpo] {
    margin-left: auto;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1.5px solid #f59e0b;
    border-radius: 12px;
    padding: 5px 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.18);
    flex-shrink: 0;
}

.token-hero-lbl[b-bs1xc8djpo] {
    font-size: 0.62rem;
    font-weight: 800;
    color: #b45309;
    letter-spacing: 0.05em;
}

.token-hero-val[b-bs1xc8djpo] {
    font-size: 1.15rem;
    font-weight: 900;
    color: #92400e;
    line-height: 1.1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Detail Info Grid */
.duplicate-detail-grid[b-bs1xc8djpo] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
}

.duplicate-detail-chip[b-bs1xc8djpo] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    padding: 0.65rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.duplicate-detail-chip:hover[b-bs1xc8djpo] {
    border-color: #cbd5e1;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.chip-label-row[b-bs1xc8djpo] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.66rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.chip-label-row i[b-bs1xc8djpo] {
    font-size: 0.78rem;
}

.chip-value-text[b-bs1xc8djpo] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.op-mono-val[b-bs1xc8djpo] {
    color: #0284c7;
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.82rem;
}

.doctor-val[b-bs1xc8djpo] {
    font-weight: 700;
    color: #0f172a;
}

/* Alert Notice & Decision Box */
.duplicate-notice-box[b-bs1xc8djpo] {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.06);
}

.notice-icon-circle[b-bs1xc8djpo] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.notice-body[b-bs1xc8djpo] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.notice-title[b-bs1xc8djpo] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #92400e;
    letter-spacing: -0.01em;
}

.notice-message[b-bs1xc8djpo] {
    margin: 0;
    font-size: 0.81rem;
    color: #78350f;
    line-height: 1.45;
}

.notice-message strong[b-bs1xc8djpo] {
    color: #451a03;
    font-weight: 700;
}

.notice-decision-bar[b-bs1xc8djpo] {
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px dashed rgba(245, 158, 11, 0.4);
    font-size: 0.82rem;
    font-weight: 700;
    color: #92400e;
    display: flex;
    align-items: center;
}

/* Modal Footer */
.duplicate-card-footer[b-bs1xc8djpo] {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 1.1rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
}

.btn-duplicate-cancel[b-bs1xc8djpo] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.4rem;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.18s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-duplicate-cancel:hover[b-bs1xc8djpo] {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.btn-duplicate-confirm[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1.6rem;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
    transition: all 0.18s ease;
}

.btn-duplicate-confirm:hover:not(:disabled)[b-bs1xc8djpo] {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
    transform: translateY(-1px);
}

.btn-duplicate-confirm:disabled[b-bs1xc8djpo] {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
}

/* Dark mode overrides */
:host-context([data-theme="dark"]) .duplicate-warning-card[b-bs1xc8djpo],
[data-theme="dark"] .duplicate-warning-card[b-bs1xc8djpo],
body.dark-mode .duplicate-warning-card[b-bs1xc8djpo] {
    background: #1e293b !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(245, 158, 11, 0.3) !important;
}

:host-context([data-theme="dark"]) .duplicate-card-header[b-bs1xc8djpo],
[data-theme="dark"] .duplicate-card-header[b-bs1xc8djpo],
body.dark-mode .duplicate-card-header[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .duplicate-card-body[b-bs1xc8djpo],
[data-theme="dark"] .duplicate-card-body[b-bs1xc8djpo],
body.dark-mode .duplicate-card-body[b-bs1xc8djpo] {
    background: #1e293b !important;
}

:host-context([data-theme="dark"]) .duplicate-header-titles h3[b-bs1xc8djpo],
[data-theme="dark"] .duplicate-header-titles h3[b-bs1xc8djpo],
body.dark-mode .duplicate-header-titles h3[b-bs1xc8djpo] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .duplicate-header-titles p[b-bs1xc8djpo],
[data-theme="dark"] .duplicate-header-titles p[b-bs1xc8djpo],
body.dark-mode .duplicate-header-titles p[b-bs1xc8djpo] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .duplicate-close-btn[b-bs1xc8djpo],
[data-theme="dark"] .duplicate-close-btn[b-bs1xc8djpo],
body.dark-mode .duplicate-close-btn[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .duplicate-close-btn:hover[b-bs1xc8djpo],
[data-theme="dark"] .duplicate-close-btn:hover[b-bs1xc8djpo],
body.dark-mode .duplicate-close-btn:hover[b-bs1xc8djpo] {
    background: #334155 !important;
    color: #ffffff !important;
}

:host-context([data-theme="dark"]) .duplicate-patient-card[b-bs1xc8djpo],
[data-theme="dark"] .duplicate-patient-card[b-bs1xc8djpo],
body.dark-mode .duplicate-patient-card[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .patient-name-text[b-bs1xc8djpo],
[data-theme="dark"] .patient-name-text[b-bs1xc8djpo],
body.dark-mode .patient-name-text[b-bs1xc8djpo] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .duplicate-detail-chip[b-bs1xc8djpo],
[data-theme="dark"] .duplicate-detail-chip[b-bs1xc8djpo],
body.dark-mode .duplicate-detail-chip[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .chip-value-text[b-bs1xc8djpo],
[data-theme="dark"] .chip-value-text[b-bs1xc8djpo],
body.dark-mode .chip-value-text[b-bs1xc8djpo] {
    color: #e2e8f0 !important;
}

:host-context([data-theme="dark"]) .doctor-val[b-bs1xc8djpo],
[data-theme="dark"] .doctor-val[b-bs1xc8djpo],
body.dark-mode .doctor-val[b-bs1xc8djpo] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .duplicate-card-footer[b-bs1xc8djpo],
[data-theme="dark"] .duplicate-card-footer[b-bs1xc8djpo],
body.dark-mode .duplicate-card-footer[b-bs1xc8djpo] {
    background: #0f172a !important;
    border-top-color: #334155 !important;
}

:host-context([data-theme="dark"]) .btn-duplicate-cancel[b-bs1xc8djpo],
[data-theme="dark"] .btn-duplicate-cancel[b-bs1xc8djpo],
body.dark-mode .btn-duplicate-cancel[b-bs1xc8djpo] {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #e2e8f0 !important;
}

:host-context([data-theme="dark"]) .btn-duplicate-cancel:hover[b-bs1xc8djpo],
[data-theme="dark"] .btn-duplicate-cancel:hover[b-bs1xc8djpo],
body.dark-mode .btn-duplicate-cancel:hover[b-bs1xc8djpo] {
    background: #334155 !important;
    color: #ffffff !important;
}
/* /Components/Pages/ParentCategoryMaster.razor.rz.scp.css */
/* Isolated styles for ParentCategoryMaster component */

.items-page[b-x8r5hao0zf] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-x8r5hao0zf] {
    max-width: 1320px;
    margin: 0 auto;
}

.items-content[b-x8r5hao0zf] {
    width: min(1240px, 100%);
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-x8r5hao0zf] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    border-radius: 16px !important;
    padding: 1.25rem 2rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem !important;
}

.header-card-left[b-x8r5hao0zf] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-card-icon[b-x8r5hao0zf] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
}

.header-card-icon svg[b-x8r5hao0zf] {
    stroke: #4f46e5 !important;
}

.header-card-text[b-x8r5hao0zf] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-x8r5hao0zf] {
    color: #312e81 !important;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.header-card-subheading[b-x8r5hao0zf] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-x8r5hao0zf] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-x8r5hao0zf] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.items-search-wrap[b-x8r5hao0zf] {
    position: relative;
    display: flex;
    align-items: center;
}

.items-search[b-x8r5hao0zf] {
    width: 220px;
    height: 38px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    padding-left: 2.4rem !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.items-search:focus[b-x8r5hao0zf] {
    outline: none !important;
    width: 280px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.items-search-icon[b-x8r5hao0zf] {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.view-toggle[b-x8r5hao0zf] {
    display: inline-flex;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #f8fafc !important;
    height: 38px;
    padding: 2px;
    align-items: center;
}

.view-toggle button[b-x8r5hao0zf] {
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    width: 36px;
    height: 32px;
    border-radius: 16px !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle button.active[b-x8r5hao0zf] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.add-item-btn[b-x8r5hao0zf] {
    height: 38px !important;
    border-radius: 20px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 1.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
}

.add-item-btn:hover[b-x8r5hao0zf] {
    background: #3f39c5 !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35) !important;
    transform: translateY(-1.5px);
}

.items-main-card[b-x8r5hao0zf] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-top: 1.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
}

.items-table[b-x8r5hao0zf] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

table.table.items-table thead tr th[b-x8r5hao0zf],
.items-table th[b-x8r5hao0zf] {
    background: #ffffff !important;
    color: #8a99ad !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.8px !important;
    padding: 10px 16px !important;
    border-bottom: 2px solid #eef2f6 !important;
    text-align: center !important;
}

.items-table td[b-x8r5hao0zf] {
    border-top: none !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding: 10px 16px !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #64748b !important;
    vertical-align: middle !important;
    text-align: center !important;
}

.items-table td:last-child[b-x8r5hao0zf] {
    white-space: nowrap !important;
    text-align: center !important;
}

.items-table tr td:first-child[b-x8r5hao0zf] {
    color: #3b82f6 !important;
    font-weight: 700 !important;
}

.items-table tr td:nth-child(2)[b-x8r5hao0zf],
.items-table tr td:nth-child(3)[b-x8r5hao0zf] {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.action-btn[b-x8r5hao0zf] {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.action-btn:hover[b-x8r5hao0zf] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.action-btn i[b-x8r5hao0zf] {
    font-size: 0.85rem !important;
}

.items-card-grid[b-x8r5hao0zf] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.item-card[b-x8r5hao0zf] {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.item-card:hover[b-x8r5hao0zf] {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.item-card-head[b-x8r5hao0zf] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    color: #1e293b !important;
    padding: 0.6rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.1) !important;
}

.card-item-code[b-x8r5hao0zf] {
    color: #4b5563 !important;
    font-weight: 700 !important;
    margin-right: 6px;
}

.card-item-name[b-x8r5hao0zf] {
    color: #374151 !important;
    font-weight: 700 !important;
}

.item-card-body[b-x8r5hao0zf] {
    padding: 0.75rem 1rem !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
}

.detail-row[b-x8r5hao0zf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.detail-row:last-child[b-x8r5hao0zf] {
    border-bottom: none !important;
}

.detail-row span[b-x8r5hao0zf] {
    color: #8a99ad !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.detail-row strong[b-x8r5hao0zf] {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Modal styles */
.modal-overlay[b-x8r5hao0zf] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.modal-card[b-x8r5hao0zf] {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    background: #fff;
}

.modal-header-bar[b-x8r5hao0zf] {
    background: #fff !important;
    color: #333 !important;
    padding: 16px 32px !important;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-left[b-x8r5hao0zf] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-title[b-x8r5hao0zf] {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: #000000 !important;
    letter-spacing: -0.2px;
}

.btn-close-modal[b-x8r5hao0zf] {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-x8r5hao0zf] {
    background: #e2e8f0;
    color: #1e293b;
}

.modal-inner[b-x8r5hao0zf] {
    padding: 16px 32px !important;
    background: #fff;
}

.form-section-header[b-x8r5hao0zf] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid #f1f5f9;
}

.form-section-title[b-x8r5hao0zf] {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #4f46e5;
}

.form-grid[b-x8r5hao0zf] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 12px;
    row-gap: 12px;
}

.col-1[b-x8r5hao0zf] {
    grid-column: span 1;
}

.col-2[b-x8r5hao0zf] {
    grid-column: span 2;
}

.col-3[b-x8r5hao0zf] {
    grid-column: span 3;
}

.col-4[b-x8r5hao0zf] {
    grid-column: span 4;
}

.col-5[b-x8r5hao0zf] {
    grid-column: span 5;
}

.col-6[b-x8r5hao0zf] {
    grid-column: span 6;
}

.col-7[b-x8r5hao0zf] {
    grid-column: span 7;
}

.col-8[b-x8r5hao0zf] {
    grid-column: span 8;
}

.col-9[b-x8r5hao0zf] {
    grid-column: span 9;
}

.col-10[b-x8r5hao0zf] {
    grid-column: span 10;
}

.col-11[b-x8r5hao0zf] {
    grid-column: span 11;
}

.col-12[b-x8r5hao0zf] {
    grid-column: span 12;
}

.field-group[b-x8r5hao0zf] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label[b-x8r5hao0zf] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.field-label.required[b-x8r5hao0zf]::after {
    content: " *";
    color: #ef4444;
}

.premium-input[b-x8r5hao0zf] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    color: #4b5563 !important;
    transition: all 0.2s !important;
    height: auto !important;
}

.premium-input[b-x8r5hao0zf]::placeholder {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

.premium-input:focus[b-x8r5hao0zf] {
    background: #fff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

.modal-footer-actions[b-x8r5hao0zf] {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 16px !important;
    padding: 24px 32px !important;
    border-top: 1px solid #f0f0f0 !important;
    background: #ffffff !important;
}

.btn-cancel-modal[b-x8r5hao0zf] {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: none !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    min-width: 100px !important;
    transition: all 0.2s !important;
}

.btn-cancel-modal:hover[b-x8r5hao0zf] {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.btn-save-premium[b-x8r5hao0zf] {
    background: #1c9f5f !important;
    color: white !important;
    border: none !important;
    padding: 10px 28px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(28, 159, 95, 0.3) !important;
    transition: all 0.2s !important;
    white-space: nowrap;
}

.btn-save-premium:hover[b-x8r5hao0zf] {
    background: #168a52 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(28, 159, 95, 0.4) !important;
}

/* Pagination bar */
.page-btn[b-x8r5hao0zf] {
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #64748b !important;
    border-radius: 8px !important;
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0 2px;
    transition: all 0.2s;
}

.page-btn.active[b-x8r5hao0zf] {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
}

.page-btn:hover:not(.active):not(:disabled)[b-x8r5hao0zf] {
    background: #f8fafc !important;
    color: #1e293b !important;
}
/* Master dashboard theme */
:global(.main-content):has(.items-page)[b-x8r5hao0zf] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.items-page[b-x8r5hao0zf] { min-height: calc(100vh - 1.5rem) !important; padding: 0 !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.items-shell[b-x8r5hao0zf], .items-content[b-x8r5hao0zf] { max-width: none !important; padding: 0 !important; }
.premium-header-card[b-x8r5hao0zf] { height: 78px !important; box-sizing: border-box !important; padding: .15rem 0 !important; margin-bottom: .6rem !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.header-card-icon[b-x8r5hao0zf] { background: linear-gradient(135deg,#087bb5,#07547c) !important; }
.header-card-heading[b-x8r5hao0zf] { color: #07547c !important; font-size: 1.85rem !important; }
.header-card-subheading[b-x8r5hao0zf] { color: #647b90 !important; }
.items-search[b-x8r5hao0zf] { width: 280px !important; height: 40px !important; border-radius: 10px !important; border-color: #cbd9e8 !important; }
.add-item-btn[b-x8r5hao0zf] { height: 40px !important; border-radius: 10px !important; background: #087bb5 !important; }
.items-main-card[b-x8r5hao0zf] { border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; }
.items-table thead tr[b-x8r5hao0zf] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.items-table thead th[b-x8r5hao0zf] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.items-table tbody tr[b-x8r5hao0zf] { height: 44px !important; background: #fff !important; }
.items-table tbody tr:nth-child(even)[b-x8r5hao0zf] { background: #f8fbfe !important; }
.items-table tbody td[b-x8r5hao0zf] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.items-table tbody tr:hover[b-x8r5hao0zf] { background: #f0f8ff !important; }
/* /Components/Pages/PatientBooking.razor.rz.scp.css */
/* Glassmorphic Background & Blobs */
.animated-background[b-8p3swd65bv] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0effe 100%);
}

.floating-blob[b-8p3swd65bv] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float-b-8p3swd65bv 20s infinite alternate;
}

.blob-1[b-8p3swd65bv] {
    width: 400px;
    height: 400px;
    background: #c3e2ff;
    top: -10%;
    left: -10%;
}

.blob-2[b-8p3swd65bv] {
    width: 500px;
    height: 500px;
    background: #e0f2fe;
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

.blob-3[b-8p3swd65bv] {
    width: 300px;
    height: 300px;
    background: #bfdbfe;
    top: 40%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float-b-8p3swd65bv {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

.pattern-overlay[b-8p3swd65bv] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(2, 106, 199, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Container & Header */
.booking-container[b-8p3swd65bv] {
    max-width: 1100px;
    margin: 1.5rem auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.booking-header[b-8p3swd65bv] {
    text-align: center;
    margin-bottom: 2rem;
}

.booking-header h1[b-8p3swd65bv] {
    font-size: 2.25rem;
    font-weight: 800;
    color: #034f75;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.booking-header p[b-8p3swd65bv] {
    color: #64748b;
    font-size: 1rem;
}

/* Glassmorphic Stepper */
.stepper-wrapper[b-8p3swd65bv] {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 1.25rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px -5px rgba(2, 106, 199, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.step-item[b-8p3swd65bv] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-number[b-8p3swd65bv] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.step-label[b-8p3swd65bv] {
    font-weight: 600;
    color: #94a3b8;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.step-item.active .step-number[b-8p3swd65bv] {
    background: #026aa7;
    color: #ffffff;
    border-color: #026aa7;
    box-shadow: 0 0 12px rgba(2, 106, 167, 0.4);
}

.step-item.active .step-label[b-8p3swd65bv] {
    color: #026aa7;
    font-weight: 700;
}

.step-item.completed .step-number[b-8p3swd65bv] {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.step-item.completed .step-label[b-8p3swd65bv] {
    color: #10b981;
}

.step-line[b-8p3swd65bv] {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 1.5rem;
    z-index: 1;
    transition: all 0.3s ease;
}

.step-line.active[b-8p3swd65bv] {
    background: #026aa7;
}

.step-line.completed[b-8p3swd65bv] {
    background: #10b981;
}

/* Glass Cards & Grid Layouts */
.glass-card[b-8p3swd65bv] {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
}

/* Step 1: Doctor Selection */
.search-wrapper[b-8p3swd65bv] {
    position: relative;
    max-width: 500px;
    margin: 0 auto 2rem auto;
}

.search-icon[b-8p3swd65bv] {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
}

.search-input[b-8p3swd65bv] {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid rgba(2, 106, 167, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.search-input:focus[b-8p3swd65bv] {
    outline: none;
    border-color: #026aa7;
    box-shadow: 0 0 0 3px rgba(2, 106, 167, 0.1);
}

.doctors-grid[b-8p3swd65bv] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.doctor-card[b-8p3swd65bv] {
    background: #ffffff;
    border: 1px solid rgba(2, 106, 167, 0.12);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(2, 106, 167, 0.05);
}

.doctor-card[b-8p3swd65bv]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: all 0.2s ease;
}

.doctor-card:hover[b-8p3swd65bv] {
    transform: translateY(-5px);
    background: #ffffff;
    border-color: rgba(2, 106, 167, 0.3);
    box-shadow: 0 12px 20px rgba(2, 106, 167, 0.08);
}

.doctor-card:hover[b-8p3swd65bv]::before {
    background: #026aa7;
}

.doctor-card.selected[b-8p3swd65bv] {
    border-color: #026aa7;
    background: rgba(240, 249, 255, 0.8);
    box-shadow: 0 8px 24px rgba(2, 106, 167, 0.1);
}

.doctor-card.selected[b-8p3swd65bv]::before {
    background: #026aa7;
}

.doc-avatar-container[b-8p3swd65bv] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #026aa7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    box-shadow: inset 0 2px 4px rgba(2, 106, 167, 0.1);
}

.doc-name[b-8p3swd65bv] {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.doc-spec[b-8p3swd65bv] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #026aa7;
    background: #f0f9ff;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0;
    letter-spacing: 0.2px;
}

.doc-info-row[b-8p3swd65bv] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.doc-info-row i[b-8p3swd65bv] {
    color: #94a3b8;
}

/* Step 2: Date Selector & Slots */
.date-selector-title[b-8p3swd65bv] {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.date-selector-title i[b-8p3swd65bv] {
    color: #026aa7;
}

.date-strip-wrapper[b-8p3swd65bv] {
    position: relative;
    margin-bottom: 2rem;
}

.date-strip[b-8p3swd65bv] {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0.25rem;
    scroll-behavior: smooth;
}

.date-strip[b-8p3swd65bv]::-webkit-scrollbar {
    height: 6px;
}

.date-strip[b-8p3swd65bv]::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 3px;
}

.date-strip[b-8p3swd65bv]::-webkit-scrollbar-thumb {
    background: rgba(2, 106, 167, 0.2);
    border-radius: 3px;
}

.date-strip-item[b-8p3swd65bv] {
    flex: 0 0 75px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    padding: 0.75rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.date-strip-item:hover[b-8p3swd65bv] {
    border-color: rgba(2, 106, 167, 0.4);
    transform: translateY(-2px);
}

.date-strip-item.selected[b-8p3swd65bv] {
    background: #026aa7;
    border-color: #026aa7;
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(2, 106, 167, 0.15);
}

.date-day-name[b-8p3swd65bv] {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.date-strip-item.selected .date-day-name[b-8p3swd65bv] {
    color: rgba(255, 255, 255, 0.85);
}

.date-day-num[b-8p3swd65bv] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.date-strip-item.selected .date-day-num[b-8p3swd65bv] {
    color: #ffffff;
}

.date-month-name[b-8p3swd65bv] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
}

.date-strip-item.selected .date-month-name[b-8p3swd65bv] {
    color: rgba(255, 255, 255, 0.75);
}

/* Slots Grid */
.slots-container-header[b-8p3swd65bv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.slots-grid[b-8p3swd65bv] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.slot-time-card[b-8p3swd65bv] {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(163, 191, 250, 0.25);
    border-radius: 16px;
    padding: 1.25rem;
    cursor: pointer;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 110px;
    box-shadow: 0 4px 12px rgba(2, 106, 167, 0.03);
}

.slot-time-card:hover[b-8p3swd65bv] {
    transform: translateY(-5px);
    border-color: rgba(2, 106, 167, 0.45);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 24px -6px rgba(2, 106, 167, 0.12);
}

.slot-time-card.selected[b-8p3swd65bv] {
    background: rgba(240, 249, 255, 0.95);
    border: 2px solid #026aa7;
    box-shadow: 0 8px 24px rgba(2, 106, 167, 0.15);
}

.slot-time-card.disabled[b-8p3swd65bv] {
    opacity: 0.45;
    cursor: not-allowed;
    background: rgba(241, 245, 249, 0.7);
    border-color: rgba(226, 232, 240, 0.8);
    transform: none !important;
    box-shadow: none !important;
}

.slot-card-header[b-8p3swd65bv] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.slot-time-icon[b-8p3swd65bv] {
    font-size: 1.15rem;
    color: #026aa7;
    transition: color 0.3s ease;
}

.slot-time-text[b-8p3swd65bv] {
    font-size: 0.95rem;
    font-weight: 750;
    color: #1e293b;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.slot-card-footer[b-8p3swd65bv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slot-status-badge[b-8p3swd65bv] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.slot-status-badge i[b-8p3swd65bv] {
    font-size: 0.7rem;
}

.slot-status-badge.status-available[b-8p3swd65bv] {
    background: #ecfdf5;
    color: #059669;
}

.slot-status-badge.status-low[b-8p3swd65bv] {
    background: #fff5f5;
    color: #e03131;
}

.slot-status-badge.status-full[b-8p3swd65bv] {
    background: #f1f3f5;
    color: #868e96;
    text-decoration: line-through;
}

.slot-token-info[b-8p3swd65bv] {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.2px;
    transition: color 0.3s ease;
}

.no-slots-alert[b-8p3swd65bv] {
    grid-column: 1 / -1;
    background: rgba(254, 242, 242, 0.7);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: #b91c1c;
    font-weight: 500;
}

/* Step 3: Details & Confirmation Form */
.summary-panel[b-8p3swd65bv] {
    background: #f8fafc;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.summary-title[b-8p3swd65bv] {
    font-weight: 700;
    color: #475569;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.summary-grid[b-8p3swd65bv] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.summary-item[b-8p3swd65bv] {
    display: flex;
    flex-direction: column;
}

.summary-label[b-8p3swd65bv] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
}

.summary-value[b-8p3swd65bv] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 0.15rem;
}

.form-group[b-8p3swd65bv] {
    margin-bottom: 1.25rem;
}

.form-group label[b-8p3swd65bv] {
    display: block;
    font-weight: 700;
    color: #334155;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-input[b-8p3swd65bv] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    background: #ffffff;
    transition: all 0.2s ease;
}

.form-input:focus[b-8p3swd65bv] {
    outline: none;
    border-color: #026aa7;
    box-shadow: 0 0 0 3px rgba(2, 106, 167, 0.1);
}

.form-textarea[b-8p3swd65bv] {
    min-height: 80px;
    resize: vertical;
}

/* Nav Action Buttons */
.step-actions[b-8p3swd65bv] {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    padding-top: 1.5rem;
}

.btn-prev[b-8p3swd65bv] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-prev:hover[b-8p3swd65bv] {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.btn-next[b-8p3swd65bv] {
    background: #026aa7;
    border: none;
    color: #ffffff;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(2, 106, 167, 0.2);
}

.btn-next:hover[b-8p3swd65bv] {
    background: #025687;
    box-shadow: 0 6px 14px rgba(2, 106, 167, 0.3);
    transform: translateY(-1px);
}

.btn-next:disabled[b-8p3swd65bv] {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Success Glassmorphic Overlay */
.success-overlay[b-8p3swd65bv] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.success-card[b-8p3swd65bv] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transform: scale(0.9);
    animation: zoomIn-b-8p3swd65bv 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes zoomIn-b-8p3swd65bv {
    to {
        transform: scale(1);
    }
}

/* Drawing Tick Animation */
.success-icon-wrapper[b-8p3swd65bv] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ecfdf5;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkmark-svg[b-8p3swd65bv] {
    width: 48px;
    height: 48px;
    display: block;
}

.checkmark-circle[b-8p3swd65bv] {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #10b981;
    fill: none;
    animation: stroke-b-8p3swd65bv 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check[b-8p3swd65bv] {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke: #10b981;
    fill: none;
    animation: stroke-b-8p3swd65bv 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke-b-8p3swd65bv {
    100% {
        stroke-dashoffset: 0;
    }
}

.success-card h2[b-8p3swd65bv] {
    font-size: 1.75rem;
    font-weight: 800;
    color: #065f46;
    margin-bottom: 0.5rem;
}

.success-card p[b-8p3swd65bv] {
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.token-badge[b-8p3swd65bv] {
    background: linear-gradient(135deg, #026aa7 0%, #004b71 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(2, 106, 167, 0.2);
}

.token-label[b-8p3swd65bv] {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.85;
}

.token-number[b-8p3swd65bv] {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.1;
    margin-top: 0.25rem;
}

.success-details[b-8p3swd65bv] {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1rem;
    text-align: left;
    margin-bottom: 1.5rem;
    border: 1px dashed #cbd5e1;
    font-size: 0.85rem;
}

.success-detail-row[b-8p3swd65bv] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.success-detail-row:last-child[b-8p3swd65bv] {
    margin-bottom: 0;
}

.success-detail-row span:first-child[b-8p3swd65bv] {
    color: #6b7280;
    font-weight: 500;
}

.success-detail-row span:last-child[b-8p3swd65bv] {
    color: #1f2937;
    font-weight: 700;
}

.btn-success-close[b-8p3swd65bv] {
    background: #10b981;
    color: #ffffff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

.btn-success-close:hover[b-8p3swd65bv] {
    background: #059669;
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.35);
}

/* Doctor Card Horizontal Layout */

/* Doctor Card Horizontal Layout (Show Photo Option Enabled) */
.doctor-card.has-photo[b-8p3swd65bv] {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
}

.doctor-card.has-photo .doc-avatar-container.left-corner[b-8p3swd65bv] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #026aa7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0;
    box-shadow: inset 0 2px 4px rgba(2, 106, 167, 0.1);
    flex-shrink: 0;
}

.doctor-card.has-photo .doc-details-wrapper[b-8p3swd65bv] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.doctor-card.has-photo .doc-spec[b-8p3swd65bv] {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 0;
}
/* /Components/Pages/PatientMaster.razor.rz.scp.css */
/* ============================================================
   LABCARE ELITE — PAGE-SPECIFIC STYLES (page.css)
   ============================================================
   All page-level and component-level styles live here.
   The shared design system (lc-*) lives in app.css.
   ============================================================ */

/* ============================================================
   1. MAIN LAYOUT
   ============================================================ */
.page[b-9dk346nz5l] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-9dk346nz5l] {
    flex: 1;
}

.content[b-9dk346nz5l] {
    padding: 24px 32px !important;
    background-color: #f8fafc !important;
    display: block;
}

.custom-layout-wrapper[b-9dk346nz5l] {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 641px) {
    .page[b-9dk346nz5l] {
        flex-direction: row;
    }

    .sidebar[b-9dk346nz5l] {
        width: 220px;
        height: 100vh;
        position: sticky;
        top: 0;
    }
}


/* ============================================================
   2. SIDEBAR / NAV MENU
   ============================================================ */

/* ── Sidebar toggle button — absolute at sidebar's right edge, half-protruding ── */
.sidebar-wrapper[b-9dk346nz5l] {
    position: relative;
    overflow: visible !important;
    /* allow button to peek out on the right */
}

.sidebar-toggle-btn[b-9dk346nz5l] {
    position: absolute;
    top: 40px;
    /* just below the branding bar */
    right: -29px;
    /* moved further right */
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0e7ff;
    border: 2px solid #a5b4fc;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    z-index: 200;
}

.sidebar-toggle-btn:hover[b-9dk346nz5l] {
    background: #c7d2fe;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    transform: scale(1.12);
}

.sidebar-toggle-btn:active[b-9dk346nz5l] {
    transform: scale(0.92);
}

/* Collapsed state: button automatically moves with sidebar — no extra needed */
.nav-collapsed .sidebar-toggle-btn[b-9dk346nz5l] {
    right: -29px;
}

/* ══════════════════════════════════════════════════
   ✦ PREMIUM TOOLTIP — Collapsed Nav (Ultra Modern)
   ══════════════════════════════════════════════════ */

#sidebar.nav-collapsed .v-nav-link[b-9dk346nz5l],
#sidebar.nav-collapsed .logout-btn[b-9dk346nz5l] {
    position: relative;
    overflow: visible;
}

.logout-btn-proper[b-9dk346nz5l] {
    border: none !important;
    outline: none !important;
    color: #ef4444 !important;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
}

.logout-btn-proper:hover[b-9dk346nz5l] {
    background-color: rgba(239, 68, 68, 0.08) !important;
    color: #dc2626 !important;
}

.logout-btn-proper span[b-9dk346nz5l] {
    color: inherit !important;
}

/* ── Main tooltip bubble ── */
#sidebar.nav-collapsed .v-nav-link[b-9dk346nz5l]::after,
#sidebar.nav-collapsed .logout-btn[b-9dk346nz5l]::after {
    content: attr(data-title);
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(-8px) scale(0.9);

    /* Soft light gradient */
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    box-shadow:
        0 10px 25px -5px rgba(99, 102, 241, 0.2),
        0 8px 10px -6px rgba(99, 102, 241, 0.1),
        0 0 0 1px rgba(165, 180, 252, 0.5),
        /* inner top highlight for 3D effect */
        inset 0 1px 1px rgba(255, 255, 255, 0.4);

    color: #312e81;
    /* Deep indigo instead of black */
    padding: 8px 16px;
    border-radius: 8px;
    /* sharp but smooth corners */
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    white-space: nowrap;

    opacity: 0;
    pointer-events: none;

    /* Spring-like transition for a premium feel */
    transition:
        opacity 0.25s ease-out,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
}

/* ── Glowing left arrow ── */
#sidebar.nav-collapsed .v-nav-link[b-9dk346nz5l]::before,
#sidebar.nav-collapsed .logout-btn[b-9dk346nz5l]::before {
    content: '';
    position: absolute;
    left: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    border-style: solid;
    border-width: 6px 6px 6px 0;
    /* Match the gradient's start color */
    border-color: transparent #e0e7ff transparent transparent;
    filter: drop-shadow(-1px 0px 1px rgba(165, 180, 252, 0.5));
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.25s ease-out,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
}

/* ── Hover: show tooltip with bounce ── */
#sidebar.nav-collapsed .v-nav-link:hover[b-9dk346nz5l]::after,
#sidebar.nav-collapsed .logout-btn:hover[b-9dk346nz5l]::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
}

#sidebar.nav-collapsed .v-nav-link:hover[b-9dk346nz5l]::before,
#sidebar.nav-collapsed .logout-btn:hover[b-9dk346nz5l]::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ── Active link tooltip: vibrant indigo accent ── */
#sidebar.nav-collapsed .v-nav-link.active[b-9dk346nz5l]::after {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    box-shadow:
        0 10px 25px -5px rgba(79, 70, 229, 0.5),
        0 0 0 1px rgba(129, 140, 248, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

#sidebar.nav-collapsed .v-nav-link.active[b-9dk346nz5l]::before {
    border-right-color: #4f46e5;
    filter: drop-shadow(-1px 0px 1px rgba(129, 140, 248, 0.6));
}


.sidebar[b-9dk346nz5l] {
    background-color: #000000;
    padding: 0 !important;
    background: transparent !important;
}

.sidebar-wrapper[b-9dk346nz5l] {
    width: 220px;
    height: 100vh;
    background-color: #f1f5f9;
    /* soft slate instead of white */
    color: #334155;
    /* slate 700 instead of black */
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(148, 163, 184, 0.15);
    border-right: 1px solid #cbd5e1;
    z-index: 100;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* overflow:visible lets the toggle button peek outside the sidebar edge */
}

/* ── Collapsed state ── */
.sidebar-wrapper.nav-collapsed[b-9dk346nz5l] {
    width: 68px;
}

/* Hide text/labels when collapsed */
.nav-collapsed .nav-link-text[b-9dk346nz5l],
.nav-collapsed .nav-text-fade[b-9dk346nz5l],
.nav-collapsed .nav-user-text[b-9dk346nz5l] {
    opacity: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 0.15s ease, width 0.3s ease;
}

.nav-link-text[b-9dk346nz5l],
.nav-text-fade[b-9dk346nz5l],
.nav-user-text[b-9dk346nz5l] {
    opacity: 1;
    transition: opacity 0.2s ease 0.05s, width 0.3s ease;
}

/* Center icons when collapsed */
.nav-collapsed .v-nav-link[b-9dk346nz5l] {
    justify-content: center;
    padding: 12px;
}

.nav-collapsed .v-nav-link .mr-3[b-9dk346nz5l] {
    margin-right: 0;
}

.nav-collapsed .menu-scroll[b-9dk346nz5l] {
    padding: 24px 8px;
}

/* Collapsed user avatar centering */
.nav-collapsed .px-4.mb-4[b-9dk346nz5l] {
    padding: 0 8px 16px;
}

.nav-collapsed .px-4.mb-4 .p-4[b-9dk346nz5l] {
    padding: 8px;
}

.nav-collapsed .px-4.mb-4 .flex.items-center.gap-3[b-9dk346nz5l] {
    justify-content: center;
}

/* Logout button collapsed */
.nav-collapsed .mt-auto.p-4 button[b-9dk346nz5l] {
    justify-content: center;
    padding: 10px;
}

/* ── Toggle Button ── */
.nav-toggle-btn[b-9dk346nz5l] {
    margin-left: auto;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid rgba(148, 163, 184, 0.25);
    background: rgba(241, 245, 249, 0.10);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.nav-toggle-btn:hover[b-9dk346nz5l] {
    background: rgba(99, 102, 241, 0.18);
    border-color: #6366f1;
    color: #a5b4fc;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.nav-toggle-btn:active[b-9dk346nz5l] {
    transform: scale(0.93);
}

.nav-toggle-icon[b-9dk346nz5l] {
    font-size: 20px !important;
    transition: transform 0.3s ease;
}

/* Collapsed sidebar branding: center logo */
.nav-collapsed .sidebar-branding[b-9dk346nz5l] {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    padding: 16px 8px;
}

.nav-collapsed .logo-box[b-9dk346nz5l] {
    flex-shrink: 0;
}

.sidebar-branding[b-9dk346nz5l] {
    padding: 20px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #cbd5e1;
    position: relative;
}

.logo-box[b-9dk346nz5l] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box .material-symbols-outlined[b-9dk346nz5l] {
    color: white;
    font-size: 24px;
}

.logo-text[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
}

.main-title[b-9dk346nz5l] {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #1e293b;
}

.main-title .highlight[b-9dk346nz5l] {
    color: #4f46e5;
}

.sub-title[b-9dk346nz5l] {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    font-weight: 600;
}

.sidebar-branch-badge[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 16px 4px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(124, 58, 237, 0.15) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    animation: badgeFadeIn 0.4s ease;
}

.branch-badge-icon[b-9dk346nz5l] {
    font-size: 14px !important;
    color: #818cf8;
    flex-shrink: 0;
}

.branch-badge-text[b-9dk346nz5l] {
    font-size: 11px;
    font-weight: 700;
    color: #c7d2fe;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-scroll[b-9dk346nz5l] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 16px;
}

.menu-group[b-9dk346nz5l] {
    margin-bottom: 32px;
}

.group-label[b-9dk346nz5l] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    margin-bottom: 8px;
    padding-left: 10px;
}

.v-nav[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.v-nav-link[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 8px;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 12.5px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.v-nav-link:hover[b-9dk346nz5l] {
    background-color: rgba(99, 102, 241, 0.08);
    color: #1e293b !important;
}

.v-nav-link.active[b-9dk346nz5l] {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), transparent) !important;
    color: #4338ca !important;
    border-left: 3px solid #4f46e5;
    padding-left: 13px !important;
}

.v-nav-link .material-symbols-outlined[b-9dk346nz5l] {
    font-size: 18px;
}

.mr-3[b-9dk346nz5l] {
    margin-right: 0.75rem;
}

.user-profile-section[b-9dk346nz5l] {
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid #232635;
    margin-top: auto;
}

.user-avatar[b-9dk346nz5l] {
    width: 38px;
    height: 38px;
    background-color: #2D334A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-size: 18px;
}

.user-details[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
}

.user-name[b-9dk346nz5l] {
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.user-terminal[b-9dk346nz5l] {
    font-size: 10px;
    color: #64748B;
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.navbar-toggler[b-9dk346nz5l] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-9dk346nz5l] {
    background-color: rgba(255, 255, 255, 0.5);
}

.nav-scrollable[b-9dk346nz5l] {
    display: none;
}

.navbar-toggler:checked~.nav-scrollable[b-9dk346nz5l] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-9dk346nz5l] {
        display: none;
    }

    .nav-scrollable[b-9dk346nz5l] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

.no-scrollbar[b-9dk346nz5l]::-webkit-scrollbar {
    display: none !important;
}

.no-scrollbar[b-9dk346nz5l] {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.menu-scroll[b-9dk346nz5l]::-webkit-scrollbar {
    width: 6px;
}

.menu-scroll[b-9dk346nz5l]::-webkit-scrollbar-track {
    background: transparent;
}

.menu-scroll[b-9dk346nz5l]::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

.menu-scroll[b-9dk346nz5l]::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

/* ============================================================
   4. REGISTER PAGE (Commented out to prevent conflict with SharedComponents.Rcl)
   ============================================================
.register-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    padding: 2rem;
    font-family: 'Inter', sans-serif;
}

.register-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    border: none;
    animation: fadeInUp 0.6s ease-out;
}

.register-card .card-header {
    padding: 2.5rem 3rem 1rem;
    background: transparent;
    border-bottom: none;
}

.register-card .card-body {
    padding: 0 3rem 1.5rem;
}

.register-card .card-footer {
    padding: 1.5rem 3rem 3rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    background: transparent;
    border: none;
}

.register-card .login-prompt {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}


.register-card .progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.register-card .step-badge {
    background-color: #eef2ff;
    color: #4f46e5;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.register-card .step-text {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.register-card .progress-bar {
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.register-card .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.register-card .page-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.register-card .page-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 32px;
}

.register-card .section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.register-card .section-title h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.register-card .section-title .material-icons-outlined {
    color: #4f46e5;
    font-size: 20px;
}

.register-card .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
}

.register-card .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.register-card .form-label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.register-card .form-label .optional {
    color: #94a3b8;
    font-weight: 400;
    font-size: 11px;
}

.register-card .form-control {
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.2s ease;
    width: 100%;
}

.register-card .input-icon-wrapper .form-control {
    padding-left: 44px;
    padding-right: 44px;
}


.register-card .form-control:focus {
    background: white;
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.register-card .btn-text {
    background: transparent;
    border: none;
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.register-card .btn-primary {
    background: #4f46e5;
    color: white;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    transition: all 0.2s;
    width: auto;
    min-width: 160px;
}

.register-success-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #f8fafc;
    text-align: center;
    padding: 24px;
}

.success-illustration {
    width: 350px;
    max-width: 90%;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.success-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.success-subtitle {
    color: #64748b;
    font-size: 18px;
    font-weight: 500;
}
*/





.form-section-card[b-9dk346nz5l] {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    max-width: 500px;
    margin: 40px auto;
}

.progress-header[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.step-badge[b-9dk346nz5l] {
    padding: 0.25rem 0.75rem;
    background-color: #EFF6FF;
    color: #2563EB;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.step-text[b-9dk346nz5l] {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
}

.progress-bar[b-9dk346nz5l] {
    height: 0.375rem;
    background-color: #F1F5F9;
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.progress-fill[b-9dk346nz5l] {
    height: 100%;
    background-color: var(--lc-primary);
    transition: width 0.3s ease;
}

.page-title[b-9dk346nz5l] {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.page-subtitle[b-9dk346nz5l] {
    color: #94a3b8;
    margin: 0 0 2rem;
}

.security-reqs[b-9dk346nz5l] {
    background-color: #F8FAFC;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--lc-border);
    margin-top: 1.5rem;
}

.security-reqs h4[b-9dk346nz5l] {
    font-size: 0.625rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1rem 0;
}

.req-grid[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
}

.req-item[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.req-icon[b-9dk346nz5l] {
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    border: 1px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.req-item.valid .req-icon[b-9dk346nz5l] {
    border-color: var(--lc-success);
    background-color: #ECFDF5;
}

.req-item.valid .req-icon span[b-9dk346nz5l] {
    font-size: 0.625rem;
    color: var(--lc-success);
    font-weight: 700;
}

.req-item:not(.valid) .req-icon span[b-9dk346nz5l] {
    display: none;
}

.input-icon-wrapper[b-9dk346nz5l] {
    position: relative;
}

.input-icon-wrapper input[b-9dk346nz5l] {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.input-icon-left[b-9dk346nz5l] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
}

.input-icon-right[b-9dk346nz5l] {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.input-icon-right:hover[b-9dk346nz5l] {
    color: #64748b;
}

.bg-decorator[b-9dk346nz5l] {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    opacity: 0.1;
    pointer-events: none;
}

.password-step-container[b-9dk346nz5l] {
    max-width: 28rem;
    margin: 2rem auto 0;
}

.password-group[b-9dk346nz5l] {
    margin-bottom: 1.5rem;
}


/* ============================================================
   5. FORGOT PASSWORD PAGE
   ============================================================ */
.auth-page-wrapper[b-9dk346nz5l] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.background-mesh[b-9dk346nz5l] {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 0.1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0.1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0.1) 0, transparent 50%);
    z-index: 0;
}

.auth-container[b-9dk346nz5l] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.auth-card[b-9dk346nz5l] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.brand-section[b-9dk346nz5l] {
    padding: 40px 40px 20px;
    text-align: center;
}

.logo-circle[b-9dk346nz5l] {
    width: 64px;
    height: 64px;
    background: #4F46E5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.brand-section h2[b-9dk346nz5l] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.brand-section p[b-9dk346nz5l] {
    color: #64748b;
    font-size: 0.875rem;
}

.auth-form-content[b-9dk346nz5l] {
    padding: 0 40px 40px;
}

.form-title[b-9dk346nz5l] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-subtitle[b-9dk346nz5l] {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.auth-form-content .form-group[b-9dk346nz5l] {
    margin-bottom: 20px;
}

.auth-form-content .form-group label[b-9dk346nz5l] {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
}

.auth-form-content .input-container[b-9dk346nz5l] {
    position: relative;
}

.auth-form-content .input-container i[b-9dk346nz5l] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.auth-form-content .form-control[b-9dk346nz5l] {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.auth-form-content .form-control:focus[b-9dk346nz5l] {
    background: #fff;
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.btn-primary[b-9dk346nz5l] {
    width: 100%;
    padding: 12px;
    background: #4F46E5;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-primary:hover:not(:disabled)[b-9dk346nz5l] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.2);
}

.btn-primary:active[b-9dk346nz5l] {
    transform: translateY(0);
}

.btn-link[b-9dk346nz5l] {
    background: none;
    border: none;
    color: #4F46E5;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    cursor: pointer;
}

.auth-form-content .alert[b-9dk346nz5l] {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-form-content .alert-danger[b-9dk346nz5l] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.auth-form-content .alert-success[b-9dk346nz5l] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #dcfce7;
}

.auth-footer[b-9dk346nz5l] {
    margin-top: 32px;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.auth-footer a[b-9dk346nz5l] {
    color: #4F46E5;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover[b-9dk346nz5l] {
    text-decoration: underline;
}

.reset-account-info[b-9dk346nz5l] {
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #4F46E5;
}

.reset-account-info i[b-9dk346nz5l] {
    font-size: 1.1rem;
}


/* ============================================================
   6. REFERRAL / MASTER PAGES
   ============================================================ */
.referral-page[b-9dk346nz5l] {
    padding: 24px 32px;
    background-color: #f8fafc;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.referral-header[b-9dk346nz5l] {
    margin-bottom: 24px;
}

.referral-header h2[b-9dk346nz5l] {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.referral-header p[b-9dk346nz5l] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.referral-header .branch-label[b-9dk346nz5l],
.referral-header .header-counter[b-9dk346nz5l] {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.referral-header .branch-pill[b-9dk346nz5l] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
    vertical-align: middle;
    min-width: 30px;
    justify-content: center;
}

.header-actions[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-search-input[b-9dk346nz5l] {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    outline: none;
    width: 250px;
    background-color: #f8fafc;
    transition: width 0.3s, border-color 0.2s;
}

.header-search-input:focus[b-9dk346nz5l] {
    width: 300px;
    border-color: var(--lc-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.add-referral-section[b-9dk346nz5l] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.add-referral-section:hover[b-9dk346nz5l] {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.section-header[b-9dk346nz5l] {
    display: flex;
    gap: 16px;
    align-items: center;
}

.section-icon-large[b-9dk346nz5l] {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

.section-header h3[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
}

.section-header p[b-9dk346nz5l] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    margin-left: 64px;
}

.referral-content[b-9dk346nz5l] {
    background-color: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 32px;
}

.btn-new-entry[b-9dk346nz5l] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-new-entry:hover[b-9dk346nz5l] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-action-outline[b-9dk346nz5l] {
    background: white;
    color: #4f46e5;
    border: 2px solid #e0e7ff;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.btn-action-outline:hover[b-9dk346nz5l] {
    transform: translateY(-2px);
    border-color: #4f46e5;
    background-color: #f5f7ff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
}

.td-uhid[b-9dk346nz5l] {
    font-weight: 600;
    color: #4f46e5;
}

.td-mono[b-9dk346nz5l] {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
}

.search-controls[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* ============================================================
   7. MASTER FORM MODAL
   ============================================================ */
.modal-overlay[b-9dk346nz5l] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

/* Modal container (form-card inside overlay) */
.modal-form-card[b-9dk346nz5l] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 95%;
    max-width: 1350px;
    max-height: 95vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: slideDownFade 0.3s ease-out;
}

/* Lab Test Master Table Styles */
.tm-table-input[b-9dk346nz5l],
.tm-table-select[b-9dk346nz5l] {
    width: 100%;
    height: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 11px;
    background-color: #fff;
    color: #1e293b;
    outline: none;
    transition: all 0.2s;
}

.tm-table-input:focus[b-9dk346nz5l],
.tm-table-select:focus[b-9dk346nz5l] {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.tm-btn-icon-red[b-9dk346nz5l] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 4px;
    background-color: #fef2f2;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-icon-red:hover[b-9dk346nz5l] {
    background-color: #fee2e2;
    color: #dc2626;
    transform: scale(1.05);
}

.tm-param-input[b-9dk346nz5l] {
    width: 100%;
    height: 24px;
    border: none;
    background: transparent;
    font-size: 11px;
    color: #1e293b;
    outline: none;
    padding: 0 4px;
}

.modal-form-card form[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

/* Modal header bar */
.modal-header-bar[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-9dk346nz5l] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-9dk346nz5l] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-9dk346nz5l] {
    color: #ef4444;
    background: #fef2f2;
}

/* Master Autocomplete Dropdown */
.master-search-dropdown[b-9dk346nz5l] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    padding: 0;
    margin-top: 4px;
}

.master-search-item[b-9dk346nz5l] {
    width: 100%;
    text-align: left;
    padding: 10px 16px;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    color: #475569;
    transition: background 0.2s;
}

.master-search-item:hover[b-9dk346nz5l] {
    background: #f8fafc;
    color: #4f46e5;
}

.master-search-item:last-child[b-9dk346nz5l] {
    border-bottom: none;
}

/* Modal scrollable body */
.modal-body[b-9dk346nz5l] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

/* Modal footer / action bar */
.modal-footer-bar[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

/* Billing Patient Search Dropdown */
.customer-search-dropdown[b-9dk346nz5l] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    max-height: 280px;
    overflow-y: auto;
    margin-top: 8px;
    padding: 8px;
}

.customer-search-item[b-9dk346nz5l] {
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8fafc;
}

.customer-search-item:last-child[b-9dk346nz5l] {
    border-bottom: none;
}

.customer-search-item:hover[b-9dk346nz5l] {
    background-color: #f1f5f9;
}

.cs-name[b-9dk346nz5l] {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.cs-details[b-9dk346nz5l] {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Test Search Dropdown */
.test-search-dropdown[b-9dk346nz5l] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1060;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    margin-top: 8px;
    padding: 8px;
}

.test-search-item[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8fafc;
}

.test-search-item:last-child[b-9dk346nz5l] {
    border-bottom: none;
}

.test-search-item:hover[b-9dk346nz5l] {
    background-color: #f1f5f9;
}

.ts-info[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ts-name[b-9dk346nz5l] {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.ts-code[b-9dk346nz5l] {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
}

.ts-price[b-9dk346nz5l] {
    font-size: 14px;
    font-weight: 800;
    color: #4f46e5;
}


/* ============================================================
   8. FORM CARD (inline, non-modal)
   ============================================================ */
.form-card[b-9dk346nz5l] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    animation: slideDownFade 0.4s ease-out;
}

.form-section[b-9dk346nz5l] {
    margin-bottom: 32px;
}

.form-section:last-child[b-9dk346nz5l] {
    margin-bottom: 0;
}

.section-title[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.section-icon[b-9dk346nz5l] {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

.section-icon svg[b-9dk346nz5l] {
    width: 14px;
    height: 14px;
}

.form-row[b-9dk346nz5l] {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.form-row:last-child[b-9dk346nz5l] {
    margin-bottom: 0;
}

.form-group[b-9dk346nz5l] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width[b-9dk346nz5l] {
    flex: 1 1 100%;
}

.form-group label[b-9dk346nz5l] {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

/* Form control (legacy) */
.form-control[b-9dk346nz5l] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    width: 100%;
}

.form-control:focus[b-9dk346nz5l] {
    background: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-control[b-9dk346nz5l]::placeholder {
    color: #94a3b8;
}

select.form-control[b-9dk346nz5l] {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    color: #1e293b !important;
    background-color: #ffffff !important;
    height: 40px !important;
    font-size: 14px !important;
    padding: 0 40px 0 16px !important;
    line-height: 40px !important;
}

select.form-control option[b-9dk346nz5l] {
    color: #1e293b !important;
    background-color: #ffffff !important;
    padding: 8px !important;
}

textarea.form-control[b-9dk346nz5l] {
    min-height: 80px;
    resize: vertical;
}

/* Form column layouts */
.form-cols-4[b-9dk346nz5l] {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.form-cols-5[b-9dk346nz5l] {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.form-cols-4-area[b-9dk346nz5l] {
    grid-template-columns: 120px 1.5fr 1.5fr 2fr;
}

.form-cols-3-city[b-9dk346nz5l] {
    grid-template-columns: 1fr 1fr;
}

/* ============================================================
   17. BRANCH MASTER - REFACTORED
   ============================================================ */
.branch-master-container[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 5rem);
    /* Adjust based on MainLayout header if any */
    background-color: #f8fafc;
}

.branch-master-header[b-9dk346nz5l] {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.branch-master-content[b-9dk346nz5l] {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ============================================================
   17. TEST MASTER REDESIGN (Dynamic Dashboard)
   ============================================================ */
.tm-container[b-9dk346nz5l] {
    padding: 24px;
    background-color: #f8fafc;
    min-height: 100vh;
}

.tm-dashboard-card[b-9dk346nz5l] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.tm-grid-row-1[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.tm-grid-row-2[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.tm-grid-row-3[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 32px;
}

.tm-label-upper[b-9dk346nz5l] {
    font-size: 10px;
    font-weight: 800;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.tm-input-premium[b-9dk346nz5l] {
    height: 44px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    padding: 0 16px !important;
    transition: all 0.2s ease;
}

.tm-input-premium:focus[b-9dk346nz5l] {
    background: #ffffff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}

.tm-radio-tile-group[b-9dk346nz5l] {
    display: flex;
    gap: 24px;
    align-items: center;
}

.tm-radio-item[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.tm-radio-dot[b-9dk346nz5l] {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.tm-radio-item:hover .tm-radio-dot[b-9dk346nz5l] {
    border-color: #6366f1;
}

input[type="radio"]:checked+.tm-radio-dot[b-9dk346nz5l] {
    border-color: #6366f1;
    background-color: #ffffff;
}

input[type="radio"]:checked+.tm-radio-dot[b-9dk346nz5l]::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #6366f1;
    border-radius: 50%;
}

/* Split Layout */
.tm-split-layout[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

.tm-left-panel[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tm-panel-card[b-9dk346nz5l] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.tm-panel-header[b-9dk346nz5l] {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.tm-param-list-premium[b-9dk346nz5l] {
    padding: 8px 0;
}

.tm-param-row[b-9dk346nz5l] {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.2s;
}

.tm-param-row:hover[b-9dk346nz5l] {
    background: #f8fafc;
}

.tm-check-circle[b-9dk346nz5l] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.tm-check-circle.checked[b-9dk346nz5l] {
    background: #6366f1;
    border-color: #6366f1;
}

.tm-check-circle.checked span[b-9dk346nz5l] {
    font-size: 14px;
}

.tm-panel-footer[b-9dk346nz5l] {
    padding: 16px 20px;
    background: #fdfdfd;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Settings Card (Right Side) */
.tm-settings-card[b-9dk346nz5l] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.tm-settings-top[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.tm-tabs-row[b-9dk346nz5l] {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 24px;
    padding: 0 8px;
}

.tm-tab-item[b-9dk346nz5l] {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    padding: 12px 0;
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
}

.tm-tab-item.active[b-9dk346nz5l] {
    color: #6366f1;
}

.tm-tab-item.active[b-9dk346nz5l]::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #6366f1;
    border-radius: 3px 3px 0 0;
}

.tm-template-box[b-9dk346nz5l] {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 24px;
}

.tm-editor-toolbar[b-9dk346nz5l] {
    padding: 8px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-editor-textarea[b-9dk346nz5l] {
    width: 100%;
    min-height: 140px;
    padding: 20px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    color: #475569;
    resize: none;
    background: #ffffff;
}

.tm-settings-footer[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.btn-update-premium[b-9dk346nz5l] {
    padding: 12px 32px;
    background: #ffffff;
    border: 1px solid #ffedd5;
    color: #f97316;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-update-premium:hover[b-9dk346nz5l] {
    background: #fff7ed;
    border-color: #fdba74;
}

.btn-profile-black[b-9dk346nz5l] {
    background: #1e293b;
    color: white;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s;
}

.btn-profile-black:hover[b-9dk346nz5l] {
    background: var(--lc-secondary);
    transform: translateY(-1px);
}

.branch-master-footer[b-9dk346nz5l] {
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-cols-branch-1[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.form-cols-branch-2[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.btn-branch-save[b-9dk346nz5l] {
    background-color: #4C51BF !important;
    color: white !important;
}

.btn-branch-delete[b-9dk346nz5l] {
    background-color: #E53E3E !important;
    color: white !important;
}

.btn-branch-close[b-9dk346nz5l] {
    background-color: #4A5568 !important;
    color: white !important;
}

.branch-alert[b-9dk346nz5l] {
    background-color: #FFF5F5 !important;
    border: 1px solid #FED7D7 !important;
    color: #C53030 !important;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.header-search-icon[b-9dk346nz5l] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lc-slate-400);
}

.branch-color-preview[b-9dk346nz5l] {
    width: 38px;
    height: 38px;
    padding: 2px;
    border-radius: 8px;
    border: 1px solid var(--lc-border);
    background: white;
    cursor: pointer;
}

.form-group-span-2[b-9dk346nz5l] {
    grid-column: span 2;
}

.branch-table-wrapper[b-9dk346nz5l] {
    max-height: 400px;
    overflow-y: auto;
}

.btn-table-action[b-9dk346nz5l] {
    min-width: 32px;
}

.form-cols-counter-1[b-9dk346nz5l] {
    grid-template-columns: 2fr 1fr 2fr 1fr;
}

.form-cols-counter-2[b-9dk346nz5l] {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.form-cols-counter-3[b-9dk346nz5l] {
    grid-template-columns: 1fr 3fr;
}

.custom-grid-general-1[b-9dk346nz5l] {
    grid-template-columns: 80px 1.2fr 1.2fr 1fr 1.2fr 1fr;
}

.custom-grid-general-2[b-9dk346nz5l] {
    grid-template-columns: 1fr 1fr 2fr;
}

.custom-grid-billing-1[b-9dk346nz5l] {
    grid-template-columns: 1.2fr 1.5fr 1fr 1fr;
}

.custom-grid-billing-2[b-9dk346nz5l] {
    grid-template-columns: 1fr 1fr 2fr;
}

.custom-grid-comm-1[b-9dk346nz5l],
.custom-grid-comm-2[b-9dk346nz5l],
.custom-grid-comm-3[b-9dk346nz5l] {
    grid-template-columns: repeat(4, 1fr);
}

.custom-grid-comm-4[b-9dk346nz5l] {
    grid-template-columns: 2fr 1fr 1fr;
}

/* Pay type buttons */
.pay-type-buttons[b-9dk346nz5l] {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
    box-sizing: border-box;
}

.pay-btn[b-9dk346nz5l] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.pay-btn:hover[b-9dk346nz5l] {
    color: #1e293b;
}

.pay-btn.active[b-9dk346nz5l] {
    background: #ffffff;
    color: #6366f1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.sms-alert[b-9dk346nz5l] {
    color: #ef4444;
    font-size: 10px;
    margin-top: 6px;
}

/* Form actions bar */
.form-actions[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.running-total[b-9dk346nz5l] {
    margin-right: auto;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.total-label[b-9dk346nz5l] {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
}

.total-amount[b-9dk346nz5l] {
    font-size: 20px;
    font-weight: 700;
    color: #6366f1;
}

.btn-delete[b-9dk346nz5l] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-close[b-9dk346nz5l] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    transition: all 0.2s;
}

.btn-close:hover[b-9dk346nz5l] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-save[b-9dk346nz5l] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-9dk346nz5l] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.error-input[b-9dk346nz5l] {
    border-color: #ef4444 !important;
    background-color: #ffffff !important;
}

.error-text[b-9dk346nz5l] {
    color: #ef4444 !important;
}


/* ============================================================
   9. DIRECTORY TABLE
   ============================================================ */
.directory-section[b-9dk346nz5l] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.directory-header[b-9dk346nz5l] {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.directory-header h3[b-9dk346nz5l] {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.directory-controls[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-controls[b-9dk346nz5l] {
    display: flex;
    gap: 12px;
}

.show-entries[b-9dk346nz5l] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 13px;
    color: #475569;
    outline: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-filter[b-9dk346nz5l],
.btn-export[b-9dk346nz5l] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-filter:hover[b-9dk346nz5l],
.btn-export:hover[b-9dk346nz5l] {
    background: #f1f5f9;
}

.table-wrapper[b-9dk346nz5l] {
    overflow-x: auto;
}

.directory-table[b-9dk346nz5l] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.directory-table th[b-9dk346nz5l] {
    background: #6366f1;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 24px;
}

.directory-table td[b-9dk346nz5l] {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
    color: #475569;
    vertical-align: middle;
}

.directory-table tbody tr:hover[b-9dk346nz5l] {
    background: #f8fafc;
}

/* Directory table cell helpers */
.td-order-no[b-9dk346nz5l] {
    color: #6366f1;
    font-weight: 700;
}

.td-name[b-9dk346nz5l] {
    font-weight: 600;
    color: #1e293b;
}

.td-narration[b-9dk346nz5l] {
    color: #94a3b8;
    font-size: 13px;
}

.code-link[b-9dk346nz5l] {
    color: #6366f1;
    font-weight: 700;
    cursor: pointer;
}

.doctor-name[b-9dk346nz5l] {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.doctor-email[b-9dk346nz5l] {
    font-size: 12px;
    color: #94a3b8;
}

/* Status badges */
.status-badge[b-9dk346nz5l] {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-active[b-9dk346nz5l] {
    background: #dcfce7;
    color: #16a34a;
}

.status-inactive[b-9dk346nz5l] {
    background: #fee2e2;
    color: #dc2626;
}

.status-progress[b-9dk346nz5l] {
    background: #fef3c7;
    color: #d97706;
}

/* Table action buttons */
.btn-action[b-9dk346nz5l] {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 14px;
    padding: 4px 8px;
    transition: color 0.2s;
}

.btn-edit:hover[b-9dk346nz5l] {
    color: #6366f1;
}

.btn-delete-action:hover[b-9dk346nz5l] {
    color: #ef4444;
}


/* ============================================================
   10. CUSTOM CARD (Counter / Branch inline layout)
   ============================================================ */
.custom-card[b-9dk346nz5l] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.custom-card .form-control[b-9dk346nz5l] {
    height: 32px;
    padding: 0.25rem 0.5rem;
    font-size: 13px;
    border-radius: 6px;
}

.custom-card .form-label[b-9dk346nz5l] {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.custom-card select.form-control[b-9dk346nz5l] {
    height: 40px !important;
    line-height: normal !important;
}

/* Lab header card */
.lab-header-card[b-9dk346nz5l] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
}

.lab-title-text[b-9dk346nz5l] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

/* Lab Header Variations */
.lab-header-card.flex-between[b-9dk346nz5l] {
    justify-content: space-between;
    margin-bottom: 12px;
}

/* Lab header sub-elements */
.lab-header-ops-badge[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.lab-header-ops-label[b-9dk346nz5l] {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
}

.lab-header-ops-value[b-9dk346nz5l] {
    color: var(--lc-secondary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.lab-header-ops-placeholder[b-9dk346nz5l] {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
}

.lab-header-tenant-pill[b-9dk346nz5l] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.lab-header-active-pill[b-9dk346nz5l] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

/* Lab input (shared) */
.lab-input[b-9dk346nz5l] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lab-input:focus[b-9dk346nz5l] {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lab-input-lg[b-9dk346nz5l] {
    padding: 1rem 1rem;
    font-size: 1rem;
    min-height: 48px;
}

.lab-input-lg:focus[b-9dk346nz5l] {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Tab buttons */
.btn-tab[b-9dk346nz5l] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-right: none;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    outline: none;
}

.btn-tab:last-child[b-9dk346nz5l] {
    border-right: 1px solid #e2e8f0;
}

.active-tab[b-9dk346nz5l] {
    background: white;
    color: #1e293b;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid white;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
}

.active-tab+.btn-tab[b-9dk346nz5l] {
    border-left: none;
}


/* ============================================================
   11. BRANCH / COUNTER PAGE — SECTION CARDS
   ============================================================ */
.page-section-card[b-9dk346nz5l] {
    background: white;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-section-card-header[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    background: #f8fafc;
}

.page-section-card-header h3[b-9dk346nz5l] {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #1e293b;
    margin: 0;
}

.page-section-card-count[b-9dk346nz5l] {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary, #4f46e5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Global Spacing Utilities */
.mb-0[b-9dk346nz5l] {
    margin-bottom: 0 !important;
}

.mb-6[b-9dk346nz5l] {
    margin-bottom: 24px !important;
}

.mt-6[b-9dk346nz5l] {
    margin-top: 24px !important;
}

.text-center[b-9dk346nz5l] {
    text-align: center !important;
}

.p-24[b-9dk346nz5l] {
    padding: 24px !important;
}

/* Color dot used in branch/counter lists */
.color-dot[b-9dk346nz5l] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Branch / counter table scrollable wrapper */
.scrollable-table-wrapper[b-9dk346nz5l] {
    max-height: 400px;
    overflow-y: auto;
}

/* Branch form sub-heading */
.form-section-heading[b-9dk346nz5l] {
    margin: 0 0 1.5rem 0;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #1e293b;
}

/* Branch Type checkbox row */
.branch-type-row[b-9dk346nz5l] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    height: 40px;
    padding-left: 4px;
}

.branch-type-label[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
}

/* Card footer actions */
.card-footer-actions[b-9dk346nz5l] {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color, #e2e8f0);
    background: white;
    border-radius: 1rem;
}

.footer-left-controls[b-9dk346nz5l] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-right-controls[b-9dk346nz5l] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.display-active-label[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
}

.btn-footer-cancel[b-9dk346nz5l] {
    background: transparent;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    cursor: pointer;
}

.btn-footer-delete[b-9dk346nz5l] {
    background: #ef4444;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn-footer-save[b-9dk346nz5l] {
    background: var(--primary, #4f46e5);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn-footer-close[b-9dk346nz5l] {
    background: #64748b;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn-footer-delete:disabled[b-9dk346nz5l],
.btn-footer-save:disabled[b-9dk346nz5l] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Alert messages (branch / counter inline) */
.alert[b-9dk346nz5l] {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.alert-error[b-9dk346nz5l] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.alert-success[b-9dk346nz5l] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #dcfce7;
}


/* ============================================================
   12. COUNTER PAGE — CARD HEADER / BODY
   ============================================================ */
.card-header-bar[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    padding: 1.5rem;
    background: white;
}

.card-header-left[b-9dk346nz5l] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.card-header-title[b-9dk346nz5l] {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.card-header-subtitle[b-9dk346nz5l] {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.card-header-right[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-input-wrapper[b-9dk346nz5l] {
    position: relative;
    width: 250px;
}

.search-input-wrapper .search-icon[b-9dk346nz5l] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted, #64748b);
    font-size: 1.25rem;
    pointer-events: none;
}

/* Color input row */
.color-input-row[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 40px;
}

.color-input-value[b-9dk346nz5l] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
}

.active-checkbox-label[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.active-checkbox-label span[b-9dk346nz5l] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary, #4f46e5);
}


/* ============================================================
   13. BADGES (legacy support)
   ============================================================ */
.badge[b-9dk346nz5l] {
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-success[b-9dk346nz5l] {
    background-color: #dcfce7;
    color: #15803d;
}

.badge-warning[b-9dk346nz5l] {
    background-color: #fef3c7;
    color: #b45309;
}

.badge-danger[b-9dk346nz5l] {
    background-color: #fee2e2;
    color: #b91c1c;
}



/* ============================================================
   14. FORGOT PASSWORD PAGE
   ============================================================ */
.auth-page-wrapper[b-9dk346nz5l] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.background-mesh[b-9dk346nz5l] {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 0.1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0.1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0.1) 0, transparent 50%);
    z-index: 0;
}

.auth-container[b-9dk346nz5l] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.auth-card[b-9dk346nz5l] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.brand-section[b-9dk346nz5l] {
    padding: 40px 40px 20px;
    text-align: center;
}

.logo-circle[b-9dk346nz5l] {
    width: 64px;
    height: 64px;
    background: #4F46E5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.brand-section h2[b-9dk346nz5l] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.brand-section p[b-9dk346nz5l] {
    color: #64748b;
    font-size: 0.875rem;
}

.auth-form-content[b-9dk346nz5l] {
    padding: 0 40px 40px;
}

.form-title[b-9dk346nz5l] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-subtitle[b-9dk346nz5l] {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.auth-page-wrapper .form-group[b-9dk346nz5l] {
    margin-bottom: 20px;
}

.auth-page-wrapper .form-group label[b-9dk346nz5l] {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
}

.input-container[b-9dk346nz5l] {
    position: relative;
}

.input-container i[b-9dk346nz5l] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.auth-page-wrapper .form-control[b-9dk346nz5l] {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.auth-page-wrapper .form-control:focus[b-9dk346nz5l] {
    background: #fff;
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.auth-page-wrapper .btn-primary[b-9dk346nz5l] {
    width: 100%;
    padding: 12px;
    background: #4F46E5;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    transition: all 0.2s;
    margin-top: 10px;
}

.auth-page-wrapper .btn-primary:hover:not(:disabled)[b-9dk346nz5l] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.2);
}

.auth-page-wrapper .btn-primary:active[b-9dk346nz5l] {
    transform: translateY(0);
}

.btn-link[b-9dk346nz5l] {
    background: none;
    border: none;
    color: #4F46E5;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    cursor: pointer;
}

.alert-danger[b-9dk346nz5l] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.auth-footer[b-9dk346nz5l] {
    margin-top: 32px;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.auth-footer a[b-9dk346nz5l] {
    color: #4F46E5;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover[b-9dk346nz5l] {
    text-decoration: underline;
}

.reset-account-info[b-9dk346nz5l] {
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #4F46E5;
}

.reset-account-info i[b-9dk346nz5l] {
    font-size: 1.1rem;
}


/* ============================================================
   15. LOGIN PAGE
   ============================================================ */
.login-page-wrapper[b-9dk346nz5l] {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--lc-secondary) 0%, #1e1b4b 50%, var(--lc-secondary) 100%);
}

.login-bg-pattern[b-9dk346nz5l] {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 60% at 10% 20%, rgba(99, 102, 241, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 90% 80%, rgba(124, 58, 237, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    z-index: 0;
    animation: bgShift-b-9dk346nz5l 12s ease-in-out infinite alternate;
}

@keyframes bgShift-b-9dk346nz5l {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.7;
    }
}

.login-container[b-9dk346nz5l] {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    min-height: 100vh;
}

.login-content[b-9dk346nz5l] {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-card[b-9dk346nz5l] {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 44px 40px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.5s ease-out;
}

.brand-logo[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.brand-logo-rect[b-9dk346nz5l] {
    fill: #6366f1;
}

.brand-logo-path[b-9dk346nz5l] {
    fill: white;
}

.brand-name[b-9dk346nz5l] {
    font-size: 1.375rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.brand-subtitle[b-9dk346nz5l] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #818cf8;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.login-title[b-9dk346nz5l] {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: -0.75px;
}

.login-subtitle[b-9dk346nz5l] {
    color: rgba(148, 163, 184, 0.9);
    font-size: 0.825rem;
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.6;
}

.login-form-group[b-9dk346nz5l] {
    margin-bottom: 14px;
}

.input-wrapper[b-9dk346nz5l] {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon[b-9dk346nz5l] {
    position: absolute;
    left: 14px;
    color: rgba(148, 163, 184, 0.7);
    pointer-events: none;
    display: flex;
    align-items: center;
    z-index: 1;
}

.login-input[b-9dk346nz5l] {
    width: 100%;
    padding: 14px 16px 14px 46px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    font-size: 0.875rem;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.25s ease;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.login-input:focus[b-9dk346nz5l] {
    background: rgba(255, 255, 255, 0.12);
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.login-input[b-9dk346nz5l]::placeholder {
    color: rgba(148, 163, 184, 0.6);
    font-weight: 400;
}

.password-toggle[b-9dk346nz5l] {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(148, 163, 184, 0.7);
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.password-toggle:hover[b-9dk346nz5l] {
    color: #a5b4fc;
}

.status-message[b-9dk346nz5l] {
    color: #fca5a5;
    font-size: 0.8rem;
    text-align: center;
    padding: 10px 14px;
    margin-bottom: 8px;
    font-weight: 500;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
}

.btn-login[b-9dk346nz5l] {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 60%, #4338ca 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-login[b-9dk346nz5l]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover:not(:disabled)[b-9dk346nz5l]::before {
    left: 100%;
}

.btn-login:hover:not(:disabled)[b-9dk346nz5l] {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 60%, #4f46e5 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

.btn-login:active[b-9dk346nz5l] {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
}

.btn-login:disabled[b-9dk346nz5l] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.forgot-password[b-9dk346nz5l] {
    text-align: right;
    margin: 14px 0 0;
}

.forgot-password a[b-9dk346nz5l] {
    color: rgba(148, 163, 184, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password a:hover[b-9dk346nz5l] {
    color: #a5b4fc;
}

.login-footer-text[b-9dk346nz5l] {
    text-align: center;
    margin-top: 28px;
    font-size: 0.825rem;
    color: rgba(148, 163, 184, 0.7);
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.register-link[b-9dk346nz5l] {
    color: #a5b4fc;
    font-weight: 700;
    text-decoration: none;
}

.register-link:hover[b-9dk346nz5l] {
    color: #818cf8;
    text-decoration: underline;
}

.login-bottom-footer[b-9dk346nz5l] {
    text-align: center;
    padding: 24px 0 8px;
}

.footer-link[b-9dk346nz5l] {
    color: rgba(100, 116, 139, 0.7);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover[b-9dk346nz5l] {
    color: #818cf8;
}

.footer-separator[b-9dk346nz5l] {
    color: rgba(203, 213, 225, 0.3);
    margin: 0 12px;
    font-size: 0.5rem;
}

/* Branch color input */
.branch-color-input[b-9dk346nz5l] {
    width: 42px;
    height: 42px;
    padding: 2px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.branch-color-input:hover[b-9dk346nz5l] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Table status indicator dot (replaces color-dot) */
.table-status-indicator[b-9dk346nz5l] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}


/* ============================================================
   16. REFERRAL MASTER PAGE
   ============================================================ */
.referral-header-details[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
}

.referral-subtitle[b-9dk346nz5l] {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 600;
    margin: 0;
}

.search-wrapper[b-9dk346nz5l] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-icon-inline[b-9dk346nz5l] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.search-input-pill[b-9dk346nz5l] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    color: #1e293b;
    outline: none;
    width: 200px;
    transition: all 0.2s;
}

.search-input-pill:focus[b-9dk346nz5l] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.doctor-detail-cell[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.doctor-avatar[b-9dk346nz5l] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e7ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.tm-dropdown-item[b-9dk346nz5l] {
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-dropdown-item:hover[b-9dk346nz5l] {
    background: #f1f5f9;
}

.tm-dropdown-name[b-9dk346nz5l] {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
}

.tm-dropdown-shortname[b-9dk346nz5l] {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.tm-input-accent[b-9dk346nz5l] {
    border: 1.5px solid #cbd5e1 !important;
    background: white !important;
    font-weight: 500 !important;
}

.tm-input-accent:focus[b-9dk346nz5l] {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

.doctor-info-text[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
}

/* ============================================================
   12. TEST MASTER PANEL ACTIONS
   ============================================================ */
.tm-panel-header[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-center: items-center;
    padding: 16px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.tm-panel-badge[b-9dk346nz5l] {
    padding: 4px 12px;
    background: #eef2ff;
    color: #4f46e5;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.tm-panel-title[b-9dk346nz5l] {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.tm-btn-outline[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-outline:hover[b-9dk346nz5l] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.tm-btn-primary[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #4f46e5;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    transition: all 0.2s;
}

.tm-btn-primary:hover[b-9dk346nz5l] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.tm-btn-danger[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff1f2;
    border: 1.5px solid #fecdd3;
    border-radius: 12px;
    color: #e11d48;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-danger:hover[b-9dk346nz5l] {
    background: #ffe4e6;
    border-color: #fda4af;
    color: #be123c;
}

.doctor-name-text[b-9dk346nz5l] {
    font-weight: 600;
    color: #1e293b;
}

.doctor-email-text[b-9dk346nz5l] {
    font-size: 11px;
    color: #64748b;
}

.form-grid-prefix[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
}

.form-grid-doctor-details[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.form-grid-two-cols[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pay-type-buttons[b-9dk346nz5l] {
    display: flex;
    gap: 8px;
}

.pay-btn[b-9dk346nz5l] {
    flex: 1;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    color: #64748b;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.pay-btn.active[b-9dk346nz5l] {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}

/* Directory Section & Table */
.directory-section[b-9dk346nz5l] {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-top: 0;
}

.directory-header[b-9dk346nz5l] {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.directory-header h3[b-9dk346nz5l] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.table-wrapper[b-9dk346nz5l] {
    overflow-x: auto;
    padding: 0;
}

.directory-table[b-9dk346nz5l] {
    width: 100%;
    border-collapse: collapse;
}

.directory-table th[b-9dk346nz5l] {
    background-color: #f8fafc;
    padding: 12px 24px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #f1f5f9;
}

.directory-table td[b-9dk346nz5l] {
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #475569;
}

.directory-table tr:hover[b-9dk346nz5l] {
    background-color: #f8fafc;
}

.code-link[b-9dk346nz5l] {
    font-weight: 700;
    color: #4f46e5;
}

.btn-action[b-9dk346nz5l] {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0 2px;
}

.btn-edit:hover:not(:disabled)[b-9dk346nz5l] {
    border-color: #6366f1;
    color: #6366f1;
}

.btn-delete-action:hover:not(:disabled)[b-9dk346nz5l] {
    border-color: #ef4444;
    color: #ef4444;
}

.btn-action:disabled[b-9dk346nz5l] {
    opacity: 0.5;
    cursor: not-allowed;
}

.doctor-name[b-9dk346nz5l] {
    font-weight: 700;
    color: #1e293b;
}

.doctor-email[b-9dk346nz5l] {
    font-size: 12px;
    color: #64748b;
}

.pagination-footer[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid #f1f5f9;
    background-color: #fff;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.pagination-info[b-9dk346nz5l] {
    font-size: 13px;
    color: #64748b;
}

.pagination-info-highlight[b-9dk346nz5l] {
    font-weight: 600;
    color: #334155;
}

.pagination-btns[b-9dk346nz5l] {
    display: flex;
    gap: 6px;
}

.pagination-btns .page-btn[b-9dk346nz5l] {
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.pagination-btns .page-btn:hover:not(.active):not(:disabled)[b-9dk346nz5l] {
    border-color: #cbd5e1 !important;
    background-color: #f8fafc !important;
    color: #4f46e5 !important;
}

.pagination-btns .page-btn:disabled[b-9dk346nz5l] {
    cursor: not-allowed !important;
    opacity: 0.4 !important;
}

.pagination-btns .page-btn.active[b-9dk346nz5l] {
    border-color: #4f46e5 !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    cursor: default !important;
}

.page-btn-icon[b-9dk346nz5l] {
    width: 32px;
}

/* ============================================================
   17. BRANCH MASTER PAGE
   ============================================================ */
.branch-ops-tag[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.branch-ops-label[b-9dk346nz5l] {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
}

.branch-ops-value[b-9dk346nz5l] {
    color: var(--lc-secondary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.branch-ops-placeholder[b-9dk346nz5l] {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
}

.tenant-pill[b-9dk346nz5l] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.form-cols-branch-1[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.form-cols-branch-2[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.color-input-container[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.branch-color-input[b-9dk346nz5l] {
    width: 3rem;
    height: 2.25rem;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 0.5rem;
    padding: 2px;
    background: white;
    cursor: pointer;
}

.branch-type-group[b-9dk346nz5l] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    height: 40px;
    padding-left: 4px;
}

.branch-type-label[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
}

.table-status-indicator[b-9dk346nz5l] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.btn-delete-solid[b-9dk346nz5l] {
    background: #ef4444;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

.btn-save-solid[b-9dk346nz5l] {
    background: var(--primary, #4f46e5);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

.btn-close-solid[b-9dk346nz5l] {
    background: #64748b;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

/* ============================================================
   18. MODIFY TEST MASTER PAGE
   ============================================================ */
.test-master-actions[b-9dk346nz5l] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.test-master-action-item[b-9dk346nz5l] {
    color: var(--primary, #4f46e5);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.8125rem;
    text-transform: uppercase;
}

.test-master-grid-1[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.5fr 2fr 2fr 1fr;
    gap: 1rem;
}

.test-master-grid-2[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.test-master-grid-settings[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.test-dropdown-overlay[b-9dk346nz5l] {
    position: absolute;
    background: #ffffff;
    border: 1px solid var(--primary, #4f46e5);
    border-top: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    top: 100%;
    left: 0;
    right: -150%;
    z-index: 100;
    max-height: 15rem;
    overflow-y: auto;
}

.test-dropdown-item[b-9dk346nz5l] {
    display: flex;
    cursor: pointer;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.875rem;
}

.test-dropdown-name[b-9dk346nz5l] {
    flex-grow: 1;
    padding: 0.5rem 0.75rem;
    border-right: 1px solid #e2e8f0;
    color: #1e293b;
}

.test-dropdown-group[b-9dk346nz5l] {
    padding: 0.5rem 0.75rem;
    color: #64748b;
    width: 150px;
}

.param-list-card[b-9dk346nz5l] {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 0.75rem;
    overflow: hidden;
    width: 320px;
}

.param-header[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.param-circle[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
}

.template-editor-header[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color, #e2e8f0);
    border-bottom: 0;
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 0.5rem 0.75rem;
    background-color: #f8fafc;
}

.template-editor-toolbar[b-9dk346nz5l] {
    display: flex;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    color: #1e293b;
}

.template-editor-textarea[b-9dk346nz5l] {
    border-color: var(--border-color, #e2e8f0);
    border-top: 0;
    border-radius: 0 0 0.5rem 0.5rem;
    resize: none;
    box-shadow: none;
}

.graph-toggle[b-9dk346nz5l] {
    position: relative;
    display: inline-block;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    width: 28px;
    height: 16px;
    background-color: #f1f5f9;
}

.graph-toggle-thumb[b-9dk346nz5l] {
    position: absolute;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    width: 12px;
    height: 12px;
    left: 1px;
    top: 1px;
}

.btn-update-orange[b-9dk346nz5l] {
    background: transparent;
    border: 1px solid #f97316;
    color: #f97316;
    font-weight: 600;
    padding: 0.25rem 1.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    height: 32px;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-update-orange:hover[b-9dk346nz5l] {
    background: #f97316;
    color: #ffffff;
}

/* ============================================================
   20. COUNTER MASTER PAGE
   ============================================================ */
.form-cols-counter-1[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 1fr;
    gap: 1.5rem;
}

.form-cols-counter-2[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.form-cols-counter-3[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 1.5rem;
}

.counter-color-preview[b-9dk346nz5l] {
    width: 3rem;
    height: 2.25rem;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 0.5rem;
    padding: 2px;
    background: #ffffff;
    cursor: pointer;
}

.counter-dot[b-9dk346nz5l] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

/* ============================================================
   21. RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1200px) {
    .custom-grid-general-1[b-9dk346nz5l] {
        grid-template-columns: 80px 1fr 1.2fr 1fr;
    }

    .custom-grid-general-2[b-9dk346nz5l] {
        grid-template-columns: 1fr 1fr;
    }

    .custom-grid-billing-1[b-9dk346nz5l] {
        grid-template-columns: 1fr 1fr;
    }

    .custom-grid-comm-1[b-9dk346nz5l],
    .custom-grid-comm-2[b-9dk346nz5l],
    .custom-grid-comm-3[b-9dk346nz5l] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .referral-page[b-9dk346nz5l] {
        padding: 16px;
    }

    .referral-header[b-9dk346nz5l] {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .header-actions[b-9dk346nz5l] {
        width: 100%;
        flex-wrap: wrap;
    }

    .header-search-input[b-9dk346nz5l] {
        width: 100% !important;
    }

    .form-row[b-9dk346nz5l] {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .form-cols-4[b-9dk346nz5l],
    .form-cols-4-area[b-9dk346nz5l],
    .form-cols-3-city[b-9dk346nz5l],
    .form-cols-branch-1[b-9dk346nz5l],
    .form-cols-branch-2[b-9dk346nz5l],
    .form-cols-branch-3[b-9dk346nz5l],
    .form-cols-counter-1[b-9dk346nz5l],
    .form-cols-counter-2[b-9dk346nz5l],
    .form-cols-counter-3[b-9dk346nz5l],
    .custom-grid-general-1[b-9dk346nz5l],
    .custom-grid-general-2[b-9dk346nz5l],
    .custom-grid-billing-1[b-9dk346nz5l],
    .custom-grid-billing-2[b-9dk346nz5l],
    .custom-grid-comm-1[b-9dk346nz5l],
    .custom-grid-comm-2[b-9dk346nz5l],
    .custom-grid-comm-3[b-9dk346nz5l],
    .custom-grid-comm-4[b-9dk346nz5l] {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   22. MASTER DATA COMMON STYLES (Area, City, State, Country)
   ============================================================ */
.form-cols-4-area[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.form-cols-3-city[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: repeat(2, 1fr) 2fr;
    gap: 1.5rem;
}

.master-search-dropdown[b-9dk346nz5l] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 50;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.master-search-dropdown.show[b-9dk346nz5l] {
    display: block;
}

.master-search-item[b-9dk346nz5l] {
    width: 100%;
    padding: 10px 16px;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid var(--lc-slate-100);
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.master-search-item:hover[b-9dk346nz5l] {
    background: var(--lc-slate-50);
}

.master-search-item:last-child[b-9dk346nz5l] {
    border-bottom: none;
}

/* ============================================================
   23. MODIFY TEST MASTER - TABS CONTENT
   ============================================================ */
.tab-scroller[b-9dk346nz5l] {
    margin-bottom: -1px;
}

.ref-table-wrapper[b-9dk346nz5l] {
    height: 15rem;
    overflow: auto;
    border: 1px solid var(--lc-border);
}

.ref-table[b-9dk346nz5l] {
    width: 100%;
    font-size: 0.75rem;
    border-collapse: collapse;
}

.ref-table th[b-9dk346nz5l],
.ref-table td[b-9dk346nz5l] {
    border: 1px solid var(--lc-border);
    padding: 0.25rem;
}

.ref-table .col-icon[b-9dk346nz5l] {
    width: 2rem;
}

.ref-table .col-sex[b-9dk346nz5l] {
    width: 25%;
}

.ref-table .star-big[b-9dk346nz5l] {
    font-size: 1rem;
}

.lab-checkbox-sm[b-9dk346nz5l] {
    width: 13px !important;
    height: 13px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    cursor: pointer !important;
}

.lab-radio-sm[b-9dk346nz5l] {
    margin: 0 !important;
    cursor: pointer !important;
}

.lab-textarea-bordered[b-9dk346nz5l] {
    border: 1px solid #a1a1aa !important;
    resize: none !important;
    border-radius: 0 !important;
    background: white;
}

.specimen-table-container[b-9dk346nz5l] {
    border: 1px solid var(--lc-border);
    margin-bottom: 1.25rem;
    width: 100%;
    max-width: 500px;
}

.bg-specimen-active[b-9dk346nz5l] {
    background: #0ea5e9 !important;
    color: white !important;
}

.btn-row-action[b-9dk346nz5l] {
    width: 100%;
    background: #e2e8f0;
    height: 1.25rem;
    border: 1px solid var(--lc-slate-400);
    outline: none;
    cursor: pointer;
}

.text-update-orange[b-9dk346nz5l] {
    color: #f97316 !important;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ============================================================
   24. MODIFY TEST MASTER - CONSOLE STYLES
   ============================================================ */
.custom-card[b-9dk346nz5l] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    height: 100%;
}

.test-master-actions[b-9dk346nz5l] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.test-master-action-item[b-9dk346nz5l] {
    color: var(--lc-primary);
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.test-master-action-item:hover[b-9dk346nz5l] {
    opacity: 0.8;
}

.avatar-pink[b-9dk346nz5l] {
    background: #FFD1DC;
    color: #E83F6F;
}

.test-master-grid-1[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.5fr 2fr 2fr 1fr;
    gap: 1rem;
}

.test-master-grid-2[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.test-master-grid-settings[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.test-dropdown-overlay[b-9dk346nz5l] {
    position: absolute;
    background: white;
    border: 1px solid var(--lc-primary);
    border-top: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    top: 100%;
    left: 0;
    right: -150%;
    z-index: 100;
    max-height: 15rem;
    overflow-y: auto;
}

.test-dropdown-item[b-9dk346nz5l] {
    display: flex;
    cursor: pointer;
    border-bottom: 1px solid var(--lc-border);
    font-size: 13px;
    transition: background 0.2s;
}

.test-dropdown-item:hover[b-9dk346nz5l] {
    background: var(--lc-slate-50);
}

.test-dropdown-name[b-9dk346nz5l] {
    flex-grow: 1;
    padding: 8px 16px;
    border-right: 1px solid var(--lc-border);
    color: var(--lc-slate-900);
}

.test-dropdown-group[b-9dk346nz5l] {
    padding: 8px 16px;
    color: var(--lc-slate-500);
    width: 150px;
}

.param-list-card[b-9dk346nz5l] {
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 12px;
    overflow: hidden;
}

.param-header[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lc-border);
}

.param-circle[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    border: 1px solid var(--lc-border);
}

.template-editor-header[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--lc-border);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 8px 12px;
    background-color: #f8fafc;
}

.template-editor-toolbar[b-9dk346nz5l] {
    display: flex;
    gap: 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    color: var(--lc-slate-900);
}

.template-editor-textarea[b-9dk346nz5l] {
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: none !important;
    resize: none !important;
    height: 100px;
}

.graph-toggle[b-9dk346nz5l] {
    position: relative;
    display: inline-block;
    border-radius: 9999px;
    border: 1px solid var(--lc-border);
    width: 28px;
    height: 16px;
    background-color: #f1f5f9;
}

.graph-toggle-thumb[b-9dk346nz5l] {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    width: 12px;
    height: 12px;
    left: 1px;
    top: 1px;
}

.btn-update-orange[b-9dk346nz5l] {
    background: transparent;
    font-weight: 600;
    border: 1px solid #f97316;
    color: #f97316 !important;
    padding: 4px 24px;
    border-radius: 4px;
    font-size: 12px;
    height: 32px;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-update-orange:hover[b-9dk346nz5l] {
    background: #f97316;
    color: white !important;
}

.btn-tab[b-9dk346nz5l] {
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    color: var(--lc-slate-400);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-tab:hover[b-9dk346nz5l] {
    color: var(--lc-primary);
}

.btn-tab.active-tab[b-9dk346nz5l] {
    color: var(--lc-primary);
    border-bottom-color: var(--lc-primary);
    background: rgba(79, 70, 229, 0.05);
}

.hover-primary:hover[b-9dk346nz5l] {
    color: var(--lc-primary) !important;
}

.right-1[b-9dk346nz5l] {
    right: 1px !important;
    left: auto !important;
}

.left-1[b-9dk346nz5l] {
    left: 1px !important;
    right: auto !important;
}

.bg-specimen-active[b-9dk346nz5l] {
    background-color: #f0fdf4 !important;
    color: #166534 !important;
    font-weight: 700;
}

.ref-table[b-9dk346nz5l] {
    width: 100%;
    border-collapse: collapse;
}

.ref-table th[b-9dk346nz5l] {
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--lc-slate-400);
    text-transform: uppercase;
    border-bottom: 1px solid var(--lc-border);
}

.ref-table td[b-9dk346nz5l] {
    padding: 8px 12px;
    font-size: 13px;
    border-bottom: 1px solid var(--lc-slate-100);
}

.hover-slate-50:hover[b-9dk346nz5l] {
    background-color: var(--lc-slate-50);
}

.col-icon[b-9dk346nz5l] {
    width: 40px;
    text-align: center;
}

.col-sex[b-9dk346nz5l] {
    width: 100px;
}

/* ============================================================
   24.1 DIRECT MAPPING - TEST MASTER REFACTOR
   ============================================================ */
.tm-page-container[b-9dk346nz5l] {
    padding: 1.5rem;
    background: #f1f5f9;
    min-height: 100vh;
}

.tm-main-card[b-9dk346nz5l] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.tm-header-bar[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--lc-border);
    padding: 1.5rem;
}

.tm-actions-row[b-9dk346nz5l] {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.875rem;
}

.tm-action-label[b-9dk346nz5l] {
    font-weight: 600;
    color: var(--lc-slate-500);
    text-transform: uppercase;
}

.tm-action-item[b-9dk346nz5l] {
    color: var(--lc-primary);
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.tm-action-item:hover[b-9dk346nz5l] {
    opacity: 0.8;
}

.tm-profile-section[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tm-user-info[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.tm-user-details[b-9dk346nz5l] {
    text-align: right;
}

.tm-user-name[b-9dk346nz5l] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lc-slate-900);
}

.tm-user-role[b-9dk346nz5l] {
    font-size: 0.625rem;
    color: var(--lc-slate-500);
    text-transform: uppercase;
}

.tm-avatar-circle[b-9dk346nz5l] {
    width: 2.5rem;
    height: 2.5rem;
    background: #FFD1DC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #E83F6F;
    font-weight: 600;
}

.tm-section-inner[b-9dk346nz5l] {
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.tm-grid-layout-1[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.5fr 2fr 2fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tm-form-label-small[b-9dk346nz5l] {
    font-size: 0.65rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tm-input-accent[b-9dk346nz5l] {
    background-color: white !important;
    border: 1px solid var(--lc-primary) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    color: var(--lc-primary) !important;
    font-weight: 700;
    height: 48px !important;
}

.tm-input-muted[b-9dk346nz5l] {
    background-color: #f8fafc !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    height: 48px !important;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

textarea.tm-input-muted[b-9dk346nz5l] {
    height: auto !important;
    min-height: 80px !important;
    padding: 12px 16px !important;
    line-height: 1.5;
}

.tm-grid-layout-2[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.tm-special-ops[b-9dk346nz5l] {
    background: #fdfdfd;
    border: 1px dashed #e2e8f0;
    padding: 1rem;
    border-radius: 12px;
}

.tm-dropdown-box[b-9dk346nz5l] {
    position: absolute;
    top: 100%;
    left: 0;
    right: -150%;
    background: white;
    border: 1px solid var(--lc-primary);
    border-top: none;
    z-index: 100;
    max-height: 15rem;
    overflow-y: auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.tm-dropdown-row[b-9dk346nz5l] {
    display: flex;
    cursor: pointer;
    border-bottom: 1px solid var(--lc-border);
    font-size: 0.875rem;
}

.tm-dropdown-cell-primary[b-9dk346nz5l] {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border-right: 1px solid var(--lc-border);
    color: var(--lc-slate-900);
}

.tm-dropdown-cell-secondary[b-9dk346nz5l] {
    width: 150px;
    padding: 0.5rem 0.75rem;
    color: var(--lc-slate-500);
}

.tm-split-panel[b-9dk346nz5l] {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.tm-side-panel[b-9dk346nz5l] {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tm-content-panel[b-9dk346nz5l] {
    flex: 1;
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 1rem;
    padding: 1.5rem;
}

.tm-settings-hdr[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tm-footer-bar[b-9dk346nz5l] {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--lc-border);
}

.tm-btn-row[b-9dk346nz5l] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.tm-btn-row .lc-btn[b-9dk346nz5l] {
    height: 44px !important;
    padding: 0 24px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.tm-grid-layout-2[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.tm-special-ops[b-9dk346nz5l] {
    background: #fdfdfd;
    border: 1px dashed #e2e8f0;
    padding: 1.25rem;
    border-radius: 12px;
}

.tm-param-card[b-9dk346nz5l] {
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 12px;
    overflow: hidden;
}

.tm-param-header[b-9dk346nz5l] {
    background: #f8fafc;
    border-bottom: 1px solid var(--lc-border);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-param-list[b-9dk346nz5l] {
    padding: 0.5rem 0;
}

.tm-param-item[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.tm-param-check[b-9dk346nz5l] {
    width: 1.25rem;
    height: 1.25rem;
    background: var(--lc-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.tm-param-circle[b-9dk346nz5l] {
    width: 1.25rem;
    height: 1.25rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
}

.tm-tab-btn[b-9dk346nz5l] {
    background: transparent;
    border: none;
    padding: 0.75rem 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

.tm-tab-btn:hover[b-9dk346nz5l] {
    color: var(--lc-primary);
}

.tm-tab-btn.active-tab[b-9dk346nz5l] {
    color: var(--lc-primary);
    border-bottom-color: var(--lc-primary);
}

/* LC Section Dividers */
.lc-section-divider[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lc-divider-label[b-9dk346nz5l] {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.lc-divider-line[b-9dk346nz5l] {
    height: 1px;
    background: linear-gradient(to right, #e2e8f0, transparent);
    flex-grow: 1;
}

/* Input with Prefix Icons */
.input-with-icon[b-9dk346nz5l] {
    position: relative;
    display: flex;
    align-items: center;
}

.prefix-icon[b-9dk346nz5l] {
    position: absolute;
    left: 12px;
    font-size: 18px !important;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s;
}

.lab-input:focus+.prefix-icon[b-9dk346nz5l] {
    color: var(--lc-primary);
}

.pl-36[b-9dk346nz5l] {
    padding-left: 36px !important;
}

/* Select Wrapper Customization */
.lc-select-wrapper[b-9dk346nz5l] {
    position: relative;
}

.lc-select-wrapper[b-9dk346nz5l]::after {
    content: 'expand_more';
    font-family: 'Material Symbols Rounded';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 18px;
}

.lc-select-wrapper .lab-input[b-9dk346nz5l] {
    appearance: none;
    background-image: none !important;
    padding-right: 36px;
}

.h-40[b-9dk346nz5l] {
    height: 40px !important;
}

/* Container Master Image Specific Styles */
.image-preview-mt[b-9dk346nz5l] {
    margin-top: 8px;
    border-radius: 8px;
    overflow: hidden;
    width: 64px;
    height: 64px;
    border: 1px solid var(--lc-border);
}

.container-img-thumb[b-9dk346nz5l] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container-img-small[b-9dk346nz5l] {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--lc-border);
    background-color: white;
}

/* ============================================================
   BILLING PAGE STYLES
   ============================================================ */
.billing-page-wrapper[b-9dk346nz5l] {
    background-color: #f1f5f9;
    min-height: calc(100vh - 60px);
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    position: relative;
    padding-bottom: 80px;
    /* Space for bottom bar */
}

/* TOP HEADER */
.bl-header-bar[b-9dk346nz5l] {
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 6px 20px;
    /* Reduced vertical padding (header width) */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    gap: 20px;
    max-width: 100%;
}

.bl-header-item[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bl-label[b-9dk346nz5l] {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bl-value[b-9dk346nz5l] {
    font-size: 12px;
    color: #1e293b;
}

.bl-header-divider[b-9dk346nz5l] {
    width: 1px;
    height: 20px;
    background: #e2e8f0;
}

.bl-header-spacer[b-9dk346nz5l] {
    flex: 1;
}

.bl-system-status[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #059669;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.bl-status-dot[b-9dk346nz5l] {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 4px #10b981;
}

/* MAIN GRID */
.bl-main-grid[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 360px 1fr 280px;
    gap: 16px;
    padding: 16px 0;
    align-items: start;
}

/* CARDS COMMON */
.bl-card[b-9dk346nz5l] {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
}

.bl-card-title[b-9dk346nz5l] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.bl-card-title .material-symbols-outlined[b-9dk346nz5l] {
    font-size: 16px;
}

.text-blue[b-9dk346nz5l] {
    color: #4f46e5 !important;
}

.text-gray[b-9dk346nz5l] {
    color: #64748b !important;
}

.text-green[b-9dk346nz5l] {
    color: #059669 !important;
}

.text-red[b-9dk346nz5l] {
    color: #ef4444 !important;
}

.text-white[b-9dk346nz5l] {
    color: #ffffff !important;
}

.fw-600[b-9dk346nz5l] {
    font-weight: 600 !important;
}

.fw-700[b-9dk346nz5l] {
    font-weight: 700 !important;
}

.mt-12[b-9dk346nz5l] {
    margin-top: 10px !important;
}

.mt-16[b-9dk346nz5l] {
    margin-top: 14px !important;
}

.mb-16[b-9dk346nz5l] {
    margin-bottom: 14px !important;
}

.mb-20[b-9dk346nz5l] {
    margin-bottom: 16px !important;
}

.ml-16[b-9dk346nz5l] {
    margin-left: 12px !important;
}

.ml-24[b-9dk346nz5l] {
    margin-left: 18px !important;
}

.ml-32[b-9dk346nz5l] {
    margin-left: 24px !important;
}

.ml-auto[b-9dk346nz5l] {
    margin-left: auto !important;
}

.m-0[b-9dk346nz5l] {
    margin: 0 !important;
}

.py-4[b-9dk346nz5l] {
    padding-top: 12px;
    padding-bottom: 12px;
}

.flex-1[b-9dk346nz5l] {
    flex: 1;
}

.flex-2[b-9dk346nz5l] {
    flex: 2;
}

.text-center[b-9dk346nz5l] {
    text-align: center;
}

.text-right[b-9dk346nz5l] {
    text-align: right;
}

.text-sm[b-9dk346nz5l] {
    font-size: 11px !important;
}

.no-underline[b-9dk346nz5l] {
    text-decoration: none;
}

/* FORMS & INPUTS */
.bl-form-group[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bl-input-label[b-9dk346nz5l] {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bl-input[b-9dk346nz5l] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 11px;
    color: #1e293b;
    font-weight: 500;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
}

.bl-input:focus[b-9dk346nz5l] {
    border-color: #4f46e5;
    background: #ffffff;
}

.bl-input-with-icon[b-9dk346nz5l] {
    position: relative;
    display: flex;
    align-items: center;
}

.bl-input-with-icon .search-icon[b-9dk346nz5l] {
    position: absolute;
    left: 10px;
    font-size: 16px;
    color: #94a3b8;
    pointer-events: none;
}

.bl-input-with-icon .bl-input[b-9dk346nz5l] {
    padding-left: 30px;
}

.bl-select-wrapper[b-9dk346nz5l] {
    position: relative;
    width: 100%;
}

.bl-select-wrapper[b-9dk346nz5l]::after {
    content: 'expand_more';
    font-family: 'Material Symbols Outlined';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 16px;
}

.bl-select[b-9dk346nz5l] {
    appearance: none;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 30px 8px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #1e293b;
    width: 100%;
    outline: none;
}

.bl-select:focus[b-9dk346nz5l] {
    border-color: #4f46e5;
    background: #ffffff;
}

.bl-select.small[b-9dk346nz5l] {
    padding: 4px 30px 4px 10px;
}

/* PATIENT CARD SPECIFIC */
.bl-patient-badges[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.bl-segmented-control[b-9dk346nz5l] {
    display: inline-flex;
    background: #e2e8f0;
    border-radius: 6px;
    padding: 2px;
    gap: 2px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.bl-segment-btn[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 2px 8px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    height: 20px;
    line-height: 1;
}

.bl-segment-btn:hover[b-9dk346nz5l] {
    color: #0f172a;
}

.bl-segment-btn.active[b-9dk346nz5l] {
    background: #ffffff;
    color: #4f46e5;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.bl-segment-btn .material-symbols-outlined[b-9dk346nz5l] {
    font-size: 12px !important;
}

.bl-badge-paid[b-9dk346nz5l] {
    background: #10b981;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.bl-badge-uid[b-9dk346nz5l] {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.bl-gender-age-row[b-9dk346nz5l] {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.bl-gender-age-row>div:first-child[b-9dk346nz5l] {
    flex: 1 1 30% !important;
}

.bl-gender-age-row>div:last-child[b-9dk346nz5l] {
    flex: 2 1 70% !important;
}

.bl-gender-age-row .bl-select[b-9dk346nz5l] {
    height: 36px;
    box-sizing: border-box;
}

.bl-age-group[b-9dk346nz5l] {
    display: flex;
    gap: 8px;
}

.bl-age-box[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    height: 36px;
    padding: 0 8px;
    flex: 1;
    transition: all 0.2s;
}

.bl-age-box:focus-within[b-9dk346nz5l] {
    border-color: #4f46e5;
    background: #ffffff;
}

.bl-age-input[b-9dk346nz5l] {
    border: none;
    background: transparent;
    width: 24px;
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    outline: none;
    height: 100%;
    padding: 0;
}

.bl-age-lbl[b-9dk346nz5l] {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 2px;
}

.bl-patient-info-row[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bl-id-type-combo[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.bl-id-type-header[b-9dk346nz5l] {
    background: #4f46e5;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
    width: 60px;
    height: 28px;
    box-sizing: border-box;
}

.bl-id-type-header .bl-id-type-select[b-9dk346nz5l] {
    font-size: 10px;
    padding: 0 4px;
}

.bl-id-type-header .material-symbols-outlined[b-9dk346nz5l] {
    font-size: 14px !important;
    color: #ffffff;
}

.bl-id-label[b-9dk346nz5l] {
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.bl-id-input[b-9dk346nz5l] {
    border: none;
    background: #f8fafc;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #1e293b;
    outline: none;
}

.bl-more-info[b-9dk346nz5l] {
    font-size: 11px;
    color: #4f46e5;
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 2px;
}

/* REFERRAL CARD */
.bl-grid-2[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bl-grid-3[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.bl-hospital-combo[b-9dk346nz5l] {
    display: flex;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    height: 36px;
    box-sizing: border-box;
}

.bl-hospital-sel[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    border-right: 1px solid #e2e8f0;
    cursor: pointer;
    background: #f8fafc;
}

.bl-hospital-sel .material-symbols-outlined[b-9dk346nz5l] {
    font-size: 14px;
}

.bl-hospital-input[b-9dk346nz5l] {
    border: none;
    background: transparent;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 500;
    color: #1e293b;
    width: 100%;
    outline: none;
    height: 100%;
}

/* TESTS SELECTION CARD */
.bl-tests-header[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed #e2e8f0;
    padding-bottom: 12px;
}

.bl-tests-stats[b-9dk346nz5l] {
    display: flex;
    gap: 20px;
}

.stat-item[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-lbl[b-9dk346nz5l] {
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}

.stat-val[b-9dk346nz5l] {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
}

.bl-search-test-row[b-9dk346nz5l] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bl-input-with-icon.full-width[b-9dk346nz5l] {
    flex: 1;
}

.bl-btn-add[b-9dk346nz5l] {
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.bl-sample-grid-header[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 4px;
    border-bottom: 1px solid #e2e8f0;
}

.sg-title[b-9dk346nz5l] {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
}

.sg-action[b-9dk346nz5l] {
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

/* TABLE */
.bl-table-container[b-9dk346nz5l] {
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 6px 6px;
    overflow-y: auto;
    min-height: 280px;
    background: #ffffff;
}

.bl-table[b-9dk346nz5l] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.bl-table thead[b-9dk346nz5l] {
    background: #4f46e5;
    color: #ffffff;
}

.bl-table th[b-9dk346nz5l] {
    padding: 8px 10px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.5px;
}

.bl-table th:last-child[b-9dk346nz5l],
.bl-table td:last-child[b-9dk346nz5l] {
    text-align: center;
}

.bl-table td[b-9dk346nz5l] {
    padding: 8px 10px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.test-name[b-9dk346nz5l] {
    font-weight: 600;
    color: #1e293b;
}

.comm-text[b-9dk346nz5l] {
    font-weight: 600;
}

.hover-delete[b-9dk346nz5l] {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.hover-delete:hover[b-9dk346nz5l] {
    opacity: 1;
}

.bl-remarks-row[b-9dk346nz5l] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bl-report-date[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0 10px;
    height: 36px;
}

.bl-report-date .lbl[b-9dk346nz5l] {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    margin-right: 6px;
}

.bl-report-date .small-input[b-9dk346nz5l] {
    border: none;
    background: transparent;
    width: 70px;
    font-size: 11px;
    font-weight: 600;
    padding: 0;
    outline: none;
}

.bl-report-date .icon[b-9dk346nz5l] {
    color: #94a3b8;
    font-size: 16px;
    margin-left: 6px;
}

/* RIGHT COLUMN: Collection */
.c-header-row[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bl-toggle[b-9dk346nz5l] {
    position: relative;
    width: 36px;
    height: 20px;
}

.bl-toggle input[b-9dk346nz5l] {
    opacity: 0;
    width: 0;
    height: 0;
}

.bl-toggle label[b-9dk346nz5l] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.bl-toggle label[b-9dk346nz5l]:before {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bl-toggle input:checked+label[b-9dk346nz5l] {
    background: #4f46e5;
}

.bl-toggle input:checked+label[b-9dk346nz5l]:before {
    transform: translateX(16px);
}

.bl-area-row[b-9dk346nz5l] {
    display: flex;
    gap: 6px;
}

/* FINANCIAL SUMMARY */
.fin-title[b-9dk346nz5l] {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.fin-row[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #1e293b;
}

.fin-concession[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.conc-header[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
}

.conc-labels span[b-9dk346nz5l] {
    display: inline-block;
    width: 50px;
    text-align: center;
    background: #f1f5f9;
    border-radius: 4px;
    padding: 2px 0;
    margin-left: 6px;
}

.conc-inputs[b-9dk346nz5l] {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.conc-inputs .bl-input[b-9dk346nz5l] {
    width: 50px;
}

.fin-discount[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
}

.fin-net[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
}

.net-val[b-9dk346nz5l] {
    font-size: 16px;
    color: #4f46e5;
}

/* PAYMENT INTERFACE */
.payment-card[b-9dk346nz5l] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    position: relative;
    overflow: hidden;
    border: none;
}

.pay-bg-pattern[b-9dk346nz5l] {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 10.01%);
    background-size: 16px 16px;
    opacity: 0.5;
    pointer-events: none;
}

.pay-title-row[b-9dk346nz5l] {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #c7d2fe;
    position: relative;
    z-index: 1;
}

.pay-split-row[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    font-weight: 600;
    color: #e0e7ff;
}

.pay-add-btn[b-9dk346nz5l] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pay-mode-row[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 10px;
}

.pay-mode-lbl[b-9dk346nz5l] {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
}

.pay-input-wrap[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pay-input[b-9dk346nz5l] {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    width: 80px;
    text-align: right;
    outline: none;
}

.pay-check[b-9dk346nz5l] {
    font-size: 16px;
}

.pay-due-row[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 20px;
}

.due-title[b-9dk346nz5l] {
    font-size: 11px;
    font-weight: 700;
    color: #c7d2fe;
}

.due-sub[b-9dk346nz5l] {
    font-size: 9px;
    color: #818cf8;
}

.due-val[b-9dk346nz5l] {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

/* BOTTOM BAR */
.bl-bottom-bar[b-9dk346nz5l] {
    position: fixed;
    bottom: 0;
    left: 220px;
    /* offset by sidebar */
    right: 0;
    background: #ffffff;
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.03);
    z-index: 100;
}

.nav-collapsed~main .bl-bottom-bar[b-9dk346nz5l] {
    left: 68px;
    /* if sidebar matches this class structure */
}

.bbar-stats[b-9dk346nz5l] {
    display: flex;
    align-items: center;
}

.bbar-stat-item[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bbar-lbl[b-9dk346nz5l] {
    font-size: 8px;
    font-weight: 700;
    color: #94a3b8;
    line-height: 1.2;
}

.bbar-val[b-9dk346nz5l] {
    font-size: 16px;
    font-weight: 800;
}

.text-black[b-9dk346nz5l] {
    color: var(--lc-secondary) !important;
}

.bbar-printer[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 180px;
}

.bbar-printer label[b-9dk346nz5l] {
    font-size: 8px;
    font-weight: 700;
    color: #94a3b8;
}

.bbar-links[b-9dk346nz5l] {
    display: flex;
    align-items: center;
}

.bbar-actions[b-9dk346nz5l] {
    display: flex;
    gap: 8px;
}

/* ── LabCare Design System: Action Buttons ── */
.bl-btn[b-9dk346nz5l] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 18px;
    height: 36px;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    user-select: none;
    -webkit-font-smoothing: antialiased;
}

.bl-btn:active[b-9dk346nz5l] {
    transform: scale(0.96);
}

.bl-btn:disabled[b-9dk346nz5l],
.bl-btn[disabled][b-9dk346nz5l] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

/* SAVE — indigo primary */
.bl-btn-save[b-9dk346nz5l] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.bl-btn-save:hover:not(:disabled)[b-9dk346nz5l] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.45);
    transform: translateY(-1px);
}

/* CLEAR — rose danger */
.bl-btn-clear[b-9dk346nz5l] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.bl-btn-clear:hover:not(:disabled)[b-9dk346nz5l] {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.40);
    transform: translateY(-1px);
}

/* PRINT — slate neutral */
.bl-btn-print[b-9dk346nz5l] {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(71, 85, 105, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.bl-btn-print:hover:not(:disabled)[b-9dk346nz5l] {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    box-shadow: 0 4px 14px rgba(71, 85, 105, 0.35);
    transform: translateY(-1px);
}

/* ============================================================
   X. RATE PAGE
   ============================================================ */
.rate-container[b-9dk346nz5l] {
    background-color: #f8fafc;
    min-height: 100vh;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rate-header[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
}

.rate-header-title[b-9dk346nz5l] {
    color: #1e293b;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rate-header-radios[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
}

.rate-radio-label[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 11px;
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rate-radio-input[b-9dk346nz5l] {
    width: 12px;
    height: 12px;
    accent-color: #4f46e5;
}

.rate-main-card[b-9dk346nz5l] {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
}

.rate-form-grid[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.rate-form-col[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rate-form-group[b-9dk346nz5l] {
    display: flex;
    align-items: center;
}

.rate-form-group-gap[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rate-label[b-9dk346nz5l] {
    width: 8rem;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rate-label-small[b-9dk346nz5l] {
    width: 6rem;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rate-input[b-9dk346nz5l] {
    flex: 1;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    color: #1e293b;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
}

.rate-input:focus[b-9dk346nz5l] {
    background: white;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.rate-input-small[b-9dk346nz5l] {
    width: 4rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    color: #1e293b;
    font-weight: 600;
    outline: none;
    text-align: right;
    transition: all 0.2s ease;
}

.rate-input-small:focus[b-9dk346nz5l] {
    background: white;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.rate-radio-group[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.rate-radio-item[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 11px;
    color: #475569;
    font-weight: 600;
}

.rate-radio-item-input[b-9dk346nz5l] {
    width: 12px;
    height: 12px;
    accent-color: #4f46e5;
}

.rate-btn-default[b-9dk346nz5l] {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 16px;
    background: #f8fafc;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-btn-default:hover[b-9dk346nz5l] {
    background: #e2e8f0;
    color: #1e293b;
}

.rate-btn-set[b-9dk346nz5l] {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 16px;
    background: #ffffff;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-btn-set:hover[b-9dk346nz5l] {
    background: #f8fafc;
}

.rate-btn-set-blue[b-9dk346nz5l] {
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    background: #eff6ff;
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-btn-set-blue:hover[b-9dk346nz5l] {
    background: #dbeafe;
}

.rate-right-action-group[b-9dk346nz5l] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 8px;
}

.rate-nested-group[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.rate-btn-big[b-9dk346nz5l] {
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.rate-btn-big:hover[b-9dk346nz5l] {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.4);
}

.rate-grid-container[b-9dk346nz5l] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rate-grid-scroll[b-9dk346nz5l] {
    overflow: auto;
    max-height: calc(100vh - 340px);
}

.rate-grid-scroll[b-9dk346nz5l]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.rate-grid-scroll[b-9dk346nz5l]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.rate-grid-scroll[b-9dk346nz5l]::-webkit-scrollbar-track {
    background: transparent;
}

.rate-table[b-9dk346nz5l] {
    width: 100%;
    text-align: left;
    border-collapse: separate;
    border-spacing: 0;
    min-width: max-content;
}

.rate-table thead[b-9dk346nz5l] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f8fafc;
}

.rate-table th[b-9dk346nz5l] {
    padding: 10px 12px;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px dashed #e2e8f0;
}

.rate-table th:last-child[b-9dk346nz5l] {
    border-right: none;
}

.rate-table th.col-w-10[b-9dk346nz5l] {
    width: 3rem;
}

.rate-table th.col-w-12[b-9dk346nz5l] {
    width: 4rem;
}

.rate-table th.col-w-16[b-9dk346nz5l] {
    width: 4.5rem;
}

.rate-table th.col-w-24[b-9dk346nz5l] {
    width: 6rem;
}

.rate-table th.col-w-32[b-9dk346nz5l] {
    width: 8rem;
}

.rate-table th.text-center[b-9dk346nz5l] {
    text-align: center;
}

.rate-table th.text-right[b-9dk346nz5l] {
    text-align: right;
}

.rate-table tbody tr[b-9dk346nz5l] {
    transition: background-color 0.2s ease;
}

.rate-table td[b-9dk346nz5l] {
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
    border-right: 1px dashed #f1f5f9;
    color: #1e293b;
}

.rate-table td:last-child[b-9dk346nz5l] {
    border-right: none;
}

.rate-table tbody tr:hover:not(.rate-row-active)[b-9dk346nz5l] {
    background-color: #f8fafc;
}

.rate-table tbody tr.rate-row-active td[b-9dk346nz5l] {
    background: #eff6ff;
    color: #1e293b;
    border-bottom: 1px solid #bfdbfe;
    border-right: 1px dashed #bfdbfe;
}

.rate-table tbody tr.rate-row-active td:last-child[b-9dk346nz5l] {
    border-right: none;
}

.rate-table td.text-center[b-9dk346nz5l] {
    text-align: center;
}

.rate-table td.text-right[b-9dk346nz5l] {
    text-align: right;
}

.rate-table td.col-sno[b-9dk346nz5l] {
    font-weight: 700;
    color: #64748b;
    position: relative;
}

.rate-row-pointer[b-9dk346nz5l] {
    position: absolute;
    left: 4px;
    color: #4f46e5;
    font-size: 10px;
}

.rate-table td.col-group-name[b-9dk346nz5l],
.rate-table td.col-margin-type[b-9dk346nz5l] {
    color: #64748b;
    font-weight: 500;
}

.rate-table td.col-patient-rate[b-9dk346nz5l],
.rate-table td.col-special-amount[b-9dk346nz5l] {
    color: #4f46e5;
    font-weight: 700;
}

.rate-footer-actions[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 8px 0;
}

.rate-btn-footer[b-9dk346nz5l] {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 16px;
    background: white;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.rate-btn-footer:hover[b-9dk346nz5l] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.rate-btn-footer.wide[b-9dk346nz5l] {
    padding-left: 24px;
    padding-right: 24px;
}

.rate-btn-footer.primary[b-9dk346nz5l] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.rate-btn-footer.primary:hover[b-9dk346nz5l] {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.4);
    color: white;
}

.rate-btn-footer.danger[b-9dk346nz5l] {
    background: #ef4444;
    color: white;
    border: none;
}

.rate-btn-footer.danger:hover[b-9dk346nz5l] {
    background: #dc2626;
    color: white;
}

.cm-container[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    padding: 1rem 0;
}

.cm-col-1[b-9dk346nz5l] {
    grid-column: span 1;
}

.cm-col-2[b-9dk346nz5l] {
    grid-column: span 2;
}

.cm-col-3[b-9dk346nz5l] {
    grid-column: span 3;
}

.cm-col-4[b-9dk346nz5l] {
    grid-column: span 4;
}

.cm-col-5[b-9dk346nz5l] {
    grid-column: span 5;
}

.cm-col-6[b-9dk346nz5l] {
    grid-column: span 6;
}

.cm-col-7[b-9dk346nz5l] {
    grid-column: span 7;
}

.cm-col-8[b-9dk346nz5l] {
    grid-column: span 8;
}

.cm-col-9[b-9dk346nz5l] {
    grid-column: span 9;
}

.cm-col-10[b-9dk346nz5l] {
    grid-column: span 10;
}

.cm-col-11[b-9dk346nz5l] {
    grid-column: span 11;
}

.cm-col-12[b-9dk346nz5l] {
    grid-column: span 12;
}

.cm-field[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cm-field-inline[b-9dk346nz5l] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    width: 100%;
}

.cm-label-top[b-9dk346nz5l] {
    font-size: 0.75rem;
    /* 12px for smaller labels like screenshot */
    font-weight: 600;
    color: #7c8fa3;
    /* slate-500 - matches screenshot exactly */
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.cm-input[b-9dk346nz5l] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: #334155;
    width: 100%;
    outline: none;
    transition: all 0.2s ease;
    height: 2.5rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.cm-input[b-9dk346nz5l]::placeholder {
    color: #cbd5e1;
}

.cm-input:focus[b-9dk346nz5l] {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 0 0 2px rgba(200, 213, 225, 0.15);
}

/* Date input styling */
input[type="date"].cm-input[b-9dk346nz5l] {
    padding: 0.5rem 0.75rem;
}

input[type="date"].cm-input[b-9dk346nz5l]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    filter: invert(0.2);
}

select.cm-input[b-9dk346nz5l] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23cbd5e1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

.cm-flex-1[b-9dk346nz5l] {
    flex: 1;
}

/* Width utilities for different field sizes */
.cm-w-prefix[b-9dk346nz5l] {
    flex: 0 0 auto;
    width: 5.5rem;
}

.cm-w-initial[b-9dk346nz5l] {
    flex: 0 0 auto;
    width: 4.5rem;
}

.cm-w-age[b-9dk346nz5l] {
    flex: 0 0 auto;
    width: 2.75rem;
    /* 44px */
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
    text-align: center;
}

.cm-w-custcode[b-9dk346nz5l] {
    flex: 0 0 auto;
    width: 100px;
}

.cm-w-cardno[b-9dk346nz5l] {
    flex: 0 0 auto;
    width: 120px;
}

.cm-w-dob[b-9dk346nz5l] {
    flex: 0 0 auto;
    width: 100px;
}

.cm-w-gender[b-9dk346nz5l] {
    flex: 1 1 auto;
    min-width: 120px;
}

.cm-field-small[b-9dk346nz5l] {
    flex: 0 0 auto;
    width: 110px;
}

.cm-field-medium[b-9dk346nz5l] {
    flex: 1 1 auto;
    min-width: 150px;
    max-width: 200px;
}

.cm-field-large[b-9dk346nz5l] {
    flex: 2 1 auto;
    min-width: 250px;
}

.cm-file-upload[b-9dk346nz5l] {
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    padding: 1.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    background: #fafbfc;
    transition: all 0.2s ease;
}

.cm-file-upload:hover[b-9dk346nz5l] {
    background: #f3f4f6;
    border-color: #cbd5e1;
    color: #6b7280;
}

.cm-checkbox-label[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.cm-checkbox[b-9dk346nz5l] {
    width: 1.125rem;
    height: 1.125rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 0.375rem;
    cursor: pointer;
    accent-color: #4f46e5;
}

/* ============================================================
   9. SEARCH & FILTER INPUTS
   ============================================================ */
.search-input[b-9dk346nz5l] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    color: #1e293b;
    outline: none;
    width: 220px;
    transition: all 0.2s;
}

.search-input:focus[b-9dk346nz5l] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* ============================================================
   10. ALERT MESSAGES
   ============================================================ */
.alert-message[b-9dk346nz5l] {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
}

/* ============================================================
   11. CUSTOMER MASTER FORM - WIDTH UTILITIES
   ============================================================ */
.cm-w-custcode[b-9dk346nz5l] {
    width: 120px !important;
}

.cm-w-cardno[b-9dk346nz5l] {
    width: 200px !important;
}

.cm-w-dob[b-9dk346nz5l] {
    width: 100%;
}

.cm-w-gender[b-9dk346nz5l] {
    width: 100%;
}

/* ============================================================
   12. DIRECTORY SECTION
   ============================================================ */
.directory-section-form[b-9dk346nz5l] {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

/* ============================================================
   13. TABLE HEADERS
   ============================================================ */
.th-custcode[b-9dk346nz5l] {
    width: 64px;
}

.th-actions[b-9dk346nz5l] {
    width: 128px;
}

/* ============================================================
   14. MODAL FOOTER BUTTON ICONS
   ============================================================ */
.btn-icon-save[b-9dk346nz5l] {
    margin-right: 8px;
}

/* ============================================================
   15. CHECKBOX ROW SPACING
   ============================================================ */
.cm-checkbox-row[b-9dk346nz5l] {
    margin-top: 0.5rem;
}

/* ============================================================
   16. UNIT MASTER STYLES
   ============================================================ */
.um-grid-row[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.um-grid-cols-2[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.um-grid-cols-3[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

/* ============================================================
   25. IMAGE UPLOAD STYLES (CONTAINER MASTER)
   ============================================================ */
.image-upload-section[b-9dk346nz5l] {
    grid-column: 1 / -1;
}

.image-upload-empty[b-9dk346nz5l] {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 48px 24px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.image-upload-icon[b-9dk346nz5l] {
    width: 40px;
    height: 40px;
    color: #94a3b8;
    position: relative;
    z-index: 1;
}

.image-upload-text[b-9dk346nz5l] {
    text-align: center;
    position: relative;
    z-index: 1;
}

.image-upload-title[b-9dk346nz5l] {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 0;
}

.image-upload-subtitle[b-9dk346nz5l] {
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 0;
    display: none;
}

.image-upload-hint[b-9dk346nz5l] {
    font-size: 12px;
    color: #cbd5e1;
    display: none;
}

.image-upload-input[b-9dk346nz5l] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.image-upload-success[b-9dk346nz5l] {
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 24px;
    background: #f0fdf4;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}

.image-upload-status[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.image-upload-status-header[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.image-upload-status-icon[b-9dk346nz5l] {
    width: 18px;
    height: 18px;
    color: #10b981;
}

.image-upload-status-text[b-9dk346nz5l] {
    font-size: 13px;
    font-weight: 600;
    color: #10b981;
}

.image-upload-status-subtext[b-9dk346nz5l] {
    font-size: 11px;
    color: #059669;
}

.image-upload-preview[b-9dk346nz5l] {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #dcfce7;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.image-upload-actions[b-9dk346nz5l] {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}

.btn-remove-image[b-9dk346nz5l] {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-remove-image:hover[b-9dk346nz5l] {
    background-color: #fecaca;
    color: #991b1b;
}

.btn-remove-image-icon[b-9dk346nz5l] {
    width: 12px;
    height: 12px;
}

.sym-container[b-9dk346nz5l] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.sym-btn[b-9dk346nz5l] {
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sym-btn:hover[b-9dk346nz5l] {
    background-color: #6366f1;
    color: white;
    border-color: #6366f1;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.2);
}

.sym-btn:active[b-9dk346nz5l] {
    transform: translateY(0);
}

/* Unit Master specific styles extracted from inline css */
.um-label-row[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.um-label[b-9dk346nz5l] {
    margin-bottom: 0;
}

.um-error-text[b-9dk346nz5l] {
    font-size: 11px;
    font-weight: 500;
}

.symbol-helper-section[b-9dk346nz5l] {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.symbol-helper-header[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.symbol-title[b-9dk346nz5l] {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

.symbol-subtitle[b-9dk346nz5l] {
    font-size: 12px;
    color: #94a3b8;
    font-style: italic;
    margin-left: 8px;
}

.sym-btn-new[b-9dk346nz5l] {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.sym-btn-new:hover[b-9dk346nz5l] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: var(--lc-secondary);
}

/* ============================================================
   26. BILLING SEARCH DROPDOWN
   ============================================================ */
.bl-search-dropdown[b-9dk346nz5l] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 4px;
    animation: slideDownFade 0.2s ease-out;
}

.bl-search-item[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bl-search-item:hover[b-9dk346nz5l] {
    background: #f8fafc;
    padding-left: 20px;
}

.bl-search-item:last-child[b-9dk346nz5l] {
    border-bottom: none;
}

.bl-item-info[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bl-item-name[b-9dk346nz5l] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bl-item-meta[b-9dk346nz5l] {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.bl-item-date[b-9dk346nz5l] {
    font-size: 10px;
    font-weight: 700;
    color: #6366f1;
    background: #eef2ff;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
}

.bl-search-no-results[b-9dk346nz5l] {
    padding: 24px 16px;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- DUE COLLECTION SCREEN --- */
.dc-top-section[b-9dk346nz5l] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dc-type-header[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dc-type-radios[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dc-type-radios label[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
}

.dc-type-radios input[type="radio"][b-9dk346nz5l] {
    width: 18px;
    height: 18px;
    accent-color: #4f46e5;
    cursor: pointer;
}

.dc-filter-btn[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.dc-panels-wrapper[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.dc-panel[b-9dk346nz5l] {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.dc-panel-row[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.dc-panel-row.cols-2[b-9dk346nz5l] {
    grid-template-columns: 1fr 1fr;
}

.dc-panel-row.cols-3[b-9dk346nz5l] {
    grid-template-columns: 1fr 1fr 1fr;
}

.dc-form-group[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
}

.dc-form-group label[b-9dk346nz5l] {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dc-input[b-9dk346nz5l] {
    width: 100%;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dc-input:focus[b-9dk346nz5l] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

select.dc-input[b-9dk346nz5l] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.dc-search-btn-wrapper[b-9dk346nz5l] {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.dc-btn-search[b-9dk346nz5l] {
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    height: 40px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dc-btn-search:hover[b-9dk346nz5l] {
    background-color: #4338ca;
}

/* Bottom Card */
.dc-bottom-section[b-9dk346nz5l] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dc-actions-bar[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    width: 100%;
}

.dc-actions-left-group[b-9dk346nz5l] {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    flex: 1;
    min-width: 280px;
}

.dc-actions-right-group[b-9dk346nz5l] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.dc-search-input-container[b-9dk346nz5l] {
    position: relative;
    width: 240px;
}

.dc-search-input-container svg[b-9dk346nz5l] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.dc-search-input-container input[b-9dk346nz5l] {
    width: 100%;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px 0 36px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
}

.dc-search-input-container input:focus[b-9dk346nz5l] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.dc-filter-circle-btn[b-9dk346nz5l] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dc-filter-circle-btn:hover[b-9dk346nz5l] {
    background: #f8fafc;
    color: #4f46e5;
    border-color: #cbd5e1;
}

.dc-btn-auto-select[b-9dk346nz5l] {
    color: #4f46e5;
    font-weight: 700;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 8px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.dc-btn-auto-select:hover:not(:disabled)[b-9dk346nz5l] {
    color: #312e81;
}

.dc-btn-auto-select:disabled[b-9dk346nz5l] {
    color: #cbd5e1;
    cursor: not-allowed;
}

.dc-btn-save[b-9dk346nz5l] {
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.15);
}

.dc-btn-save:hover:not(:disabled)[b-9dk346nz5l] {
    background-color: #4338ca;
}

.dc-btn-save:disabled[b-9dk346nz5l] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Table */
.dc-table-wrapper[b-9dk346nz5l] {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 24px;
}

.dc-table[b-9dk346nz5l] {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.dc-table th[b-9dk346nz5l] {
    background: #f8fafc;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.dc-table td[b-9dk346nz5l] {
    padding: 12px 16px;
    font-size: 13px;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.dc-table tr:last-child td[b-9dk346nz5l] {
    border-bottom: none;
}

.dc-table input[type="text"][b-9dk346nz5l],
.dc-table input[type="number"][b-9dk346nz5l] {
    width: 80px;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 13px;
    text-align: right;
}

.dc-table input[type="checkbox"][b-9dk346nz5l] {
    width: 16px;
    height: 16px;
    accent-color: #4f46e5;
    cursor: pointer;
}

.text-red[b-9dk346nz5l] {
    color: #ef4444;
    font-weight: 600;
}

.font-bold[b-9dk346nz5l] {
    font-weight: 700;
}

.text-slate[b-9dk346nz5l] {
    color: #64748b;
}

/* Footers */
.dc-footers[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.dc-footer-card[b-9dk346nz5l] {
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.dc-footer-icon[b-9dk346nz5l] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dc-footer-icon.red[b-9dk346nz5l] {
    background: #fee2e2;
    color: #ef4444;
}

.dc-footer-icon.blue[b-9dk346nz5l] {
    background: #e0e7ff;
    color: #3b82f6;
}

.dc-footer-icon.green[b-9dk346nz5l] {
    background: #dcfce3;
    color: #22c55e;
}

.dc-footer-icon.gray[b-9dk346nz5l] {
    background: #f1f5f9;
    color: #64748b;
}

.dc-footer-info label[b-9dk346nz5l] {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.dc-footer-info .value[b-9dk346nz5l] {
    font-size: 20px;
    font-weight: 700;
    color: var(--lc-secondary);
}

/* ============================================================
   DUE COLLECTION HISTORY
   ============================================================ */
.filter-body-anim[b-9dk346nz5l] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.filter-body-anim.open[b-9dk346nz5l] {
    grid-template-rows: 1fr;
    opacity: 1;
}

.filter-body-anim.closed[b-9dk346nz5l] {
    grid-template-rows: 0fr;
    opacity: 0;
}

.filter-body-inner[b-9dk346nz5l] {
    overflow: hidden;
}

.dch-filter-card[b-9dk346nz5l] {
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dch-row[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    align-items: flex-end;
}

.dch-row-2[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dch-form-group[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dch-label[b-9dk346nz5l] {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.dch-input[b-9dk346nz5l] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    background: #f8fafc;
    outline: none;
    color: #334155;
    transition: border-color 0.2s, background-color 0.2s;
}

.dch-input:focus[b-9dk346nz5l] {
    border-color: #4f46e5;
    background: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.dch-actions[b-9dk346nz5l] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

/* ── LabCare Design System: Page-level Buttons (dch) ── */
.dch-btn-search[b-9dk346nz5l] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 20px;
    background: #ffffff;
    color: #334155;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    user-select: none;
}

.dch-btn-search:hover[b-9dk346nz5l] {
    background: #f8fafc;
    border-color: #94a3b8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dch-btn-search:active[b-9dk346nz5l] {
    transform: scale(0.97);
}

.dch-btn-print[b-9dk346nz5l] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 20px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    user-select: none;
}

.dch-btn-print:hover[b-9dk346nz5l] {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.40);
    transform: translateY(-1px);
}

.dch-btn-print:active[b-9dk346nz5l] {
    transform: scale(0.97);
}

.master-search-item-title[b-9dk346nz5l] {
    font-weight: 600;
    font-size: 13px;
    color: #1e293b;
}

.master-search-item-subtitle[b-9dk346nz5l] {
    font-size: 11px;
    color: #64748b;
}

/* Extra classes for DueCollectionHistory UI */
.dch-page-container[b-9dk346nz5l] {
    padding: 32px;
    background-color: #f8fafc;
    min-height: calc(100vh - 64px);
}

.dch-header-margin[b-9dk346nz5l] {
    margin-bottom: 24px;
}

.dch-filter-toggle-container[b-9dk346nz5l] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.dch-btn-filter-toggle[b-9dk346nz5l] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 16px;
    background: #ffffff;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    user-select: none;
}

.dch-btn-filter-toggle:hover[b-9dk346nz5l] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

.dch-btn-filter-toggle:active[b-9dk346nz5l] {
    transform: scale(0.97);
}

.dch-grid-2-cols[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dch-table-wrapper[b-9dk346nz5l] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    padding: 24px;
    margin-bottom: 24px;
}

.dch-table-inner[b-9dk346nz5l] {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.dch-table[b-9dk346nz5l] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 11.5px;
}

.dch-table-thead[b-9dk346nz5l] {
    background: #4169e1;
    border-bottom: 1px solid #2e4cad;
}

.dch-table-th[b-9dk346nz5l] {
    padding: 8px 10px;
    font-size: 10.5px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.dch-table-th-center[b-9dk346nz5l] {
    padding: 8px 10px;
    font-size: 10.5px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    text-align: center;
}

.dch-table-tr[b-9dk346nz5l] {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.dch-table-td[b-9dk346nz5l] {
    padding: 8px 10px;
    color: #64748b;
}

.dch-table-td-bold[b-9dk346nz5l] {
    padding: 8px 10px;
    font-weight: 600;
    color: #334155;
}

.dch-table-td-blue[b-9dk346nz5l] {
    padding: 8px 10px;
    font-weight: 700;
    color: #2563eb;
}

.dch-table-td-dark[b-9dk346nz5l] {
    padding: 8px 10px;
    font-weight: 700;
    color: #1e293b;
}

.dch-table-td-center[b-9dk346nz5l] {
    padding: 8px 10px;
    text-align: center;
}

.dch-btn-tr-icon[b-9dk346nz5l],
.dch-btn-tr-icon-danger[b-9dk346nz5l] {
    background: none;
    border: none;
    color: #4f46e5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    outline: none;
    transition: all 0.2s;
    padding: 4px;
    border-radius: 4px;
}

.dch-btn-tr-icon:hover[b-9dk346nz5l] {
    background: #f1f5f9;
    color: #312e81;
}

.dch-btn-tr-icon-danger[b-9dk346nz5l] {
    color: #ef4444;
}

.dch-btn-tr-icon-danger:hover[b-9dk346nz5l] {
    background: #fee2e2;
    color: #991b1b;
}

.dch-btn-tr-icon .material-symbols-outlined[b-9dk346nz5l],
.dch-btn-tr-icon-danger .material-symbols-outlined[b-9dk346nz5l] {
    font-size: 18px !important;
}

.dch-table-empty[b-9dk346nz5l] {
    text-align: center;
    padding: 32px;
    color: #64748b;
    font-size: 14px;
}

.dch-footer-summary[b-9dk346nz5l] {
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.dch-summary-card[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: #f0fdf4;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #dcfce3;
    min-width: 250px;
}

.dch-summary-icon[b-9dk346nz5l] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: white;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(22, 163, 74, 0.1);
}

.dch-summary-content[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dch-summary-label[b-9dk346nz5l] {
    font-size: 11px;
    font-weight: 800;
    color: #14532d;
    text-transform: uppercase;
}

.dch-summary-value[b-9dk346nz5l] {
    font-size: 24px;
    font-weight: 800;
    color: #052e16;
}

/* ============================================================
   DUE COLLECTION
   ============================================================ */
.filter-types-anim[b-9dk346nz5l] {
    transition: max-width 0.4s ease-in-out, opacity 0.3s ease-in-out, margin 0.4s ease-in-out;
    overflow: hidden;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.filter-types-anim.open[b-9dk346nz5l] {
    max-width: 600px;
    opacity: 1;
}

.filter-types-anim.closed[b-9dk346nz5l] {
    max-width: 0;
    opacity: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
}

.dc-pagination-footer[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    padding-top: 16px;
    margin-bottom: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   27. NAVIGATION MENU (SUBMENUS)
   ============================================================ */
.nav-submenu-btn[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    color: #475569;
    background: transparent;
    border: none;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    justify-content: space-between;
}

.nav-submenu-btn:hover[b-9dk346nz5l] {
    background-color: rgba(99, 102, 241, 0.08);
    color: #1e293b;
}

.nav-submenu-icon[b-9dk346nz5l] {
    font-size: 16px !important;
    transition: transform 0.3s ease;
}

.nav-submenu-icon.is-expanded[b-9dk346nz5l] {
    transform: rotate(90deg);
}

.nav-submenu-items[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
    padding-left: 28px;
    border-left: 1px solid #e2e8f0;
    margin-left: 20px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-submenu-items.is-expanded[b-9dk346nz5l] {
    max-height: 800px;
}

.v-nav-link.submenu-item[b-9dk346nz5l] {
    font-size: 11.5px;
    padding: 7px 12px;
}

.nav-collapsed .nav-submenu-btn[b-9dk346nz5l] {
    justify-content: center;
    padding: 12px;
}

.nav-collapsed .nav-submenu-icon[b-9dk346nz5l] {
    display: none;
}

.nav-collapsed .nav-submenu-items[b-9dk346nz5l] {
    display: none;
}

/* ============================================================
   28. BILLING PAGE
   ============================================================ */
.billing-page-wrapper[b-9dk346nz5l] {
    padding: 24px;
    background-color: #f8fafc;
    min-height: 100vh;
}

.bl-header-bar[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    background: white;
    padding: 12px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    max-width: 100%;
}

.bl-header-item[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.bl-label[b-9dk346nz5l] {
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.bl-select[b-9dk346nz5l] {
    border: none;
    font-weight: 700;
    color: #1e293b;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    outline: none;
}

.bl-card[b-9dk346nz5l] {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.bl-card:hover[b-9dk346nz5l] {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.bl-card-title[b-9dk346nz5l] {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.bl-input[b-9dk346nz5l] {
    width: 100%;
    height: 42px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 16px;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.2s;
}

.bl-input:focus[b-9dk346nz5l] {
    background: white;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* bl-btn-save override for finance section — inherits from .bl-btn above */
.bl-btn-save[b-9dk346nz5l] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 0 28px;
    height: 38px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.bl-btn-save:hover[b-9dk346nz5l] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.45);
    transform: translateY(-1px);
}

.finance-card[b-9dk346nz5l] {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.pay-val[b-9dk346nz5l] {
    font-size: 24px;
    font-weight: 900;
    color: #1e293b;
}

.payment-card[b-9dk346nz5l] {
    background: linear-gradient(135deg, #1e293b 0%, var(--lc-secondary) 100%);
    color: white;
}

/* ============================================================
   29. MODIFY TEST MASTER
   ============================================================ */
.tm-page-container[b-9dk346nz5l] {
    padding: 32px;
    background: #f1f5f9;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.tm-main-card[b-9dk346nz5l] {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.tm-header-grid[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 0.5fr 2fr 1.2fr 1fr 1fr 0.8fr 0.5fr 0.8fr;
    gap: 16px;
    margin-bottom: 24px;
}

.tm-flags-container[b-9dk346nz5l] {
    background: #f8fafc;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.tm-flags-grid[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tm-split-panel[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 32px;
}

.tm-param-card[b-9dk346nz5l] {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tm-param-header[b-9dk346nz5l] {
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-param-item[b-9dk346nz5l] {
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.active-param[b-9dk346nz5l] {
    background: #eff6ff !important;
    border-left: 4px solid #2563eb;
}

.tm-red-header[b-9dk346nz5l] {
    background: #ef4444;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.tm-tab-btn[b-9dk346nz5l] {
    background: none;
    border: none;
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.1em;
    padding-bottom: 12px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    margin-right: 32px;
}

.active-tab[b-9dk346nz5l] {
    color: #6366f1;
    border-bottom-color: #6366f1;
}

.tm-footer-bar[b-9dk346nz5l] {
    padding: 20px 32px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-form-label-tiny[b-9dk346nz5l] {
    font-size: 9px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
    display: block;
}

.tm-subtab-bar[b-9dk346nz5l] {
    padding: 0 32px;
    border-top: 1px solid #e2e8f0;
}

/* ============================================================
   30. CUSTOMER MASTER
   ============================================================ */
.cm-input option[b-9dk346nz5l] {
    color: #1e293b !important;
    background: #ffffff !important;
}

/* ============================================================
   31. RECONNECT MODAL
   ============================================================ */
#components-reconnect-modal[b-9dk346nz5l] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-9dk346nz5l 0.5s both;
}

#components-reconnect-modal[open][b-9dk346nz5l] {
    animation: components-reconnect-modal-slideUp-b-9dk346nz5l 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-9dk346nz5l 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-9dk346nz5l]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-9dk346nz5l 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-9dk346nz5l {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-9dk346nz5l {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-9dk346nz5l {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-9dk346nz5l] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-9dk346nz5l] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

#components-reconnect-modal button:hover[b-9dk346nz5l] {
    background-color: #3b6ea2;
}

.components-rejoining-animation[b-9dk346nz5l] {
    position: relative;
    width: 80px;
    height: 80px;
}

.components-rejoining-animation div[b-9dk346nz5l] {
    position: absolute;
    border: 3px solid #0087ff;
    opacity: 1;
    border-radius: 50%;
    animation: components-rejoining-animation-b-9dk346nz5l 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-9dk346nz5l] {
    animation-delay: -0.5s;
}

@keyframes components-rejoining-animation-b-9dk346nz5l {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}


.dc-type-label[b-9dk346nz5l] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.dc-type-radio-label[b-9dk346nz5l] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
}

.dc-type-radio-input[b-9dk346nz5l] {
    width: 16px;
    height: 16px;
    accent-color: #4f46e5;
    margin: 0;
    cursor: pointer;
}

.dc-panel-inner[b-9dk346nz5l] {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    margin-bottom: 20px;
}

.dc-panel-type-container[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 20px;
}

.dc-actions-group[b-9dk346nz5l] {
    display: flex;
    gap: 16px;
    min-width: 300px;
}

.dc-actions-select[b-9dk346nz5l] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    background: white;
    outline: none;
}

.dc-actions-input[b-9dk346nz5l] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    background: white;
    outline: none;
}

.dc-table-thead[b-9dk346nz5l] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.dc-table-tr[b-9dk346nz5l] {
    border-bottom: 1px solid #f1f5f9;
}

.dc-table-th-checkbox[b-9dk346nz5l] {
    width: 48px;
    padding: 12px 16px;
}

.dc-table-checkbox[b-9dk346nz5l] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
}

.dc-table-td[b-9dk346nz5l] {
    padding: 12px 16px;
}

.dc-table-td-bold[b-9dk346nz5l] {
    padding: 12px 16px;
    font-weight: 700;
}

.dc-table-td-number[b-9dk346nz5l] {
    width: 80px;
    text-align: right;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 4px 8px;
}

.dc-search-input[b-9dk346nz5l] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 36px 8px 12px;
    font-size: 14px;
    background: white;
    outline: none;
}



.dc-footers-container[b-9dk346nz5l] {
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.dc-footer-card-inner[b-9dk346nz5l] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.dc-empty-row[b-9dk346nz5l] {
    text-align: center;
    padding: 20px;
    color: #64748b;
}

/* ============================================================
   32. GLOBAL UTILITY CLASSES (LC-*)
   ============================================================ */
.lc-flex-between-center[b-9dk346nz5l] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.lc-mb-0[b-9dk346nz5l] {
    margin-bottom: 0 !important;
}

.lc-mb-4[b-9dk346nz5l] {
    margin-bottom: 4px !important;
}

.lc-font-11[b-9dk346nz5l] {
    font-size: 11px !important;
}

.lc-font-14[b-9dk346nz5l] {
    font-size: 14px !important;
}

.lc-font-16[b-9dk346nz5l] {
    font-size: 16px !important;
}

.lc-font-500[b-9dk346nz5l] {
    font-weight: 500 !important;
}

.lc-font-700[b-9dk346nz5l] {
    font-weight: 700 !important;
}

.lc-cursor-pointer[b-9dk346nz5l] {
    cursor: pointer !important;
}

.lc-grid-span-2[b-9dk346nz5l] {
    grid-column: span 2 !important;
}

.lc-overflow-auto-max-480[b-9dk346nz5l] {
    max-height: 480px !important;
    overflow-y: auto !important;
}

.lc-text-uppercase[b-9dk346nz5l] {
    text-transform: uppercase !important;
}

.lc-letter-spacing-05[b-9dk346nz5l] {
    letter-spacing: 0.5px !important;
}

.lc-bg-none[b-9dk346nz5l] {
    background: none !important;
}

.lc-border-slate[b-9dk346nz5l] {
    border: 1px solid #e2e8f0 !important;
}

.lc-width-100[b-9dk346nz5l] {
    width: 100px !important;
}

.lc-position-relative[b-9dk346nz5l] {
    position: relative !important;
}

.lc-top-100[b-9dk346nz5l] {
    top: 100% !important;
}

.lc-left-0[b-9dk346nz5l] {
    left: 0 !important;
}

.lc-right-0[b-9dk346nz5l] {
    right: 0 !important;
}

.lc-bg-success-light[b-9dk346nz5l] {
    background: rgba(34, 197, 94, 0.1) !important;
}

.lc-bg-danger-light[b-9dk346nz5l] {
    background: rgba(239, 68, 68, 0.1) !important;
}

.lc-status-pill[b-9dk346nz5l] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 10px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
}

.lc-status-pill-success[b-9dk346nz5l] {
    background: #ecfdf5 !important;
    color: #059669 !important;
}

.lc-status-pill-danger[b-9dk346nz5l] {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

.lc-dot[b-9dk346nz5l] {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

.lc-dot-success[b-9dk346nz5l] {
    background: #059669 !important;
}

.lc-dot-danger[b-9dk346nz5l] {
    background: #dc2626 !important;
}

.lc-font-13[b-9dk346nz5l] {
    font-size: 13px !important;
}

.lc-color-slate-500[b-9dk346nz5l] {
    color: #64748b !important;
}

.lc-text-blue[b-9dk346nz5l] {
    color: #2563eb !important;
}

.lc-text-white[b-9dk346nz5l] {
    color: white !important;
}

.lc-text-red[b-9dk346nz5l] {
    color: #ef4444 !important;
}

.lc-search-input[b-9dk346nz5l] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 8px 16px 8px 36px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    outline: none !important;
    width: 220px !important;
}

.lc-alert[b-9dk346nz5l] {
    margin: 20px 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-textarea[b-9dk346nz5l] {
    height: auto !important;
    min-height: 80px !important;
}

.lc-mr-8[b-9dk346nz5l] {
    margin-right: 8px !important;
}

.lc-mr-4[b-9dk346nz5l] {
    margin-right: 4px !important;
}

.lc-font-10[b-9dk346nz5l] {
    font-size: 10px !important;
}

.lc-font-12[b-9dk346nz5l] {
    font-size: 12px !important;
}

.lc-mt-neg-4[b-9dk346nz5l] {
    margin-top: -4px !important;
}

.lc-initials-avatar[b-9dk346nz5l] {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #eef2ff !important;
    color: #4f46e5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 11px !important;
}

.lc-m-0[b-9dk346nz5l] {
    margin: 0 !important;
}

.lc-mt-3[b-9dk346nz5l] {
    margin-top: 3px !important;
}

.lc-mt-2[b-9dk346nz5l] {
    margin-top: 2px !important;
}

.lc-max-width-150-ellipsis[b-9dk346nz5l] {
    max-width: 150px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.lc-pt-0[b-9dk346nz5l] {
    padding-top: 0 !important;
}

.lc-shadow-none[b-9dk346nz5l] {
    box-shadow: none !important;
}

.lc-border-none[b-9dk346nz5l] {
    border: none !important;
}

.lc-flex-start[b-9dk346nz5l] {
    display: flex !important;
    justify-content: flex-start !important;
}

.lc-gap-16[b-9dk346nz5l] {
    gap: 16px !important;
}

.lc-flex-center-inline[b-9dk346nz5l] {
    display: inline-flex !important;
    align-items: center !important;
}

.lc-gap-6[b-9dk346nz5l] {
    gap: 6px !important;
}

.lc-bg-slate-50[b-9dk346nz5l] {
    background: #f8fafc !important;
}

.lc-rounded-8[b-9dk346nz5l] {
    border-radius: 8px !important;
}

.lc-color-slate-800[b-9dk346nz5l] {
    color: #1e293b !important;
}

.lc-mb-12[b-9dk346nz5l] {
    margin-bottom: 12px !important;
}

.lc-gap-8[b-9dk346nz5l] {
    gap: 8px !important;
}

.lc-marker-icon-purple[b-9dk346nz5l] {
    font-size: 18px !important;
    color: #4f46e5 !important;
}

.lc-alert-info[b-9dk346nz5l] {
    background: #eff6ff !important;
    border: 1px solid #3b82f6 !important;
    color: #1e40af !important;
    border-left-width: 4px !important;
    border-radius: 8px !important;
}

.lc-text-blue-500[b-9dk346nz5l] {
    color: #3b82f6 !important;
}

.lc-color-indigo-900[b-9dk346nz5l] {
    color: #1e3a8a !important;
}

.lc-alert-warning[b-9dk346nz5l] {
    background: #fffbeb !important;
    border: 1px solid #f59e0b !important;
    color: #92400e !important;
    border-left-width: 4px !important;
    border-radius: 8px !important;
}

.lc-text-orange-500[b-9dk346nz5l] {
    color: #f59e0b !important;
}

.lc-color-orange-900[b-9dk346nz5l] {
    color: #78350f !important;
}

.lc-color-slate-400[b-9dk346nz5l] {
    color: #94a3b8 !important;
}

.lc-p-10[b-9dk346nz5l] {
    padding: 10px !important;
}

.lc-checkbox-scroll-container[b-9dk346nz5l] {
    max-height: 100px !important;
    overflow-y: auto !important;
    border: 1px solid #e2e8f0 !important;
    padding: 6px !important;
    border-radius: 4px !important;
    background: white !important;
}

.lc-btn-indigo-sm[b-9dk346nz5l] {
    padding: 4px 12px !important;
    height: auto !important;
    font-size: 12px !important;
    background: #4f46e5 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}

.lc-bg-indigo-50[b-9dk346nz5l] {
    background: #eef2ff !important;
}

.lc-border-indigo-200[b-9dk346nz5l] {
    border: 1px solid #c7d2fe !important;
}

.lc-mx-neg-5[b-9dk346nz5l] {
    margin-left: -5px !important;
    margin-right: -5px !important;
}

.lc-color-indigo-700[b-9dk346nz5l] {
    color: #4338ca !important;
}

.lc-font-800[b-9dk346nz5l] {
    font-weight: 800 !important;
}

.lc-color-indigo-800[b-9dk346nz5l] {
    color: #1e40af !important;
}

.lc-block[b-9dk346nz5l] {
    display: block !important;
}

.lc-grid-auto-fill-180[b-9dk346nz5l] {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
}

.lc-overflow-auto-max-150[b-9dk346nz5l] {
    max-height: 150px !important;
    overflow-y: auto !important;
}

.lc-mapping-tag[b-9dk346nz5l] {
    background: #eef2ff !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.lc-gap-2[b-9dk346nz5l] {
    gap: 2px !important;
}

.lc-color-blue-400[b-9dk346nz5l] {
    color: #60a5fa !important;
}

.lc-btn-cancel-icon[b-9dk346nz5l] {
    color: #f87171 !important;
    border: none !important;
    background: transparent !important;
    padding: 0 4px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
}

.lc-pt-16[b-9dk346nz5l] {
    padding-top: 16px !important;
}

.lc-rounded-t-0[b-9dk346nz5l] {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.lc-width-80[b-9dk346nz5l] {
    width: 80px !important;
}

.lc-color-slate-600[b-9dk346nz5l] {
    color: #475569 !important;
}

.lc-search-input-field-custom[b-9dk346nz5l] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 8px 16px 8px 36px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    outline: none !important;
    width: 220px !important;
}

.lc-role-filter-select[b-9dk346nz5l] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    outline: none !important;
}

.lc-alert-danger-custom[b-9dk346nz5l] {
    margin: 20px 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-modal-max-700[b-9dk346nz5l] {
    max-width: 700px !important;
}

.lc-alert-danger-sm[b-9dk346nz5l] {
    padding: 10px 15px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
}

.lc-text-danger[b-9dk346nz5l] {
    color: #ef4444 !important;
}

.lc-relative[b-9dk346nz5l] {
    position: relative !important;
}

.lc-pr-40[b-9dk346nz5l] {
    padding-right: 40px !important;
}

.lc-pwd-toggle-btn[b-9dk346nz5l] {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
}

.lc-width-fit[b-9dk346nz5l] {
    width: fit-content !important;
}

.lc-mt-0[b-9dk346nz5l] {
    margin-top: 0 !important;
}

.lc-mt-16[b-9dk346nz5l] {
    margin-top: 16px !important;
}

.lc-mt-8[b-9dk346nz5l] {
    margin-top: 8px !important;
}

.lc-p-8-18[b-9dk346nz5l] {
    padding: 8px 18px !important;
}

.lc-vertical-middle[b-9dk346nz5l] {
    vertical-align: middle !important;
}

.lc-mr-4[b-9dk346nz5l] {
    margin-right: 4px !important;
}

.lc-color-green-500[b-9dk346nz5l] {
    color: #22c55e !important;
}

.lc-mr-6[b-9dk346nz5l] {
    margin-right: 6px !important;
}

.lc-animate-spin[b-9dk346nz5l] {
    animation: spin 1s linear infinite !important;
}

.lc-avatar-initials-mini[b-9dk346nz5l] {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #e0e7ff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #4f46e5 !important;
    flex-shrink: 0 !important;
}

.lc-color-orange-500[b-9dk346nz5l] {
    color: #f59e0b !important;
}

.lc-width-120[b-9dk346nz5l] {
    width: 120px !important;
}

.lc-role-badge[b-9dk346nz5l] {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    display: inline-block !important;
}

.lc-role-badge-admin[b-9dk346nz5l] {
    background: #ede9fe !important;
    color: #7c3aed !important;
}

.lc-role-badge-staff[b-9dk346nz5l] {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
}

.lc-role-badge-labtech[b-9dk346nz5l] {
    background: #dcfce7 !important;
    color: #15803d !important;
}

.lc-role-badge-receptionist[b-9dk346nz5l] {
    background: #fef9c3 !important;
    color: #b45309 !important;
}

.lc-role-badge-unknown[b-9dk346nz5l] {
    background: #f1f5f9 !important;
    color: #64748b !important;
}

.lc-status-pill-gray[b-9dk346nz5l] {
    background: rgba(15, 23, 42, 0.05) !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    cursor: pointer !important;
    gap: 10px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
}

.lc-status-dot-green[b-9dk346nz5l] {
    background: #10b981 !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
}

.lc-dropdown-pos-top-100[b-9dk346nz5l] {
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
}

.lc-toast-success[b-9dk346nz5l] {
    border: 1px solid #16a34a !important;
    padding: 6px 8px !important;
    display: block !important;
    border-radius: 6px !important;
    background: #f0fdf4 !important;
}

.lc-gap-10[b-9dk346nz5l] {
    gap: 10px !important;
}

.lc-height-40[b-9dk346nz5l] {
    height: 40px !important;
}

.lc-width-64[b-9dk346nz5l] {
    width: 64px !important;
}

.lc-width-128[b-9dk346nz5l] {
    width: 128px !important;
}

.lc-p-48[b-9dk346nz5l] {
    padding: 48px !important;
}

.lc-italic[b-9dk346nz5l] {
    font-style: italic !important;
}

.lc-font-mono[b-9dk346nz5l] {
    font-family: monospace !important;
}

.lc-color-slate-900[b-9dk346nz5l] {
    color: #1e293b !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   VIEW BILLS PAGE STYLES
   ───────────────────────────────────────────────────────────────────────── */
.view-bills-page[b-9dk346nz5l] {
    padding: 24px;
    background: #f8fafc;
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.view-bills-page .header-section[b-9dk346nz5l] {
    margin-bottom: 24px;
}

.view-bills-page .page-title[b-9dk346nz5l] {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.view-bills-page .page-subtitle[b-9dk346nz5l] {
    font-size: 14px;
    color: #64748b;
    margin-top: 4px;
}

.view-bills-page .filter-card[b-9dk346nz5l] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin-bottom: 24px;
}

.view-bills-page .filter-grid[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 20px;
}

.view-bills-page .filter-item label[b-9dk346nz5l] {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.view-bills-page .form-control[b-9dk346nz5l],
.view-bills-page .form-select[b-9dk346nz5l] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 13px;
    color: #1e293b;
}

.view-bills-page .btn-refresh[b-9dk346nz5l],
.view-bills-page .btn-close-counter[b-9dk346nz5l] {
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 12px;
    text-transform: uppercase;
}

.view-bills-page .btn-refresh[b-9dk346nz5l] {
    background: #2563eb;
}

.view-bills-page .btn-refresh:hover[b-9dk346nz5l] {
    background: #1d4ed8;
}

.view-bills-page .btn-close-counter[b-9dk346nz5l] {
    background: #475569;
}

.view-bills-page .btn-close-counter:hover[b-9dk346nz5l] {
    background: #334155;
}

.view-bills-page .filter-action[b-9dk346nz5l] {
    display: flex;
    gap: 12px;
}

.view-bills-page .search-grid[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.view-bills-page .search-item[b-9dk346nz5l] {
    position: relative;
}

.view-bills-page .search-icon[b-9dk346nz5l] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 20px;
}

.view-bills-page .search-input[b-9dk346nz5l] {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    font-size: 13px;
    transition: 0.2s;
}

.view-bills-page .table-container[b-9dk346nz5l] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    max-width: 100%;
}

.view-bills-page .premium-table[b-9dk346nz5l] {
    width: 100%;
    min-width: 1200px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.view-bills-page .premium-table th[b-9dk346nz5l] {
    background: #ffffff;
    border-bottom: 2px solid #f1f5f9;
    padding: 16px;
    text-align: left;
    font-weight: 700;
    color: #475569;
    font-size: 11px;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    z-index: 5;
}

.view-bills-page .premium-table td[b-9dk346nz5l] {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.view-bills-page .sid-text[b-9dk346nz5l] {
    font-weight: 700;
    color: #2563eb;
}

.view-bills-page .pat-id[b-9dk346nz5l] {
    font-weight: 600;
    color: #1e293b;
}

.view-bills-page .pat-name[b-9dk346nz5l] {
    font-weight: 700;
    color: var(--lc-secondary);
}

.view-bills-page .mobile-text[b-9dk346nz5l] {
    color: #64748b;
    font-size: 12px;
}

.view-bills-page .action-icons[b-9dk346nz5l] {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.view-bills-page .icon-btn[b-9dk346nz5l] {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    transition: 0.2s;
    padding: 4px;
    border-radius: 4px;
}

.view-bills-page .icon-btn:hover[b-9dk346nz5l] {
    background: #f1f5f9;
    color: #1e293b;
}

.view-bills-page .icon-btn.text-danger:hover[b-9dk346nz5l] {
    background: #fee2e2;
    color: #ef4444;
}

.view-bills-page .footer-section[b-9dk346nz5l] {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-bills-page .results-info[b-9dk346nz5l] {
    font-size: 13px;
    color: #64748b;
}

.view-bills-page .pagination[b-9dk346nz5l] {
    display: flex;
    gap: 4px;
}

.view-bills-page .pg-btn[b-9dk346nz5l] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: 0.2s;
}

.view-bills-page .pg-btn:hover[b-9dk346nz5l] {
    border-color: #2563eb;
    color: #2563eb;
}

.view-bills-page .pg-btn.active[b-9dk346nz5l] {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.view-bills-page .loader-overlay[b-9dk346nz5l] {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.view-bills-page .loader[b-9dk346nz5l] {
    width: 32px;
    height: 32px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.view-bills-page .settled-row[b-9dk346nz5l] {
    border-left: 4px solid #10b981;
}

.view-bills-page .pending-row[b-9dk346nz5l] {
    border-left: 4px solid #f59e0b;
}

.lc-text-center[b-9dk346nz5l] {
    text-align: center !important;
}

.lc-text-right[b-9dk346nz5l] {
    text-align: right !important;
}

.lc-text-left[b-9dk346nz5l] {
    text-align: left !important;
}

.lc-font-700[b-9dk346nz5l] {
    font-weight: 700 !important;
}

.lc-font-600[b-9dk346nz5l] {
    font-weight: 600 !important;
}

.lc-font-800[b-9dk346nz5l] {
    font-weight: 800 !important;
}

.lc-color-green-500[b-9dk346nz5l] {
    color: #10b981 !important;
}

.lc-color-red-500[b-9dk346nz5l] {
    color: #ef4444 !important;
}

.lc-color-orange-500[b-9dk346nz5l] {
    color: #f97316 !important;
}

.lc-cursor-pointer[b-9dk346nz5l] {
    cursor: pointer !important;
}

.lc-rounded-pill-input[b-9dk346nz5l] {
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    padding: 10px 18px !important;
    transition: all 0.2s ease !important;
}

.lc-rounded-pill-input:focus[b-9dk346nz5l] {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    background: white !important;
    outline: none !important;
}

.lc-modal-close-btn-effect[b-9dk346nz5l] {
    transition: transform 0.2s !important;
}

.lc-modal-close-btn-effect:hover[b-9dk346nz5l] {
    transform: scale(1.1) !important;
    color: #ef4444 !important;
}

.lc-fadeInUp[b-9dk346nz5l] {
    animation: fadeInUp 0.4s ease-out !important;
}

.lc-width-100[b-9dk346nz5l] {
    width: 100px !important;
}

.lc-width-150[b-9dk346nz5l] {
    width: 150px !important;
}

.lc-width-180[b-9dk346nz5l] {
    width: 180px !important;
}

.lc-w-220[b-9dk346nz5l] {
    width: 220px !important;
}

.lc-circle-btn-32[b-9dk346nz5l] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    background: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   RATE MASTER PAGE STYLES
   ───────────────────────────────────────────────────────────────────────── */
.rate-container[b-9dk346nz5l] {
    background: #f8fafc;
    padding: 24px;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.rate-header[b-9dk346nz5l] {
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: white;
    background: white;
}

.rate-header-radios[b-9dk346nz5l] {
    display: flex;
    gap: 24px;
}

.rate-radio-label[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
}

.rate-radio-input[b-9dk346nz5l] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    outline: none;
    transition: 0.2s;
}

.rate-radio-input:checked[b-9dk346nz5l] {
    background: #4f46e5;
    border-color: #4f46e5;
    box-shadow: inset 0 0 0 3px white;
}

.rate-main-card[b-9dk346nz5l] {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px #00000010;
    border: 1px solid #e2e8f0;
}

.rate-form-grid[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 48px;
}

.rate-form-col[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rate-form-group[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.rate-label[b-9dk346nz5l] {
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    color: #475569;
    width: 100px;
}

.rate-input[b-9dk346nz5l] {
    flex: 1;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 12px;
    outline: none;
}

.rate-input:focus[b-9dk346nz5l] {
    border-color: #4f46e5;
}

.rate-radio-group[b-9dk346nz5l] {
    display: flex;
    gap: 16px;
    flex: 1;
}

.rate-radio-item[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 11px;
}

.rate-radio-item-input[b-9dk346nz5l] {
    cursor: pointer;
    width: 14px;
    height: 14px;
}

.rate-form-group-gap[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
}

.rate-label-small[b-9dk346nz5l] {
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    color: #475569;
    width: 100px;
}

.rate-btn-default[b-9dk346nz5l] {
    height: 36px;
    padding: 0 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.rate-right-action-group[b-9dk346nz5l] {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.rate-nested-group[b-9dk346nz5l] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rate-input-small[b-9dk346nz5l] {
    width: 60px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    text-align: center;
}

.rate-btn-set[b-9dk346nz5l] {
    height: 36px;
    padding: 0 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
}

.rate-btn-set-blue[b-9dk346nz5l] {
    height: 36px;
    padding: 0 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
}

.rate-btn-big[b-9dk346nz5l] {
    width: 140px;
    height: 84px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rate-grid-container[b-9dk346nz5l] {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px #00000010;
}

.rate-grid-scroll[b-9dk346nz5l] {
    max-height: 500px;
    overflow-y: auto;
}

.rate-table[b-9dk346nz5l] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.rate-table th[b-9dk346nz5l] {
    padding: 12px 16px;
    text-align: left;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 800;
    white-space: nowrap;
}

.rate-table td[b-9dk346nz5l] {
    padding: 8px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
    white-space: nowrap;
}

.rate-row-active[b-9dk346nz5l] {
    background: #f1f5f9;
}

.rate-row-pointer[b-9dk346nz5l] {
    color: #555;
    margin-right: 4px;
}

.rate-footer-actions[b-9dk346nz5l] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.rate-btn-footer[b-9dk346nz5l] {
    height: 40px;
    padding: 0 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    cursor: pointer;
}

.rate-btn-footer.wide[b-9dk346nz5l] {
    min-width: 100px;
}

.rate-btn-footer.primary[b-9dk346nz5l] {
    background: #4f46e5;
    color: white;
    border: none;
}

.cm-input option[b-9dk346nz5l],
.form-control option[b-9dk346nz5l] {
    color: #1e293b !important;
    background: #ffffff !important;
}

.lc-width-25p[b-9dk346nz5l] {
    width: 25% !important;
}

.lc-width-15p[b-9dk346nz5l] {
    width: 15% !important;
}

.lc-width-20p[b-9dk346nz5l] {
    width: 20% !important;
}

.lc-width-140[b-9dk346nz5l] {
    width: 140px !important;
}

.lc-p-40[b-9dk346nz5l] {
    padding: 40px !important;
}

.lc-mb-0[b-9dk346nz5l] {
    margin-bottom: 0px !important;
}

.lc-mb-20[b-9dk346nz5l] {
    margin-bottom: 20px !important;
}

.lc-mt-2px[b-9dk346nz5l] {
    margin-top: 2px !important;
}

.lc-mt-neg-4[b-9dk346nz5l] {
    margin-top: -4px !important;
}

.lc-mr-8[b-9dk346nz5l] {
    margin-right: 8px !important;
}

.lc-gap-16[b-9dk346nz5l] {
    gap: 16px !important;
}

.lc-gap-12[b-9dk346nz5l] {
    gap: 12px !important;
}

.lc-gap-8[b-9dk346nz5l] {
    gap: 8px !important;
}

.lc-rounded-lg[b-9dk346nz5l] {
    border-radius: 8px !important;
}

.lc-rounded-12[b-9dk346nz5l] {
    border-radius: 12px !important;
}

.lc-rounded-20[b-9dk346nz5l] {
    border-radius: 20px !important;
}

.lc-rounded-full[b-9dk346nz5l] {
    border-radius: 50% !important;
}

.lc-rounded-t-0[b-9dk346nz5l] {
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
}

.lc-shadow-sm[b-9dk346nz5l] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.lc-icon-24[b-9dk346nz5l] {
    font-size: 24px !important;
}

.lc-icon-18[b-9dk346nz5l] {
    font-size: 18px !important;
}

.lc-text-10[b-9dk346nz5l] {
    font-size: 10px !important;
}

.lc-text-11[b-9dk346nz5l] {
    font-size: 11px !important;
}

.lc-text-12[b-9dk346nz5l] {
    font-size: 12px !important;
}

.lc-text-13[b-9dk346nz5l] {
    font-size: 13px !important;
}

.lc-text-18[b-9dk346nz5l] {
    font-size: 18px !important;
}

.lc-uppercase[b-9dk346nz5l] {
    text-transform: uppercase !important;
}

.lc-ls-05[b-9dk346nz5l] {
    letter-spacing: 0.5px !important;
}

.lc-w-40[b-9dk346nz5l] {
    width: 40px !important;
}

.lc-h-40[b-9dk346nz5l] {
    height: 40px !important;
}

.lc-w-6[b-9dk346nz5l] {
    width: 6px !important;
}

.lc-h-6[b-9dk346nz5l] {
    height: 6px !important;
}

.lc-w-200[b-9dk346nz5l] {
    width: 200px !important;
}

.lc-w-220[b-9dk346nz5l] {
    width: 220px !important;
}

.lc-text-white[b-9dk346nz5l] {
    color: #ffffff !important;
}

.lc-animate-pulse[b-9dk346nz5l] {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

.lc-alert-danger-custom[b-9dk346nz5l] {
    margin: 20px 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-alert-danger-sm[b-9dk346nz5l] {
    padding: 10px 15px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
}

.lc-alert-success-custom[b-9dk346nz5l] {
    margin-bottom: 20px !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-bg-danger-light[b-9dk346nz5l] {
    background-color: #fef2f2 !important;
}

.lc-bg-success-light[b-9dk346nz5l] {
    background-color: #f0fdf4 !important;
}

.lc-abs-center-y[b-9dk346nz5l] {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.lc-left-12[b-9dk346nz5l] {
    left: 12px !important;
}

.lc-right-12[b-9dk346nz5l] {
    right: 12px !important;
}

.lc-p-8-16-8-36[b-9dk346nz5l] {
    padding: 8px 16px 8px 36px !important;
}

.lc-grid[b-9dk346nz5l] {
    display: grid !important;
}

.lc-grid-cols-80-1fr[b-9dk346nz5l] {
    grid-template-columns: 80px 1fr !important;
}

.lc-grid-cols-3[b-9dk346nz5l] {
    grid-template-columns: repeat(3, 1fr) !important;
}

.lc-grid-cols-4[b-9dk346nz5l] {
    grid-template-columns: repeat(4, 1fr) !important;
}

.lc-grid-cols-5[b-9dk346nz5l] {
    grid-template-columns: repeat(5, 1fr) !important;
}

.lc-flex-between[b-9dk346nz5l] {
    justify-content: space-between !important;
}

.lc-mb-4px[b-9dk346nz5l] {
    margin-bottom: 4px !important;
}

.lc-font-500[b-9dk346nz5l] {
    font-weight: 500 !important;
}





/* Styles from Billing.razor */
.no-spin[b-9dk346nz5l]::-webkit-inner-spin-button,
.no-spin[b-9dk346nz5l]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spin[b-9dk346nz5l] {
    -moz-appearance: textfield;
}

.pay-input.no-spin[b-9dk346nz5l] {
    appearance: textfield;
}

.bl-id-type-select[b-9dk346nz5l] {
    background: transparent;
    color: white;
    border: none;
    width: 100%;
    height: 100%;
    padding: 0 8px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    outline: none;
}

.bl-id-type-select option[b-9dk346nz5l] {
    color: #1e293b !important;
    background: #ffffff !important;
    text-transform: none;
}



.bl-id-input[b-9dk346nz5l] {
    flex: 1;
    border: none;
    padding: 10px 12px;
    font-size: 13px;
    outline: none;
}

.lc-bg-white[b-9dk346nz5l] {
    background-color: #ffffff !important;
}

.lc-border-slate-200[b-9dk346nz5l] {
    border: 1px solid #e2e8f0 !important;
}

.lc-outline-none[b-9dk346nz5l] {
    outline: none !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   TOAST NOTIFICATION STYLES
   ───────────────────────────────────────────────────────────────────────── */
.toast-container[b-9dk346nz5l] {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-item[b-9dk346nz5l] {
    min-width: 300px;
    max-width: 450px;
    padding: 16px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
    animation: toast-in-b-9dk346nz5l 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 6px solid #ccc;
}

.toast-item.show[b-9dk346nz5l] {
    opacity: 1;
    transform: translateX(0);
}

.toast-item.hide[b-9dk346nz5l] {
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast-item.success[b-9dk346nz5l] {
    border-left-color: #22c55e;
}

.toast-item.error[b-9dk346nz5l] {
    border-left-color: #ef4444;
}

.toast-item.warning[b-9dk346nz5l] {
    border-left-color: #f59e0b;
}

.toast-item.info[b-9dk346nz5l] {
    border-left-color: #3b82f6;
}

.toast-item.success .icon[b-9dk346nz5l] {
    color: #22c55e;
}

.toast-item.error .icon[b-9dk346nz5l] {
    color: #ef4444;
}

.toast-item.warning .icon[b-9dk346nz5l] {
    color: #f59e0b;
}

.toast-item.info .icon[b-9dk346nz5l] {
    color: #3b82f6;
}

.toast-content[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-content .icon[b-9dk346nz5l] {
    font-variation-settings: 'FILL' 1;
}

.toast-content .message[b-9dk346nz5l] {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.toast-item .close-btn[b-9dk346nz5l] {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.toast-item .close-btn:hover[b-9dk346nz5l] {
    color: #475569;
}

@keyframes toast-in-b-9dk346nz5l {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   PREMIUM BILLING SHARED STYLES
   ───────────────────────────────────────────────────────────────────────── */
:root[b-9dk346nz5l] {
    --premium-blue: #2563eb;
    --premium-blue-light: #eff6ff;
    --premium-blue-dark: #1e40af;
    --premium-green: #10b981;
    --premium-green-light: #ecfdf5;
    --premium-red: #ef4444;
    --premium-red-light: #fef2f2;
    --premium-gray-text: #64748b;
    --premium-dark-text: #1e293b;
    --premium-border: #e2e8f0;
    --premium-bg: #f8fafc;
    --premium-card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --premium-card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.premium-page-container[b-9dk346nz5l] {
    padding: 24px;
    background-color: var(--premium-bg);
    min-height: 100vh;
    font-family: 'Public Sans', sans-serif;
}

.premium-header[b-9dk346nz5l] {
    margin-bottom: 32px;
}

.premium-title[b-9dk346nz5l] {
    font-size: 28px;
    font-weight: 800;
    color: var(--premium-dark-text);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.premium-subtitle[b-9dk346nz5l] {
    font-size: 14px;
    color: var(--premium-gray-text);
    font-weight: 500;
}

.premium-filter-card[b-9dk346nz5l] {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--premium-card-shadow);
    border: 1px solid var(--premium-border);
    margin-bottom: 24px;
}

.premium-filter-grid[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    align-items: flex-end;
}

.premium-form-group[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.premium-label[b-9dk346nz5l] {
    font-size: 11px;
    font-weight: 700;
    color: var(--premium-gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-input[b-9dk346nz5l],
.premium-select[b-9dk346nz5l] {
    height: 44px;
    border-radius: 8px;
    border: 1.5px solid var(--premium-border);
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--premium-dark-text);
    background-color: #fff;
    transition: all 0.2s;
    outline: none;
}

.premium-input:focus[b-9dk346nz5l],
.premium-select:focus[b-9dk346nz5l] {
    border-color: var(--premium-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.premium-search-wrapper[b-9dk346nz5l] {
    position: relative;
    display: flex;
    align-items: center;
}

.premium-search-icon[b-9dk346nz5l] {
    position: absolute;
    left: 12px;
    color: var(--premium-gray-text);
    font-size: 18px;
}

.premium-search-input[b-9dk346nz5l] {
    padding-left: 40px !important;
}

.premium-btn-refresh[b-9dk346nz5l] {
    height: 44px;
    background: var(--premium-blue);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-btn-refresh:hover[b-9dk346nz5l] {
    background: var(--premium-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.premium-search-bar-row[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.premium-table-card[b-9dk346nz5l] {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--premium-card-shadow);
    border: 1px solid var(--premium-border);
}

.premium-table[b-9dk346nz5l] {
    width: 100%;
    border-collapse: collapse;
}

.premium-table th[b-9dk346nz5l] {
    background: #f8fafc;
    padding: 16px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: var(--premium-gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--premium-border);
}

.premium-table td[b-9dk346nz5l] {
    padding: 16px 12px;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--premium-dark-text);
    vertical-align: middle;
}

.premium-table tbody tr:hover[b-9dk346nz5l] {
    background-color: #f8fafc;
}

.sid-text[b-9dk346nz5l] {
    font-weight: 700;
    color: #475569;
}

.patient-id[b-9dk346nz5l] {
    font-weight: 800;
    color: #1e293b;
}

.patient-name[b-9dk346nz5l] {
    font-weight: 700;
    display: block;
}

.mobile-text[b-9dk346nz5l] {
    font-size: 12px;
    color: var(--premium-gray-text);
    font-weight: 500;
}

.amount-text[b-9dk346nz5l] {
    font-weight: 700;
}

.discount-text[b-9dk346nz5l] {
    color: var(--premium-red);
    font-weight: 600;
}

.total-text[b-9dk346nz5l] {
    font-weight: 800;
    color: var(--premium-dark-text);
}

.paid-text[b-9dk346nz5l] {
    font-weight: 700;
    color: var(--premium-green);
}

.balance-text[b-9dk346nz5l] {
    font-weight: 700;
}

.action-buttons[b-9dk346nz5l] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.action-btn[b-9dk346nz5l] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--premium-border);
    background: white;
    color: var(--premium-gray-text);
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover[b-9dk346nz5l] {
    background: var(--premium-blue-light);
    color: var(--premium-blue);
    border-color: var(--premium-blue);
}

.premium-footer[b-9dk346nz5l] {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-top: 1px solid var(--premium-border);
}

.pagination-info[b-9dk346nz5l] {
    font-size: 13px;
    color: var(--premium-gray-text);
    font-weight: 500;
}

.pagination-controls[b-9dk346nz5l] {
    display: flex;
    gap: 4px;
}

.page-btn[b-9dk346nz5l] {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--premium-border);
    background: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.page-btn.active[b-9dk346nz5l] {
    background: var(--premium-blue);
    color: white;
    border-color: var(--premium-blue);
}

.page-btn:hover:not(.active)[b-9dk346nz5l] {
    background: #f1f5f9;
}

.totals-row[b-9dk346nz5l] {
    background: #f8fafc !important;
}

.totals-label[b-9dk346nz5l] {
    font-weight: 800;
    text-transform: uppercase;
    text-align: right;
    padding-right: 24px !important;
}

.total-val[b-9dk346nz5l] {
    font-weight: 800;
    font-size: 15px;
}

.bl-datetime-inline[b-9dk346nz5l] {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    cursor: pointer !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   TEST MASTER (MODIFY TEST) UI STYLES
   ───────────────────────────────────────────────────────────────────────── */
.tm-page-wrapper[b-9dk346nz5l] {
    padding: 20px;
    background: #f8fafc;
    min-height: 100vh;
    font-family: 'Public Sans', sans-serif;
}

.tm-top-actions[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tm-action-links[b-9dk346nz5l] {
    display: flex;
    gap: 20px;
}

.tm-action-link[b-9dk346nz5l] {
    font-size: 11px;
    font-weight: 700;
    color: #4f46e5;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.tm-action-link:hover[b-9dk346nz5l] {
    text-decoration: underline;
}

.tm-user-profile[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tm-user-info[b-9dk346nz5l] {
    text-align: right;
}

.tm-user-name[b-9dk346nz5l] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    display: block;
}

.tm-user-role[b-9dk346nz5l] {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

.tm-user-avatar[b-9dk346nz5l] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tm-main-grid[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
}

.tm-card[b-9dk346nz5l] {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 24px;
    position: relative;
}

/* Test Details Header Section */
.tm-test-details-card[b-9dk346nz5l] {
    grid-column: 1 / span 2;
    margin-bottom: 20px;
}

.tm-test-row[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 8px;
}

.tm-form-group[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tm-label[b-9dk346nz5l] {
    font-size: 10px;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tm-input[b-9dk346nz5l] {
    height: 36px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.2s;
    background: #f8fafc;
}

.tm-input:focus[b-9dk346nz5l] {
    border-color: #4f46e5;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

.tm-input-accent[b-9dk346nz5l] {
    border-color: #4f46e5;
    background: #eff6ff;
}

.tm-table-select[b-9dk346nz5l] {
    width: 100%;
    height: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 4px;
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    cursor: pointer;
}

.tm-table-select:focus[b-9dk346nz5l] {
    border-color: #4f46e5;
    background: #fff;
}

/* Type & Status Section */
.tm-flex-row[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 12px;
}

.tm-type-item[b-9dk346nz5l],
.tm-status-item[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.tm-type-item span[b-9dk346nz5l],
.tm-status-item span[b-9dk346nz5l] {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.tm-radio[b-9dk346nz5l],
.tm-checkbox[b-9dk346nz5l] {
    width: 16px;
    height: 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.tm-radio:checked[b-9dk346nz5l] {
    border-color: #4f46e5;
    border-width: 5px;
}

.tm-checkbox[b-9dk346nz5l] {
    border-radius: 4px;
}

.tm-checkbox:checked[b-9dk346nz5l] {
    background-color: #4f46e5;
    border-color: #4f46e5;
}

.tm-checkbox:checked[b-9dk346nz5l]::after {
    content: '✔';
    position: absolute;
    color: white;
    font-size: 10px;
    left: 2px;
    top: -1px;
}

/* Parameters Panel */
.tm-params-panel[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tm-params-card[b-9dk346nz5l] {
    padding: 0;
    overflow: hidden;
}

.tm-card-header-slim[b-9dk346nz5l] {
    padding: 12px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.tm-card-title-slim[b-9dk346nz5l] {
    font-size: 12px;
    font-weight: 800;
    color: #1e293b;
}

.tm-link-blue[b-9dk346nz5l] {
    font-size: 10px;
    font-weight: 700;
    color: #4f46e5;
    cursor: pointer;
    text-decoration: none;
}

.tm-link-red[b-9dk346nz5l] {
    font-size: 10px;
    font-weight: 700;
    color: #ef4444;
    cursor: pointer;
    text-decoration: none;
}

.tm-param-table[b-9dk346nz5l] {
    width: 100%;
    border-collapse: collapse;
}

.tm-param-table th[b-9dk346nz5l] {
    background: #f8fafc;
    padding: 10px 16px;
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e8f0;
}

.tm-param-row[b-9dk346nz5l] {
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s;
}

.tm-param-row:hover[b-9dk346nz5l] {
    background: #f8fafc;
}

.tm-param-row.active[b-9dk346nz5l] {
    background: #eff6ff;
}

.tm-param-cell[b-9dk346nz5l] {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.tm-param-input[b-9dk346nz5l] {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

/* Normal Values Panel */
.tm-values-card[b-9dk346nz5l] {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tm-values-header[b-9dk346nz5l] {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-tabs[b-9dk346nz5l] {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 24px;
    background: #f8fafc;
}

.tm-tab[b-9dk346nz5l] {
    padding: 14px 0;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    border: none;
    background: transparent;
}

.tm-tab.active[b-9dk346nz5l] {
    color: #4f46e5;
}

.tm-tab.active[b-9dk346nz5l]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #4f46e5;
}

.tm-value-row[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px;
}

.tm-quill-editor[b-9dk346nz5l] {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    min-height: 120px;
    margin-top: 8px;
}

.tm-editor-toolbar[b-9dk346nz5l] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 4px 8px;
    display: flex;
    gap: 12px;
}

.tm-editor-btn[b-9dk346nz5l] {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.tm-editor-btn:hover[b-9dk346nz5l] {
    background: #e2e8f0;
}

.tm-editor-content[b-9dk346nz5l] {
    padding: 16px;
    min-height: 100px;
    font-size: 14px;
    outline: none;
}

/* Bottom Action Bar */
.tm-bottom-bar[b-9dk346nz5l] {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 16px 16px;
    margin-top: 20px;
}

.tm-date-range[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px 12px;
}

.tm-date-input[b-9dk346nz5l] {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    width: 90px;
    cursor: pointer;
}

.tm-btn-row[b-9dk346nz5l] {
    display: flex;
    gap: 10px;
}

.tm-btn[b-9dk346nz5l] {
    height: 38px;
    padding: 0 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.tm-btn-outline[b-9dk346nz5l] {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.tm-btn-primary[b-9dk346nz5l] {
    background: #4f46e5;
    color: #fff;
}

.tm-btn-danger[b-9dk346nz5l] {
    background: #ef4444;
    color: #fff;
}

.tm-btn-dark[b-9dk346nz5l] {
    background: #1e293b;
    color: #fff;
}

.tm-btn-secondary[b-9dk346nz5l] {
    background: #f3f4f6;
    color: #4b5563;
}

.tm-update-btn[b-9dk346nz5l] {
    background: #fff;
    border: 1.5px solid #f97316;
    color: #f97316;
    padding: 8px 24px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-end;
    margin: 24px;
    margin-top: 0;
}

.tm-update-btn:hover[b-9dk346nz5l] {
    background: #fff7ed;
    transform: translateY(-1px);
}

/* Special styling for input groups in image */
.tm-input-group[b-9dk346nz5l] {
    position: relative;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    padding: 0 12px;
    height: 36px;
}

.tm-input-group input[b-9dk346nz5l] {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 13px;
    font-weight: 600;
}

.tm-input-group .material-symbols-outlined[b-9dk346nz5l] {
    color: #94a3b8;
    font-size: 18px;
}

.tm-btn-blue[b-9dk346nz5l] {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.tm-btn-black[b-9dk346nz5l] {
    background: #000;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

/* Status section checkboxes specifically matching the image style */
.tm-status-grid[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    align-items: center;
    margin-left: 20px;
    margin-top: 4px;
}

.tm-status-box[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 2px 0;
}

.tm-status-check[b-9dk346nz5l] {
    width: 12px;
    height: 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.tm-status-box:hover .tm-status-check[b-9dk346nz5l] {
    border-color: #4f46e5;
}

.tm-status-box.active .tm-status-check[b-9dk346nz5l] {
    border-color: #4f46e5;
    border-width: 4px;
}

.tm-status-label[b-9dk346nz5l] {
    font-size: 10px;
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
}

.tm-sep-row[b-9dk346nz5l] {
    height: 1px;
    background: #f1f5f9;
    width: 100%;
    margin: 2px 0;
}

/* Flex & Layout Utilities */
.display-flex[b-9dk346nz5l] {
    display: flex;
}

.flex-col[b-9dk346nz5l] {
    flex-direction: column;
}

.flex-1[b-9dk346nz5l] {
    flex: 1;
}

.align-center[b-9dk346nz5l] {
    align-items: center;
}

.justify-center[b-9dk346nz5l] {
    justify-content: center;
}

.justify-between[b-9dk346nz5l] {
    justify-content: space-between;
}

.justify-end[b-9dk346nz5l] {
    justify-content: flex-end;
}

.gap-4[b-9dk346nz5l] {
    gap: 4px;
}

.gap-8[b-9dk346nz5l] {
    gap: 8px;
}

.gap-12[b-9dk346nz5l] {
    gap: 12px;
}

.gap-16[b-9dk346nz5l] {
    gap: 16px;
}

.gap-24[b-9dk346nz5l] {
    gap: 24px;
}

.gap-32[b-9dk346nz5l] {
    gap: 32px;
}

/* Spacing Utilities */
.mt-4[b-9dk346nz5l] {
    margin-top: 4px;
}

.mt-8[b-9dk346nz5l] {
    margin-top: 8px;
}

.mt-12[b-9dk346nz5l] {
    margin-top: 12px;
}

.mt-20[b-9dk346nz5l] {
    margin-top: 20px;
}

.mb-16[b-9dk346nz5l] {
    margin-bottom: 16px;
}

.my-16[b-9dk346nz5l] {
    margin: 16px 0;
}

.ml-4[b-9dk346nz5l] {
    margin-left: 4px;
}

.ml-20[b-9dk346nz5l] {
    margin-left: 20px;
}

.p-12[b-9dk346nz5l] {
    padding: 12px;
}

.p-24[b-9dk346nz5l] {
    padding: 24px;
}

/* Sizing Utilities */
.w-full[b-9dk346nz5l] {
    width: 100%;
}

.w-48[b-9dk346nz5l] {
    width: 48px;
}

.h-24[b-9dk346nz5l] {
    height: 24px;
}

.h-28[b-9dk346nz5l] {
    height: 28px;
}

.h-32[b-9dk346nz5l] {
    height: 32px;
}

.h-80[b-9dk346nz5l] {
    height: 80px;
}

/* Font Utilities */
.font-11[b-9dk346nz5l] {
    font-size: 11px;
}

.font-14[b-9dk346nz5l] {
    font-size: 14px;
}

.lc-outline-none[b-9dk346nz5l] {
    outline: none;
}

/* NORMAL VALUES TAB LAYOUTS */
.tm-tab-content-grid[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    flex: 1;
}

.tm-tab-left-col[b-9dk346nz5l],
.tm-tab-right-col[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
}

.tm-specimen-table-wrapper[b-9dk346nz5l] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.tm-specimen-table[b-9dk346nz5l] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.tm-specimen-table th[b-9dk346nz5l] {
    background: #f8fafc;
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.tm-specimen-table td[b-9dk346nz5l] {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
}

.tm-specimen-table tr:last-child td[b-9dk346nz5l] {
    border-bottom: none;
}

.tm-specimen-table tr:hover[b-9dk346nz5l] {
    background: #f1f5f9;
}

.tm-checkbox[b-9dk346nz5l] {
    width: 14px;
    height: 14px;
    accent-color: #2563eb;
    cursor: pointer;
}

.tm-btn-icon-gray[b-9dk346nz5l] {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    color: #64748b;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.tm-btn-icon-gray:hover[b-9dk346nz5l] {
    background: #e2e8f0;
    color: #1e293b;
}

.tm-btn-icon-red[b-9dk346nz5l] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: #fee2e2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-icon-red:hover[b-9dk346nz5l] {
    background: #fecaca;
    color: #dc2626;
    transform: scale(1.05);
}

.tm-update-btn[b-9dk346nz5l] {
    background: #fff;
    border: 1px solid #f97316;
    color: #f97316;
    padding: 4px 20px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-update-btn:hover[b-9dk346nz5l] {
    background: #fff7ed;
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.1);
}

.tm-values-header-accent[b-9dk346nz5l] {
    background: #e11d48;
    color: #fff;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tm-values-subheader[b-9dk346nz5l] {
    padding: 12px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tm-link-orange[b-9dk346nz5l] {
    color: #f97316;
    text-decoration: none;
}

.tm-link-orange:hover[b-9dk346nz5l] {
    text-decoration: underline;
}

.tm-detailed-range-section[b-9dk346nz5l] {
    border-top: 1px solid #e2e8f0;
}

.tm-specimen-table-container[b-9dk346nz5l] {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 12px;
}

.tm-specimen-table-modern[b-9dk346nz5l] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.tm-specimen-table-modern th[b-9dk346nz5l] {
    background: #fff;
    padding: 6px 10px;
    text-align: left;
    font-weight: 500;
    color: #1e293b;
    border-bottom: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
}

.tm-specimen-table-modern th:last-child[b-9dk346nz5l] {
    border-right: none;
}

.tm-specimen-table-modern td[b-9dk346nz5l] {
    padding: 4px 10px;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #cbd5e1;
    color: #334155;
}

.tm-specimen-table-modern td:last-child[b-9dk346nz5l] {
    border-right: none;
}

.tm-specimen-table-modern tr:last-child td[b-9dk346nz5l] {
    border-bottom: none;
}

.tm-specimen-table-modern tr:hover td[b-9dk346nz5l] {
    background: #f8fafc;
}

.tm-specimen-row-active td[b-9dk346nz5l] {
    background: #eff6ff !important;
    border-left: 3px solid #4f46e5;
}

.text-red[b-9dk346nz5l] {
    color: #ef4444 !important;
}

.fw-600[b-9dk346nz5l] {
    font-weight: 600;
}

.bl-scan-btn[b-9dk346nz5l] {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
}

.bl-scan-btn:hover[b-9dk346nz5l] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

.bl-scan-btn .material-symbols-outlined[b-9dk346nz5l] {
    font-size: 16px;
}


.bl-scan-icon-only[b-9dk346nz5l] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2), 0 2px 4px -1px rgba(79, 70, 229, 0.1);
}

.bl-scan-icon-only:hover[b-9dk346nz5l] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.bl-yt-search-group[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    height: 40px;
}

.bl-yt-search-group:focus-within[b-9dk346nz5l] {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: white;
}

.bl-yt-input[b-9dk346nz5l] {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    outline: none !important;
    height: 100% !important;
}

.bl-yt-button[b-9dk346nz5l] {
    background: #f1f5f9;
    border: none;
    border-left: 1.5px solid #e2e8f0;
    color: #4f46e5;
    width: 44px;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.bl-yt-button:hover[b-9dk346nz5l] {
    background: #e2e8f0;
    color: #1e293b;
}

.bl-yt-button.has-scan[b-9dk346nz5l] {
    color: #10b981;
}

.bl-yt-button .material-icons[b-9dk346nz5l] {
    font-size: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    width: 24px;
    height: 24px;
}

.bl-scan-status-container[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #10b981;
}

.bl-scan-tick[b-9dk346nz5l] {
    color: #10b981;
    font-size: 18px !important;
}

.bl-scan-cancel[b-9dk346nz5l] {
    color: #ef4444;
    font-size: 16px !important;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.bl-scan-cancel:hover[b-9dk346nz5l] {
    opacity: 1;
}

.bl-scan-path-badge[b-9dk346nz5l] {
    background: #f1f5f9;
    color: #64748b;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
}

/* ===============================================
   Result Entry - Premium Modern Design
   =============================================== */

/* Container */
.re-container[b-9dk346nz5l] {
    padding: 16px 20px 80px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1e293b;
    background: #f8fafc;
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Common form elements */
.re-label[b-9dk346nz5l] {
    font-size: 0.7rem;
    font-weight: 650;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.re-input[b-9dk346nz5l],
.re-select[b-9dk346nz5l],
.re-input-date[b-9dk346nz5l],
.re-input-time[b-9dk346nz5l],
.re-textarea[b-9dk346nz5l] {
    padding: 4px 8px;
    border-radius: 6px;
    border: 1.5px solid #e2e8f0;
    font-size: 0.8rem;
    color: #1e293b;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.re-input:focus[b-9dk346nz5l],
.re-select:focus[b-9dk346nz5l],
.re-input-date:focus[b-9dk346nz5l],
.re-input-time:focus[b-9dk346nz5l],
.re-textarea:focus[b-9dk346nz5l] {
    border-color: #6366f1;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.re-input[b-9dk346nz5l],
.re-select[b-9dk346nz5l],
.re-input-date[b-9dk346nz5l],
.re-input-time[b-9dk346nz5l] {
    height: 30px;
}

.re-select[b-9dk346nz5l] {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%2394a3b8' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 24px;
    cursor: pointer;
}

.re-input-yellow[b-9dk346nz5l] {
    background-color: #fefce8;
    border-color: #fde68a;
    color: #92400e;
}

.re-input-yellow:focus[b-9dk346nz5l] {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* Header Section */
.re-header-section[b-9dk346nz5l] {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.re-breadcrumb[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    font-family: inherit;
    font-size: 0.9rem;
}

.re-breadcrumb i.fa-home[b-9dk346nz5l] {
    color: #4f46e5;
    font-size: 1rem;
    margin-right: 12px;
}

.re-breadcrumb span.text-muted[b-9dk346nz5l] {
    color: #64748b;
    margin-right: 12px;
}

.re-breadcrumb i.fa-chevron-right[b-9dk346nz5l] {
    color: #cbd5e1;
    font-size: 0.7rem;
    margin-right: 12px;
}

.re-breadcrumb span.text-active[b-9dk346nz5l] {
    color: var(--lc-secondary);
    font-weight: 600;
}

.re-header-right[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1;
}

/* Sample Card */
.re-sample-card[b-9dk346nz5l] {
    background: #fff;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #e9edf3;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.re-field-group[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Custom Checkbox/Radio */
.re-check-label[b-9dk346nz5l],
.re-radio-label[b-9dk346nz5l] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    user-select: none;
}

.re-check-label input[type="checkbox"][b-9dk346nz5l],
.re-radio-label input[type="radio"][b-9dk346nz5l] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    outline: none;
    transition: all 0.2s;
    position: relative;
    cursor: pointer;
}

.re-radio-label input[type="radio"][b-9dk346nz5l] {
    border-radius: 50%;
}

.re-check-label input[type="checkbox"]:checked[b-9dk346nz5l],
.re-radio-label input[type="radio"]:checked[b-9dk346nz5l] {
    background-color: #6366f1;
    border-color: #6366f1;
}

.re-check-label input[type="checkbox"]:checked[b-9dk346nz5l]::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
}

.re-radio-label input[type="radio"]:checked[b-9dk346nz5l]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Tabs */
.re-tabs-container[b-9dk346nz5l] {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 2px;
    padding: 0 4px;
}

.re-tab[b-9dk346nz5l] {
    background: transparent;
    border: none;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.re-tab:hover[b-9dk346nz5l] {
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.05);
}

.re-tab.active[b-9dk346nz5l] {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
    background: rgba(99, 102, 241, 0.08);
}

/* Main Content Area */
.re-main-content[b-9dk346nz5l] {
    display: flex;
    gap: 24px;
    flex-grow: 1;
    align-items: flex-start;
    position: relative;
}

.re-panel-card[b-9dk346nz5l] {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9edf3;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.re-left-panel[b-9dk346nz5l] {
    width: 100%;
    min-height: 390px;
}

.re-right-panel[b-9dk346nz5l] {
    position: absolute;
    top: 10px;
    right: 16px;
    width: 320px;
    z-index: 50;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
    border: 1px solid #cbd5e1;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

/* Table Actions */
.re-panel-header[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    background: #fafbff;
}

/* ===== BILLED TESTS DROPDOWN ===== */
.re-bt-wrapper[b-9dk346nz5l] {
    position: relative;
}

.re-billed-tests[b-9dk346nz5l] {
    color: #ef4444;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fef2f2;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #fecaca;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
}

.re-billed-tests:hover[b-9dk346nz5l],
.re-billed-tests.active[b-9dk346nz5l] {
    background: #fee2e2;
    border-color: #fca5a5;
}

.re-bt-chevron[b-9dk346nz5l] {
    font-size: 0.6rem;
    transition: transform 0.25s ease;
    margin-left: 2px;
}

.re-bt-chevron.up[b-9dk346nz5l] {
    transform: rotate(180deg);
}

/* ===== ADVANCE FILTER DROPDOWN ===== */
.re-af-wrapper[b-9dk346nz5l] {
    position: relative;
}

.re-advance-filter[b-9dk346nz5l] {
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    padding: 0 12px;
    height: 30px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 650;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    user-select: none;
}

.re-advance-filter:hover[b-9dk346nz5l],
.re-advance-filter.active[b-9dk346nz5l] {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #1e293b;
}

.re-af-chevron[b-9dk346nz5l] {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
    color: #94a3b8;
}

.re-af-chevron.up[b-9dk346nz5l] {
    transform: rotate(180deg);
}

.re-af-dropdown[b-9dk346nz5l] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 200;
    overflow: hidden;
    animation: re-bt-appear-b-9dk346nz5l 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.re-af-dropdown-header[b-9dk346nz5l] {
    padding: 8px 12px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.re-af-dropdown-body[b-9dk346nz5l] {
    max-height: 280px;
    overflow-y: auto;
}

.re-af-item[b-9dk346nz5l] {
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s;
}

.re-af-item:hover[b-9dk346nz5l] {
    background: #f8fafc;
    color: #4f46e5;
}

.re-af-item.selected[b-9dk346nz5l] {
    background: #eff6ff;
    color: #2563eb;
    position: relative;
    padding-left: 28px;
}

.re-af-item.selected[b-9dk346nz5l]::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 10px;
    font-size: 0.7rem;
}

.re-af-overlay[b-9dk346nz5l] {
    position: fixed;
    inset: 0;
    z-index: 199;
}

/* ===== TEST SEARCH ===== */
.re-search-wrapper[b-9dk346nz5l] {
    position: relative;
    display: flex;
    align-items: center;
}

.re-test-search[b-9dk346nz5l] {
    min-width: 180px;
    padding-right: 28px !important;
}

.re-clear-search[b-9dk346nz5l] {
    position: absolute;
    right: 6px;
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 4px;
    font-size: 0.75rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.re-clear-search:hover[b-9dk346nz5l] {
    color: #ef4444;
}

/* Dropdown Panel */
.re-bt-dropdown[b-9dk346nz5l] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 240px;
    max-width: 320px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
    z-index: 200;
    overflow: hidden;
    animation: re-bt-appear-b-9dk346nz5l 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes re-bt-appear-b-9dk346nz5l {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Dropdown Header */
.re-bt-dropdown-header[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: linear-gradient(to right, #fef2f2, #fff);
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ef4444;
    gap: 8px;
}

.re-bt-count[b-9dk346nz5l] {
    background: #fecaca;
    color: #b91c1c;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
}

/* Dropdown Body */
.re-bt-dropdown-body[b-9dk346nz5l] {
    max-height: 220px;
    overflow-y: auto;
    padding: 4px 0;
}

.re-bt-dropdown-body[b-9dk346nz5l]::-webkit-scrollbar {
    width: 4px;
}

.re-bt-dropdown-body[b-9dk346nz5l]::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

/* Individual Test Item */
.re-bt-item[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s;
    user-select: none;
}

.re-bt-item:hover[b-9dk346nz5l] {
    background: #f8fafc;
}

.re-bt-item.selected[b-9dk346nz5l] {
    color: #1e293b;
}

.re-bt-item input[type="checkbox"][b-9dk346nz5l] {
    width: 14px;
    height: 14px;
    accent-color: #ef4444;
    cursor: pointer;
    flex-shrink: 0;
}

.re-bt-item-name[b-9dk346nz5l] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Empty State */
.re-bt-empty[b-9dk346nz5l] {
    padding: 16px 12px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Dropdown Footer */
.re-bt-dropdown-footer[b-9dk346nz5l] {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid #f1f5f9;
    background: #fafbff;
}

.re-bt-apply-btn[b-9dk346nz5l] {
    flex: 1;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s;
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.25);
}

.re-bt-apply-btn:hover[b-9dk346nz5l] {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(239, 68, 68, 0.35);
}

.re-bt-reset-btn[b-9dk346nz5l] {
    background: #fff;
    color: #64748b;
    border: 1.5px solid #e2e8f0;
    border-radius: 7px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.re-bt-reset-btn:hover[b-9dk346nz5l] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #334155;
}

/* Click-outside Overlay */
.re-bt-overlay[b-9dk346nz5l] {
    position: fixed;
    inset: 0;
    z-index: 199;
    background: transparent;
    cursor: default;
}

.re-delta-link[b-9dk346nz5l] {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    padding: 6px 10px;
    border-radius: 6px;
}

.re-delta-link:hover[b-9dk346nz5l] {
    color: #4338ca;
    background: #eef2ff;
}

.re-btn-danger[b-9dk346nz5l] {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.re-btn-danger:hover[b-9dk346nz5l] {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

/* Table Area */
.re-table-wrapper[b-9dk346nz5l] {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 500px;
}

.re-data-table[b-9dk346nz5l] {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
}

.re-data-table th[b-9dk346nz5l] {
    padding: 10px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f1f5f9;
    border-bottom: 2px solid #94a3b8;
    text-align: left;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2;
}

.re-data-table td[b-9dk346nz5l] {
    padding: 6px 12px;
    font-size: 0.8rem;
    color: #334155;
    font-weight: 600;
    border-bottom: 1px solid #b8c4d0;
    border-right: 1px solid #c8d2dc;
    vertical-align: middle;
    background: #fff;
}

.re-data-table td:last-child[b-9dk346nz5l] {
    border-right: none;
}

.re-col-center[b-9dk346nz5l] {
    text-align: center;
}

.re-edit-cell[b-9dk346nz5l] {
    padding: 6px 8px !important;
    background: #ffffff !important;
}

.re-t-input[b-9dk346nz5l] {
    width: 100%;
    height: 32px;
    border: 1.5px solid #94a3b8;
    border-radius: 6px;
    background: #f1f5f9;
    padding: 0 10px;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--lc-secondary);
    font-weight: 700;
    box-sizing: border-box;
}

.re-t-input:focus[b-9dk346nz5l] {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3.5px rgba(79, 70, 229, 0.15);
}

.re-bg-red[b-9dk346nz5l] {
    background-color: #fee2e2 !important;
    /* High/Low Red */
}

.re-bg-yellow[b-9dk346nz5l] {
    background-color: #ffedd5 !important;
    /* Borderline Orange */
}

.re-bg-green[b-9dk346nz5l] {
    background-color: #dcfce7 !important;
    /* Normal Green */
}

.re-bg-yellow .re-t-input[b-9dk346nz5l],
.re-bg-red .re-t-input[b-9dk346nz5l],
.re-bg-green .re-t-input[b-9dk346nz5l] {
    background: inherit !important;
}

/* ===============================================
   Result Search - Premium Modern Design
   =============================================== */

.re-header-main[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 24px;
}

.re-patient-info[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.re-avatar[b-9dk346nz5l] {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.re-patient-details[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
}

.re-patient-name[b-9dk346nz5l] {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--lc-secondary);
    margin: 0;
}

.re-patient-meta[b-9dk346nz5l] {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.re-header-actions[b-9dk346nz5l] {
    display: flex;
    gap: 12px;
}

.re-entry-badge[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.re-select-minimal[b-9dk346nz5l] {
    border: none;
    background: transparent;
    font-weight: 700;
    color: #4f46e5;
    cursor: pointer;
    outline: none;
}

.re-card[b-9dk346nz5l] {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.re-card-header[b-9dk346nz5l] {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    background: #fafbff;
}

.re-card-title[b-9dk346nz5l] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-card-body[b-9dk346nz5l] {
    padding: 16px;
}

.re-grid-search[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: flex-end;
}

.re-grid-3[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.re-field[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.re-item-primary[b-9dk346nz5l] {
    font-weight: 600;
    color: #1e293b;
}

.re-item-secondary[b-9dk346nz5l] {
    font-size: 0.75rem;
    color: #64748b;
}

.re-dropdown-item[b-9dk346nz5l] {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
}

.re-dropdown-item:hover[b-9dk346nz5l] {
    background: #f8fafc;
}

.re-search-dropdown[b-9dk346nz5l] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
}

.re-search-input-wrap[b-9dk346nz5l] {
    position: relative;
}

.re-content-layout[b-9dk346nz5l] {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.re-main-panel[b-9dk346nz5l] {
    flex: 1;
    min-width: 0;
}

.re-side-panel[b-9dk346nz5l] {
    width: 350px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}

.re-table-container[b-9dk346nz5l] {
    width: 100%;
    overflow-x: auto;
}

.re-table[b-9dk346nz5l] {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
}

.re-table th[b-9dk346nz5l] {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.re-table td[b-9dk346nz5l] {
    padding: 12px 16px;
    font-size: 0.85rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
}

.re-row-selected[b-9dk346nz5l] {
    background: #eff6ff !important;
}

.re-empty-state[b-9dk346nz5l] {
    padding: 48px;
    text-align: center;
    color: #94a3b8;
}

.re-empty-icon[b-9dk346nz5l] {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.2;
}

.re-badge[b-9dk346nz5l] {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.re-badge-warning[b-9dk346nz5l] {
    background: #fef3c7;
    color: #b45309;
}

.re-badge-success[b-9dk346nz5l] {
    background: #dcfce7;
    color: #15803d;
}

.re-badge-info[b-9dk346nz5l] {
    background: #e0e7ff;
    color: #4338ca;
}

.re-pill-group[b-9dk346nz5l] {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
    width: fit-content;
}

.re-pill[b-9dk346nz5l] {
    padding: 4px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.re-pill.active[b-9dk346nz5l] {
    background: #fff;
    color: #4f46e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.re-pill input[b-9dk346nz5l] {
    display: none;
}

.re-filter-row[b-9dk346nz5l] {
    display: flex;
    gap: 32px;
    align-items: center;
}

.re-btn-primary[b-9dk346nz5l] {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.re-btn-secondary[b-9dk346nz5l] {
    background: #fff;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-input-calculated[b-9dk346nz5l] {
    background-color: #f0f9ff !important;
    border-color: #bae6fd !important;
    color: #0369a1 !important;
    font-weight: 700 !important;
    cursor: default;
}

/* Status Indicator Dots */
.re-status-wrapper[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 8px;
}

.re-status-dot[b-9dk346nz5l] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    /* Default/None */
    flex-shrink: 0;
}

.re-status-dot.normal[b-9dk346nz5l] {
    background-color: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.re-status-dot.high[b-9dk346nz5l] {
    background-color: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.re-status-dot.low[b-9dk346nz5l] {
    background-color: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

/* Table Footer */
.re-table-footer[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid #f1f5f9;
    background: #fafbff;
}

.re-tf-left[b-9dk346nz5l],
.re-tf-right[b-9dk346nz5l] {
    display: flex;
    gap: 12px;
    align-items: center;
}

.re-link-btn[b-9dk346nz5l] {
    background: none;
    border: none;
    color: #4f46e5;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.re-link-btn:hover[b-9dk346nz5l] {
    background: #eef2ff;
    color: #4338ca;
}

.re-text-danger[b-9dk346nz5l] {
    color: #ef4444;
}

.re-text-danger:hover[b-9dk346nz5l] {
    background: #fef2f2;
    color: #dc2626;
}

/* Right Panel Styles */
.re-rp-header[b-9dk346nz5l] {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 10px 12px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.re-rp-header i[b-9dk346nz5l] {
    color: #4f46e5;
    font-size: 1rem;
}

.re-btn-close-popup[b-9dk346nz5l] {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    border-radius: 4px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.re-btn-close-popup:hover[b-9dk346nz5l] {
    background: #f1f5f9;
    color: #ef4444;
}

.re-btn-close-popup i[b-9dk346nz5l] {
    color: inherit;
    font-size: 1rem;
}

.re-rp-tabs[b-9dk346nz5l] {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 8px;
}

.re-rp-tab[b-9dk346nz5l] {
    background: none;
    border: none;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    color: #64748b;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    margin-bottom: -1px;
}

.re-rp-tab:hover[b-9dk346nz5l] {
    color: #4f46e5;
}

.re-rp-tab.active[b-9dk346nz5l] {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
}

.re-rp-content[b-9dk346nz5l] {
    padding: 8px 12px;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.re-form-group[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.re-row-group[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.re-control[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.re-textarea[b-9dk346nz5l] {
    resize: vertical;
    min-height: 24px;
}

.re-flex-spacer[b-9dk346nz5l] {
    flex-grow: 1;
}

.re-rp-footer[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
    background: #fafbff;
}

.re-btn-update[b-9dk346nz5l] {
    background: #fff;
    color: #4f46e5;
    border: 1.5px solid #c7d2fe;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.re-btn-update:hover[b-9dk346nz5l] {
    background: #eef2ff;
    border-color: #818cf8;
    transform: translateY(-1px);
}

/* Bottom Bar */
.re-footer-bar[b-9dk346nz5l] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    flex-wrap: wrap;
    gap: 12px;
}

.re-footer-centered[b-9dk346nz5l] {
    justify-content: center;
}

.re-footer-left[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.re-label-bold[b-9dk346nz5l] {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.85rem;
}

.re-footer-divider[b-9dk346nz5l] {
    width: 1px;
    height: 20px;
    background: #cbd5e1;
    margin: 0 4px;
}

.re-footer-right[b-9dk346nz5l] {
    display: flex;
    gap: 12px;
}

.re-btn-action[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: #334155;
    font-family: 'Inter', sans-serif;
}

.re-btn-action:hover[b-9dk346nz5l] {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.re-btn-action-primary[b-9dk346nz5l] {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.re-btn-action-primary:hover[b-9dk346nz5l] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #fff;
    border: none;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

/* Responsive Layout */
@media (max-width: 1200px) {
    .re-main-content[b-9dk346nz5l] {
        flex-direction: column;
    }

    .re-left-panel[b-9dk346nz5l],
    .re-right-panel[b-9dk346nz5l] {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .re-header-section[b-9dk346nz5l],
    .re-sample-card[b-9dk346nz5l] {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .re-header-right[b-9dk346nz5l] {
        justify-content: flex-start;
    }

    .re-container[b-9dk346nz5l] {
        padding: 16px 16px 120px;
    }

    .re-footer-bar[b-9dk346nz5l] {
        padding: 12px 16px;
    }
}

/* Fixed Values Modal - Premium Design */
.re-modal-overlay[b-9dk346nz5l] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    /* Sleek backdrop */
    z-index: 1000;
    backdrop-filter: blur(4px);
    animation: fadeInModal-b-9dk346nz5l 0.2s ease-out;
}

@keyframes fadeInModal-b-9dk346nz5l {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.re-modal[b-9dk346nz5l] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: inherit;
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Soft border for elegance */
    animation: scaleInModal-b-9dk346nz5l 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleInModal-b-9dk346nz5l {
    from {
        transform: translate(-50%, -45%) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.re-modal-titlebar[b-9dk346nz5l] {
    background: #f8fafc;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.re-modal-titlebar button[b-9dk346nz5l] {
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 1.2rem;
    line-height: 1;
    transition: color 0.15s ease;
}

.re-modal-titlebar button:hover[b-9dk346nz5l] {
    color: #ef4444;
}

.re-modal-header[b-9dk346nz5l] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.re-modal-body[b-9dk346nz5l] {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fdfdfd;
}

.re-modal-footer[b-9dk346nz5l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

/* Modal Buttons */
.re-btn-outline[b-9dk346nz5l] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.re-btn-outline:hover:not(:disabled)[b-9dk346nz5l] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
}

.re-btn-outline:active:not(:disabled)[b-9dk346nz5l] {
    transform: translateY(0);
}

.re-btn-outline:disabled[b-9dk346nz5l] {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f5f9;
}

/* Destructive Button Exception */
.btn-delete:hover:not(:disabled)[b-9dk346nz5l] {
    border-color: #fca5a5 !important;
    color: #ef4444 !important;
    background: #fef2f2 !important;
}

/* Primary Button Exception */
.re-btn-save[b-9dk346nz5l] {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.re-btn-save:hover[b-9dk346nz5l] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(99, 102, 241, 0.4);
}

/* Print Button */
.re-btn-print[b-9dk346nz5l] {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.re-btn-print:hover[b-9dk346nz5l] {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(14, 165, 233, 0.4);
}

/* Improved Table styling inside Modal */
.re-fv-table-wrapper[b-9dk346nz5l] {
    height: 150px;
    overflow-y: auto;
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.re-fv-table[b-9dk346nz5l] {
    border-collapse: collapse;
    width: 100%;
}

.re-fv-table th[b-9dk346nz5l] {
    background: #f8fafc !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding: 8px 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 2;
}

.re-fv-table td[b-9dk346nz5l] {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.85rem;
    color: #334155;
    transition: background-color 0.15s;
    font-weight: 500;
}

.re-fv-table tbody tr:hover:not(.active-row) td[b-9dk346nz5l] {
    background-color: #f8fafc;
}

.re-fv-table .active-row td[b-9dk346nz5l] {
    background: #eef2ff !important;
    color: #4f46e5 !important;
    border-bottom-color: #e0e7ff;
    font-weight: 600;
}

.re-fv-table .active-row i.fa-caret-right[b-9dk346nz5l] {
    color: #4f46e5;
}

.re-fv-table .active-row input.re-t-input[b-9dk346nz5l] {
    color: #4f46e5;
    font-weight: 600;
}

/* ===== SAVE TOAST NOTIFICATION ===== */
.re-save-toast[b-9dk346nz5l] {
    position: fixed;
    bottom: 72px;
    /* sit just above the footer bar */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    animation: re-toast-in-b-9dk346nz5l 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.re-save-toast.success[b-9dk346nz5l] {
    background: #f0fdf4;
    color: #15803d;
    border: 1.5px solid #bbf7d0;
}

.re-save-toast.success i[b-9dk346nz5l] {
    color: #16a34a;
    font-size: 1rem;
}

.re-save-toast.error[b-9dk346nz5l] {
    background: #fef2f2;
    color: #b91c1c;
    border: 1.5px solid #fecaca;
}

.re-save-toast.error i[b-9dk346nz5l] {
    color: #dc2626;
    font-size: 1rem;
}

@keyframes re-toast-in-b-9dk346nz5l {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== SAVE BUTTON SPINNER ===== */
.re-save-spinner[b-9dk346nz5l] {
    width: 14px;
    height: 14px;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: re-spin-b-9dk346nz5l 0.65s linear infinite;
    flex-shrink: 0;
}

@keyframes re-spin-b-9dk346nz5l {
    to {
        transform: rotate(360deg);
    }
}

/* ===== SAVING OVERLAY BANNER ===== */
.re-saving-overlay[b-9dk346nz5l] {
    position: fixed;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    box-shadow: 0 8px 28px rgba(79, 70, 229, 0.45);
    z-index: 600;
    white-space: nowrap;
    animation: re-toast-in-b-9dk346nz5l 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.01em;
}

/* Save button pulsing glow while saving */
.re-btn-saving[b-9dk346nz5l] {
    animation: re-btn-pulse-b-9dk346nz5l 1.2s ease-in-out infinite !important;
    pointer-events: none;
}

@keyframes re-btn-pulse-b-9dk346nz5l {
    0% {
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    }

    50% {
        box-shadow: 0 4px 24px rgba(79, 70, 229, 0.7);
    }

    100% {
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    }
}

/* ===== DOT BUTTON (…) ===== */
.re-dot-btn[b-9dk346nz5l] {
    background: transparent;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    width: 28px;
    height: 22px;
    font-size: 0.9rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.18s ease;
    letter-spacing: 0.05em;
}

.re-dot-btn:hover[b-9dk346nz5l] {
    background: #eef2ff;
    border-color: #6366f1;
    color: #4f46e5;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.18);
    transform: translateY(-1px);
}

/* ===== COMBINED ROW (Text + PrintResultOnly) ===== */
.re-row-combined td[b-9dk346nz5l] {
    background-color: #f0fdf4 !important;
    border-left: 3px solid #86efac;
}

.re-combined-cell[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.re-combined-label[b-9dk346nz5l] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #166534;
    white-space: nowrap;
    min-width: 140px;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.re-combined-result[b-9dk346nz5l] {
    flex: 1;
    background: #f0fdf4 !important;
    color: #15803d !important;
    border: 1.5px solid #bbf7d0 !important;
    border-radius: 6px !important;
}

.re-combined-result:focus[b-9dk346nz5l] {
    border-color: #16a34a !important;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15) !important;
    background: #fff !important;
}

/* ===== ROW DETAIL POPUP ===== */
.re-row-detail-modal[b-9dk346nz5l] {
    width: 560px;
    max-width: 96vw;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.re-row-detail-body[b-9dk346nz5l] {
    overflow-y: auto;
    padding: 16px !important;
    gap: 0 !important;
}

.re-rd-grid[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}

.re-rd-field[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.re-rd-field-span[b-9dk346nz5l] {
    grid-column: 1 / -1;
}

.re-rd-field .re-input[b-9dk346nz5l] {
    width: 100%;
    box-sizing: border-box;
}

.re-rd-field input[readonly][b-9dk346nz5l] {
    background: #f8fafc;
    color: #94a3b8;
    cursor: default;
}

/* Authorization Buttons */
.re-btn-action-primary[b-9dk346nz5l] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: white;
    border-color: #4f46e5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.re-btn-action-primary:hover:not(:disabled)[b-9dk346nz5l] {
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
    background: linear-gradient(135deg, #4338ca, #3730a3);
}

.re-btn-action-info[b-9dk346nz5l] {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border-color: #0ea5e9;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.re-btn-action-info:hover:not(:disabled)[b-9dk346nz5l] {
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
    background: linear-gradient(135deg, #0284c7, #0369a1);
}

.re-btn-action-success[b-9dk346nz5l] {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.re-btn-action-success:hover:not(:disabled)[b-9dk346nz5l] {
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
    background: linear-gradient(135deg, #059669, #047857);
}

.re-footer-names[b-9dk346nz5l] {
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-right: 16px;
}

.re-footer-names div[b-9dk346nz5l] {
    min-width: 120px;
}

.re-footer-names small[b-9dk346nz5l] {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
}

/* Detailed Normal Values Table */
.re-nv-table-container[b-9dk346nz5l] {
    max-height: 250px;
    overflow-y: auto;
}

.re-nv-row:hover[b-9dk346nz5l] {
    background-color: #f1f5f9;
}

.re-nv-row.active[b-9dk346nz5l] {
    background-color: #eef2ff;
}

.re-dual-input-container[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    margin-top: 4px;
}

.re-focus-blue[b-9dk346nz5l] {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.re-check-row-right[b-9dk346nz5l] {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.re-row-grid[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.re-form-grid[b-9dk346nz5l] {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.re-form-grid .re-label[b-9dk346nz5l] {
    margin-bottom: 0;
    font-weight: 500;
    color: #334155;
    font-size: 0.8rem;
}

.re-row-flex[b-9dk346nz5l] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.re-panel-footer[b-9dk346nz5l] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
}

.re-grid-input[b-9dk346nz5l] {
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    padding: 4px;
    font-size: 0.8rem;
    text-align: center;
    color: #1e293b;
}

.re-grid-input:focus[b-9dk346nz5l] {
    border-color: #6366f1;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
    border-radius: 4px;
}

.re-btn-add-nv[b-9dk346nz5l] {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    padding: 6px;
    width: 100%;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.re-btn-add-nv:hover[b-9dk346nz5l] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #475569;
}

.re-btn-mini[b-9dk346nz5l] {
    height: 32px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    color: #64748b;
    font-weight: 700;
}

.re-btn-mini:hover[b-9dk346nz5l] {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.re-nv-header[b-9dk346nz5l] {
    background: #f8fafc;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-nv-mini-table[b-9dk346nz5l] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    background: #fff;
}

.re-nv-mini-table th[b-9dk346nz5l] {
    background: #f1f5f9;
    padding: 8px;
    text-align: center;
    color: #64748b;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
}

.re-nv-mini-table td[b-9dk346nz5l] {
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.re-btn-primary[b-9dk346nz5l] {
    background: #4f46e5;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-btn-primary:hover[b-9dk346nz5l] {
    background: #4338ca;
}

/* GLOBAL INPUT FONT WEIGHT OVERRIDE */
input:not([type="checkbox"]):not([type="radio"])[b-9dk346nz5l],
select[b-9dk346nz5l],
textarea[b-9dk346nz5l] {
    font-weight: 700 !important;
}

input:not([type="checkbox"]):not([type="radio"])[b-9dk346nz5l]::placeholder,
textarea[b-9dk346nz5l]::placeholder {
    font-weight: 300 !important;
}

input:not([type="checkbox"]):not([type="radio"])[b-9dk346nz5l]::-webkit-input-placeholder,
textarea[b-9dk346nz5l]::-webkit-input-placeholder {
    font-weight: 300 !important;
}

input:not([type="checkbox"]):not([type="radio"])[b-9dk346nz5l]::-moz-placeholder,
textarea[b-9dk346nz5l]::-moz-placeholder {
    font-weight: 300 !important;
}

input:not([type="checkbox"]):not([type="radio"]):-ms-input-placeholder[b-9dk346nz5l],
textarea:-ms-input-placeholder[b-9dk346nz5l] {
    font-weight: 300 !important;
}

select option[b-9dk346nz5l] {
    font-weight: 300 !important;
}

select.select-placeholder[b-9dk346nz5l] {
    font-weight: 300 !important;
    color: #94a3b8 !important;
}

select.select-placeholder option:not([value=""]):not([value="0"])[b-9dk346nz5l] {
    font-weight: 300 !important;
    color: #1e293b !important;
}

/* CUSTOM COMPACT TABLE OVERRIDES FOR CONSISTENCY */
.directory-table th[b-9dk346nz5l] {
    font-size: 0.75rem !important;
    padding: 8px 12px !important;
}

.directory-table td[b-9dk346nz5l] {
    font-size: 0.78rem !important;
    padding: 8px 12px !important;
}

/* ============================================================
   16. LC TABLE & TEXT STYLE CLASSES (FROM TEST-TYPE-MASTER)
   ============================================================ */
.lc-table-container[b-9dk346nz5l] {
    width: 100%;
    overflow-x: auto;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.lc-table[b-9dk346nz5l] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-9dk346nz5l] {
    background: #0f4c64 !important;
    background: linear-gradient(90deg, #0f3d56 0%, #0d5f6f 100%) !important;
    border-bottom: 2px solid #0d9488 !important;
}

.lc-table th[b-9dk346nz5l] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: #0f4c64 !important;
    background: linear-gradient(135deg, #0f3d56 0%, #0d5f6f 100%) !important;
    padding: 7px 10px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    border-bottom: 2px solid #0d9488 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.lc-table th:last-child[b-9dk346nz5l] {
    border-right: none !important;
}

.lc-table td[b-9dk346nz5l] {
    padding: 8px 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 12px !important;
    vertical-align: middle !important;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    white-space: nowrap !important;
}

.lc-table tbody tr:last-child td[b-9dk346nz5l] {
    border-bottom: none !important;
}

.lc-table-row:hover[b-9dk346nz5l] {
    background: rgba(248, 250, 252, 0.8) !important;
}

.font-bold[b-9dk346nz5l] {
    font-weight: 700 !important;
}

.text-indigo-600[b-9dk346nz5l] {
    color: #4f46e5 !important;
}

.lc-color-slate-500[b-9dk346nz5l] {
    color: #64748b !important;
}

.lc-font-mono[b-9dk346nz5l] {
    font-family: monospace !important;
}

.lc-font-700[b-9dk346nz5l] {
    font-weight: 700 !important;
}

.lc-font-13[b-9dk346nz5l] {
    font-size: 12px !important;
}

.text-slate-800[b-9dk346nz5l] {
    color: #1e293b !important;
    font-size: 13px !important;
}

.text-slate-500[b-9dk346nz5l] {
    color: #64748b !important;
}

.text-slate-400[b-9dk346nz5l] {
    color: #94a3b8 !important;
}

.font-12[b-9dk346nz5l] {
    font-size: 11px !important;
}

.font-18[b-9dk346nz5l] {
    font-size: 18px !important;
}

.italic[b-9dk346nz5l] {
    font-style: italic !important;
}

.lc-btn[b-9dk346nz5l] {
    padding: 8px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-9dk346nz5l] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-9dk346nz5l] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-9dk346nz5l] {
    color: #4f46e5;
}

/* TABS FOR CLIENT-SPECIFIC / ALL TENANTS FILTER */
.tabs-card[b-9dk346nz5l] {
    display: flex;
    gap: 8px;
    margin: 0 0 12px 0;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.tab-btn[b-9dk346nz5l] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover[b-9dk346nz5l] {
    background-color: #f8fafc;
    color: #334155;
}

.tab-btn.active[b-9dk346nz5l] {
    background-color: #eef2ff;
    border-color: #c7d2fe;
    color: #4f46e5;
}

.tab-icon[b-9dk346nz5l] {
    font-size: 16px;
}

.tab-badge[b-9dk346nz5l] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background-color: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
}

.tab-btn.active .tab-badge[b-9dk346nz5l] {
    background-color: #c7d2fe;
    color: #4338ca;
}

/* SUBTLE EMPTY STATE STYLES WITH ANIMATION */
.empty-state-subtle[b-9dk346nz5l] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 16px;
    animation: subtle-fade-b-9dk346nz5l 0.5s ease-out;
}

.empty-state-dot[b-9dk346nz5l] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #cbd5e1;
    animation: subtle-pulse-b-9dk346nz5l 2.5s infinite ease-in-out;
}

@keyframes subtle-fade-b-9dk346nz5l {
    from {
        opacity: 0;
        transform: translateY(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtle-pulse-b-9dk346nz5l {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
        background-color: #cbd5e1;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
        background-color: #818cf8;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.6;
        background-color: #cbd5e1;
    }
}

/* ============================================================
   17. COMPACT TWO-COLUMN NEW CUSTOMER FORM
   ============================================================ */
.form-grid-layout[b-9dk346nz5l] {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.form-column[b-9dk346nz5l] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-column-divider[b-9dk346nz5l] {
    width: 1px;
    background-color: #f1f5f9;
    align-self: stretch;
    margin: 0 4px;
}

.form-section-title[b-9dk346nz5l] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #4f46e5;
    margin: 0 0 4px 0;
    padding-bottom: 6px;
    border-bottom: 1px dashed #e2e8f0;
}

.form-section-title span[b-9dk346nz5l] {
    font-size: 1.1rem;
}

.form-flags-row[b-9dk346nz5l] {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.form-column .cm-container[b-9dk346nz5l] {
    gap: 10px 16px !important;
    padding: 0 !important;
}

/* COMPACT INPUT FIELD OVERRIDES */
.cm-input[b-9dk346nz5l] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 12px !important;
    height: 36px !important;
    font-size: 0.825rem !important;
    color: #334155;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.cm-field[b-9dk346nz5l] {
    gap: 4px !important;
}

.modal-body[b-9dk346nz5l] {
    padding: 16px 24px !important;
}

.modal-footer-bar[b-9dk346nz5l] {
    padding: 12px 24px !important;
}

.cm-add-quick-btn[b-9dk346nz5l] {
    padding: 0;
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #4f46e5;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.cm-add-quick-btn:hover[b-9dk346nz5l] {
    background-color: #4338ca;
}

.cm-add-quick-btn span[b-9dk346nz5l] {
    font-size: 20px;
}

.cm-w-100[b-9dk346nz5l] {
    width: 100%;
}

/* ============================================================
   18. REFINED COMPACT ENTERPRISE DESIGN (NEAT & CLEAN)
   ============================================================ */
:global(.main-content):has(.referral-page)[b-9dk346nz5l] {
    padding: 0.5rem 0.75rem !important;
    min-height: auto !important;
}

.referral-page[b-9dk346nz5l] {
    padding: 0 !important;
    background-color: #f8fafc !important;
    height: auto !important;
    max-height: calc(100vh - 1rem) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.lab-header-card[b-9dk346nz5l] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    margin-bottom: 6px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-shrink: 0 !important;
}

.header-brand-wrap[b-9dk346nz5l] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lab-title-text[b-9dk346nz5l] {
    color: #0f172a !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.status-text[b-9dk346nz5l] {
    font-size: 11px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px !important;
}

.status-pulse-dot[b-9dk346nz5l] {
    width: 6px !important;
    height: 6px !important;
    background: #10b981 !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

.search-input-wrapper[b-9dk346nz5l] {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.search-icon[b-9dk346nz5l] {
    position: absolute !important;
    left: 9px !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.search-input[b-9dk346nz5l] {
    height: 32px !important;
    font-size: 11.5px !important;
    padding: 0 10px 0 30px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    width: 230px !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.search-input:focus[b-9dk346nz5l] {
    outline: none !important;
    border-color: #0f766e !important;
    box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15) !important;
}

.search-controls[b-9dk346nz5l] {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.btn-action-outline[b-9dk346nz5l] {
    height: 32px !important;
    padding: 0 12px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
}

.btn-action-outline:hover[b-9dk346nz5l] {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    transform: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.btn-new-entry[b-9dk346nz5l] {
    height: 32px !important;
    padding: 0 14px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background: #0f766e !important;
    border: 1px solid #0f766e !important;
    border-radius: 6px !important;
    box-shadow: 0 1px 2px rgba(15, 118, 110, 0.2) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
}

.btn-new-entry:hover[b-9dk346nz5l] {
    background: #115e59 !important;
    border-color: #115e59 !important;
    transform: none !important;
    box-shadow: 0 2px 4px rgba(15, 118, 110, 0.25) !important;
}

.tabs-card[b-9dk346nz5l] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 0 8px !important;
    margin: 0 0 6px 0 !important;
    display: flex !important;
    gap: 4px !important;
    height: 34px !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.tab-btn[b-9dk346nz5l] {
    height: 100% !important;
    padding: 0 12px !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    gap: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.tab-btn:hover[b-9dk346nz5l] {
    color: #0f172a !important;
    background: transparent !important;
}

.tab-btn.active[b-9dk346nz5l] {
    color: #0f766e !important;
    border-bottom: 2px solid #0f766e !important;
    background: transparent !important;
}

.tab-icon[b-9dk346nz5l] {
    font-size: 15px !important;
}

.directory-section[b-9dk346nz5l] {
    background: #ffffff !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.lc-table-container[b-9dk346nz5l] {
    max-height: calc(100vh - 190px) !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

.lc-table[b-9dk346nz5l] {
    width: 100% !important;
    border-collapse: collapse !important;
    text-align: left !important;
}

.lc-table thead tr[b-9dk346nz5l],
.pm-header-row[b-9dk346nz5l] {
    background: #0f4c64 !important;
    background: linear-gradient(90deg, #0f3d56 0%, #0d5f6f 100%) !important;
    border-bottom: 2px solid #0d9488 !important;
}

.lc-table th[b-9dk346nz5l],
.pm-th[b-9dk346nz5l] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: #0f4c64 !important;
    background: linear-gradient(135deg, #0f3d56 0%, #0d5f6f 100%) !important;
    padding: 7px 10px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    border-bottom: 2px solid #0d9488 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.lc-table th:last-child[b-9dk346nz5l],
.pm-th:last-child[b-9dk346nz5l] {
    border-right: none !important;
}

.lc-table td[b-9dk346nz5l] {
    padding: 5px 9px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-right: 1px solid #f8fafc !important;
    font-size: 11.5px !important;
    line-height: 1.25 !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    color: #334155 !important;
}

.lc-table tbody tr[b-9dk346nz5l],
.lc-table-row[b-9dk346nz5l] {
    height: 33px !important;
    transition: background 0.12s ease !important;
}

.lc-table tbody tr:nth-child(even)[b-9dk346nz5l],
.lc-table-row:nth-child(even)[b-9dk346nz5l] {
    background: #f8fafc !important;
}

.lc-table tbody tr:nth-child(odd)[b-9dk346nz5l],
.lc-table-row:nth-child(odd)[b-9dk346nz5l] {
    background: #ffffff !important;
}

.lc-table tbody tr:hover[b-9dk346nz5l],
.lc-table-row:hover[b-9dk346nz5l] {
    background: #f0fdfa !important;
}

/* ── Custom Compact Table Elements ── */
.pm-sno[b-9dk346nz5l] {
    display: inline-block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    background: #f1f5f9 !important;
    border-radius: 4px !important;
    padding: 1px 6px !important;
    border: 1px solid #e2e8f0 !important;
}

.pm-uhid-badge[b-9dk346nz5l] {
    display: inline-block !important;
    background: #f0fdfa !important;
    color: #0f766e !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    border: 1px solid #99f6e4 !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 1px 2px rgba(15, 118, 110, 0.08) !important;
}

.pm-name-cell[b-9dk346nz5l] {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
}

.pm-avatar-initial[b-9dk346nz5l] {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.pm-avatar-initial.male[b-9dk346nz5l] {
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe !important;
}

.pm-avatar-initial.female[b-9dk346nz5l] {
    background: #fdf2f8 !important;
    color: #db2777 !important;
    border: 1px solid #fbcfe8 !important;
}

.pm-avatar-initial.child[b-9dk346nz5l] {
    background: #fef3c7 !important;
    color: #d97706 !important;
    border: 1px solid #fde68a !important;
}

.pm-avatar-initial.default[b-9dk346nz5l] {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border: 1px solid #e2e8f0 !important;
}

.pm-name-text[b-9dk346nz5l] {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    letter-spacing: -0.1px !important;
}

.pm-gender-symbol[b-9dk346nz5l] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
}

.pm-gender-symbol.male[b-9dk346nz5l] {
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #dbeafe !important;
}

.pm-gender-symbol.female[b-9dk346nz5l] {
    background: #fdf2f8 !important;
    color: #db2777 !important;
    border: 1px solid #fce7f3 !important;
}

.pm-gender-symbol .material-symbols-outlined[b-9dk346nz5l] {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.pm-child-badge[b-9dk346nz5l] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    padding: 1px 6px !important;
    border-radius: 12px !important;
    background: #fef3c7 !important;
    color: #b45309 !important;
    border: 1px solid #fde68a !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
}

.pm-child-badge .material-symbols-outlined[b-9dk346nz5l] {
    font-size: 12px !important;
    line-height: 1 !important;
}

.pm-gender-text[b-9dk346nz5l] {
    font-size: 12px !important;
    color: #475569 !important;
    font-weight: 500 !important;
}

.pm-gender-text.male[b-9dk346nz5l] {
    color: #1d4ed8 !important;
    font-weight: 600 !important;
}

.pm-gender-text.female[b-9dk346nz5l] {
    color: #be185d !important;
    font-weight: 600 !important;
}

.pm-age-text[b-9dk346nz5l] {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #334155 !important;
}

.pm-mobile-text[b-9dk346nz5l] {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    letter-spacing: 0.2px !important;
}

.pm-date-text[b-9dk346nz5l] {
    font-size: 11.5px !important;
    color: #64748b !important;
    font-weight: 400 !important;
}

.pm-empty-dash[b-9dk346nz5l] {
    color: #94a3b8 !important;
}

.pm-action-group[b-9dk346nz5l] {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
}

.pm-action-btn[b-9dk346nz5l] {
    width: 26px !important;
    height: 26px !important;
    border-radius: 4px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    padding: 0 !important;
}

.pm-action-btn .material-symbols-outlined[b-9dk346nz5l] {
    font-size: 14px !important;
    color: #64748b !important;
}

.pm-action-btn.edit:hover[b-9dk346nz5l] {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
}

.pm-action-btn.edit:hover .material-symbols-outlined[b-9dk346nz5l] {
    color: #16a34a !important;
}

.pm-action-btn.delete:hover[b-9dk346nz5l] {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
}

.pm-action-btn.delete:hover .material-symbols-outlined[b-9dk346nz5l] {
    color: #dc2626 !important;
}

/* ── Pagination ── */
.pagination-footer[b-9dk346nz5l] {
    padding: 5px 12px !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-shrink: 0 !important;
    font-size: 11px !important;
}

.pagination-info[b-9dk346nz5l] {
    font-size: 11px !important;
    color: #64748b !important;
}

.pagination-info-highlight[b-9dk346nz5l] {
    font-weight: 600 !important;
    color: #0f172a !important;
}

.pagination-btns[b-9dk346nz5l] {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.page-btn[b-9dk346nz5l] {
    min-width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
    padding: 0 5px !important;
    border-radius: 4px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #64748b !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.15s ease !important;
}

.page-btn:hover:not(:disabled)[b-9dk346nz5l] {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

.page-btn.active[b-9dk346nz5l] {
    background: #0f766e !important;
    border-color: #0f766e !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Patient Master dashboard theme */
:global(html:has(.referral-page))[b-9dk346nz5l],
:global(body:has(.referral-page))[b-9dk346nz5l] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.referral-page))[b-9dk346nz5l],
:global(.app-main-wrapper:has(.referral-page))[b-9dk346nz5l] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.referral-page)[b-9dk346nz5l] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.referral-page[b-9dk346nz5l] {
    background: transparent !important;
    background-color: transparent !important;
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    box-sizing: border-box !important;
}

.lab-header-card[b-9dk346nz5l] {
    min-height: 52px !important;
    padding: 2px 0 !important;
    margin-bottom: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.referral-page .lab-header-card[b-9dk346nz5l] {
    min-height: 52px !important;
    padding: 2px 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.referral-page .tabs-card[b-9dk346nz5l],
.tabs-card[b-9dk346nz5l] {
    width: 100% !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.lab-title-text[b-9dk346nz5l] {
    color: #07547c !important;
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}

.status-text[b-9dk346nz5l] {
    color: #64748b !important;
    font-size: 0.78rem !important;
}

.status-pulse-dot[b-9dk346nz5l] {
    width: 7px !important;
    height: 7px !important;
    background: #10b981 !important;
}

.search-input[b-9dk346nz5l] {
    width: 300px !important;
    height: 40px !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    font-size: 0.82rem !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
}

.search-input:focus[b-9dk346nz5l] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.btn-action-outline[b-9dk346nz5l],
.btn-new-entry[b-9dk346nz5l] {
    height: 40px !important;
    border-radius: 10px !important;
    font-size: 0.82rem !important;
}

.btn-action-outline[b-9dk346nz5l] {
    color: #0876ad !important;
    border-color: #0876ad !important;
}

.btn-action-outline:hover[b-9dk346nz5l] {
    background: #eff8ff !important;
    border-color: #05689b !important;
    color: #05689b !important;
}

.btn-new-entry[b-9dk346nz5l] {
    background: #087bb5 !important;
    border-color: #087bb5 !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
}

.btn-new-entry:hover[b-9dk346nz5l] {
    background: #05689b !important;
    border-color: #05689b !important;
}

.tabs-card[b-9dk346nz5l] {
    height: 34px !important;
    width: fit-content !important;
    padding: 0 !important;
    margin: 0 0 0.15rem !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.tab-btn[b-9dk346nz5l] {
    padding: 0 1rem !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
}

.tab-btn.active[b-9dk346nz5l] {
    color: #0876ad !important;
    border-bottom-color: #0876ad !important;
}

.directory-section[b-9dk346nz5l] {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    background: #ffffff !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
}

.lc-table-container[b-9dk346nz5l] {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
}

.lc-table thead tr[b-9dk346nz5l],
.pm-header-row[b-9dk346nz5l],
.lc-table th[b-9dk346nz5l],
.pm-th[b-9dk346nz5l] {
    background: #0876ad !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom-color: #b7e5ff !important;
}

.lc-table th[b-9dk346nz5l],
.pm-th[b-9dk346nz5l] {
    padding: 5px 8px !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.4px !important;
    height: 30px !important;
    box-sizing: border-box !important;
    color: #ffffff !important;
}

.lc-table td[b-9dk346nz5l] {
    padding: 2px 8px !important;
    font-size: 0.74rem !important;
    color: #334155 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    line-height: 1.2 !important;
}

.lc-table tbody tr[b-9dk346nz5l],
.lc-table-row[b-9dk346nz5l] {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 34px !important;
}

.lc-table tbody tr:hover[b-9dk346nz5l] {
    background: #f0f8ff !important;
}

.pm-uhid-badge[b-9dk346nz5l] {
    background: #e4f4ff !important;
    color: #0876ad !important;
    border-color: #a9ddfa !important;
    border-radius: 999px !important;
    padding: 1px 7px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.pagination-footer[b-9dk346nz5l] {
    height: 34px !important;
    min-height: 34px !important;
    flex: 0 0 34px !important;
    padding: 0 0.85rem !important;
    background: #ffffff !important;
    border-top: 1px solid #e5edf5 !important;
    box-sizing: border-box !important;
}

.page-btn[b-9dk346nz5l] {
    min-width: 24px !important;
    height: 24px !important;
    padding: 0 5px !important;
    font-size: 0.72rem !important;
}

.pm-action-btn[b-9dk346nz5l] {
    width: 24px !important;
    height: 24px !important;
    border-radius: 6px !important;
    border: 1px solid #dbe8f3 !important;
    background: #f8fbff !important;
    color: #0876ad !important;
    font-size: 0.72rem !important;
}

.pm-action-btn:hover[b-9dk346nz5l] {
    background: #e4f4ff !important;
    border-color: #a9ddfa !important;
}

.pm-action-btn.delete[b-9dk346nz5l] {
    color: #dc2626 !important;
}

.pm-sno[b-9dk346nz5l] {
    min-width: 20px !important;
    text-align: center !important;
    padding: 1px 4px !important;
    font-size: 0.7rem !important;
    line-height: 1.2 !important;
    color: #47627b !important;
    background: #f1f6fb !important;
    border-color: #e0eaf3 !important;
}

.pm-name-cell[b-9dk346nz5l] {
    gap: 5px !important;
    align-items: center !important;
}

.pm-avatar-initial[b-9dk346nz5l] {
    width: 20px !important;
    height: 20px !important;
    font-size: 10px !important;
    line-height: 20px !important;
}

.pm-gender-symbol[b-9dk346nz5l] {
    width: 15px !important;
    height: 15px !important;
}

.pm-gender-symbol .material-symbols-outlined[b-9dk346nz5l] {
    font-size: 11px !important;
}

.pm-child-badge[b-9dk346nz5l] {
    padding: 1px 4px !important;
    font-size: 10px !important;
}

.pm-name-text[b-9dk346nz5l] {
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 0.76rem !important;
}

.pm-mobile-text[b-9dk346nz5l],
.pm-date-text[b-9dk346nz5l],
.pm-age-text[b-9dk346nz5l] {
    color: #526b82 !important;
    font-weight: 600 !important;
    font-size: 0.73rem !important;
    line-height: 1.2 !important;
}

.pm-gender-text.male[b-9dk346nz5l] {
    color: #2563eb !important;
    font-weight: 700 !important;
    font-size: 0.73rem !important;
}

.pm-gender-text.female[b-9dk346nz5l] {
    color: #db2777 !important;
    font-weight: 700 !important;
    font-size: 0.73rem !important;
}

.pm-action-group[b-9dk346nz5l] {
    gap: 3px !important;
}

.page-btn.active[b-9dk346nz5l] {
    background: #0876ad !important;
    border-color: #0876ad !important;
}

@media (max-width: 900px) {
    .lab-header-card[b-9dk346nz5l] {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .search-controls[b-9dk346nz5l],
    .search-input-wrapper[b-9dk346nz5l],
    .search-input[b-9dk346nz5l] {
        width: 100% !important;
    }

    .search-controls[b-9dk346nz5l] {
        flex-wrap: wrap !important;
    }
}
/* /Components/Pages/PaymodeMaster.razor.rz.scp.css */
.referral-page[b-hjuy57zyua] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-hjuy57zyua] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-hjuy57zyua] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-hjuy57zyua] {
    display: flex;
}

.align-center[b-hjuy57zyua] {
    align-items: center;
}

.flex-center[b-hjuy57zyua] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-hjuy57zyua] {
    gap: 8px;
}

.gap-12[b-hjuy57zyua] {
    gap: 12px;
}

.gap-16[b-hjuy57zyua] {
    gap: 16px;
}

.p-2[b-hjuy57zyua] {
    padding: 8px;
}

.p-4[b-hjuy57zyua] {
    padding: 16px;
}

.p-48[b-hjuy57zyua] {
    padding: 48px;
}

.rounded-lg[b-hjuy57zyua] {
    border-radius: 8px;
}

.shadow-sm[b-hjuy57zyua] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-hjuy57zyua] {
    margin: 0;
}

.mt-2px[b-hjuy57zyua] {
    margin-top: 2px;
}

.mb-0[b-hjuy57zyua] {
    margin-bottom: 0;
}

.mt-0[b-hjuy57zyua] {
    margin-top: 0;
}

.relative-positioned[b-hjuy57zyua] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-hjuy57zyua] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04);
    padding: 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
}

.lab-title-text[b-hjuy57zyua] {
    color: #312e81;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-hjuy57zyua] {
    background-color: #eef2ff;
}

.text-indigo-600[b-hjuy57zyua] {
    color: #4f46e5;
}

.icon-lg[b-hjuy57zyua] {
    font-size: 24px;
}

.status-pulse-dot[b-hjuy57zyua] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-hjuy57zyua 2s infinite;
}

.status-text[b-hjuy57zyua] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-hjuy57zyua] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-hjuy57zyua] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-hjuy57zyua] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-hjuy57zyua] {
    width: 220px;
}

.btn-new-entry[b-hjuy57zyua] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-hjuy57zyua] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-hjuy57zyua] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.lc-table-container[b-hjuy57zyua] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-hjuy57zyua] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-hjuy57zyua] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-hjuy57zyua] {
    padding: 1rem 1.5rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lc-table td[b-hjuy57zyua] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    vertical-align: middle;
}

.lc-table tbody tr:last-child td[b-hjuy57zyua] {
    border-bottom: none;
}

.lc-table-row:hover[b-hjuy57zyua] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-hjuy57zyua] {
    font-weight: 700;
}

.text-indigo-600[b-hjuy57zyua] {
    color: #4f46e5;
}

.lc-color-slate-500[b-hjuy57zyua] {
    color: #64748b;
}

.lc-font-mono[b-hjuy57zyua] {
    font-family: monospace;
}

.lc-font-700[b-hjuy57zyua] {
    font-weight: 700;
}

.lc-font-13[b-hjuy57zyua] {
    font-size: 13px;
}

.text-slate-800[b-hjuy57zyua] {
    color: #1e293b;
}

.text-slate-500[b-hjuy57zyua] {
    color: #64748b;
}

.text-slate-400[b-hjuy57zyua] {
    color: #94a3b8;
}

.font-12[b-hjuy57zyua] {
    font-size: 12px;
}

.font-18[b-hjuy57zyua] {
    font-size: 18px;
}

.italic[b-hjuy57zyua] {
    font-style: italic;
}

/* Action buttons */
.lc-btn[b-hjuy57zyua] {
    padding: 8px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-hjuy57zyua] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-hjuy57zyua] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-hjuy57zyua] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-hjuy57zyua] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-hjuy57zyua] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 800px;
    max-height: 95vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-hjuy57zyua 0.3s ease-out;
}

.modal-header-bar[b-hjuy57zyua] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-hjuy57zyua] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-hjuy57zyua] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-hjuy57zyua] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-hjuy57zyua] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-section[b-hjuy57zyua] {
    margin-bottom: 0;
}

.form-group[b-hjuy57zyua] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-hjuy57zyua] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-input[b-hjuy57zyua] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
}

.lab-input:focus[b-hjuy57zyua] {
    outline: none;
    border-color: #4f46e5;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.um-grid-row[b-hjuy57zyua] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.um-grid-cols-4[b-hjuy57zyua] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-2[b-hjuy57zyua] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

/* Styled flags card for checkboxes */
.flags-card[b-hjuy57zyua] {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 8px;
    margin-bottom: 16px;
}

.flags-header[b-hjuy57zyua] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 16px;
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 8px;
}

.flags-header-icon[b-hjuy57zyua] {
    font-size: 16px;
    color: #64748b;
}

.flags-grid[b-hjuy57zyua] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.flag-item[b-hjuy57zyua] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.flag-item:hover[b-hjuy57zyua] {
    background-color: #eef2ff;
    border-color: #e0e7ff;
}

.flag-item input[type="checkbox"][b-hjuy57zyua] {
    width: 16px;
    height: 16px;
    accent-color: #4f46e5;
    cursor: pointer;
}

/* Badge styling for flags in directory */
.flag-badge[b-hjuy57zyua] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    margin-right: 4px;
    margin-bottom: 4px;
}

.bg-lab[b-hjuy57zyua] {
    background-color: #dbeafe;
    color: #1e40af;
}

.bg-scan[b-hjuy57zyua] {
    background-color: #fef3c7;
    color: #92400e;
}

.bg-charges[b-hjuy57zyua] {
    background-color: #d1fae5;
    color: #065f46;
}

.bg-inventory[b-hjuy57zyua] {
    background-color: #e0f2fe;
    color: #0369a1;
}

.bg-package[b-hjuy57zyua] {
    background-color: #f3e8ff;
    color: #6b21a8;
}

.bg-treatment[b-hjuy57zyua] {
    background-color: #ffe4e6;
    color: #9f1239;
}

.modal-footer-bar[b-hjuy57zyua] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-hjuy57zyua] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-hjuy57zyua] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-hjuy57zyua] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-delete[b-hjuy57zyua] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.btn-delete:hover:not(:disabled)[b-hjuy57zyua] {
    text-decoration: underline;
}

.btn-delete:disabled[b-hjuy57zyua] {
    opacity: 0.4;
    cursor: not-allowed;
}

.text-danger[b-hjuy57zyua] {
    color: #ef4444;
}

.alert[b-hjuy57zyua] {
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
}

.alert-danger[b-hjuy57zyua] {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success[b-hjuy57zyua] {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

/* Animations */
@keyframes lc-pulse-b-hjuy57zyua {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-hjuy57zyua] {
    animation: lc-fadeInUp-b-hjuy57zyua 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-hjuy57zyua {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR PAYMODE MASTER
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .referral-page[b-hjuy57zyua],
[data-theme="dark"] .referral-page[b-hjuy57zyua] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-hjuy57zyua],
[data-theme="dark"] .lab-header-card[b-hjuy57zyua] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-hjuy57zyua],
:host-context([data-theme="dark"]) .modal-header-bar h3[b-hjuy57zyua],
:host-context([data-theme="dark"]) .text-slate-800[b-hjuy57zyua],
[data-theme="dark"] .lab-title-text[b-hjuy57zyua],
[data-theme="dark"] .modal-header-bar h3[b-hjuy57zyua],
[data-theme="dark"] .text-slate-800[b-hjuy57zyua] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .bg-indigo-50[b-hjuy57zyua],
[data-theme="dark"] .bg-indigo-50[b-hjuy57zyua] {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .text-indigo-600[b-hjuy57zyua],
[data-theme="dark"] .text-indigo-600[b-hjuy57zyua] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .status-text[b-hjuy57zyua],
:host-context([data-theme="dark"]) .text-slate-500[b-hjuy57zyua],
:host-context([data-theme="dark"]) .text-slate-400[b-hjuy57zyua],
:host-context([data-theme="dark"]) .lc-color-slate-500[b-hjuy57zyua],
:host-context([data-theme="dark"]) .form-group label[b-hjuy57zyua],
[data-theme="dark"] .status-text[b-hjuy57zyua],
[data-theme="dark"] .text-slate-500[b-hjuy57zyua],
[data-theme="dark"] .text-slate-400[b-hjuy57zyua],
[data-theme="dark"] .lc-color-slate-500[b-hjuy57zyua],
[data-theme="dark"] .form-group label[b-hjuy57zyua] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input[b-hjuy57zyua],
[data-theme="dark"] .lc-rounded-pill-input[b-hjuy57zyua] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .directory-section[b-hjuy57zyua],
:host-context([data-theme="dark"]) .modal-form-card[b-hjuy57zyua],
[data-theme="dark"] .directory-section[b-hjuy57zyua],
[data-theme="dark"] .modal-form-card[b-hjuy57zyua] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lc-table thead tr[b-hjuy57zyua],
:host-context([data-theme="dark"]) .lc-table th[b-hjuy57zyua],
[data-theme="dark"] .lc-table thead tr[b-hjuy57zyua],
[data-theme="dark"] .lc-table th[b-hjuy57zyua] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-table td[b-hjuy57zyua],
[data-theme="dark"] .lc-table td[b-hjuy57zyua] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .lc-table-row:hover td[b-hjuy57zyua],
[data-theme="dark"] .lc-table-row:hover td[b-hjuy57zyua] {
    background-color: #0f172a !important;
}

:host-context([data-theme="dark"]) .lc-btn[b-hjuy57zyua],
[data-theme="dark"] .lc-btn[b-hjuy57zyua] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .lc-btn:hover[b-hjuy57zyua],
[data-theme="dark"] .lc-btn:hover[b-hjuy57zyua] {
    background: #1e293b !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .modal-header-bar[b-hjuy57zyua],
:host-context([data-theme="dark"]) .modal-body[b-hjuy57zyua],
:host-context([data-theme="dark"]) .modal-footer-bar[b-hjuy57zyua],
:host-context([data-theme="dark"]) .flags-card[b-hjuy57zyua],
[data-theme="dark"] .modal-header-bar[b-hjuy57zyua],
[data-theme="dark"] .modal-body[b-hjuy57zyua],
[data-theme="dark"] .modal-footer-bar[b-hjuy57zyua],
[data-theme="dark"] .flags-card[b-hjuy57zyua] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .flag-item[b-hjuy57zyua],
[data-theme="dark"] .flag-item[b-hjuy57zyua] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-input[b-hjuy57zyua],
[data-theme="dark"] .lab-input[b-hjuy57zyua] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

/* Master dashboard theme */
:global(.main-content):has(.referral-page)[b-hjuy57zyua] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.referral-page[b-hjuy57zyua] { height: calc(100vh - 1.5rem) !important; min-height: 0 !important; padding: 0 !important; gap: .6rem !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.lab-header-card[b-hjuy57zyua] { flex: 0 0 78px !important; padding: .15rem 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.icon-box-container[b-hjuy57zyua] { background: #e4f4ff !important; }
.text-indigo-600[b-hjuy57zyua] { color: #0876ad !important; }
.lab-title-text[b-hjuy57zyua] { color: #07547c !important; font-size: 1.85rem !important; font-weight: 800 !important; }
.status-text[b-hjuy57zyua] { color: #647b90 !important; font-size: .78rem !important; text-transform: none !important; letter-spacing: 0 !important; }
.lc-rounded-pill-input[b-hjuy57zyua] { width: 280px !important; height: 40px !important; border-radius: 10px !important; border-color: #cbd9e8 !important; }
.btn-new-entry[b-hjuy57zyua] { height: 40px !important; padding: 0 1.15rem !important; border-radius: 10px !important; background: #087bb5 !important; }
.directory-section[b-hjuy57zyua] { flex: 1 1 auto !important; min-height: 0 !important; margin: 0 !important; border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; background: #fff !important; }
.lc-table-container[b-hjuy57zyua] { max-height: none !important; overflow: auto !important; }
.lc-table thead tr[b-hjuy57zyua] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.lc-table th[b-hjuy57zyua] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.lc-table td[b-hjuy57zyua] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.lc-table tbody tr[b-hjuy57zyua] { height: 44px !important; background: #fff !important; }
.lc-table tbody tr:nth-child(even)[b-hjuy57zyua] { background: #f8fbfe !important; }
.lc-table-row:hover[b-hjuy57zyua] { background: #f0f8ff !important; }
.text-slate-800[b-hjuy57zyua] { color: #1e293b !important; }
.lc-btn[b-hjuy57zyua], .lc-circle-btn-32[b-hjuy57zyua] { width: 28px !important; height: 28px !important; padding: 0 !important; border: 1px solid #dbe8f3 !important; border-radius: 8px !important; background: #f8fbff !important; color: #0876ad !important; }
/* /Components/Pages/PharmacyDashboard.razor.rz.scp.css */
/* Single Viewport Dashboard Layout - No Vertical Scrolling */
.dashboard-wrapper[b-rqcfbywzsq] {
    padding: 0.6rem 1rem;
    background: #f8fafc;
    height: calc(100vh - 65px);
    max-height: calc(100vh - 65px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: #0f172a;
    box-sizing: border-box;
}

/* Header */
.dashboard-header[b-rqcfbywzsq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    flex-shrink: 0;
}

.header-title[b-rqcfbywzsq] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-badge[b-rqcfbywzsq] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.icon-badge.emerald[b-rqcfbywzsq] { background: #dcfce7; color: #059669; }
.icon-badge.blue[b-rqcfbywzsq] { background: #dbeafe; color: #2563eb; }
.icon-badge.warning[b-rqcfbywzsq] { background: #fef3c7; color: #d97706; }
.icon-badge.purple[b-rqcfbywzsq] { background: #f3e8ff; color: #8b5cf6; }

.header-title h1[b-rqcfbywzsq] {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    color: #1e293b;
    line-height: 1.2;
}

.header-title p[b-rqcfbywzsq] {
    font-size: 0.76rem;
    color: #64748b;
    margin: 0;
}

.header-actions[b-rqcfbywzsq] {
    display: flex;
    gap: 0.5rem;
}

.btn[b-rqcfbywzsq] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.78rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary[b-rqcfbywzsq] {
    background: linear-gradient(135deg, #059669, #047857);
    color: #ffffff;
    border: none;
    box-shadow: 0 3px 8px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover[b-rqcfbywzsq] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.btn-outline[b-rqcfbywzsq] {
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.btn-outline:hover[b-rqcfbywzsq] {
    background: #f1f5f9;
    color: #1e293b;
}

/* KPI Cards */
.kpi-grid[b-rqcfbywzsq] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.55rem;
    flex-shrink: 0;
}

.kpi-card[b-rqcfbywzsq] {
    background: #ffffff;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.kpi-card[b-rqcfbywzsq]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3.5px;
    height: 100%;
}

.kpi-card.emerald[b-rqcfbywzsq]::before { background: #059669; }
.kpi-card.blue[b-rqcfbywzsq]::before { background: #2563eb; }
.kpi-card.warning[b-rqcfbywzsq]::before { background: #d97706; }
.kpi-card.purple[b-rqcfbywzsq]::before { background: #8b5cf6; }

.kpi-top[b-rqcfbywzsq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kpi-label[b-rqcfbywzsq] {
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.kpi-icon[b-rqcfbywzsq] {
    font-size: 1rem;
    opacity: 0.8;
}

.kpi-card.emerald .kpi-icon[b-rqcfbywzsq] { color: #059669; }
.kpi-card.blue .kpi-icon[b-rqcfbywzsq] { color: #2563eb; }
.kpi-card.warning .kpi-icon[b-rqcfbywzsq] { color: #d97706; }
.kpi-card.purple .kpi-icon[b-rqcfbywzsq] { color: #8b5cf6; }

.kpi-value[b-rqcfbywzsq] {
    font-size: 1.45rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    margin: 0.15rem 0;
}

.kpi-foot[b-rqcfbywzsq] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.kpi-foot.positive[b-rqcfbywzsq] { color: #16a34a; }
.kpi-foot.danger[b-rqcfbywzsq] { color: #dc2626; }
.kpi-foot.info[b-rqcfbywzsq] { color: #0284c7; }

/* Charts Row */
.charts-row[b-rqcfbywzsq] {
    display: flex;
    gap: 0.55rem;
    flex: 1.1;
    min-height: 0;
}

.flex-2[b-rqcfbywzsq] { flex: 2; min-width: 0; }
.flex-1[b-rqcfbywzsq] { flex: 1; min-width: 0; }

.chart-card[b-rqcfbywzsq] {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 0.65rem 0.85rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.chart-header[b-rqcfbywzsq] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.35rem;
    flex-shrink: 0;
}

.chart-header h3[b-rqcfbywzsq] {
    font-size: 0.92rem;
    font-weight: 800;
    margin: 0;
    color: #1e293b;
}

.chart-sub[b-rqcfbywzsq] {
    font-size: 0.72rem;
    color: #64748b;
}

.chart-body[b-rqcfbywzsq] {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
}

.chart-body canvas[b-rqcfbywzsq] {
    max-height: 100% !important;
}

/* Panel Card & Tables */
.dashboard-grid-2[b-rqcfbywzsq] {
    display: flex;
    gap: 0.55rem;
    flex: 1;
    min-height: 0;
}

.panel-card[b-rqcfbywzsq] {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 0.65rem 0.85rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.panel-header[b-rqcfbywzsq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
    flex-shrink: 0;
}

.panel-header h3[b-rqcfbywzsq] {
    font-size: 0.92rem;
    font-weight: 800;
    margin: 0;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.view-link[b-rqcfbywzsq] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #059669;
    text-decoration: none;
}

.table-responsive[b-rqcfbywzsq] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.custom-table[b-rqcfbywzsq] {
    width: 100%;
    border-collapse: collapse;
}

.custom-table th[b-rqcfbywzsq] {
    background: #f8fafc;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.45rem 0.6rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1;
}

.custom-table td[b-rqcfbywzsq] {
    padding: 0.45rem 0.6rem;
    font-size: 0.78rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.pay-tag[b-rqcfbywzsq] {
    font-weight: 800;
    font-size: 0.7rem;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.pay-tag.cash[b-rqcfbywzsq] { background: #dcfce7; color: #15803d; }
.pay-tag.upi[b-rqcfbywzsq] { background: #e0f2fe; color: #0369a1; }
.pay-tag.card[b-rqcfbywzsq] { background: #f3e8ff; color: #7e22ce; }

/* Quick Action Tiles */
.quick-action-grid[b-rqcfbywzsq] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
    flex: 1;
}

.action-tile[b-rqcfbywzsq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 0.4rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #334155;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.76rem;
    transition: all 0.2s ease;
}

.action-tile i[b-rqcfbywzsq] {
    font-size: 1.15rem;
    color: #059669;
}

.action-tile:hover[b-rqcfbywzsq] {
    background: #ffffff;
    border-color: #059669;
    color: #059669;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.12);
}
/* /Components/Pages/PharmacyDueCollection.razor.rz.scp.css */
.due-collection-wrapper[b-48y1uz4u30] {
    margin: 0 auto;
    padding: 0.25rem 1rem 1rem 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Header Card with Gradient matching Due Collection in Billing Portal */
.due-header-card[b-48y1uz4u30] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(8, 123, 181, 0.1);
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(8, 123, 181, 0.03), 0 2px 4px -1px rgba(8, 123, 181, 0.02);
    flex-wrap: wrap;
}

.header-left-section[b-48y1uz4u30] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.header-icon-container[b-48y1uz4u30] {
    background: #ffffff;
    color: #087bb5;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(8, 123, 181, 0.08);
    border: 1px solid rgba(8, 123, 181, 0.1);
}

.header-text-container h1[b-48y1uz4u30] {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: #1e1b4b;
    line-height: 1.2;
}

.header-text-container p[b-48y1uz4u30] {
    font-size: 0.68rem;
    margin: 0.25rem 0 0 0;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
}

.header-status-dot[b-48y1uz4u30] {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 6px;
}

.header-right-section[b-48y1uz4u30] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-left: auto;
}

.header-summary-cards[b-48y1uz4u30] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.header-summary-card[b-48y1uz4u30] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    min-width: 105px;
    transition: all 0.2s ease;
}

.header-summary-card.balance[b-48y1uz4u30] {
    border-left: 3.5px solid #087bb5;
}

.header-summary-card.count[b-48y1uz4u30] {
    border-left: 3.5px solid #0891b2;
}

.header-summary-card.collected[b-48y1uz4u30] {
    border-left: 3.5px solid #10b981;
}

.header-summary-card.remaining[b-48y1uz4u30],
.header-summary-card.concession[b-48y1uz4u30] {
    border-left: 3.5px solid #f59e0b;
}

.header-summary-label[b-48y1uz4u30] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.header-summary-value[b-48y1uz4u30] {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
}

.header-summary-value.text-balance[b-48y1uz4u30] {
    color: #087bb5;
}

.header-summary-value.text-count[b-48y1uz4u30] {
    color: #0891b2;
}

.header-summary-value.text-collected[b-48y1uz4u30] {
    color: #10b981;
}

.header-summary-value.text-remaining[b-48y1uz4u30] {
    color: #d97706;
}

.btn-history-filter-trigger[b-48y1uz4u30] {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
}

.btn-history-filter-trigger:hover[b-48y1uz4u30],
.btn-history-filter-trigger.active[b-48y1uz4u30] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

/* Tabs */
.due-tabs[b-48y1uz4u30] {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
}

.tab-btn[b-48y1uz4u30] {
    background: transparent;
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease-in-out;
    margin-bottom: -4px;
    border-radius: 6px 6px 0 0;
}

.tab-btn:hover[b-48y1uz4u30] {
    color: #1e293b;
    background-color: #f1f5f9;
}

.tab-btn.active[b-48y1uz4u30] {
    color: #087bb5;
    border-bottom-color: #087bb5;
    background: rgba(8, 123, 181, 0.05);
}

.tab-btn i[b-48y1uz4u30] {
    font-size: 1rem;
}

/* Advanced Filter Card */
.advanced-filter-card[b-48y1uz4u30] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.filter-boxes-grid[b-48y1uz4u30] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group-filter[b-48y1uz4u30] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group-filter label[b-48y1uz4u30] {
    font-size: 0.65rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select[b-48y1uz4u30],
.filter-input[b-48y1uz4u30] {
    height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.2s;
    background: #ffffff;
    color: #1e293b;
}

.filter-select:focus[b-48y1uz4u30],
.filter-input:focus[b-48y1uz4u30],
.control-select:focus[b-48y1uz4u30],
.control-input:focus[b-48y1uz4u30] {
    border-color: #087bb5;
    box-shadow: 0 0 0 3px rgba(8, 123, 181, 0.1);
}

.btn-link[b-48y1uz4u30] {
    background: none;
    border: none;
    color: #087bb5;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: color 0.2s;
}

.btn-link:hover[b-48y1uz4u30] {
    color: #3730a3;
}

.btn-link:disabled[b-48y1uz4u30] {
    color: #a5b4fc;
    cursor: not-allowed;
    text-decoration: none;
}

.btn-reset-filters[b-48y1uz4u30] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
    height: 38px;
}

.btn-reset-filters:hover[b-48y1uz4u30] {
    background: #e2e8f0;
    color: #1e293b;
}

.btn-search-blue[b-48y1uz4u30] {
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
    height: 38px;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-search-blue:hover[b-48y1uz4u30] {
    background: #1d4ed8;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* Controls Card */
.controls-card[b-48y1uz4u30] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.controls-left[b-48y1uz4u30],
.controls-right[b-48y1uz4u30] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.control-group[b-48y1uz4u30] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.control-group label[b-48y1uz4u30] {
    font-size: 0.65rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
}

.search-input-wrapper[b-48y1uz4u30] {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper i[b-48y1uz4u30] {
    position: absolute;
    left: 0.75rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

.search-input-wrapper .control-input[b-48y1uz4u30] {
    padding-left: 2.2rem;
    padding-right: 2rem;
    width: 250px;
    height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.85rem;
}

.clear-search-btn[b-48y1uz4u30] {
    position: absolute;
    right: 0.65rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #94a3b8;
    cursor: pointer;
}

.btn-save[b-48y1uz4u30] {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0 1.4rem;
    height: 38px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.25);
    transition: all 0.2s;
}

.btn-save:hover:not(:disabled)[b-48y1uz4u30] {
    background: #2563eb;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

.btn-save:disabled[b-48y1uz4u30] {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    background: #94a3b8;
}

/* Tables */
.table-container[b-48y1uz4u30] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.due-table[b-48y1uz4u30] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.due-table thead th[b-48y1uz4u30] {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 0.85rem;
    border-bottom: 1.5px solid #e2e8f0;
    white-space: nowrap;
}

.due-table tbody tr[b-48y1uz4u30] {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s;
}

.due-table tbody tr:hover[b-48y1uz4u30] {
    background-color: #f8fafc;
}

.due-table tbody tr.row-selected[b-48y1uz4u30] {
    background-color: #eef2ff !important;
}

.due-table td[b-48y1uz4u30] {
    padding: 0.65rem 0.85rem;
    vertical-align: middle;
}

.row-input[b-48y1uz4u30] {
    width: 100%;
    max-width: 140px;
    height: 32px;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.25rem 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    transition: all 0.2s;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.row-input:focus[b-48y1uz4u30] {
    border-color: #087bb5;
    box-shadow: 0 0 0 2px rgba(8, 123, 181, 0.2);
}

.row-select[b-48y1uz4u30] {
    width: 100%;
    height: 32px;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    transition: all 0.2s;
    cursor: pointer;
}

.row-select:focus[b-48y1uz4u30] {
    border-color: #087bb5;
    box-shadow: 0 0 0 2px rgba(8, 123, 181, 0.2);
}

.col-paymode[b-48y1uz4u30] {
    min-width: 155px;
    width: 165px;
}

.col-collected[b-48y1uz4u30] {
    min-width: 145px;
    width: 155px;
}

.col-check[b-48y1uz4u30] {
    width: 40px;
    text-align: center;
}

.col-check input[type="checkbox"][b-48y1uz4u30] {
    width: 16px;
    height: 16px;
    accent-color: #087bb5;
    cursor: pointer;
}

/* Autocomplete */
.autocomplete-search-wrapper[b-48y1uz4u30] {
    position: relative;
    width: 100%;
}

.autocomplete-dropdown[b-48y1uz4u30] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-height: 320px;
    overflow-y: auto;
    z-index: 1050;
    margin-top: 4px;
}

.autocomplete-header[b-48y1uz4u30] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0.85rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 2;
}

.btn-close-dropdown[b-48y1uz4u30] {
    background: none;
    border: none;
    font-size: 1.15rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.btn-close-dropdown:hover[b-48y1uz4u30] {
    color: #0f172a;
}

.autocomplete-item[b-48y1uz4u30] {
    padding: 0.6rem 0.85rem;
    font-size: 0.82rem;
    color: #334155;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.autocomplete-item:hover[b-48y1uz4u30],
.autocomplete-item.active-focused[b-48y1uz4u30] {
    background-color: #eef2ff;
    color: #3730a3;
}

.autocomplete-code[b-48y1uz4u30] {
    font-weight: 700;
    color: #087bb5;
    font-size: 0.72rem;
    background: #e0e7ff;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.autocomplete-op-code[b-48y1uz4u30] {
    font-weight: 700;
    color: #05689b;
    font-size: 0.72rem;
    background: #e0e7ff;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

/* Selected Patient Card */
.selected-patient-card[b-48y1uz4u30] {
    background: linear-gradient(135deg, #ffffff 0%, #eef2ff 100%);
    border: 1.5px solid #c7d2fe;
    border-radius: 10px;
    padding: 0.75rem 1.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(8, 123, 181, 0.08);
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.patient-card-left[b-48y1uz4u30] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex: 1;
    min-width: 260px;
}

.patient-avatar[b-48y1uz4u30] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #087bb5 0%, #07547c 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(8, 123, 181, 0.25);
}

.patient-info[b-48y1uz4u30] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.patient-name-row[b-48y1uz4u30] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.patient-name[b-48y1uz4u30] {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.patient-id-badge[b-48y1uz4u30] {
    background: #087bb5;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    letter-spacing: 0.4px;
}

.patient-op-badge[b-48y1uz4u30] {
    background: #e0e7ff;
    color: #3730a3;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

.patient-meta-row[b-48y1uz4u30] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.78rem;
    color: #475569;
    flex-wrap: wrap;
}

.patient-meta-row span[b-48y1uz4u30] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.bills-found-tag[b-48y1uz4u30] {
    background: #fee2e2;
    color: #b91c1c;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
}

.patient-card-right[b-48y1uz4u30] {
    display: flex;
    align-items: center;
}

.btn-clear-patient[b-48y1uz4u30] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #64748b;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.btn-clear-patient:hover[b-48y1uz4u30] {
    background: #fee2e2;
    border-color: #f87171;
    color: #dc2626;
}

/* Modals */
.modal-backdrop-custom[b-48y1uz4u30] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.modal-card-custom[b-48y1uz4u30] {
    background: #ffffff;
    border-radius: 14px;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.modal-header-custom[b-48y1uz4u30] {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header-custom.success[b-48y1uz4u30] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-bottom-color: #c7d2fe;
}

.modal-header-custom h3[b-48y1uz4u30] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.modal-body-custom[b-48y1uz4u30] {
    padding: 1.25rem;
    overflow-y: auto;
}

.modal-footer-custom[b-48y1uz4u30] {
    padding: 0.85rem 1.25rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    background: #f8fafc;
}

.close-btn[b-48y1uz4u30] {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover[b-48y1uz4u30] {
    color: #0f172a;
}

/* Badges */
.badge-status[b-48y1uz4u30] {
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.badge-status.due[b-48y1uz4u30] {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.badge-status.partial[b-48y1uz4u30] {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fde68a;
}

.badge-status.paid[b-48y1uz4u30],
.badge-status.completed[b-48y1uz4u30] {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

/* History filter bar */
.hist-filter-card[b-48y1uz4u30] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.hist-filter-row[b-48y1uz4u30] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.btn-hist-action[b-48y1uz4u30] {
    height: 38px;
    padding: 0 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-hist-action.search[b-48y1uz4u30] {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-hist-action.search:hover[b-48y1uz4u30] {
    background: #1d4ed8;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.btn-hist-action.reset[b-48y1uz4u30] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.btn-hist-action.reset:hover[b-48y1uz4u30] {
    background: #e2e8f0;
    color: #1e293b;
}

.btn-hist-action.print[b-48y1uz4u30] {
    background: #07547c;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(7, 84, 124, 0.2);
}

.btn-hist-action.print:hover[b-48y1uz4u30] {
    background: #087bb5;
}

/* Sales Type Badges */
.badge-salestype[b-48y1uz4u30] {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-salestype.op[b-48y1uz4u30] {
    background-color: #e0e7ff;
    color: #05689b;
    border: 1px solid #c7d2fe;
}

.badge-salestype.ip[b-48y1uz4u30] {
    background-color: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.badge-salestype.counter[b-48y1uz4u30] {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.badge-salestype.mixed[b-48y1uz4u30] {
    background-color: #f3e8ff;
    color: #7e22ce;
    border: 1px solid #e9d5ff;
}

/* Printable receipt */
@media print {
    body *[b-48y1uz4u30] {
        visibility: hidden !important;
    }
    #printable-receipt[b-48y1uz4u30], #printable-receipt *[b-48y1uz4u30] {
        visibility: visible !important;
    }
    #printable-receipt[b-48y1uz4u30] {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 15px !important;
    }
}

/* Preset Toggle Group in History */
.preset-toggle-group[b-48y1uz4u30] {
    display: inline-flex;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    gap: 3px;
    height: 34px;
    align-items: center;
}

.preset-toggle-btn[b-48y1uz4u30] {
    border: none;
    background: transparent;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    white-space: nowrap;
    line-height: 1.2;
}

.preset-toggle-btn:hover[b-48y1uz4u30] {
    color: #1e293b;
    background: rgba(255, 255, 255, 0.7);
}

.preset-toggle-btn.active[b-48y1uz4u30] {
    background: #087bb5;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(8, 123, 181, 0.3);
}

[data-theme="dark"] .preset-toggle-group[b-48y1uz4u30] {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .preset-toggle-btn[b-48y1uz4u30] {
    color: #94a3b8;
}

[data-theme="dark"] .preset-toggle-btn:hover[b-48y1uz4u30] {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .preset-toggle-btn.active[b-48y1uz4u30] {
    background: #087bb5;
    color: #ffffff;
}



/* ==========================================================================
   OUTPATIENT VISITING DASHBOARD THEME & ONE-VIEW LOCK FOR PHARMACY DUE COLLECTION
   ========================================================================== */

:global(.main-content):has(.due-collection-wrapper)[b-48y1uz4u30] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    padding: 0.25rem 0.65rem !important;
    box-sizing: border-box !important;
    background: #f1f5fb !important;
}

.due-collection-wrapper[b-48y1uz4u30] {
    height: calc(100vh - 1.25rem) !important;
    max-height: calc(100vh - 1.25rem) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.3rem !important;
    padding: 0.2rem 0.5rem 0.3rem 0.5rem !important;
    box-sizing: border-box !important;
    background: #f1f5fb !important;
    max-width: none !important;
    margin: 0 !important;
}

/* --- HEADER CONSOLE --- */
.due-header-card[b-48y1uz4u30] {
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    padding: 0.2rem 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.65rem !important;
    min-height: 48px !important;
}

.header-left-section[b-48y1uz4u30] {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.header-icon-container[b-48y1uz4u30] {
    width: 38px !important;
    height: 38px !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #087bb5, #07547c) !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
    color: #ffffff !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 17px !important;
    flex-shrink: 0 !important;
}

.header-text-container[b-48y1uz4u30] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
}

.title-with-badge[b-48y1uz4u30] {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.header-text-container h1[b-48y1uz4u30] {
    color: #07547c !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.kutty-user-badge[b-48y1uz4u30] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    padding: 1px 7px !important;
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #7dd3fc !important;
    border-radius: 9999px !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
}

.header-text-container p[b-48y1uz4u30] {
    font-size: 0.72rem !important;
    margin: 0 !important;
    color: #64748b !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
}

.header-status-dot[b-48y1uz4u30] {
    width: 6px !important;
    height: 6px !important;
    background-color: #10b981 !important;
    border-radius: 50% !important;
    margin-right: 6px !important;
    display: inline-block !important;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25) !important;
}

.header-right-section[b-48y1uz4u30] {
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    flex-wrap: wrap !important;
    margin-left: auto !important;
}

/* --- SUMMARY BADGES IN HEADER --- */
.header-summary-cards[b-48y1uz4u30] {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    flex-wrap: wrap !important;
}

.header-summary-card[b-48y1uz4u30] {
    background: #ffffff !important;
    border: 1px solid #dbe8f3 !important;
    border-radius: 8px !important;
    padding: 0.2rem 0.55rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    min-width: 0 !important;
    height: 34px !important;
    box-sizing: border-box !important;
    transition: all 0.15s ease !important;
}

.header-summary-card:hover[b-48y1uz4u30] {
    border-color: #7bc8ed !important;
    box-shadow: 0 2px 6px rgba(8, 123, 181, 0.08) !important;
    transform: translateY(-1px) !important;
}

.header-summary-card.balance[b-48y1uz4u30] {
    border-color: #fca5a5 !important;
    background: #fff5f5 !important;
}

.header-summary-card.count[b-48y1uz4u30] {
    border-color: #bae6fd !important;
    background: #f0f9ff !important;
}

.header-summary-card.collected[b-48y1uz4u30] {
    border-color: #a7f3d0 !important;
    background: #f0fdf4 !important;
}

.header-summary-card.remaining[b-48y1uz4u30] {
    border-color: #fde68a !important;
    background: #fffbeb !important;
}

.header-summary-label[b-48y1uz4u30] {
    font-size: 0.60rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.header-summary-value[b-48y1uz4u30] {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

.header-summary-value.text-balance[b-48y1uz4u30] { color: #dc2626 !important; }
.header-summary-value.text-count[b-48y1uz4u30] { color: #0369a1 !important; }
.header-summary-value.text-collected[b-48y1uz4u30] { color: #16a34a !important; }
.header-summary-value.text-remaining[b-48y1uz4u30] { color: #d97706 !important; }

/* Filter Trigger Button */
.btn-history-filter-trigger[b-48y1uz4u30] {
    background: #ffffff !important;
    color: #0876ad !important;
    border: 1px solid #087bb5 !important;
    border-radius: 8px !important;
    padding: 0 0.85rem !important;
    height: 34px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    transition: all 0.18s ease !important;
}

.btn-history-filter-trigger:hover[b-48y1uz4u30],
.btn-history-filter-trigger.active[b-48y1uz4u30] {
    background: #087bb5 !important;
    color: #ffffff !important;
    border-color: #087bb5 !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
}

/* --- NAVIGATION TABS --- */
.due-tabs[b-48y1uz4u30] {
    display: flex !important;
    gap: 0.5rem !important;
    border-bottom: 2px solid #e2e8f0 !important;
    margin-bottom: 0.15rem !important;
    padding-bottom: 0 !important;
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

.tab-btn[b-48y1uz4u30] {
    background: transparent !important;
    border: none !important;
    padding: 0.35rem 0.85rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
    cursor: pointer !important;
    border-bottom: 3px solid transparent !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    transition: all 0.15s ease !important;
    margin-bottom: -2px !important;
}

.tab-btn:hover[b-48y1uz4u30] {
    color: #087bb5 !important;
    background-color: #f1f5f9 !important;
    border-radius: 6px 6px 0 0 !important;
}

.tab-btn.active[b-48y1uz4u30] {
    color: #087bb5 !important;
    border-bottom-color: #087bb5 !important;
}

/* --- TAB LAYOUT (FLEX FILL & OVERFLOW PROTECT) --- */
.collect-tab-layout[b-48y1uz4u30],
.history-tab-layout[b-48y1uz4u30] {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    gap: 0.3rem !important;
}

/* --- COMPACT FILTER CARD --- */
.hist-filter-card[b-48y1uz4u30] {
    background: #ffffff !important;
    border: 1px solid #dbe8f3 !important;
    border-radius: 8px !important;
    padding: 0.3rem 0.65rem !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    margin-bottom: 0.2rem !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.hist-filter-row[b-48y1uz4u30] {
    display: flex !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
}

.form-group-filter[b-48y1uz4u30] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.form-group-filter label[b-48y1uz4u30] {
    font-size: 0.60rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.preset-toggle-group[b-48y1uz4u30] {
    display: inline-flex !important;
    background: #f8fbff !important;
    border: 1px solid #dbe8f3 !important;
    border-radius: 6px !important;
    padding: 2px !important;
    gap: 2px !important;
    height: 28px !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.preset-toggle-btn[b-48y1uz4u30] {
    border: none !important;
    background: transparent !important;
    color: #475569 !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    padding: 0 0.55rem !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
    line-height: 24px !important;
    height: 24px !important;
}

.preset-toggle-btn:hover[b-48y1uz4u30] {
    color: #087bb5 !important;
    background: #e0f2fe !important;
}

.preset-toggle-btn.active[b-48y1uz4u30] {
    background: #087bb5 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 1px 3px rgba(8, 123, 181, 0.25) !important;
}

.filter-select[b-48y1uz4u30],
.filter-input[b-48y1uz4u30] {
    height: 28px !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 6px !important;
    padding: 0 0.5rem !important;
    font-size: 0.76rem !important;
    outline: none !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-sizing: border-box !important;
    transition: all 0.15s ease !important;
}

.filter-select:focus[b-48y1uz4u30],
.filter-input:focus[b-48y1uz4u30] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 2px rgba(7, 133, 194, 0.12) !important;
}

.btn-hist-action[b-48y1uz4u30] {
    height: 28px !important;
    padding: 0 0.85rem !important;
    border-radius: 6px !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
}

.btn-hist-action.search[b-48y1uz4u30] {
    background: #087bb5 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(8, 123, 181, 0.2) !important;
}

.btn-hist-action.search:hover[b-48y1uz4u30] {
    background: #05689b !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.3) !important;
}

.btn-hist-action.reset[b-48y1uz4u30] {
    background: #ffffff !important;
    color: #526b82 !important;
    border: 1px solid #cbd9e8 !important;
}

.btn-hist-action.reset:hover[b-48y1uz4u30] {
    background: #f1f5fb !important;
    border-color: #94a3b8 !important;
    color: #1e293b !important;
}

/* Advanced Filter Card in Collect Tab */
.advanced-filter-card[b-48y1uz4u30] {
    background: #ffffff !important;
    border: 1px solid #dbe8f3 !important;
    border-radius: 8px !important;
    padding: 0.35rem 0.65rem !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    margin-bottom: 0.2rem !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.btn-reset-filters[b-48y1uz4u30] {
    background: #ffffff !important;
    color: #526b82 !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 6px !important;
    padding: 0 0.65rem !important;
    height: 28px !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
}

.btn-reset-filters:hover[b-48y1uz4u30] {
    background: #f1f5fb !important;
    border-color: #94a3b8 !important;
    color: #1e293b !important;
}

.btn-search-blue[b-48y1uz4u30] {
    background: #087bb5 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0 0.85rem !important;
    height: 28px !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    box-shadow: 0 2px 6px rgba(8, 123, 181, 0.2) !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
}

.btn-search-blue:hover[b-48y1uz4u30] {
    background: #05689b !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.3) !important;
}

/* --- HIGH-DENSITY TABLE CONTAINER (FLEX FILL & SCROLL INTERNALLY) --- */
.table-container[b-48y1uz4u30] {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 4px rgba(30, 64, 175, 0.04) !important;
    margin-top: 0 !important;
}

.due-table[b-48y1uz4u30] {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 0.76rem !important;
}

.due-table th[b-48y1uz4u30] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: #087bb5 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.3px !important;
    padding: 0.45rem 0.65rem !important;
    border-bottom: 1px solid #07547c !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

.due-table td[b-48y1uz4u30] {
    padding: 0.4rem 0.65rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    color: #334155 !important;
    background: #ffffff !important;
    font-size: 0.76rem !important;
    vertical-align: middle !important;
}

.due-table tbody tr:nth-child(even) td[b-48y1uz4u30] {
    background: #fbfdff !important;
}

.due-table tbody tr:hover td[b-48y1uz4u30] {
    background: #f0f8ff !important;
}

/* Table Request No column */
.due-table td strong[b-48y1uz4u30] {
    color: #087bb5 !important;
}

/* Sales Type Badges */
.badge-salestype[b-48y1uz4u30] {
    display: inline-block !important;
    padding: 0.15rem 0.5rem !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
}

.badge-salestype.op[b-48y1uz4u30] {
    background-color: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
}

.badge-salestype.ip[b-48y1uz4u30] {
    background-color: #fef3c7 !important;
    color: #b45309 !important;
    border: 1px solid #fde68a !important;
}

.badge-salestype.counter[b-48y1uz4u30] {
    background-color: #dcfce7 !important;
    color: #15803d !important;
    border: 1px solid #bbf7d0 !important;
}

/* Status Badges */
.badge-status[b-48y1uz4u30] {
    padding: 0.15rem 0.55rem !important;
    border-radius: 9999px !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
}

.badge-status.paid[b-48y1uz4u30],
.badge-status.completed[b-48y1uz4u30] {
    background: #eff6ff !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
}

.badge-status.due[b-48y1uz4u30] {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
}

.badge-status.partial[b-48y1uz4u30] {
    background: #fef3c7 !important;
    color: #d97706 !important;
    border: 1px solid #fde68a !important;
}

/* --- CONTROLS BAR (COLLECT TAB) --- */
.controls-card[b-48y1uz4u30] {
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 8px !important;
    padding: 0.25rem 0.65rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    flex-shrink: 0 !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
}

.controls-card .controls-left[b-48y1uz4u30] {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
}

.controls-card .controls-right[b-48y1uz4u30] {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.controls-card .search-input-wrapper[b-48y1uz4u30] {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.controls-card .control-input[b-48y1uz4u30] {
    height: 28px !important;
    font-size: 0.76rem !important;
    border-radius: 6px !important;
    border: 1px solid #cbd9e8 !important;
    padding: 0 0.5rem 0 1.8rem !important;
    width: 220px !important;
    box-sizing: border-box !important;
}

.controls-card .search-input-wrapper i.bi-search[b-48y1uz4u30] {
    position: absolute !important;
    left: 8px !important;
    font-size: 0.74rem !important;
    color: #64748b !important;
    pointer-events: none !important;
}

.controls-card .btn-save[b-48y1uz4u30] {
    height: 28px !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    padding: 0 0.85rem !important;
    background: #087bb5 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(8, 123, 181, 0.2) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

.controls-card .btn-save:hover:not(:disabled)[b-48y1uz4u30] {
    background: #05689b !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.3) !important;
}

.controls-card .btn-save:disabled[b-48y1uz4u30] {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    background: #94a3b8 !important;
}

/* --- PATIENT SELECTION CARD --- */
.patient-selection-card[b-48y1uz4u30] {
    background: #ffffff !important;
    border: 1px solid #dbe8f3 !important;
    border-radius: 8px !important;
    padding: 0.3rem 0.65rem !important;
    margin-bottom: 0.2rem !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.patient-avatar[b-48y1uz4u30] {
    width: 32px !important;
    height: 32px !important;
    font-size: 1rem !important;
}

.patient-name[b-48y1uz4u30] {
    font-size: 0.88rem !important;
}

.btn-clear-patient[b-48y1uz4u30] {
    height: 26px !important;
    padding: 0 0.6rem !important;
    font-size: 0.72rem !important;
    border-radius: 6px !important;
}

/* /Components/Pages/PrescriptionTemplateMaster.razor.rz.scp.css */
.prescription-master-page[b-j9qzt721ay] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: calc(100vh - 130px);
    padding: 24px;
    color: #172033;
    background: #f4f7fc;
}

.prescription-master-header[b-j9qzt721ay],
.prescription-master-toolbar[b-j9qzt721ay],
.prescription-master-list[b-j9qzt721ay] {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.prescription-master-header[b-j9qzt721ay] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
}

.prescription-master-eyebrow[b-j9qzt721ay] {
    margin-bottom: 5px;
    color: #4f46e5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.prescription-master-header h1[b-j9qzt721ay] {
    margin: 0;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 800;
}

.prescription-master-header p[b-j9qzt721ay] {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 13px;
}

.prescription-master-primary[b-j9qzt721ay],
.prescription-master-secondary[b-j9qzt721ay],
.prescription-master-edit[b-j9qzt721ay] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 9px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 700;
    transition: .15s ease;
}

.prescription-master-primary[b-j9qzt721ay] {
    color: #fff;
    background: #4f46e5;
}

.prescription-master-primary:hover:not(:disabled)[b-j9qzt721ay] {
    background: #4338ca;
}

.prescription-master-secondary[b-j9qzt721ay] {
    color: #334155;
    border-color: #dbe3ee;
    background: #fff;
}

.prescription-master-secondary:hover:not(:disabled)[b-j9qzt721ay],
.prescription-master-edit:hover[b-j9qzt721ay] {
    border-color: #a5b4fc;
    color: #4338ca;
    background: #eef2ff;
}

.prescription-master-primary:disabled[b-j9qzt721ay],
.prescription-master-secondary:disabled[b-j9qzt721ay] {
    cursor: not-allowed;
    opacity: .55;
}

.prescription-master-primary .material-symbols-outlined[b-j9qzt721ay],
.prescription-master-secondary .material-symbols-outlined[b-j9qzt721ay],
.prescription-master-edit .material-symbols-outlined[b-j9qzt721ay] {
    font-size: 18px;
}

.prescription-master-toolbar[b-j9qzt721ay] {
    display: flex;
    align-items: end;
    gap: 12px;
    padding: 16px 18px;
}

.prescription-master-toolbar label[b-j9qzt721ay],
.prescription-master-fields label[b-j9qzt721ay] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
}

.prescription-master-doctor[b-j9qzt721ay] {
    flex: 0 1 310px;
}

.prescription-master-search[b-j9qzt721ay] {
    flex: 1;
}

.prescription-master-toolbar input[b-j9qzt721ay],
.prescription-master-toolbar select[b-j9qzt721ay],
.prescription-master-fields input[b-j9qzt721ay],
.prescription-master-fields select[b-j9qzt721ay],
.prescription-master-fields textarea[b-j9qzt721ay] {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    padding: 8px 10px;
    color: #1e293b;
    background: #fff;
    outline: none;
    font-size: 13px;
    font-weight: 500;
}

.prescription-master-toolbar input:focus[b-j9qzt721ay],
.prescription-master-toolbar select:focus[b-j9qzt721ay],
.prescription-master-fields input:focus[b-j9qzt721ay],
.prescription-master-fields select:focus[b-j9qzt721ay],
.prescription-master-fields textarea:focus[b-j9qzt721ay] {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .12);
}

.prescription-master-list[b-j9qzt721ay] {
    overflow: hidden;
    min-height: 260px;
}

.prescription-master-state[b-j9qzt721ay] {
    display: flex;
    min-height: 240px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 24px;
    color: #64748b;
    text-align: center;
    font-size: 13px;
}

.prescription-master-state .material-symbols-outlined[b-j9qzt721ay] {
    color: #94a3b8;
    font-size: 32px;
}

.prescription-master-state strong[b-j9qzt721ay] {
    color: #334155;
    font-size: 15px;
}

.prescription-master-table-wrap[b-j9qzt721ay] {
    overflow-x: auto;
}

.prescription-master-table[b-j9qzt721ay] {
    width: 100%;
    border-collapse: collapse;
}

.prescription-master-table th[b-j9qzt721ay] {
    padding: 13px 16px;
    color: #64748b;
    background: #f8fafc;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.prescription-master-table td[b-j9qzt721ay] {
    border-top: 1px solid #edf1f6;
    padding: 14px 16px;
    color: #475569;
    font-size: 13px;
    vertical-align: middle;
}

.prescription-master-table td strong[b-j9qzt721ay] {
    display: block;
    color: #1e293b;
    font-weight: 750;
}

.prescription-master-table td small[b-j9qzt721ay] {
    display: block;
    margin-top: 3px;
    color: #94a3b8;
    font-size: 11px;
}

.prescription-master-table .actions-column[b-j9qzt721ay] {
    width: 120px;
    text-align: center;
}

.prescription-master-count[b-j9qzt721ay] {
    display: inline-grid;
    min-width: 28px;
    height: 26px;
    place-items: center;
    border-radius: 999px;
    color: #4338ca;
    background: #eef2ff;
    font-size: 12px;
    font-weight: 800;
}

.prescription-master-edit[b-j9qzt721ay] {
    border-color: #e2e8f0;
    color: #475569;
    background: #fff;
    padding: 7px 10px;
}

.prescription-master-backdrop[b-j9qzt721ay] {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .55);
}

.prescription-master-dialog[b-j9qzt721ay] {
    display: flex;
    width: min(1120px, 100%);
    max-height: min(92vh, 900px);
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 18px;
    background: #f8fafc;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .3);
}

.prescription-master-dialog-header[b-j9qzt721ay],
.prescription-master-dialog-footer[b-j9qzt721ay] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: #fff;
}

.prescription-master-dialog-header[b-j9qzt721ay] {
    border-bottom: 1px solid #e2e8f0;
}

.prescription-master-dialog-header span[b-j9qzt721ay] {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.prescription-master-dialog-header h2[b-j9qzt721ay] {
    margin: 4px 0 0;
    color: #172033;
    font-size: 19px;
    font-weight: 800;
}

.prescription-master-close[b-j9qzt721ay] {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 9px;
    color: #64748b;
    background: #f1f5f9;
    font-size: 24px;
}

.prescription-master-dialog-body[b-j9qzt721ay] {
    overflow-y: auto;
    padding: 20px 22px;
}

.prescription-master-fields[b-j9qzt721ay] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.prescription-master-fields em[b-j9qzt721ay] {
    color: #dc2626;
    font-style: normal;
}

.prescription-master-fields textarea[b-j9qzt721ay] {
    resize: vertical;
}

.prescription-master-items-header[b-j9qzt721ay] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 24px 0 12px;
}

.prescription-master-items-header h3[b-j9qzt721ay] {
    margin: 0;
    color: #1e293b;
    font-size: 15px;
    font-weight: 800;
}

.prescription-master-items-header p[b-j9qzt721ay] {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 11px;
}

.prescription-master-rx-table-wrap[b-j9qzt721ay] {
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    background: #fff;
}

.prescription-master-rx-table[b-j9qzt721ay] {
    width: 100%;
    min-width: 1040px;
    border-collapse: collapse;
    background: #fff;
}

.prescription-master-rx-table th[b-j9qzt721ay] {
    padding: 9px 7px;
    border-bottom: 1px solid #cbd5e1;
    color: #475569;
    background: #f8fafc;
    font-size: 10px;
    font-weight: 750;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.prescription-master-rx-table td[b-j9qzt721ay] {
    position: relative;
    padding: 7px 5px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 12px;
    vertical-align: middle;
}

.prescription-master-rx-table tr:last-child td[b-j9qzt721ay] {
    border-bottom: 0;
}

.prescription-master-rx-table tfoot td[b-j9qzt721ay] {
    border-bottom: 0;
    padding: 9px;
    background: #f8fafc;
    text-align: center;
}

.template-rx-empty[b-j9qzt721ay] {
    padding: 20px !important;
    color: #94a3b8 !important;
    text-align: center;
}

.template-rx-add-button[b-j9qzt721ay] {
    display: inline-flex;
    min-width: 150px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px dashed #38bdf8;
    border-radius: 7px;
    padding: 7px 14px;
    color: #0284c7;
    background: #fff;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
    transition: .15s ease;
}

.template-rx-add-button:hover[b-j9qzt721ay] {
    border-color: #0284c7;
    background: #f0f9ff;
}

.template-rx-add-button .material-symbols-outlined[b-j9qzt721ay] {
    font-size: 16px;
}

.template-rx-sno[b-j9qzt721ay] {
    width: 40px;
    color: #64748b !important;
    font-weight: 700;
    text-align: center;
}

.template-rx-drug[b-j9qzt721ay] {
    width: 180px;
}

.template-rx-input[b-j9qzt721ay] {
    width: 100%;
    min-width: 55px;
    height: 31px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 4px 6px;
    color: #334155;
    background: #fff;
    font-size: 11px;
    font-weight: 500;
    outline: none;
}

.template-rx-input:focus[b-j9qzt721ay],
.template-rx-dose-input:focus[b-j9qzt721ay] {
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, .1);
}

.template-rx-short-input[b-j9qzt721ay] {
    width: 72px;
}

.template-rx-number[b-j9qzt721ay] {
    width: 55px;
}

.template-rx-timing[b-j9qzt721ay] {
    min-width: 98px;
    padding-right: 2px;
}

.template-rx-drug-search[b-j9qzt721ay] {
    position: relative;
}

.template-rx-suggestions[b-j9qzt721ay] {
    position: absolute;
    z-index: 20;
    top: calc(100% + 3px);
    left: 0;
    width: max(260px, 100%);
    max-height: 230px;
    overflow-y: auto;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .16);
}

.template-rx-suggestions button[b-j9qzt721ay] {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 2px;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    padding: 8px 10px;
    color: #334155;
    background: #fff;
    text-align: left;
}

.template-rx-suggestions button:hover[b-j9qzt721ay] {
    background: #eff6ff;
}

.template-rx-suggestions strong[b-j9qzt721ay] {
    font-size: 11px;
}

.template-rx-suggestions small[b-j9qzt721ay] {
    color: #64748b;
    font-size: 10px;
}

.template-rx-dosage[b-j9qzt721ay] {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.template-rx-dose-slot[b-j9qzt721ay] {
    display: flex;
    width: 28px;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 2px 2px 3px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #f8fafc;
    transition: all .15s ease-in-out;
}

.template-rx-dose-slot.active[b-j9qzt721ay] {
    border-color: #bae6fd;
    background: #f0f9ff;
    box-shadow: 0 1px 3px rgba(2, 132, 199, .15);
}

.template-rx-dose-toggle[b-j9qzt721ay] {
    display: flex;
    width: 100%;
    height: 16px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 3px;
    color: #64748b;
    background: #e2e8f0;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.template-rx-dose-toggle:hover:not(.active)[b-j9qzt721ay] {
    background: #cbd5e1;
    color: #0f172a;
}

.template-rx-dose-toggle.active[b-j9qzt721ay] {
    border-color: #0284c7;
    color: #fff;
    background: #0284c7;
}

.template-rx-dose-input[b-j9qzt721ay] {
    width: 100%;
    height: 18px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    padding: 0;
    color: #0f172a;
    background: #fff;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
}

.template-rx-dose-input[b-j9qzt721ay]::-webkit-outer-spin-button,
.template-rx-dose-input[b-j9qzt721ay]::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.template-rx-action[b-j9qzt721ay] {
    width: 34px;
    text-align: center;
}

.prescription-master-remove[b-j9qzt721ay] {
    display: inline-grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 0;
    border-radius: 6px;
    color: #dc2626;
    background: transparent;
    cursor: pointer;
}

.prescription-master-remove:hover[b-j9qzt721ay] {
    background: #fef2f2;
}

.prescription-master-remove .material-symbols-outlined[b-j9qzt721ay] {
    font-size: 17px;
}

.prescription-master-dialog-footer[b-j9qzt721ay] {
    justify-content: flex-end;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 900px) {
    .prescription-master-page[b-j9qzt721ay] {
        padding: 14px;
    }

    .prescription-master-toolbar[b-j9qzt721ay] {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .prescription-master-doctor[b-j9qzt721ay],
    .prescription-master-search[b-j9qzt721ay] {
        flex: 1 1 100%;
    }

    .prescription-master-rx-table[b-j9qzt721ay] {
        min-width: 1040px;
    }
}

@media (max-width: 600px) {
    .prescription-master-header[b-j9qzt721ay] {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px;
    }

    .prescription-master-fields[b-j9qzt721ay] {
        grid-template-columns: 1fr;
    }

    .prescription-master-dialog[b-j9qzt721ay] {
        max-height: 96vh;
    }

    .prescription-master-dialog-header[b-j9qzt721ay],
    .prescription-master-dialog-footer[b-j9qzt721ay] {
        padding: 14px;
    }

    .prescription-master-dialog-body[b-j9qzt721ay] {
        padding: 14px;
    }

}

.prescription-master-page[b-j9qzt721ay] {
    gap: 0.6rem;
    min-height: calc(100vh - 130px);
    padding: 0.75rem 1rem;
    background: #f1f5fb;
}

.prescription-master-page-title[b-j9qzt721ay] {
    margin: 0 0 0.1rem;
    color: #07547c;
    font-size: 1.85rem;
    font-weight: 800;
}

.prescription-master-page-header[b-j9qzt721ay],
.prescription-master-header-actions[b-j9qzt721ay] {
    display: flex;
    align-items: center;
}

.prescription-master-page-header[b-j9qzt721ay] {
    justify-content: space-between;
    gap: 1rem;
}

.prescription-master-header-actions[b-j9qzt721ay] {
    gap: 0.75rem;
}

.prescription-master-header-doctor[b-j9qzt721ay] {
    display: flex;
    min-width: 240px;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
}

.prescription-master-header-doctor select[b-j9qzt721ay] {
    min-height: 40px;
    border: 1px solid #cbd9e8;
    border-radius: 10px;
    padding: 8px 10px;
    color: #1e293b;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
}

.prescription-master-toolbar[b-j9qzt721ay] {
    justify-content: space-between;
    margin: 0;
    padding: 0.7rem;
    border-color: #dfe7f1;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05);
}

.prescription-master-search[b-j9qzt721ay] {
    display: block;
    flex: 1 1 auto;
    max-width: 400px;
    margin: 0;
}

.prescription-master-toolbar input[b-j9qzt721ay] {
    width: 280px;
    max-width: 100%;
    height: 40px;
    border-color: #cbd9e8;
    border-radius: 10px;
    background: #f8fafc;
}

.prescription-master-primary[b-j9qzt721ay] {
    min-height: 40px;
    border-radius: 10px;
    padding: 0 1.25rem;
    background: #087bb5;
}

.prescription-master-primary:hover:not(:disabled)[b-j9qzt721ay] {
    background: #066b9e;
}

.prescription-master-list[b-j9qzt721ay] {
    min-height: 0;
    border-color: #dfe7f1;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05);
}

.prescription-master-table[b-j9qzt721ay] {
    min-width: 720px;
}

.prescription-master-table thead[b-j9qzt721ay] {
    background: linear-gradient(90deg, #076a9f, #087db8);
}

.prescription-master-table th[b-j9qzt721ay] {
    height: 36px;
    padding: 0.55rem 0.7rem;
    color: #fff;
    background: transparent;
    font-size: 0.7rem;
}

.prescription-master-table td[b-j9qzt721ay] {
    height: 44px;
    padding: 0.5rem 0.7rem;
    border-top: 0;
    border-bottom: 1px solid #edf2f7;
    color: #526b82;
    font-size: 0.78rem;
}

.prescription-master-table tbody tr:nth-child(even)[b-j9qzt721ay] {
    background: #f8fbfe;
}

.prescription-master-table tbody tr:hover[b-j9qzt721ay] {
    background: #f0f8ff;
}

.prescription-master-table .template-name-cell[b-j9qzt721ay] {
    color: #173a55;
    font-weight: 700;
}

.prescription-master-table .actions-column[b-j9qzt721ay] {
    width: 78px;
}

.prescription-master-row-action[b-j9qzt721ay] {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    color: #0876ad;
    background: #fff;
    cursor: pointer;
}

.prescription-master-row-action:hover[b-j9qzt721ay] {
    background: #f0f8ff;
    border-color: #9dcce8;
}

.prescription-master-count[b-j9qzt721ay] {
    min-width: 28px;
    height: 26px;
    border-radius: 6px;
    color: #0876ad;
    background: #e4f4ff;
}

.prescription-master-state[b-j9qzt721ay] {
    min-height: 180px;
}

@media (max-width: 768px) {
    .prescription-master-page[b-j9qzt721ay] {
        padding: 0.75rem;
    }

    .prescription-master-page-header[b-j9qzt721ay],
    .prescription-master-header-actions[b-j9qzt721ay] {
        align-items: stretch;
        flex-direction: column;
    }

    .prescription-master-header-doctor[b-j9qzt721ay] {
        min-width: 0;
    }

    .prescription-master-toolbar[b-j9qzt721ay] {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .prescription-master-search[b-j9qzt721ay],
    .prescription-master-toolbar input[b-j9qzt721ay] {
        width: 100%;
        max-width: none;
    }

    .prescription-master-primary[b-j9qzt721ay] {
        justify-content: center;
    }
}

html[data-theme="dark"] .prescription-master-page[b-j9qzt721ay] {
    background: #0b1220;
    color: #e2e8f0;
}

html[data-theme="dark"] .prescription-master-page-title[b-j9qzt721ay] {
    color: #38bdf8;
}

html[data-theme="dark"] .prescription-master-header-doctor[b-j9qzt721ay] {
    color: #cbd5e1;
}

html[data-theme="dark"] .prescription-master-header-doctor select[b-j9qzt721ay] {
    border-color: #334155;
    color: #f8fafc;
    background: #1e293b;
}

html[data-theme="dark"] .prescription-master-toolbar[b-j9qzt721ay],
html[data-theme="dark"] .prescription-master-list[b-j9qzt721ay] {
    border-color: #334155;
    background: #0f172a;
}

html[data-theme="dark"] .prescription-master-toolbar input[b-j9qzt721ay] {
    border-color: #334155;
    color: #f8fafc;
    background: #1e293b;
}

html[data-theme="dark"] .prescription-master-fields select[b-j9qzt721ay] {
    border-color: #334155;
    color: #f8fafc;
    background: #1e293b;
}

html[data-theme="dark"] .prescription-master-table td[b-j9qzt721ay] {
    border-bottom-color: #334155;
    color: #cbd5e1;
}

html[data-theme="dark"] .prescription-master-table tbody tr:nth-child(even)[b-j9qzt721ay] {
    background: #111d31;
}

html[data-theme="dark"] .prescription-master-table tbody tr:hover[b-j9qzt721ay] {
    background: #172a40;
}

html[data-theme="dark"] .prescription-master-table .template-name-cell[b-j9qzt721ay] {
    color: #f8fafc;
}

html[data-theme="dark"] .prescription-master-row-action[b-j9qzt721ay] {
    border-color: #334155;
    color: #38bdf8;
    background: #1e293b;
}

.prescription-master-doctor-badge[b-j9qzt721ay] {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #cfe7f5;
    border-radius: 11px;
    padding: 6px 12px;
    color: #075985;
    background: #f0f9ff;
}

.prescription-master-doctor-badge > .material-symbols-outlined[b-j9qzt721ay] {
    font-size: 20px;
}

.prescription-master-doctor-badge span:last-child[b-j9qzt721ay] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.prescription-master-doctor-badge small[b-j9qzt721ay] {
    color: #64748b;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.prescription-master-doctor-badge strong[b-j9qzt721ay] {
    font-size: 12px;
}

.prescription-master-doctor-field[b-j9qzt721ay] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
}

.prescription-master-doctor-field em[b-j9qzt721ay] {
    color: #dc2626;
    font-style: normal;
}

.prescription-master-doctor-field strong[b-j9qzt721ay] {
    display: flex;
    min-height: 38px;
    align-items: center;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    padding: 8px 10px;
    color: #1e293b;
    background: #f8fafc;
    font-size: 13px;
    font-weight: 600;
}

.prescription-master-medicine-picker[b-j9qzt721ay] {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 12px;
}

.prescription-master-medicine-picker > label[b-j9qzt721ay] {
    color: #475569;
    font-size: 11px;
    font-weight: 800;
}

.prescription-master-medicine-picker > small[b-j9qzt721ay] {
    color: #64748b;
    font-size: 10px;
}

.prescription-master-medicine-search[b-j9qzt721ay] {
    position: relative;
}

.prescription-master-medicine-search > .material-symbols-outlined[b-j9qzt721ay] {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 11px;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 19px;
    pointer-events: none;
}

.prescription-master-medicine-search input[b-j9qzt721ay] {
    width: 100%;
    min-height: 40px;
    border: 1px solid #cbd9e8;
    border-radius: 9px;
    padding: 8px 12px 8px 38px;
    color: #1e293b;
    background: #fff;
    font-size: 13px;
    outline: none;
}

.prescription-master-medicine-search input:focus[b-j9qzt721ay] {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, .12);
}

.prescription-master-medicine-search .template-rx-suggestions[b-j9qzt721ay] {
    top: calc(100% + 4px);
    width: 100%;
    z-index: 30;
}

.template-rx-no-suggestions[b-j9qzt721ay] {
    padding: 10px 12px;
    color: #64748b;
    font-size: 12px;
}

.template-rx-quantity[b-j9qzt721ay] {
    color: #075985;
    background: #f0f9ff;
    font-weight: 750;
    cursor: default;
}

html[data-theme="dark"] .prescription-master-doctor-badge[b-j9qzt721ay] {
    border-color: #164e63;
    color: #7dd3fc;
    background: #0c2537;
}

html[data-theme="dark"] .prescription-master-doctor-badge small[b-j9qzt721ay],
html[data-theme="dark"] .prescription-master-medicine-picker > small[b-j9qzt721ay] {
    color: #94a3b8;
}

html[data-theme="dark"] .prescription-master-doctor-field strong[b-j9qzt721ay],
html[data-theme="dark"] .prescription-master-medicine-search input[b-j9qzt721ay] {
    border-color: #334155;
    color: #f8fafc;
    background: #1e293b;
}

html[data-theme="dark"] .prescription-master-doctor-field[b-j9qzt721ay],
html[data-theme="dark"] .prescription-master-medicine-picker > label[b-j9qzt721ay] {
    color: #cbd5e1;
}

html[data-theme="dark"] .template-rx-quantity[b-j9qzt721ay] {
    color: #7dd3fc;
    background: #0c2537;
}

.prescription-master-page-header[b-j9qzt721ay] {
    position: relative;
    z-index: 1201;
}

.prescription-master-backdrop[b-j9qzt721ay] {
    padding: 110px 20px 20px;
}

.prescription-master-dialog[b-j9qzt721ay] {
    max-height: min(calc(92vh - 80px), 900px);
}

@media (max-height: 650px) {
    .prescription-master-backdrop[b-j9qzt721ay] {
        padding-top: 72px;
    }

    .prescription-master-dialog[b-j9qzt721ay] {
        max-height: min(calc(92vh - 40px), 900px);
    }
}
/* /Components/Pages/ProductFeatures.razor.rz.scp.css */
/* Product & Feature Registry - Enhanced Medico Design System (matching Doctor's Patient List, Doctor Status, Patient Master) */

/* Background Blobs */
.animated-background[b-tm0gy7lv96] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.floating-blob[b-tm0gy7lv96] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: float-b-tm0gy7lv96 20s infinite alternate;
}

.blob-1[b-tm0gy7lv96] {
    width: 450px;
    height: 450px;
    background: #e2f1ff;
    top: -5%;
    left: -5%;
}

.blob-2[b-tm0gy7lv96] {
    width: 450px;
    height: 450px;
    background: #f1f5f9;
    bottom: -10%;
    right: -5%;
}

@keyframes float-b-tm0gy7lv96 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

/* Base Container */
[b-tm0gy7lv96] .feature-registry-container {
    padding: 0.5rem 1rem 1rem 1rem !important;
    background: transparent !important;
    min-height: calc(100vh - 60px) !important;
    color: #0f172a !important;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* Glass / Card Elements */
[b-tm0gy7lv96] .glass-morphic {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02) !important;
}

/* Page Header Card */
[b-tm0gy7lv96] .page-header {
    padding: 0.5rem 0.85rem !important;
    border-radius: 12px !important;
    margin-bottom: 0.65rem !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

[b-tm0gy7lv96] .header-main {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

[b-tm0gy7lv96] .title-area {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
}

[b-tm0gy7lv96] .title-icon {
    font-size: 1.15rem !important;
    color: #0284c7 !important;
    background: #e0f2fe !important;
    border: 1px solid #bae6fd !important;
    padding: 0.45rem !important;
    border-radius: 8px !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

[b-tm0gy7lv96] .title-text h1 {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #034f75 !important;
    margin: 0 !important;
    letter-spacing: -0.3px !important;
    line-height: 1.2 !important;
}

[b-tm0gy7lv96] .title-text p {
    font-size: 0.74rem !important;
    color: #64748b !important;
    margin: 0.15rem 0 0 0 !important;
    font-weight: 500 !important;
}

/* Applications Sidebar & Header */
[b-tm0gy7lv96] h3 {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    color: #475569 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 0.55rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

[b-tm0gy7lv96] .btn-icon-only {
    background: #f0f9ff !important;
    border: 1.2px solid #bae6fd !important;
    color: #0284c7 !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    transition: all 0.15s ease !important;
}

[b-tm0gy7lv96] .btn-icon-only:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
    transform: scale(1.05) !important;
}

/* Product Pills (Left Column App Cards) */
[b-tm0gy7lv96] .product-pill {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding: 0.6rem 0.75rem !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1.2px solid #e2e8f0 !important;
    cursor: pointer !important;
    transition: all 0.15s ease-in-out !important;
    margin-bottom: 0.45rem !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    color: #0f172a !important;
}

[b-tm0gy7lv96] .product-pill:hover:not(.active) {
    background: #f0f9ff !important;
    border-color: #0284c7 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.08) !important;
}

[b-tm0gy7lv96] .product-pill.active {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25) !important;
}

[b-tm0gy7lv96] .product-pill .fw-bold,
[b-tm0gy7lv96] .product-pill h5,
[b-tm0gy7lv96] .product-pill span:first-of-type {
    font-size: 0.84rem !important;
    font-weight: 800 !important;
}

[b-tm0gy7lv96] .product-pill.active .text-muted,
[b-tm0gy7lv96] .product-pill.active small {
    color: rgba(255, 255, 255, 0.85) !important;
}

[b-tm0gy7lv96] .product-pill:not(.active) .text-muted,
[b-tm0gy7lv96] .product-pill:not(.active) small {
    color: #64748b !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
}

[b-tm0gy7lv96] .product-pill i {
    font-size: 1.1rem !important;
}

/* Feature Workspace (Right Column) */
[b-tm0gy7lv96] .feature-workspace {
    padding: 0.85rem 1rem !important;
    min-height: 520px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02) !important;
}

[b-tm0gy7lv96] .workspace-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 0.55rem !important;
    margin-bottom: 0.65rem !important;
}

[b-tm0gy7lv96] .workspace-header h2,
[b-tm0gy7lv96] .workspace-header h3 {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #034f75 !important;
    margin: 0.2rem 0 0 0 !important;
    letter-spacing: -0.3px !important;
}

[b-tm0gy7lv96] .app-badge {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
    padding: 0.2rem 0.6rem !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
    font-size: 0.68rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
}

/* Buttons */
[b-tm0gy7lv96] .btn-premium,
[b-tm0gy7lv96] .btn-premium-outline,
[b-tm0gy7lv96] .btn-premium-sm {
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    padding: 0.35rem 0.85rem !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

[b-tm0gy7lv96] .btn-premium {
    background: #0284c7 !important;
    border: 1px solid #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25) !important;
}

[b-tm0gy7lv96] .btn-premium:hover {
    background: #0369a1 !important;
    border-color: #0369a1 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35) !important;
}

[b-tm0gy7lv96] .btn-premium-outline {
    background: #ffffff !important;
    border: 1.5px solid #0284c7 !important;
    color: #0284c7 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

[b-tm0gy7lv96] .btn-premium-outline:hover {
    background: #f0f9ff !important;
    border-color: #0369a1 !important;
    color: #0369a1 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.12) !important;
}

/* Feature Matrix Table */
[b-tm0gy7lv96] .table-responsive {
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    margin-top: 0.5rem !important;
}

[b-tm0gy7lv96] .feature-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    margin-bottom: 0 !important;
}

[b-tm0gy7lv96] .feature-table thead th {
    background: #026aa7 !important;
    color: #ffffff !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    padding: 0.45rem 0.65rem !important;
    border: none !important;
    vertical-align: middle !important;
}

[b-tm0gy7lv96] .feature-table tbody tr {
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-radius: 0 !important;
    transition: background 0.15s ease !important;
}

[b-tm0gy7lv96] .feature-table tbody tr:hover {
    background: #f0f9ff !important;
}

[b-tm0gy7lv96] .feature-table tbody td {
    padding: 0.45rem 0.65rem !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
    font-size: 0.78rem !important;
    color: #334155 !important;
}

[b-tm0gy7lv96] .feature-info .fw-bold,
[b-tm0gy7lv96] .feature-info div:first-child {
    font-size: 0.84rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

[b-tm0gy7lv96] .feature-info small,
[b-tm0gy7lv96] .feature-info .text-muted {
    font-size: 0.7rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

/* Checkboxes */
[b-tm0gy7lv96] .custom-toggle input[type="checkbox"],
[b-tm0gy7lv96] input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: #0284c7 !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    vertical-align: middle !important;
}

/* Order Input */
[b-tm0gy7lv96] .order-input {
    width: 55px !important;
    height: 28px !important;
    background: #ffffff !important;
    border: 1.2px solid #cbd5e1 !important;
    color: #0f172a !important;
    border-radius: 6px !important;
    padding: 0.15rem 0.35rem !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    box-sizing: border-box !important;
    transition: all 0.15s ease !important;
}

[b-tm0gy7lv96] .order-input:focus {
    border-color: #0284c7 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15) !important;
}

/* Table Action Buttons */
[b-tm0gy7lv96] .btn-table-action {
    border: none !important;
    border-radius: 6px !important;
    width: 28px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 0.78rem !important;
    transition: all 0.15s ease !important;
    margin: 0 2px !important;
}

[b-tm0gy7lv96] .btn-table-action.edit {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    color: #0284c7 !important;
}

[b-tm0gy7lv96] .btn-table-action.edit:hover {
    background: #e0f2fe !important;
    border-color: #7dd3fc !important;
    transform: scale(1.08) !important;
}

[b-tm0gy7lv96] .btn-table-action.delete {
    background: #fee2e2 !important;
    border: 1px solid #fecaca !important;
    color: #dc2626 !important;
}

[b-tm0gy7lv96] .btn-table-action.delete:hover {
    background: #fecdd3 !important;
    border-color: #fda4af !important;
    transform: scale(1.08) !important;
}

/* Modals */
[b-tm0gy7lv96] .modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(8px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
}

[b-tm0gy7lv96] .feature-modal {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    width: 540px !important;
    max-width: 95vw !important;
    border-radius: 14px !important;
    padding: 1.5rem !important;
    color: #0f172a !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

[b-tm0gy7lv96] .modal-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 1rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 0.65rem !important;
}

[b-tm0gy7lv96] .modal-header h3 {
    margin: 0 !important;
    font-size: 1.1rem !important;
    color: #034f75 !important;
    font-weight: 800 !important;
}

[b-tm0gy7lv96] .modal-footer {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 0.65rem !important;
    margin-top: 1.25rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid #f1f5f9 !important;
}

[b-tm0gy7lv96] .form-control-premium {
    background: #ffffff !important;
    border: 1.2px solid #cbd5e1 !important;
    color: #0f172a !important;
    padding: 0.35rem 0.65rem !important;
    border-radius: 7px !important;
    width: 100% !important;
    height: 34px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
}

[b-tm0gy7lv96] .form-control-premium:focus {
    border-color: #0284c7 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15) !important;
}

[b-tm0gy7lv96] .form-label {
    display: block !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    color: #475569 !important;
    margin-bottom: 0.25rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

[b-tm0gy7lv96] .switch-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    cursor: pointer !important;
    padding: 0.4rem 0.75rem !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    transition: all 0.15s ease !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
}

[b-tm0gy7lv96] .switch-wrap:hover {
    background: #f0f9ff !important;
    border-color: #bae6fd !important;
}

/* Dark Mode Overrides */
html[data-theme="dark"][b-tm0gy7lv96]  .feature-registry-container {
    color: #f1f5f9 !important;
}

html[data-theme="dark"][b-tm0gy7lv96]  .glass-morphic,
html[data-theme="dark"][b-tm0gy7lv96]  .page-header,
html[data-theme="dark"][b-tm0gy7lv96]  .feature-workspace,
html[data-theme="dark"][b-tm0gy7lv96]  .feature-modal {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"][b-tm0gy7lv96]  .title-text h1,
html[data-theme="dark"][b-tm0gy7lv96]  .workspace-header h2,
html[data-theme="dark"][b-tm0gy7lv96]  .workspace-header h3,
html[data-theme="dark"][b-tm0gy7lv96]  .modal-header h3 {
    color: #f8fafc !important;
}

html[data-theme="dark"][b-tm0gy7lv96]  .title-text p,
html[data-theme="dark"][b-tm0gy7lv96]  .feature-info small,
html[data-theme="dark"][b-tm0gy7lv96]  .product-pill:not(.active) small {
    color: #94a3b8 !important;
}

html[data-theme="dark"][b-tm0gy7lv96]  .product-pill {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"][b-tm0gy7lv96]  .product-pill:hover:not(.active) {
    background: #1e293b !important;
    border-color: #0284c7 !important;
}

html[data-theme="dark"][b-tm0gy7lv96]  .feature-table tbody tr {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
}

html[data-theme="dark"][b-tm0gy7lv96]  .feature-table tbody tr:hover {
    background: #1e293b !important;
}

html[data-theme="dark"][b-tm0gy7lv96]  .feature-table tbody td {
    color: #cbd5e1 !important;
    border-bottom-color: #334155 !important;
}

html[data-theme="dark"][b-tm0gy7lv96]  .feature-info .fw-bold,
html[data-theme="dark"][b-tm0gy7lv96]  .feature-info div:first-child {
    color: #f8fafc !important;
}

html[data-theme="dark"][b-tm0gy7lv96]  .form-control-premium,
html[data-theme="dark"][b-tm0gy7lv96]  .order-input {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"][b-tm0gy7lv96]  .switch-wrap {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"][b-tm0gy7lv96]  .btn-premium-outline {
    background: #0f172a !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}
/* /Components/Pages/PurchaseMaster.razor.rz.scp.css */
/* Scoped styles for PurchaseMaster component */

.items-page[b-h6m39e922o] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-h6m39e922o] {
    max-width: 1320px;
    margin: 0 auto;
}

.items-content[b-h6m39e922o] {
    width: min(1240px, 100%);
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-h6m39e922o] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    border-radius: 16px !important;
    padding: 1.25rem 2rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem !important;
}

.header-card-left[b-h6m39e922o] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-card-icon[b-h6m39e922o] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
}

.header-card-icon svg[b-h6m39e922o] {
    stroke: #4f46e5 !important;
}

.header-card-text[b-h6m39e922o] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-h6m39e922o] {
    color: #312e81 !important;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.header-card-subheading[b-h6m39e922o] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-h6m39e922o] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-h6m39e922o] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.purchase-status-toggle[b-h6m39e922o] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.purchase-status-toggle .draft-filter-btn[b-h6m39e922o] {
    display: inline-flex;
    min-width: 108px;
    height: 38px;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 1px solid #c7d2fe;
    border-radius: 20px;
    padding: 0 0.8rem;
    color: #4338ca;
    background: #ffffff;
    font-size: 0.78rem;
    font-weight: 750;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.draft-filter-btn:hover[b-h6m39e922o],
.draft-filter-btn.active[b-h6m39e922o] {
    border-color: #4f46e5;
    color: #ffffff;
    background: #4f46e5;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.2);
}

.draft-filter-count[b-h6m39e922o] {
    display: inline-grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 999px;
    padding: 0 5px;
    color: #4338ca;
    background: #eef2ff;
    font-size: 0.68rem;
    font-weight: 800;
}

.draft-filter-btn.active .draft-filter-count[b-h6m39e922o] {
    color: #3730a3;
    background: #ffffff;
}

.items-search-wrap[b-h6m39e922o] {
    position: relative;
    display: flex;
    align-items: center;
}

.items-search[b-h6m39e922o] {
    width: 220px;
    height: 38px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    padding-left: 2.4rem !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.items-search:focus[b-h6m39e922o] {
    outline: none !important;
    width: 280px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.items-search-icon[b-h6m39e922o] {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.view-toggle[b-h6m39e922o] {
    display: inline-flex;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #f8fafc !important;
    height: 38px;
    padding: 2px;
    align-items: center;
}

.view-toggle button[b-h6m39e922o] {
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    width: 36px;
    height: 32px;
    border-radius: 16px !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle button.active[b-h6m39e922o] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.add-item-btn[b-h6m39e922o] {
    height: 38px !important;
    border-radius: 20px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 1.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
}

.add-item-btn:hover[b-h6m39e922o] {
    background: #3f39c5 !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35) !important;
    transform: translateY(-1.5px);
}

.items-main-card[b-h6m39e922o] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-top: 1.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
}

.items-main-card .table-responsive[b-h6m39e922o] {
    max-height: 550px !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
}

.items-table[b-h6m39e922o] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

table.table.items-table thead tr th[b-h6m39e922o],
.items-table th[b-h6m39e922o] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: #ffffff !important;
    color: #8a99ad !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.8px !important;
    padding: 10px 16px !important;
    border-bottom: 2px solid #eef2f6 !important;
    text-align: center !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.items-table td[b-h6m39e922o] {
    border-top: none !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding: 10px 16px !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #64748b !important;
    vertical-align: middle !important;
    text-align: center !important;
}

.items-table td:last-child[b-h6m39e922o] {
    white-space: nowrap !important;
    text-align: center !important;
}

.items-table tr td:first-child[b-h6m39e922o] {
    color: #3b82f6 !important;
    font-weight: 700 !important;
}

.action-btn[b-h6m39e922o] {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.action-btn:hover[b-h6m39e922o] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.action-btn i[b-h6m39e922o] {
    font-size: 0.85rem !important;
}

.items-card-grid[b-h6m39e922o] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.item-card[b-h6m39e922o] {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.item-card:hover[b-h6m39e922o] {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.item-card-head[b-h6m39e922o] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    color: #1e293b !important;
    padding: 0.6rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.1) !important;
}

.card-item-code[b-h6m39e922o] {
    color: #4b5563 !important;
    font-weight: 700 !important;
    margin-right: 6px;
}

.card-item-name[b-h6m39e922o] {
    color: #374151 !important;
    font-weight: 700 !important;
}

.item-card-body[b-h6m39e922o] {
    padding: 0.75rem 1rem !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
}

.detail-row[b-h6m39e922o] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.detail-row:last-child[b-h6m39e922o] {
    border-bottom: none !important;
}

.detail-row span[b-h6m39e922o] {
    color: #8a99ad !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.detail-row strong[b-h6m39e922o] {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Purchase modal alignment */
.btn-cancel-modal[b-h6m39e922o] {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: none !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    min-width: 100px !important;
    transition: all 0.2s !important;
}

.btn-cancel-modal:hover[b-h6m39e922o] {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.purchase-add-item-btn[b-h6m39e922o] {
    height: 32px;
    border-radius: 8px;
    font-size: 0.8rem;
    padding: 0 12px;
}

.purchase-details-list[b-h6m39e922o] {
    display: grid;
    gap: 0.85rem;
}

.purchase-detail-card[b-h6m39e922o] {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.purchase-detail-head[b-h6m39e922o] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.7rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px dashed #dbe6ef;
}

.purchase-detail-title[b-h6m39e922o] {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0f678f;
}

.purchase-remove-inline-btn[b-h6m39e922o] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #fecaca;
    background: #fff5f5;
    color: #b91c1c;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.6rem;
}

.purchase-remove-inline-btn:hover[b-h6m39e922o] {
    background: #fee2e2;
}

.purchase-detail-field[b-h6m39e922o] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.purchase-mini-label[b-h6m39e922o] {
    font-size: 0.75rem;
    margin-bottom: 2px;
}

.purchase-compact-input[b-h6m39e922o] {
    padding: 6px 10px !important;
    font-size: 0.85rem !important;
    min-height: 36px;
}

.purchase-value-muted[b-h6m39e922o] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b;
}

.purchase-value-total[b-h6m39e922o] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b;
}

.purchase-summary-gap[b-h6m39e922o] {
    margin-top: 2.25rem !important;
}

/* Purchase Page Table Column Widths */
.purchase-page .items-table th:nth-child(1)[b-h6m39e922o],
.purchase-page .items-table td:nth-child(1)[b-h6m39e922o] {
    width: 35px;
}

.purchase-page .items-table th:nth-child(2)[b-h6m39e922o],
.purchase-page .items-table td:nth-child(2)[b-h6m39e922o] {
    width: 80px;
}

.purchase-page .items-table th:nth-child(3)[b-h6m39e922o],
.purchase-page .items-table td:nth-child(3)[b-h6m39e922o] {
    width: 75px;
    min-width: 75px;
}

.purchase-page .items-table th:nth-child(4)[b-h6m39e922o],
.purchase-page .items-table td:nth-child(4)[b-h6m39e922o] {
    width: 85px;
}

.purchase-page .items-table th:nth-child(5)[b-h6m39e922o],
.purchase-page .items-table td:nth-child(5)[b-h6m39e922o] {
    width: 140px;
    min-width: 140px;
}

.purchase-page .items-table th:nth-child(6)[b-h6m39e922o],
.purchase-page .items-table td:nth-child(6)[b-h6m39e922o] {
    width: 85px;
}

.purchase-page .items-table th:nth-child(7)[b-h6m39e922o],
.purchase-page .items-table td:nth-child(7)[b-h6m39e922o] {
    width: 80px;
}

.purchase-page .items-table th:nth-child(8)[b-h6m39e922o],
.purchase-page .items-table td:nth-child(8)[b-h6m39e922o] {
    width: 70px;
}

.purchase-page .items-table th:nth-child(9)[b-h6m39e922o],
.purchase-page .items-table td:nth-child(9)[b-h6m39e922o] {
    width: 80px;
    min-width: 80px;
}

@media (max-width: 992px) {
    .purchase-detail-grid-top[b-h6m39e922o] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .purchase-detail-grid-bottom[b-h6m39e922o] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .purchase-detail-head[b-h6m39e922o] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .purchase-detail-grid-top[b-h6m39e922o],
    .purchase-detail-grid-bottom[b-h6m39e922o] {
        grid-template-columns: 1fr;
    }
}

/* Purchase Items Table */
.purchase-items-table[b-h6m39e922o] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.purchase-items-table th[b-h6m39e922o] {
    color: #64748b;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 0.5rem 0.75rem;
    border: none;
    background: transparent;
    text-align: left;
}

.purchase-items-table td[b-h6m39e922o] {
    padding: 0.5rem 0.75rem;
    vertical-align: middle;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.purchase-items-table tr td:first-child[b-h6m39e922o] {
    border-left: 1px solid #e2e8f0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.purchase-items-table tr td:last-child[b-h6m39e922o] {
    border-right: 1px solid #e2e8f0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.purchase-items-table .table-input[b-h6m39e922o] {
    width: 100%;
    min-width: 60px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 0.5rem;
    font-size: 0.85rem;
    color: #334155;
    background: #ffffff;
    outline: none;
    transition: all 0.2s;
}

.purchase-items-table .table-input:focus[b-h6m39e922o] {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.1);
}

.purchase-items-table .table-value[b-h6m39e922o] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.purchase-items-table .table-total[b-h6m39e922o] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #10b981;
}

.purchase-bill-wrapper[b-h6m39e922o] {
    display: flex;
    gap: 2.25rem;
    flex-wrap: wrap;
}

.purchase-bill-fields[b-h6m39e922o] {
    flex: 1.5;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.purchase-bill-fields .premium-input[b-h6m39e922o] {
    padding: 0 10px !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
    height: 38px !important;
    line-height: 38px !important;
    background: #f9fafc !important;
    border: 1px solid #e5e7eb !important;
    color: #1f2937 !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
}

.purchase-bill-fields input[type="date"].premium-input[b-h6m39e922o],
.purchase-bill-fields input.premium-input[b-h6m39e922o] {
    padding: 0 10px !important;
    height: 38px !important;
    line-height: normal !important;
    background: #f9fafc !important;
    border: 1px solid #e5e7eb !important;
}

.purchase-bill-fields .field-group[b-h6m39e922o] {
    gap: 4px;
}

.purchase-bill-fields .field-label[b-h6m39e922o] {
    font-size: 0.68rem !important;
    margin-bottom: 4px !important;
    font-weight: 700 !important;
    color: #374151 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.purchase-bill-fields .form-grid[b-h6m39e922o] {
    gap: 12px;
}

.purchase-bill-summary[b-h6m39e922o] {
    flex: 0.85;
    min-width: 300px;
    max-width: 320px;
    display: flex;
    align-items: stretch;
}

.purchase-item-entry-card[b-h6m39e922o] {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0.7rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow-x: hidden;
    box-sizing: border-box;
}

.purchase-item-entry-header[b-h6m39e922o] {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(52px, 0.55fr) minmax(60px, 0.65fr) minmax(52px, 0.55fr) minmax(52px, 0.55fr) minmax(80px, 0.9fr) minmax(110px, 1fr);
    gap: 10px;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.purchase-item-entry-label[b-h6m39e922o] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.purchase-item-entry-label span[b-h6m39e922o] {
    color: #ef4444;
}

.purchase-item-entry-fields[b-h6m39e922o] {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(52px, 0.55fr) minmax(60px, 0.65fr) minmax(52px, 0.55fr) minmax(52px, 0.55fr) minmax(80px, 0.9fr) minmax(110px, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
}

.purchase-item-entry-fields>div[b-h6m39e922o],
.purchase-item-entry-header>div[b-h6m39e922o] {
    min-width: 0;
}

.purchase-item-input[b-h6m39e922o] {
    height: 28px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    font-size: 0.65rem;
    padding: 0 6px;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-input:focus[b-h6m39e922o] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    background: #f8fbff;
}

.purchase-item-select[b-h6m39e922o] {
    height: 28px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    font-size: 0.65rem;
    padding: 0 6px;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-select:focus[b-h6m39e922o] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    background: #f8fbff;
}

.purchase-item-add-btn[b-h6m39e922o] {
    background: #10b981;
    color: white;
    border: none;
    border-radius: 6px;
    height: 28px;
    font-weight: 700;
    font-size: 0.65rem;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-add-btn:hover[b-h6m39e922o] {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.purchase-item-add-btn:active[b-h6m39e922o] {
    transform: translateY(0);
}

.purchase-details-wrapper[b-h6m39e922o] {
    width: 100%;
    margin-bottom: 2rem;
}

.purchase-details-link[b-h6m39e922o] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f678f;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.purchase-details-link:hover[b-h6m39e922o] {
    color: #0ea5e9;
    gap: 8px;
}

.purchase-items-table-wrapper[b-h6m39e922o] {
    border: none !important;
    border-radius: 0;
    overflow: visible;
    background: white;
    margin-bottom: 0.5rem !important;
    box-shadow: none !important;
}

.purchase-items-table-wrapper table[b-h6m39e922o] {
    table-layout: fixed;
    width: 100%;
}

.purchase-items-table-wrapper .purchase-item-input[b-h6m39e922o],
.purchase-items-table-wrapper .purchase-item-select[b-h6m39e922o] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    height: 26px;
    font-size: 0.65rem;
    padding: 0 6px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    outline: none;
    transition: all 0.2s;
}

.purchase-items-table-wrapper .purchase-item-input:focus[b-h6m39e922o],
.purchase-items-table-wrapper .purchase-item-select:focus[b-h6m39e922o] {
    border-color: #0273b2;
    box-shadow: 0 0 0 2px rgba(2, 115, 178, 0.1);
    background: #f4f8fa;
}

.purchase-items-table-wrapper .purchase-item-select[b-h6m39e922o] {
    min-width: 130px;
}

.purchase-items-table-header[b-h6m39e922o] {
    background: #0273b2 !important;
    border-bottom: none;
}

.purchase-items-table-header th[b-h6m39e922o] {
    font-weight: 700;
    font-size: 0.72rem;
    color: #ffffff !important;
    padding: 12px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.purchase-add-row-wrapper[b-h6m39e922o] {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.purchase-add-row-btn[b-h6m39e922o] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 2px dashed #0273b2 !important;
    border-radius: 10px !important;
    background: #f4f8fa !important;
    color: #0273b2 !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.45rem 1.25rem;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.22s ease-in-out;
    box-shadow: 0 2px 4px rgba(2, 115, 178, 0.05);
}

.purchase-add-row-btn:hover[b-h6m39e922o] {
    background: #e6f2fa !important;
    border-color: #015f94 !important;
    color: #015f94 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 115, 178, 0.12);
}

.purchase-add-row-btn i[b-h6m39e922o] {
    font-size: 0.95rem;
    color: #0273b2 !important;
    transition: color 0.22s ease-in-out;
}

.purchase-add-row-btn:hover i[b-h6m39e922o] {
    color: #015f94 !important;
}

.purchase-item-readonly[b-h6m39e922o] {
    display: block;
    width: 100%;
    height: 26px;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0 6px;
    line-height: 24px;
    font-size: 0.65rem;
    color: #475569;
    box-sizing: border-box;
    pointer-events: none;
    user-select: none;
    text-align: right;
}

.purchase-items-table-wrapper .purchase-item-input:disabled[b-h6m39e922o],
.purchase-items-table-wrapper .purchase-item-select:disabled[b-h6m39e922o] {
    pointer-events: none;
    cursor: default;
    background-color: white !important;
    color: #000000 !important;
    border-color: #d1d5db !important;
}

.btn-add-item-blue[b-h6m39e922o] {
    background: #0273b2;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(2, 115, 178, 0.3);
    transition: all 0.2s;
    white-space: nowrap;
    font-size: 0.82rem;
    height: 32px;
}

.btn-add-item-blue:hover[b-h6m39e922o] {
    background: #015c8f;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 115, 178, 0.4);
}

.btn-add-item-blue:active[b-h6m39e922o] {
    transform: translateY(0);
}

.bill-card-premium[b-h6m39e922o] {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 5px solid #3b82f6;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.04);
    transition: all 0.3s ease;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.25rem;
    padding: 0.4rem 0.65rem;
}

.bill-card-premium:hover[b-h6m39e922o] {
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.08);
    border-color: #93c5fd;
    border-left-color: #2563eb;
}

.bill-card-header-premium[b-h6m39e922o] {
    margin-bottom: 0.15rem;
    padding-bottom: 0.35rem;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #4f46e5;
    letter-spacing: 0.8px;
    border-bottom: 1px dashed #bfdbfe;
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-premium-gross[b-h6m39e922o] {
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #1e3a8a !important;
    color: #1e3a8a !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-gross:hover[b-h6m39e922o] {
    transform: translateY(-1.5px);
    background-color: #f1f5f9 !important;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.08);
}

.input-premium-gross:focus[b-h6m39e922o] {
    border-color: #2563eb !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
    outline: none;
}

.input-premium-discount[b-h6m39e922o] {
    background-color: #f0fdf4 !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #059669 !important;
    color: #065f46 !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-discount:hover[b-h6m39e922o] {
    transform: translateY(-1.5px);
    background-color: #ecfdf5 !important;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.08);
}

.input-premium-discount:focus[b-h6m39e922o] {
    border-color: #10b981 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18) !important;
    outline: none;
}

.input-premium-tax[b-h6m39e922o] {
    background-color: #fffbeb !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #d97706 !important;
    color: #92400e !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-tax:hover[b-h6m39e922o] {
    transform: translateY(-1.5px);
    background-color: #fef3c7 !important;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.08);
}

.input-premium-tax:focus[b-h6m39e922o] {
    border-color: #f59e0b !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18) !important;
    outline: none;
}

.net-payable-wrapper-premium[b-h6m39e922o] {
    margin-top: 0.2rem;
    padding-top: 0.5rem;
    border-top: 2px dashed rgba(99, 102, 241, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.net-payable-label-premium[b-h6m39e922o] {
    font-size: 0.74rem;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.net-payable-value-premium[b-h6m39e922o] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #4f46e5;
    text-shadow: 0 1px 2px rgba(79, 70, 229, 0.1);
}

@keyframes premium-pulse-blink-b-h6m39e922o {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.65;
        transform: scale(0.97);
    }
}

.blink-payable-value[b-h6m39e922o] {
    animation: premium-pulse-blink-b-h6m39e922o 1.8s infinite ease-in-out;
    display: inline-block;
}

.btn-dotted-add[b-h6m39e922o] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px dashed #0f678f !important;
    background: #fff !important;
    color: #0f678f !important;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 20px;
    padding: 8px 32px;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-dotted-add:hover[b-h6m39e922o] {
    background: rgba(15, 103, 143, 0.04) !important;
    border-color: #0d587a !important;
    color: #0d587a !important;
    transform: translateY(-1.5px);
}

.btn-dotted-add:active[b-h6m39e922o] {
    transform: translateY(0);
}

.purchase-bill-fields select.premium-input[b-h6m39e922o] {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    background-image: none !important;
    padding-right: 24px !important;
}

/* Vendor Master Specific Styles */
.items-main-card .table-responsive[b-h6m39e922o] {
    padding-right: 0 !important;
    overflow-x: auto !important;
}

.items-table[b-h6m39e922o] {
    width: 100% !important;
}

.items-table th[b-h6m39e922o] {
    background: #f8fafc !important;
    color: #1e293b !important;
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    padding: 12px 16px !important;
}

.items-table td[b-h6m39e922o] {
    white-space: normal !important;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem !important;
    padding: 3px 6px !important;
}

/* Premium Modal Styles for Vendor */
.modal-card[b-h6m39e922o] {
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    background: #fff;
}

.modal-header-bar[b-h6m39e922o] {
    background: #fff !important;
    color: #333 !important;
    padding: 24px 32px !important;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-left[b-h6m39e922o] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-badge[b-h6m39e922o] {
    background: var(--sidebar-bg);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.modal-title[b-h6m39e922o] {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.modal-subtitle[b-h6m39e922o] {
    font-size: 0.85rem;
    color: #64748b;
}

.btn-close-modal[b-h6m39e922o] {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-h6m39e922o] {
    background: #e2e8f0;
    color: #1e293b;
}

.modal-inner[b-h6m39e922o] {
    padding: 16px 32px !important;
    background: #fff;
}

.form-section-header[b-h6m39e922o] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    margin-top: 4px;
}

.form-section-icon[b-h6m39e922o] {
    background: var(--sidebar-bg);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.form-section-title[b-h6m39e922o] {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #025091;
}

.form-grid[b-h6m39e922o] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.col-prefix[b-h6m39e922o] {
    grid-column: span 3;
}

.col-main[b-h6m39e922o] {
    grid-column: span 9;
}

.col-2[b-h6m39e922o] {
    grid-column: span 2;
}

.col-3[b-h6m39e922o] {
    grid-column: span 3;
}

.col-4[b-h6m39e922o] {
    grid-column: span 4;
}

.col-5[b-h6m39e922o] {
    grid-column: span 5;
}

.col-6[b-h6m39e922o] {
    grid-column: span 6;
}

.col-7[b-h6m39e922o] {
    grid-column: span 7;
}

.col-8[b-h6m39e922o] {
    grid-column: span 8;
}

.col-9[b-h6m39e922o] {
    grid-column: span 9;
}

.col-10[b-h6m39e922o] {
    grid-column: span 10;
}

.col-11[b-h6m39e922o] {
    grid-column: span 11;
}

.col-12[b-h6m39e922o] {
    grid-column: span 12;
}

.field-group[b-h6m39e922o] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label[b-h6m39e922o] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.field-label.required[b-h6m39e922o]::after {
    content: " *";
    color: #ef4444;
}

.premium-input[b-h6m39e922o] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    color: #4b5563 !important;
    transition: all 0.2s !important;
    height: auto !important;
}

.premium-input[b-h6m39e922o]::placeholder {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

.premium-input:focus[b-h6m39e922o] {
    background: #fff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

.modal-footer-actions[b-h6m39e922o] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.btn-delete-text[b-h6m39e922o] {
    color: #ef4444;
    background: none;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-delete-text:hover[b-h6m39e922o] {
    background: #fef2f2;
}

.btn-save-premium[b-h6m39e922o] {
    background: #1c9f5f;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(28, 159, 95, 0.3);
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-save-premium:hover[b-h6m39e922o] {
    background: #168a52;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(28, 159, 95, 0.4);
}

.btn-save-premium:active[b-h6m39e922o] {
    transform: translateY(0);
}

.btn-save-premium:disabled[b-h6m39e922o] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-save-draft[b-h6m39e922o] {
    display: inline-flex;
    min-width: 142px;
    height: 48px;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px solid #1d4ed8;
    border-radius: 12px;
    padding: 0.5rem 1.5rem;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.24);
    font-weight: 750;
    transition: all 0.2s ease;
}

.btn-save-draft:hover:not(:disabled)[b-h6m39e922o] {
    border-color: #1e40af;
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.32);
    transform: translateY(-1px);
}

.btn-save-draft:active:not(:disabled)[b-h6m39e922o] {
    transform: translateY(0);
}

.btn-save-draft:disabled[b-h6m39e922o] {
    opacity: 0.55;
    cursor: not-allowed;
}


/* Financial Summary Card Styles */
.financial-summary-card[b-h6m39e922o] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    padding: 1.5rem;
    font-family: 'Inter', 'Outfit', sans-serif;
}

.financial-summary-header[b-h6m39e922o] {
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.financial-summary-row[b-h6m39e922o] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.financial-summary-label[b-h6m39e922o] {
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.financial-summary-value[b-h6m39e922o] {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

.financial-summary-input[b-h6m39e922o] {
    width: 80px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #334155;
    outline: none;
    transition: all 0.2s;
    background: #ffffff;
}

.financial-summary-input:focus[b-h6m39e922o] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.financial-summary-net[b-h6m39e922o] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.financial-summary-net-label[b-h6m39e922o] {
    color: #0f172a;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.financial-summary-net-value[b-h6m39e922o] {
    color: #4f46e5;
    font-weight: 800;
    font-size: 1.4rem;
}

/* Purchase Entry Master Compact Summary Card */
.compact-summary-card[b-h6m39e922o] {
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    border: 1.5px solid rgba(99, 102, 241, 0.15);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.compact-summary-card[b-h6m39e922o]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1, #06b6d4);
    border-radius: 14px 0 0 14px;
}

.compact-summary-card:hover[b-h6m39e922o] {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.18);
}

/* Physical Bill Totals - Blue-indigo gradient */
.compact-summary-card.bill-card[b-h6m39e922o] {
    background: linear-gradient(135deg, #eef2ff 0%, #f0fdff 100%);
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.08);
}

.compact-summary-card.bill-card[b-h6m39e922o]::before {
    background: linear-gradient(180deg, #6366f1, #06b6d4);
}

/* Computed Items Total - Teal-green gradient */
.compact-summary-card.items-card[b-h6m39e922o] {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.08);
}

.compact-summary-card.items-card[b-h6m39e922o]::before {
    background: linear-gradient(180deg, #10b981, #06b6d4);
}

.compact-summary-card.items-card:hover[b-h6m39e922o] {
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.18);
}

.compact-summary-header[b-h6m39e922o] {
    font-size: 0.72rem;
    font-weight: 800;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(99, 102, 241, 0.25);
    padding-left: 8px;
}

.compact-summary-card.items-card .compact-summary-header[b-h6m39e922o] {
    color: #10b981;
    border-bottom-color: rgba(16, 185, 129, 0.25);
}

.compact-summary-row[b-h6m39e922o] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-left: 8px;
}

.compact-summary-label[b-h6m39e922o] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.compact-summary-value[b-h6m39e922o] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}

.compact-summary-input[b-h6m39e922o] {
    width: 110px;
    height: 30px;
    border-radius: 8px;
    border: 1.5px solid rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.8);
    text-align: right;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0 10px;
    color: #1e293b;
}

.compact-summary-input:focus[b-h6m39e922o] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    background: #fff;
}

.compact-summary-net[b-h6m39e922o] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    padding-left: 8px;
    border-top: 1.5px solid rgba(99, 102, 241, 0.2);
}

.compact-summary-card.items-card .compact-summary-net[b-h6m39e922o] {
    border-top-color: rgba(16, 185, 129, 0.2);
}

.compact-summary-net-label[b-h6m39e922o] {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compact-summary-net-value[b-h6m39e922o] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #6366f1;
    letter-spacing: -0.5px;
}

.compact-summary-card.items-card .compact-summary-net-value[b-h6m39e922o] {
    color: #10b981;
}

/* Stock Indent Status Badges */
.badge-indent-pending[b-h6m39e922o] {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #d97706 !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-indent-approved[b-h6m39e922o] {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-indent-rejected[b-h6m39e922o] {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

/* Stock volume indicators */
.badge-stock-high[b-h6m39e922o] {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-stock-low[b-h6m39e922o] {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #d97706 !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-stock-empty[b-h6m39e922o] {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

/* OVERRIDE FOR HIGH-DENSITY PURCHASE BILL FORM (e.g. ItemMaster Modal) */
.purchase-bill-fields .premium-segmented-control-joined[b-h6m39e922o] {
    height: 38px !important;
    border-radius: 8px !important;
    max-width: none !important;
}

.purchase-bill-fields .segment-btn-joined[b-h6m39e922o] {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
}

.purchase-bill-fields .segment-btn-joined:first-child[b-h6m39e922o] {
    border-right: 1px solid #e2e8f0 !important;
}

/* Tabular Grid/Real Table styling for purchase details table */
.purchase-items-table-wrapper table[b-h6m39e922o] {
    border-collapse: collapse !important;
    border: 1px solid #cbd5e1 !important;
    width: 100%;
}

.purchase-items-table-wrapper th[b-h6m39e922o],
.purchase-items-table-wrapper td[b-h6m39e922o] {
    border: 1px solid #cbd5e1 !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

.purchase-items-table-header th[b-h6m39e922o] {
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 10px 8px !important;
    font-weight: 700;
    font-size: 0.72rem;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #0273b2 !important;
}

.purchase-items-table-wrapper .purchase-item-input[b-h6m39e922o],
.purchase-items-table-wrapper .purchase-item-select[b-h6m39e922o] {
    width: 100% !important;
    height: 34px !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.purchase-items-table-wrapper .purchase-item-input:focus[b-h6m39e922o],
.purchase-items-table-wrapper .purchase-item-select:focus[b-h6m39e922o] {
    background: #f4f8fa !important;
    box-shadow: inset 0 0 0 2px rgba(2, 115, 178, 0.2) !important;
}

.purchase-items-table-wrapper .purchase-item-readonly[b-h6m39e922o] {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    width: 100% !important;
    height: 34px !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background-color: #f8fafc !important;
    font-weight: 600;
}

.purchase-items-table-wrapper td.purchase-items-table-footer-cell[b-h6m39e922o] {
    padding: 16px 24px !important;
}
:root[b-h6m39e922o] {
    --sidebar-bg: #f4f7fc;
    --sidebar-hover: #eaeff8;
    --sidebar-active: linear-gradient(90deg, rgba(79, 70, 229, 0.14) 0%, rgba(79, 70, 229, 0.04) 100%);
    --sidebar-active-text: #4338ca;
    --sidebar-text: #334155;
    --sidebar-border: #e2e8f0;
    --accent-blue: #4f46e5;
    --text-muted: #64748b;
    --sidebar-width: 220px;
    --sidebar-collapsed-width: 80px;
}

html[b-h6m39e922o],
body[b-h6m39e922o] {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background-color: #f8fafc !important;
}

body[b-h6m39e922o] {
    font-family: 'Inter', 'Roboto', 'Segoe UI', sans-serif;
    font-size: 13px;
}

.page[b-h6m39e922o] {
    display: flex;
    height: 100vh;
    width: 100vw;
    background: transparent;
}

main[b-h6m39e922o] {
    flex: 1;
    overflow-y: auto;
    background: transparent !important;
    display: flex;
    flex-direction: column;
}

.sidebar[b-h6m39e922o] {
    background-color: var(--sidebar-bg);
    width: var(--sidebar-width);
    min-width: var(--sidebar-collapsed-width);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    color: var(--sidebar-text);
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.02);
    border-right: 1px solid var(--sidebar-border);
    z-index: 100;
    overflow: visible;
    /* Need visible for floating overlapping button */
    position: relative;
}

.sidebar.collapsed[b-h6m39e922o] {
    width: var(--sidebar-collapsed-width);
}

/* Sidebar Header */
.sidebar-header[b-h6m39e922o] {
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5.5rem;
    white-space: nowrap;
    border-bottom: 1px solid var(--sidebar-border);
    position: relative;
    /* relative for floating toggle */
}

.sidebar.collapsed .sidebar-header[b-h6m39e922o] {
    padding: 0;
    justify-content: center;
}

.sidebar-brand[b-h6m39e922o] {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
}

.sidebar.collapsed .sidebar-brand[b-h6m39e922o] {
    gap: 0;
    justify-content: center;
}

.logo-box[b-h6m39e922o] {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.logo-box svg[b-h6m39e922o] {
    color: #ffffff;
}

.sidebar.collapsed .logo-box[b-h6m39e922o] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.sidebar-brand-text[b-h6m39e922o] {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-icon[b-h6m39e922o] {
    text-shadow: 0 0 15px rgba(79, 70, 229, 0.15);
}

.brand-title[b-h6m39e922o] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.25;
    letter-spacing: -0.1px;
    white-space: normal;
    max-width: 125px;
}

.brand-title span.accent-text[b-h6m39e922o] {
    color: #4f46e5 !important;
    font-weight: 800;
}

.brand-subtitle[b-h6m39e922o] {
    font-size: 0.62rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 1px;
}

.collapsed .sidebar-brand-text[b-h6m39e922o] {
    opacity: 0;
    transform: translateX(-10px);
    pointer-events: none;
    width: 0;
    overflow: hidden;
}

.sidebar-toggle[b-h6m39e922o] {
    position: absolute;
    right: -14px;
    /* floats half outside the sidebar */
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #dbeafe !important;
    color: #4f46e5 !important;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.15) !important;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-toggle:hover[b-h6m39e922o] {
    background: #f8fafc;
    transform: translateY(-50%) scale(1.08);
}

.sidebar-toggle i[b-h6m39e922o] {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Nav Category Removed as requested */

/* Nav Links */
.nav-scrollable[b-h6m39e922o] {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}

.nav-scrollable[b-h6m39e922o]::-webkit-scrollbar {
    width: 5px;
}

.nav-scrollable[b-h6m39e922o]::-webkit-scrollbar-track {
    background: transparent;
}

.nav-scrollable[b-h6m39e922o]::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.nav-section-title[b-h6m39e922o] {
    font-size: 0.66rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 0.9rem 1.5rem 0.2rem 24px;
    margin-top: 0.1rem;
}

.collapsed .nav-section-title[b-h6m39e922o] {
    display: none;
}

.nav-item[b-h6m39e922o] {
    padding: 0 16px 0 0;
    margin-bottom: 0.15rem;
}

.nav-link[b-h6m39e922o] {
    display: flex;
    align-items: center;
    padding: 0.45rem 0.8rem 0.45rem 24px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    color: var(--sidebar-text) !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    background: transparent !important;
    border-left: 3.5px solid transparent;
}

.nav-link:hover[b-h6m39e922o] {
    color: var(--sidebar-active-text) !important;
    background: var(--sidebar-hover) !important;
}

.nav-link.active[b-h6m39e922o] {
    color: var(--sidebar-active-text) !important;
    background: var(--sidebar-active) !important;
    border-left-color: #4f46e5 !important;
    font-weight: 700;
}

.nav-link span[b-h6m39e922o] {
    transition: opacity 0.3s, transform 0.3s;
    opacity: 1;
    font-size: 0.78rem;
    font-weight: 600;
}

.collapsed .nav-link span[b-h6m39e922o] {
    opacity: 0;
    pointer-events: none;
    width: 0;
    display: inline-block;
    overflow: hidden;
}

/* Icon Box Style */
.icon-box[b-h6m39e922o] {
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: transparent;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.7rem;
    transition: all 0.2s ease;
    color: #475569;
    font-size: 0.95rem;
}

.nav-link:hover .icon-box[b-h6m39e922o] {
    color: var(--sidebar-active-text) !important;
}

.nav-link.active .icon-box[b-h6m39e922o] {
    color: #4f46e5 !important;
}

.collapsed .icon-box[b-h6m39e922o] {
    margin-right: 0;
}

.collapsed .nav-item[b-h6m39e922o] {
    padding: 0 10px 0 0;
}

.collapsed .nav-link[b-h6m39e922o] {
    justify-content: center;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-left: 3px solid transparent;
    padding: 0.48rem 0;
}

.collapsed .nav-link.active[b-h6m39e922o] {
    background: rgba(2, 101, 158, 0.12) !important;
    color: #02659e !important;
    border-left: 3px solid #02659e !important;
}

/* Main Content */
.content[b-h6m39e922o] {
    padding: 0.25rem 2rem 2rem 2rem;
    background: transparent !important;
}

.card[b-h6m39e922o] {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}



/* Blue Shade Form Theme */
.bg-blue-soft[b-h6m39e922o] {
    background-color: #f0f7ff !important;
}

.card-blue-shade[b-h6m39e922o] {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e1e9f4 !important;
}

.form-control-blue[b-h6m39e922o] {
    background-color: #f4f8fb !important;
    border: 1px solid #e1e9f4 !important;
    transition: all 0.3s;
}

.form-control-blue:focus[b-h6m39e922o] {
    background-color: #ffffff !important;
    border-color: #006092 !important;
    box-shadow: 0 0 0 4px rgba(0, 96, 146, 0.1);
}

/* Premium Notification System */
.notification-container[b-h6m39e922o] {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 14px;
    pointer-events: none;
    perspective: 1000px;
}

.notification-item[b-h6m39e922o] {
    pointer-events: auto;
    min-width: 320px;
    max-width: 480px;
    padding: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 20px 40px -10px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: premiumSlideIn-b-h6m39e922o 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.3s ease;
}

.notification-item:hover[b-h6m39e922o] {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
}

@keyframes premiumSlideIn-b-h6m39e922o {
    0% {
        transform: translateX(120%) rotateY(-20deg);
        opacity: 0;
    }

    100% {
        transform: translateX(0) rotateY(0);
        opacity: 1;
    }
}

.notification-inner[b-h6m39e922o] {
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.notification-content[b-h6m39e922o] {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
}

.notification-icon-wrap[b-h6m39e922o] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Theme Variations */
.notification-item.success .notification-icon-wrap[b-h6m39e922o] {
    background: #10b981;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.notification-item.error .notification-icon-wrap[b-h6m39e922o] {
    background: #ef4444;
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.notification-item.warning .notification-icon-wrap[b-h6m39e922o] {
    background: #f59e0b;
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.notification-item.info .notification-icon-wrap[b-h6m39e922o] {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.notification-item.success[b-h6m39e922o] {
    border-left: 4px solid #10b981;
}

.notification-item.error[b-h6m39e922o] {
    border-left: 4px solid #ef4444;
}

.notification-item.warning[b-h6m39e922o] {
    border-left: 4px solid #f59e0b;
}

.notification-item.info[b-h6m39e922o] {
    border-left: 4px solid #3b82f6;
}

.notification-text[b-h6m39e922o] {
    color: #1e293b;
}

.notification-close[b-h6m39e922o] {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: #64748b;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.notification-close:hover[b-h6m39e922o] {
    background: rgba(0, 0, 0, 0.1);
    color: #1e293b;
    transform: rotate(90deg);
}

/* Progress Bar */
.notification-progress[b-h6m39e922o] {
    height: 3px;
    width: 100%;
    background: rgba(0, 0, 0, 0.03);
}

.notification-progress-bar[b-h6m39e922o] {
    height: 100%;
    width: 100%;
    background: currentColor;
    opacity: 0.6;
    animation: notificationProgress-b-h6m39e922o 5s linear forwards;
}

@keyframes notificationProgress-b-h6m39e922o {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

.notification-item.success .notification-progress-bar[b-h6m39e922o] {
    color: #10b981;
}

.notification-item.error .notification-progress-bar[b-h6m39e922o] {
    color: #ef4444;
}

.notification-item.warning .notification-progress-bar[b-h6m39e922o] {
    color: #f59e0b;
}

.notification-item.info .notification-progress-bar[b-h6m39e922o] {
    color: #3b82f6;
}

/* Add Item Page Styles */
.ai-page[b-h6m39e922o] {
    min-height: 100vh;
    background: linear-gradient(180deg, #eff6fb 0%, #e2edf6 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    overflow-y: auto;
}

.ai-shell[b-h6m39e922o] {
    width: 100%;
    display: flex;
    justify-content: center;
}

.ai-card[b-h6m39e922o] {
    width: 100%;
    max-width: 650px;
    background: #ffffff;
    border-radius: 16px;
    border: 0;
    box-shadow: 0 22px 55px rgba(3, 26, 46, 0.16);
    overflow: hidden;
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
}

.ai-header[b-h6m39e922o] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.1rem;
    background: linear-gradient(90deg, #0f678f 0%, #0b5777 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-head-left[b-h6m39e922o] {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.ai-badge[b-h6m39e922o] {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.ai-title[b-h6m39e922o] {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.1px;
    line-height: 1.1;
    font-size: 1.1rem;
}

.ai-subtitle[b-h6m39e922o] {
    display: none;
}

.ai-body[b-h6m39e922o] {
    padding: .95rem .85rem 1rem;
    overflow-y: auto;
    flex: 1;
}

.ai-form-wrap[b-h6m39e922o] {
    max-width: 500px;
    margin: 0 auto;
}

.ai-section[b-h6m39e922o] {
    background: linear-gradient(180deg, #ffffff 0%, #fcfeff 100%);
    border: 1px solid #dce9f4;
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.ai-row[b-h6m39e922o] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ai-row.full-width[b-h6m39e922o] {
    grid-column: span 2;
}

.ai-label[b-h6m39e922o] {
    padding-top: 0;
    font-weight: 700;
    color: #0b5777;
    font-size: .72rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.ai-field[b-h6m39e922o] {
    width: 100%;
}

.ai-input[b-h6m39e922o],
.ai-select[b-h6m39e922o],
.ai-textarea[b-h6m39e922o] {
    border: 1px solid #e6eef8;
    border-radius: 8px;
    padding: .4rem .6rem;
    min-height: 32px;
    background: #fbfdff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    font-size: .85rem;
    width: 100%;
    max-width: 280px;
}

.ai-textarea[b-h6m39e922o] {
    max-width: 100%;
    height: auto;
    min-height: 78px;
    padding-top: .6rem;
}

.ai-input:focus[b-h6m39e922o],
.ai-select:focus[b-h6m39e922o],
.ai-textarea:focus[b-h6m39e922o] {
    border-color: #0aa06a;
    box-shadow: 0 6px 20px rgba(10, 160, 106, 0.06);
    outline: none;
    background: #fff;
}

.btn-accent[b-h6m39e922o] {
    background: #009b63;
    color: #fff;
    border: 1px solid #078a57;
    padding: .55rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(3, 130, 90, 0.12);
}

.btn-accent:hover[b-h6m39e922o] {
    transform: translateY(-2px);
}

.ai-actions[b-h6m39e922o] {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin-top: .85rem;
}

.ai-action-btn[b-h6m39e922o] {
    min-width: 120px;
    padding: .62rem 1.2rem;
    border-radius: 10px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .ai-row[b-h6m39e922o] {
        grid-template-columns: 1fr;
    }

    .ai-label[b-h6m39e922o] {
        padding-top: 0;
    }

    .ai-card[b-h6m39e922o] {
        max-height: none;
    }

    .ai-card[b-h6m39e922o] {
        max-width: 96vw;
    }
}



/* Modal Styles */
.modal-overlay[b-h6m39e922o] {
    position: fixed;
    inset: 0;
    background: rgba(8, 25, 40, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1050;
    overflow-y: auto;
    animation: modalFadeIn-b-h6m39e922o 0.3s ease-out forwards;
}

.modal-card[b-h6m39e922o] {
    width: min(1100px, 96%);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(3, 26, 46, 0.28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 3rem);
    animation: modalScaleIn-b-h6m39e922o 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-header-bar[b-h6m39e922o] {
    background: linear-gradient(90deg, #0f678f 0%, #0b5777 100%);
    color: #fff;
    padding: 1.05rem 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.modal-header-left[b-h6m39e922o] {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.modal-badge[b-h6m39e922o] {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .12);
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
}

.modal-title[b-h6m39e922o] {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
}

.modal-subtitle[b-h6m39e922o] {
    font-size: .92rem;
    color: rgba(255, 255, 255, .88);
    margin-top: .15rem;
}

.modal-inner[b-h6m39e922o] {
    padding: 0.5rem 1rem 0.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    overflow-y: auto;
    flex: 1;
}

.modal-form-wrap[b-h6m39e922o] {
    max-width: 100%;
    margin: 0 auto;
}

.modal-section[b-h6m39e922o] {
    background: #fff;
    border: 1px solid #dce9f4;
    border-radius: 12px;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.modal-row[b-h6m39e922o] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.modal-row.full-width[b-h6m39e922o] {
    grid-column: span 2;
}

.modal-label[b-h6m39e922o] {
    padding-top: 0;
    font-size: .72rem;
    font-weight: 700;
    color: #0b5777;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.modal-field[b-h6m39e922o] {
    width: 100%;
}

.modal-input[b-h6m39e922o],
.modal-select[b-h6m39e922o],
.modal-textarea[b-h6m39e922o] {
    border: 1px solid #e6eef8;
    border-radius: 8px;
    background: #fbfdff;
    min-height: 32px;
    padding: .4rem .6rem;
    width: 100%;
    max-width: 250px;
    font-size: .85rem;
}

.modal-textarea[b-h6m39e922o] {
    max-width: 100%;
    min-height: 64px;
    resize: vertical;
}

.modal-actions[b-h6m39e922o] {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.2rem;
}

.modal-action-btn[b-h6m39e922o] {
    min-width: 130px;
    padding: .65rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
}

/* Popup Styles */
.action-popup-overlay[b-h6m39e922o] {
    position: fixed;
    inset: 0;
    background: rgba(8, 25, 40, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1200;
    animation: modalFadeIn-b-h6m39e922o 0.25s ease-out forwards;
}

.action-popup-card[b-h6m39e922o] {
    width: min(420px, 96%);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #cfe4f2;
    box-shadow: 0 16px 36px rgba(3, 26, 46, 0.28);
    animation: modalScaleIn-b-h6m39e922o 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalFadeIn-b-h6m39e922o {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalScaleIn-b-h6m39e922o {
    from {
        transform: scale(0.95) translateY(12px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.action-popup-header[b-h6m39e922o] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%);
    color: #312e81;
    padding: .9rem 1.2rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    font-family: 'Inter', 'Roboto', 'Segoe UI', sans-serif;
}

.action-popup-body[b-h6m39e922o] {
    padding: 1rem;
    background: #f2f9ff;
    color: #0d3f5b;
    font-size: .96rem;
}

.action-popup-actions[b-h6m39e922o] {
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
    padding: .85rem 1rem 1rem;
    background: #f2f9ff;
    border-top: 1px solid #d5e9f7;
}

.popup-btn[b-h6m39e922o] {
    min-width: 88px;
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid transparent;
    padding: .45rem .9rem;
}

.popup-btn-cancel[b-h6m39e922o] {
    background: #fff;
    color: #312e81;
    border-color: rgba(49, 46, 129, 0.35);
    transition: all 0.2s ease;
}

.popup-btn-cancel:hover[b-h6m39e922o] {
    background: #f0f3ff;
    color: #1e1b4b;
    border-color: rgba(49, 46, 129, 0.6);
}

.popup-btn-delete[b-h6m39e922o] {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
    transition: all 0.2s ease;
}

.popup-btn-delete:hover[b-h6m39e922o] {
    background: #dc2626;
    border-color: #dc2626;
}

.popup-btn-ok[b-h6m39e922o] {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
    transition: all 0.2s ease;
}

.popup-btn-ok:hover[b-h6m39e922o] {
    background: #2563eb;
    border-color: #2563eb;
}

@media (max-width: 768px) {
    .modal-row[b-h6m39e922o] {
        grid-template-columns: 1fr;
        gap: .4rem;
    }

    .modal-card[b-h6m39e922o] {
        max-height: calc(100vh - 3rem);
        width: min(96%, 900px);
    }
}

@media (max-width: 576px) {

    .items-title-wrap[b-h6m39e922o],
    .purchase-status-toggle[b-h6m39e922o],
    .items-search[b-h6m39e922o],
    .view-toggle[b-h6m39e922o],
    .add-item-btn[b-h6m39e922o] {
        width: 92vw;
        justify-content: center;
    }

    .purchase-status-toggle .draft-filter-btn[b-h6m39e922o] {
        min-width: 0;
        width: 50%;
        flex: 1;
    }

    .view-toggle button[b-h6m39e922o] {
        width: 50%;
    }
}

.display-controls[b-h6m39e922o] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    justify-content: flex-end;
}



.total-count-text[b-h6m39e922o] {
    color: #4b5563;
    font-weight: 700;
    font-size: 0.95rem;
    margin-right: 0mm;
}

.pagination-bar[b-h6m39e922o] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-right: 1.5rem !important;
}

.page-btn[b-h6m39e922o] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #4b5563;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.page-btn:hover:not(:disabled)[b-h6m39e922o] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.page-btn.active[b-h6m39e922o] {
    background: #02659e !important;
    color: #ffffff !important;
    border-color: #02659e !important;
}

.page-btn:disabled[b-h6m39e922o] {
    opacity: 0.4;
    cursor: not-allowed;
}



/* Purchase Bill Layout Styles */


/* FLAT, CLEAN, PERFECTLY ALIGNED BRAND STYLE */
.dashboard-page[b-h6m39e922o] {
    min-height: calc(100vh - 56px);
    background-color: #f8fafc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.dashboard-container[b-h6m39e922o] {
    max-width: 1400px;
    margin: 0 auto;
}

.text-dark-blue[b-h6m39e922o] {
    color: #025091;
}

/* KPI CARDS STYLING */
.kpi-card[b-h6m39e922o] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.kpi-card:hover[b-h6m39e922o] {
    transform: translateY(-2px);
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

.kpi-label[b-h6m39e922o] {
    font-size: 0.68rem;
    letter-spacing: 0.8px;
    color: #64748b !important;
}

.kpi-value[b-h6m39e922o] {
    font-size: 1.45rem;
    letter-spacing: -0.5px;
}

.kpi-icon-box[b-h6m39e922o] {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* SOLID COLOR BACKGROUND ACCENTS */
.bg-blue-light[b-h6m39e922o] {
    background-color: #eff6ff;
}

.bg-green-light[b-h6m39e922o] {
    background-color: #f0fdf4;
}

.bg-purple-light[b-h6m39e922o] {
    background-color: #faf5ff;
}

.bg-orange-light[b-h6m39e922o] {
    background-color: #fff7ed;
}

/* CARD SYSTEM */
.card[b-h6m39e922o] {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
    transition: none;
}

.card:hover[b-h6m39e922o] {
    transform: none;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}

.card-header[b-h6m39e922o] {
    border-bottom: 1px solid #e2e8f0 !important;
}

/* ALIGNED HIGH DENSITY TABLES */
.table th[b-h6m39e922o] {
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #475569;
    border-bottom: 2px solid #e2e8f0;
    letter-spacing: 0.5px;
    padding: 10px 12px;
}

.table td[b-h6m39e922o] {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.78rem;
}

.table tr:last-child td[b-h6m39e922o] {
    border-bottom: none;
}

.bg-danger-soft[b-h6m39e922o] {
    background-color: #fef2f2;
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

/* ALIGNMENT UTILS */
.fs-7[b-h6m39e922o] {
    font-size: 0.8rem !important;
}

.fs-8[b-h6m39e922o] {
    font-size: 0.72rem !important;
}

.fs-9[b-h6m39e922o] {
    font-size: 0.6rem !important;
}

.btn-xs[b-h6m39e922o] {
    font-size: 0.7rem;
    padding: 2px 8px;
}

.btn-outline-primary[b-h6m39e922o] {
    border-color: #025091;
    color: #025091;
}

.btn-outline-primary:hover[b-h6m39e922o] {
    background-color: #025091;
    color: #fff;
}

/* Custom high-density scrollbars */
[b-h6m39e922o]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

[b-h6m39e922o]::-webkit-scrollbar-track {
    background: transparent;
}

[b-h6m39e922o]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

[b-h6m39e922o]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Premium Custom Segmented Control Joined Styles */
.premium-segmented-control-joined[b-h6m39e922o] {
    display: flex;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    height: 46px;
    width: 100%;
    max-width: 200px;
    /* Reduced width for a neat, compact look */
    box-sizing: border-box;
    overflow: hidden;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.premium-segmented-control-joined:hover[b-h6m39e922o] {
    border-color: #cbd5e1;
}

.segment-btn-joined[b-h6m39e922o] {
    flex: 1;
    border: none;
    background: transparent;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.segment-btn-joined:first-child[b-h6m39e922o] {
    border-right: 1px solid #e2e8f0;
}

.segment-btn-joined:hover:not(.active)[b-h6m39e922o] {
    background: #f1f5f9;
    color: #0f172a;
}

/* State-Dependent Colors */
.segment-btn-joined.btn-false.active[b-h6m39e922o] {
    background: #64748b !important;
    /* Premium Slate Gray for False/Off state */
    color: white !important;
}

.segment-btn-joined.btn-true.active[b-h6m39e922o] {
    background: #006b3c !important;
    /* Premium Deep Green for True/On state */
    color: white !important;
}



/* Premium Action Buttons Outline Styling */
.action-btn[b-h6m39e922o] {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    cursor: pointer !important;
    margin: 0 2px !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
}

.action-btn:hover[b-h6m39e922o] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.action-btn i[b-h6m39e922o] {
    font-size: 0.85rem !important;
}

/* Schedule Checkboxes styling */
.schedule-checkboxes-group[b-h6m39e922o] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.schedule-check-item[b-h6m39e922o] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    margin: 0;
}

.schedule-check-input[b-h6m39e922o] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    outline: none;
    background-color: #fff;
    cursor: pointer;
    display: grid;
    place-content: center;
    transition: all 0.2s ease;
    margin: 0;
}

.schedule-check-input:hover[b-h6m39e922o] {
    border-color: #02659e;
    box-shadow: 0 0 0 3px rgba(2, 101, 158, 0.15);
}

.schedule-check-input:checked[b-h6m39e922o] {
    background-color: #02659e;
    border-color: #02659e;
}

.schedule-check-input:checked[b-h6m39e922o]::before {
    content: "";
    width: 10px;
    height: 10px;
    clip-path: polygon(14% 44%, 0 58%, 38% 96%, 100% 19%, 83% 5%, 38% 68%);
    background-color: white;
}

.schedule-check-label[b-h6m39e922o] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    user-select: none;
    cursor: pointer;
    transition: color 0.2s ease;
    margin: 0;
}

.schedule-check-item:hover .schedule-check-label[b-h6m39e922o] {
    color: #02659e;
}

/* Branch Selector in Modal Header */
.branch-selector-container[b-h6m39e922o] {
    position: relative;
    display: inline-block;
}

.btn-branch-picker[b-h6m39e922o] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-branch-picker:hover[b-h6m39e922o] {
    background: #eef2ff;
    border-color: #818cf8;
    color: #4338ca;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.12);
}

.btn-branch-picker:active[b-h6m39e922o] {
    transform: translateY(1px);
}

.branch-dropdown-menu[b-h6m39e922o] {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    min-width: 240px;
    max-width: 320px;
    z-index: 1200;
    overflow: hidden;
}

.branch-dropdown-item[b-h6m39e922o] {
    padding: 9px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease, color 0.15s ease;
    color: #1e293b;
}

.branch-dropdown-item:hover[b-h6m39e922o] {
    background: #f1f5f9;
    color: #4338ca;
}

.branch-dropdown-item.active[b-h6m39e922o] {
    background: #eef2ff;
    color: #4338ca;
    font-weight: 700;
}

/* /Components/Pages/PurchaseOrder.razor.rz.scp.css */
/* Scoped styles for PurchaseOrder component */

.items-page[b-q0zczatfyp] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-q0zczatfyp] {
    max-width: 1340px;
    margin: 0 auto;
}

.items-content[b-q0zczatfyp] {
    width: min(1280px, 100%);
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-q0zczatfyp] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    border-radius: 16px !important;
    padding: 1.25rem 2rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem !important;
}

.header-card-left[b-q0zczatfyp] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-card-icon[b-q0zczatfyp] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
}

.header-card-icon svg[b-q0zczatfyp] {
    stroke: #4f46e5 !important;
}

.header-card-text[b-q0zczatfyp] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-q0zczatfyp] {
    color: #312e81 !important;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.header-card-subheading[b-q0zczatfyp] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-q0zczatfyp] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-q0zczatfyp] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.status-filter-select[b-q0zczatfyp] {
    height: 38px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 0 1rem !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    cursor: pointer;
    box-shadow: none !important;
    outline: none !important;
}

.items-search-wrap[b-q0zczatfyp] {
    position: relative;
    display: flex;
    align-items: center;
}

.items-search[b-q0zczatfyp] {
    width: 220px;
    height: 38px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    padding-left: 2.4rem !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.items-search:focus[b-q0zczatfyp] {
    outline: none !important;
    width: 280px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.items-search-icon[b-q0zczatfyp] {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.view-toggle[b-q0zczatfyp] {
    display: inline-flex;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #f8fafc !important;
    height: 38px;
    padding: 2px;
    align-items: center;
}

.view-toggle button[b-q0zczatfyp] {
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    width: 36px;
    height: 32px;
    border-radius: 16px !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.view-toggle button.active[b-q0zczatfyp] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.add-item-btn[b-q0zczatfyp] {
    height: 38px !important;
    border-radius: 20px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 1.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
}

.add-item-btn:hover[b-q0zczatfyp] {
    background: #3f39c5 !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35) !important;
    transform: translateY(-1.5px);
}

.items-main-card[b-q0zczatfyp] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-top: 1.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
}

.items-main-card .table-responsive[b-q0zczatfyp] {
    max-height: 560px !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
}

.items-table[b-q0zczatfyp] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

table.table.items-table thead tr th[b-q0zczatfyp],
.items-table th[b-q0zczatfyp] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: #ffffff !important;
    color: #8a99ad !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.8px !important;
    padding: 12px 16px !important;
    border-bottom: 2px solid #eef2f6 !important;
    text-align: center !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.items-table td[b-q0zczatfyp] {
    border-top: none !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding: 10px 16px !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #64748b !important;
    vertical-align: middle !important;
    text-align: center !important;
}

.items-table td:last-child[b-q0zczatfyp] {
    white-space: nowrap !important;
    text-align: center !important;
}

.items-table tr td:first-child[b-q0zczatfyp] {
    color: #3b82f6 !important;
    font-weight: 700 !important;
}

.items-table tbody tr:hover td[b-q0zczatfyp] {
    background-color: #f8fafc !important;
}

.action-btn[b-q0zczatfyp] {
    border: none;
    background: transparent;
    padding: 5px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-view[b-q0zczatfyp] {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.08);
}
.btn-view:hover[b-q0zczatfyp] {
    background: #0284c7;
    color: #ffffff;
}

.btn-edit[b-q0zczatfyp] {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.08);
}
.btn-edit:hover[b-q0zczatfyp] {
    background: #4f46e5;
    color: #ffffff;
}

.btn-delete[b-q0zczatfyp] {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
}
.btn-delete:hover[b-q0zczatfyp] {
    background: #dc2626;
    color: #ffffff;
}

/* Status Badges */
.badge-status[b-q0zczatfyp] {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.badge-pending[b-q0zczatfyp] {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.badge-approved[b-q0zczatfyp] {
    background: #d1fae5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.badge-closed[b-q0zczatfyp] {
    background: #e2e8f0;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.badge-cancelled[b-q0zczatfyp] {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.badge-converted[b-q0zczatfyp] {
    background: #e0e7ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

/* Grid Cards */
.items-card-grid[b-q0zczatfyp] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    padding: 1.25rem;
}

.item-card[b-q0zczatfyp] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.item-card:hover[b-q0zczatfyp] {
    border-color: #cbd5e1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.item-card-head[b-q0zczatfyp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}

.card-item-code[b-q0zczatfyp] {
    font-weight: 800;
    color: #4f46e5;
    font-size: 0.95rem;
}

.item-card-body[b-q0zczatfyp] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.detail-row[b-q0zczatfyp] {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #64748b;
}

.detail-row strong[b-q0zczatfyp] {
    color: #1e293b;
    font-weight: 600;
}

/* Pagination Controls */
.display-controls[b-q0zczatfyp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.page-btn[b-q0zczatfyp] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.page-btn:hover:not(:disabled)[b-q0zczatfyp] {
    background: #f1f5f9;
    color: #1e293b;
}

.page-btn.active[b-q0zczatfyp] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
}

.page-btn:disabled[b-q0zczatfyp] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Modal Overlay & Card */
.modal-overlay[b-q0zczatfyp] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-card[b-q0zczatfyp] {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    height: 90vh;
    overflow: hidden;
    animation: modalAppear-b-q0zczatfyp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalAppear-b-q0zczatfyp {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header-bar[b-q0zczatfyp] {
    padding: 16px 32px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    flex-shrink: 0;
}

.modal-title[b-q0zczatfyp] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.2px;
}

.btn-close-modal[b-q0zczatfyp] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-q0zczatfyp] {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

.modal-inner[b-q0zczatfyp] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.modal-inner > form[b-q0zczatfyp],
.modal-inner form[b-q0zczatfyp] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.modal-scroll-area[b-q0zczatfyp] {
    flex: 1;
    min-height: 0;
    overflow-y: auto !important;
    overflow-x: hidden;
    padding: 1.25rem 2rem;
}

.form-section-header[b-q0zczatfyp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.35rem;
    border-bottom: 1.5px solid #f1f5f9;
}

.form-section-title[b-q0zczatfyp] {
    font-size: 0.82rem;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-grid[b-q0zczatfyp] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
    margin-bottom: 1rem;
    text-align: left;
}

.field-group[b-q0zczatfyp] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.col-1[b-q0zczatfyp] { grid-column: span 1; }
.col-2[b-q0zczatfyp] { grid-column: span 2; }
.col-3[b-q0zczatfyp] { grid-column: span 3; }
.col-4[b-q0zczatfyp] { grid-column: span 4; }
.col-5[b-q0zczatfyp] { grid-column: span 5; }
.col-6[b-q0zczatfyp] { grid-column: span 6; }
.col-7[b-q0zczatfyp] { grid-column: span 7; }
.col-8[b-q0zczatfyp] { grid-column: span 8; }
.col-9[b-q0zczatfyp] { grid-column: span 9; }
.col-10[b-q0zczatfyp] { grid-column: span 10; }
.col-11[b-q0zczatfyp] { grid-column: span 11; }
.col-12[b-q0zczatfyp] { grid-column: span 12; }

.field-label[b-q0zczatfyp] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
}

.field-label.required[b-q0zczatfyp]::after {
    content: " *";
    color: #ef4444;
}

.premium-input[b-q0zczatfyp] {
    height: 36px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 0 10px !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #1e293b !important;
    font-weight: 500 !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.premium-input:focus[b-q0zczatfyp] {
    outline: none !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

/* PO Items Table */
.po-items-table-wrapper[b-q0zczatfyp] {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow-x: auto;
    background: #ffffff;
    margin-bottom: 0.5rem;
}

.po-items-table[b-q0zczatfyp] {
    width: 100%;
    margin-bottom: 0;
    font-size: 0.82rem;
}

.po-items-table thead th[b-q0zczatfyp] {
    background: #f8fafc;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.5px;
    padding: 8px 10px;
    border-bottom: 1.5px solid #e2e8f0;
    text-align: center;
}

.po-items-table tbody td[b-q0zczatfyp] {
    padding: 4px 6px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

.po-table-input[b-q0zczatfyp] {
    height: 32px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    padding: 0 8px;
    font-size: 0.78rem;
    color: #1e293b;
    width: 100%;
    background: #ffffff;
}

.po-table-input:focus[b-q0zczatfyp] {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.15);
}

.btn-dotted-add[b-q0zczatfyp] {
    background: #f0fdf4;
    color: #16a34a;
    border: 1.5px dashed #86efac;
    border-radius: 12px;
    padding: 5px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-dotted-add:hover[b-q0zczatfyp] {
    background: #dcfce7;
    border-color: #4ade80;
    color: #15803d;
}

/* Terms Table */
.terms-table-wrapper[b-q0zczatfyp] {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow-x: auto;
    background: #ffffff;
    margin-bottom: 0.5rem;
}

.quick-term-pill[b-q0zczatfyp] {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    border-radius: 14px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-term-pill:hover[b-q0zczatfyp] {
    background: #e0e7ff;
    color: #4338ca;
    border-color: #c7d2fe;
}

/* Modal Footer */
.modal-footer-actions[b-q0zczatfyp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 28px;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
}

.btn-cancel-modal[b-q0zczatfyp] {
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 0.55rem 1.4rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel-modal:hover[b-q0zczatfyp] {
    background: #e2e8f0;
    color: #1e293b;
}

.btn-save-premium[b-q0zczatfyp] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    padding: 0.55rem 1.8rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    transition: all 0.2s;
}

.btn-save-premium:hover:not(:disabled)[b-q0zczatfyp] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
}

.btn-save-premium:disabled[b-q0zczatfyp] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Print Voucher Styling */
.print-voucher-card[b-q0zczatfyp] {
    background: #ffffff;
    color: #0f172a;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.voucher-header[b-q0zczatfyp] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #4f46e5;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.voucher-title-badge[b-q0zczatfyp] {
    font-size: 1.4rem;
    font-weight: 800;
    color: #4f46e5;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.voucher-meta-box[b-q0zczatfyp] {
    text-align: right;
    font-size: 0.85rem;
}

.voucher-parties[b-q0zczatfyp] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.voucher-table[b-q0zczatfyp] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.82rem;
}

.voucher-table th[b-q0zczatfyp] {
    background: #4f46e5;
    color: #ffffff;
    padding: 8px 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.72rem;
    border: 1px solid #4f46e5;
    text-align: center;
}

.voucher-table td[b-q0zczatfyp] {
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.voucher-totals-wrapper[b-q0zczatfyp] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.voucher-totals-box[b-q0zczatfyp] {
    width: 320px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.voucher-totals-row[b-q0zczatfyp] {
    display: flex;
    justify-content: space-between;
    padding: 6px 12px;
    font-size: 0.82rem;
    border-bottom: 1px solid #f1f5f9;
}

.voucher-totals-row.grand-total[b-q0zczatfyp] {
    background: #4f46e5;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
}

.voucher-terms-box[b-q0zczatfyp] {
    margin-top: 16px;
    padding: 12px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    font-size: 0.8rem;
}

.voucher-signatures[b-q0zczatfyp] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.signature-line[b-q0zczatfyp] {
    border-top: 1.5px solid #0f172a;
    padding-top: 6px;
    font-weight: 700;
    font-size: 0.82rem;
}

@media print {
    body *[b-q0zczatfyp] {
        visibility: hidden;
    }
    .print-voucher-card[b-q0zczatfyp], .print-voucher-card *[b-q0zczatfyp] {
        visibility: visible;
    }
    .print-voucher-card[b-q0zczatfyp] {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 10px;
    }
    .no-print[b-q0zczatfyp] {
        display: none !important;
    }
}
/* /Components/Pages/PurchaseReturn.razor.rz.scp.css */
/* Scoped styles for PurchaseReturn component */

.items-page[b-qhe32rqemq] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-qhe32rqemq] {
    max-width: 1320px;
    margin: 0 auto;
}

.items-content[b-qhe32rqemq] {
    width: min(1240px, 100%);
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-qhe32rqemq] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    border-radius: 16px !important;
    padding: 1.25rem 2rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem !important;
}

.header-card-left[b-qhe32rqemq] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-card-icon[b-qhe32rqemq] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
}

.header-card-icon svg[b-qhe32rqemq] {
    stroke: #4f46e5 !important;
}

.header-card-text[b-qhe32rqemq] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-qhe32rqemq] {
    color: #312e81 !important;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.header-card-subheading[b-qhe32rqemq] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-qhe32rqemq] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-qhe32rqemq] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.items-search-wrap[b-qhe32rqemq] {
    position: relative;
    display: flex;
    align-items: center;
}

.items-search[b-qhe32rqemq] {
    width: 280px !important;
    height: 38px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    padding-left: 2.4rem !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.items-search:focus[b-qhe32rqemq] {
    outline: none !important;
    width: 320px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.items-search-icon[b-qhe32rqemq] {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.view-toggle[b-qhe32rqemq] {
    display: inline-flex;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #f8fafc !important;
    height: 38px;
    padding: 2px;
    align-items: center;
}

.view-toggle button[b-qhe32rqemq] {
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    width: 36px;
    height: 32px;
    border-radius: 16px !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle button.active[b-qhe32rqemq] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.add-item-btn[b-qhe32rqemq] {
    height: 38px !important;
    border-radius: 20px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 1.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
}

.add-item-btn:hover[b-qhe32rqemq] {
    background: #3f39c5 !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35) !important;
    transform: translateY(-1.5px);
}

.items-main-card[b-qhe32rqemq] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-top: 1.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
}

.items-main-card .table-responsive[b-qhe32rqemq] {
    max-height: 550px !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
}

.items-table[b-qhe32rqemq] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.items-table tr[b-qhe32rqemq] {
    height: 48px !important;
}

table.table.items-table thead tr th[b-qhe32rqemq],
.items-table th[b-qhe32rqemq] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: #ffffff !important;
    color: #8a99ad !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.8px !important;
    padding: 10px 16px !important;
    height: 44px !important;
    border-bottom: 2px solid #eef2f6 !important;
    text-align: center !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.items-table td[b-qhe32rqemq] {
    border-top: none !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding: 10px 16px !important;
    height: 48px !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #64748b !important;
    vertical-align: middle !important;
    text-align: center !important;
}

.items-table td:last-child[b-qhe32rqemq] {
    white-space: nowrap !important;
    text-align: center !important;
}

.items-table tr td:first-child[b-qhe32rqemq] {
    color: #3b82f6 !important;
    font-weight: 700 !important;
}

.action-btn[b-qhe32rqemq] {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.action-btn:hover[b-qhe32rqemq] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.action-btn i[b-qhe32rqemq] {
    font-size: 0.85rem !important;
}

.items-card-grid[b-qhe32rqemq] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.item-card[b-qhe32rqemq] {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.item-card:hover[b-qhe32rqemq] {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.item-card-head[b-qhe32rqemq] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    color: #1e293b !important;
    padding: 0.6rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.1) !important;
}

.card-item-code[b-qhe32rqemq] {
    color: #4b5563 !important;
    font-weight: 700 !important;
    margin-right: 6px;
}

.card-item-name[b-qhe32rqemq] {
    color: #374151 !important;
    font-weight: 700 !important;
}

.item-card-body[b-qhe32rqemq] {
    padding: 0.75rem 1rem !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
}

.detail-row[b-qhe32rqemq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.detail-row:last-child[b-qhe32rqemq] {
    border-bottom: none !important;
}

.detail-row span[b-qhe32rqemq] {
    color: #8a99ad !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.detail-row strong[b-qhe32rqemq] {
    color: #000000 !important;
    font-weight: 600 !important;
}

.btn-cancel-modal[b-qhe32rqemq] {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: none !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    min-width: 100px !important;
    transition: all 0.2s !important;
}

.btn-cancel-modal:hover[b-qhe32rqemq] {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.purchase-bill-wrapper[b-qhe32rqemq] {
    display: flex;
    gap: 2.25rem;
    flex-wrap: wrap;
}

.purchase-bill-fields[b-qhe32rqemq] {
    flex: 1.5;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.purchase-bill-fields .premium-input[b-qhe32rqemq] {
    padding: 0 10px !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
    height: 32px !important;
    line-height: 32px !important;
    background: #f9fafc !important;
    border: 1px solid #e5e7eb !important;
    color: #1f2937 !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
}

.purchase-bill-fields input[type="date"].premium-input[b-qhe32rqemq],
.purchase-bill-fields input.premium-input[b-qhe32rqemq] {
    padding: 0 10px !important;
    height: 32px !important;
    line-height: normal !important;
    background: #f9fafc !important;
    border: 1px solid #e5e7eb !important;
}

.purchase-bill-fields .field-group[b-qhe32rqemq] {
    gap: 4px;
}

.purchase-bill-fields .field-label[b-qhe32rqemq] {
    font-size: 0.68rem !important;
    margin-bottom: 4px !important;
    font-weight: 700 !important;
    color: #374151 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.purchase-bill-fields .form-grid[b-qhe32rqemq] {
    gap: 12px;
}

.purchase-bill-summary[b-qhe32rqemq] {
    flex: 0.85;
    min-width: 300px;
    max-width: 320px;
    display: flex;
    align-items: stretch;
}

.purchase-item-entry-card[b-qhe32rqemq] {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0.7rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow-x: hidden;
    box-sizing: border-box;
}

.purchase-item-entry-header[b-qhe32rqemq] {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(52px, 0.55fr) minmax(60px, 0.65fr) minmax(52px, 0.55fr) minmax(52px, 0.55fr) minmax(80px, 0.9fr) minmax(110px, 1fr);
    gap: 10px;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.purchase-item-entry-label[b-qhe32rqemq] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.purchase-item-entry-label span[b-qhe32rqemq] {
    color: #ef4444;
}

.purchase-item-entry-fields[b-qhe32rqemq] {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(52px, 0.55fr) minmax(60px, 0.65fr) minmax(52px, 0.55fr) minmax(52px, 0.55fr) minmax(80px, 0.9fr) minmax(110px, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
}

.purchase-item-entry-fields>div[b-qhe32rqemq],
.purchase-item-entry-header>div[b-qhe32rqemq] {
    min-width: 0;
}

.purchase-item-input[b-qhe32rqemq] {
    height: 28px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    font-size: 0.65rem;
    padding: 0 6px;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-input:focus[b-qhe32rqemq] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    background: #f8fbff;
}

.purchase-item-select[b-qhe32rqemq] {
    height: 28px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    font-size: 0.65rem;
    padding: 0 6px;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-select:focus[b-qhe32rqemq] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    background: #f8fbff;
}

.purchase-item-add-btn[b-qhe32rqemq] {
    background: #10b981;
    color: white;
    border: none;
    border-radius: 6px;
    height: 28px;
    font-weight: 700;
    font-size: 0.65rem;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-add-btn:hover[b-qhe32rqemq] {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.purchase-item-add-btn:active[b-qhe32rqemq] {
    transform: translateY(0);
}

.purchase-details-wrapper[b-qhe32rqemq] {
    width: 100%;
    margin-bottom: 2rem;
}

.purchase-details-link[b-qhe32rqemq] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f678f;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.purchase-details-link:hover[b-qhe32rqemq] {
    color: #0ea5e9;
    gap: 8px;
}

.purchase-items-table-wrapper[b-qhe32rqemq] {
    border: none !important;
    border-radius: 0;
    overflow: visible;
    background: white;
    margin-bottom: 0.5rem !important;
    box-shadow: none !important;
}

.purchase-items-table-wrapper table[b-qhe32rqemq] {
    table-layout: fixed;
    width: 100%;
}

.purchase-items-table-wrapper .purchase-item-input[b-qhe32rqemq],
.purchase-items-table-wrapper .purchase-item-select[b-qhe32rqemq] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    height: 26px;
    font-size: 0.65rem;
    padding: 0 6px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    outline: none;
    transition: all 0.2s;
}

.purchase-items-table-wrapper .purchase-item-input:focus[b-qhe32rqemq],
.purchase-items-table-wrapper .purchase-item-select:focus[b-qhe32rqemq] {
    border-color: #0273b2;
    box-shadow: 0 0 0 2px rgba(2, 115, 178, 0.1);
    background: #f4f8fa;
}

.purchase-items-table-wrapper .purchase-item-select[b-qhe32rqemq] {
    min-width: 130px;
}

.purchase-items-table-header[b-qhe32rqemq] {
    background: #0273b2 !important;
    border-bottom: none;
}

.purchase-items-table-header th[b-qhe32rqemq] {
    font-weight: 700;
    font-size: 0.72rem;
    color: #ffffff !important;
    padding: 12px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.purchase-add-row-wrapper[b-qhe32rqemq] {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.purchase-add-row-btn[b-qhe32rqemq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 2px dashed #0273b2 !important;
    border-radius: 10px !important;
    background: #f4f8fa !important;
    color: #0273b2 !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.45rem 1.25rem;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.22s ease-in-out;
    box-shadow: 0 2px 4px rgba(2, 115, 178, 0.05);
}

.purchase-add-row-btn:hover[b-qhe32rqemq] {
    background: #e6f2fa !important;
    border-color: #015f94 !important;
    color: #015f94 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 115, 178, 0.12);
}

.purchase-add-row-btn i[b-qhe32rqemq] {
    font-size: 0.95rem;
    color: #0273b2 !important;
    transition: color 0.22s ease-in-out;
}

.purchase-add-row-btn:hover i[b-qhe32rqemq] {
    color: #015f94 !important;
}

.purchase-item-readonly[b-qhe32rqemq] {
    display: block;
    width: 100%;
    height: 26px;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0 6px;
    line-height: 24px;
    font-size: 0.65rem;
    color: #475569;
    box-sizing: border-box;
    pointer-events: none;
    user-select: none;
    text-align: right;
}

.purchase-items-table-wrapper .purchase-item-input:disabled[b-qhe32rqemq],
.purchase-items-table-wrapper .purchase-item-select:disabled[b-qhe32rqemq] {
    pointer-events: none;
    cursor: default;
    background-color: white !important;
    color: #000000 !important;
    border-color: #d1d5db !important;
}

.btn-add-item-blue[b-qhe32rqemq] {
    background: #0273b2;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(2, 115, 178, 0.3);
    transition: all 0.2s;
    white-space: nowrap;
    font-size: 0.82rem;
    height: 32px;
}

.btn-add-item-blue:hover[b-qhe32rqemq] {
    background: #015c8f;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 115, 178, 0.4);
}

.btn-add-item-blue:active[b-qhe32rqemq] {
    transform: translateY(0);
}

.bill-card-premium[b-qhe32rqemq] {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 5px solid #3b82f6;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.04);
    transition: all 0.3s ease;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.25rem;
    padding: 0.4rem 0.65rem;
}

.bill-card-premium:hover[b-qhe32rqemq] {
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.08);
    border-color: #93c5fd;
    border-left-color: #2563eb;
}

.bill-card-header-premium[b-qhe32rqemq] {
    margin-bottom: 0.15rem;
    padding-bottom: 0.35rem;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #4f46e5;
    letter-spacing: 0.8px;
    border-bottom: 1px dashed #bfdbfe;
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-premium-gross[b-qhe32rqemq] {
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #1e3a8a !important;
    color: #1e3a8a !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-gross:hover[b-qhe32rqemq] {
    transform: translateY(-1.5px);
    background-color: #f1f5f9 !important;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.08);
}

.input-premium-gross:focus[b-qhe32rqemq] {
    border-color: #2563eb !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
    outline: none;
}

.input-premium-discount[b-qhe32rqemq] {
    background-color: #f0fdf4 !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #059669 !important;
    color: #065f46 !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-discount:hover[b-qhe32rqemq] {
    transform: translateY(-1.5px);
    background-color: #ecfdf5 !important;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.08);
}

.input-premium-discount:focus[b-qhe32rqemq] {
    border-color: #10b981 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18) !important;
    outline: none;
}

.input-premium-tax[b-qhe32rqemq] {
    background-color: #fffbeb !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #d97706 !important;
    color: #92400e !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-tax:hover[b-qhe32rqemq] {
    transform: translateY(-1.5px);
    background-color: #fef3c7 !important;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.08);
}

.input-premium-tax:focus[b-qhe32rqemq] {
    border-color: #f59e0b !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18) !important;
    outline: none;
}

.net-payable-wrapper-premium[b-qhe32rqemq] {
    margin-top: 0.2rem;
    padding-top: 0.5rem;
    border-top: 2px dashed rgba(99, 102, 241, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.net-payable-label-premium[b-qhe32rqemq] {
    font-size: 0.74rem;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.net-payable-value-premium[b-qhe32rqemq] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #4f46e5;
    text-shadow: 0 1px 2px rgba(79, 70, 229, 0.1);
}

@keyframes premium-pulse-blink-b-qhe32rqemq {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.65;
        transform: scale(0.97);
    }
}

.blink-payable-value[b-qhe32rqemq] {
    animation: premium-pulse-blink-b-qhe32rqemq 1.8s infinite ease-in-out;
    display: inline-block;
}

.btn-dotted-add[b-qhe32rqemq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px dashed #0f678f !important;
    background: #fff !important;
    color: #0f678f !important;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 20px;
    padding: 8px 32px;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-dotted-add:hover[b-qhe32rqemq] {
    background: rgba(15, 103, 143, 0.04) !important;
    border-color: #0d587a !important;
    color: #0d587a !important;
    transform: translateY(-1.5px);
}

.btn-dotted-add:active[b-qhe32rqemq] {
    transform: translateY(0);
}

.purchase-bill-fields select.premium-input[b-qhe32rqemq] {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    background-image: none !important;
    padding-right: 24px !important;
}

/* Vendor Master Specific Styles */
.items-main-card .table-responsive[b-qhe32rqemq] {
    padding-right: 0 !important;
    overflow-x: auto !important;
}

.items-table[b-qhe32rqemq] {
    width: 100% !important;
}

.items-table th[b-qhe32rqemq] {
    background: #f8fafc !important;
    color: #1e293b !important;
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    padding: 12px 16px !important;
}

.items-table td[b-qhe32rqemq] {
    white-space: normal !important;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem !important;
    padding: 3px 6px !important;
}

/* Premium Modal Styles for Vendor */
.modal-card[b-qhe32rqemq] {
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    background: #fff;
}

.modal-header-bar[b-qhe32rqemq] {
    background: #fff !important;
    color: #333 !important;
    padding: 24px 32px !important;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-left[b-qhe32rqemq] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-badge[b-qhe32rqemq] {
    background: var(--sidebar-bg);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.modal-title[b-qhe32rqemq] {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.modal-subtitle[b-qhe32rqemq] {
    font-size: 0.85rem;
    color: #64748b;
}

.btn-close-modal[b-qhe32rqemq] {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-qhe32rqemq] {
    background: #e2e8f0;
    color: #1e293b;
}

.modal-inner[b-qhe32rqemq] {
    padding: 16px 32px !important;
    background: #fff;
}

.form-section-header[b-qhe32rqemq] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    margin-top: 4px;
}

.form-section-icon[b-qhe32rqemq] {
    background: var(--sidebar-bg);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.form-section-title[b-qhe32rqemq] {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #025091;
}

.form-grid[b-qhe32rqemq] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.col-prefix[b-qhe32rqemq] {
    grid-column: span 3;
}

.col-main[b-qhe32rqemq] {
    grid-column: span 9;
}

.col-2[b-qhe32rqemq] {
    grid-column: span 2;
}

.col-3[b-qhe32rqemq] {
    grid-column: span 3;
}

.col-4[b-qhe32rqemq] {
    grid-column: span 4;
}

.col-5[b-qhe32rqemq] {
    grid-column: span 5;
}

.col-6[b-qhe32rqemq] {
    grid-column: span 6;
}

.col-7[b-qhe32rqemq] {
    grid-column: span 7;
}

.col-8[b-qhe32rqemq] {
    grid-column: span 8;
}

.col-9[b-qhe32rqemq] {
    grid-column: span 9;
}

.col-10[b-qhe32rqemq] {
    grid-column: span 10;
}

.col-11[b-qhe32rqemq] {
    grid-column: span 11;
}

.col-12[b-qhe32rqemq] {
    grid-column: span 12;
}

.field-group[b-qhe32rqemq] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label[b-qhe32rqemq] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.field-label.required[b-qhe32rqemq]::after {
    content: " *";
    color: #ef4444;
}

.premium-input[b-qhe32rqemq] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    color: #4b5563 !important;
    transition: all 0.2s !important;
    height: auto !important;
}

.premium-input[b-qhe32rqemq]::placeholder {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

.premium-input:focus[b-qhe32rqemq] {
    background: #fff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

.modal-footer-actions[b-qhe32rqemq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.btn-delete-text[b-qhe32rqemq] {
    color: #ef4444;
    background: none;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-delete-text:hover[b-qhe32rqemq] {
    background: #fef2f2;
}

.btn-save-premium[b-qhe32rqemq] {
    background: #1c9f5f;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(28, 159, 95, 0.3);
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-save-premium:hover[b-qhe32rqemq] {
    background: #168a52;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(28, 159, 95, 0.4);
}

.btn-save-premium:active[b-qhe32rqemq] {
    transform: translateY(0);
}

.btn-save-premium:disabled[b-qhe32rqemq] {
    opacity: 0.6;
    cursor: not-allowed;
}


/* Financial Summary Card Styles */
.financial-summary-card[b-qhe32rqemq] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    padding: 1.5rem;
    font-family: 'Inter', 'Outfit', sans-serif;
}

.financial-summary-header[b-qhe32rqemq] {
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.financial-summary-row[b-qhe32rqemq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.financial-summary-label[b-qhe32rqemq] {
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.financial-summary-value[b-qhe32rqemq] {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

.financial-summary-input[b-qhe32rqemq] {
    width: 80px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #334155;
    outline: none;
    transition: all 0.2s;
    background: #ffffff;
}

.financial-summary-input:focus[b-qhe32rqemq] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.financial-summary-net[b-qhe32rqemq] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.financial-summary-net-label[b-qhe32rqemq] {
    color: #0f172a;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.financial-summary-net-value[b-qhe32rqemq] {
    color: #4f46e5;
    font-weight: 800;
    font-size: 1.4rem;
}

/* Purchase Entry Master Compact Summary Card */
.compact-summary-card[b-qhe32rqemq] {
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    border: 1.5px solid rgba(99, 102, 241, 0.15);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.compact-summary-card[b-qhe32rqemq]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1, #06b6d4);
    border-radius: 14px 0 0 14px;
}

.compact-summary-card:hover[b-qhe32rqemq] {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.18);
}

/* Physical Bill Totals - Blue-indigo gradient */
.compact-summary-card.bill-card[b-qhe32rqemq] {
    background: linear-gradient(135deg, #eef2ff 0%, #f0fdff 100%);
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.08);
}

.compact-summary-card.bill-card[b-qhe32rqemq]::before {
    background: linear-gradient(180deg, #6366f1, #06b6d4);
}

/* Computed Items Total - Teal-green gradient */
.compact-summary-card.items-card[b-qhe32rqemq] {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.08);
}

.compact-summary-card.items-card[b-qhe32rqemq]::before {
    background: linear-gradient(180deg, #10b981, #06b6d4);
}

.compact-summary-card.items-card:hover[b-qhe32rqemq] {
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.18);
}

.compact-summary-header[b-qhe32rqemq] {
    font-size: 0.72rem;
    font-weight: 800;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(99, 102, 241, 0.25);
    padding-left: 8px;
}

.compact-summary-card.items-card .compact-summary-header[b-qhe32rqemq] {
    color: #10b981;
    border-bottom-color: rgba(16, 185, 129, 0.25);
}

.compact-summary-row[b-qhe32rqemq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-left: 8px;
}

.compact-summary-label[b-qhe32rqemq] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.compact-summary-value[b-qhe32rqemq] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}

.compact-summary-input[b-qhe32rqemq] {
    width: 110px;
    height: 30px;
    border-radius: 8px;
    border: 1.5px solid rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.8);
    text-align: right;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0 10px;
    color: #1e293b;
}

.compact-summary-input:focus[b-qhe32rqemq] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    background: #fff;
}

.compact-summary-net[b-qhe32rqemq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    padding-left: 8px;
    border-top: 1.5px solid rgba(99, 102, 241, 0.2);
}

.compact-summary-card.items-card .compact-summary-net[b-qhe32rqemq] {
    border-top-color: rgba(16, 185, 129, 0.2);
}

.compact-summary-net-label[b-qhe32rqemq] {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compact-summary-net-value[b-qhe32rqemq] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #6366f1;
    letter-spacing: -0.5px;
}

.compact-summary-card.items-card .compact-summary-net-value[b-qhe32rqemq] {
    color: #10b981;
}

/* Stock Indent Status Badges */
.badge-indent-pending[b-qhe32rqemq] {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #d97706 !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-indent-approved[b-qhe32rqemq] {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-indent-rejected[b-qhe32rqemq] {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

/* Stock volume indicators */
.badge-stock-high[b-qhe32rqemq] {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-stock-low[b-qhe32rqemq] {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #d97706 !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-stock-empty[b-qhe32rqemq] {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

/* OVERRIDE FOR HIGH-DENSITY PURCHASE BILL FORM (e.g. ItemMaster Modal) */
.purchase-bill-fields .premium-segmented-control-joined[b-qhe32rqemq] {
    height: 32px !important;
    border-radius: 6px !important;
    max-width: none !important;
}

.purchase-bill-fields .segment-btn-joined[b-qhe32rqemq] {
    font-size: 0.8rem !important;
}

.purchase-bill-fields .segment-btn-joined:first-child[b-qhe32rqemq] {
    border-right: 1px solid #e2e8f0 !important;
}

/* Tabular Grid/Real Table styling for purchase details table */
.purchase-items-table-wrapper table[b-qhe32rqemq] {
    border-collapse: collapse !important;
    border: 1px solid #cbd5e1 !important;
    width: 100%;
}

.purchase-items-table-wrapper th[b-qhe32rqemq],
.purchase-items-table-wrapper td[b-qhe32rqemq] {
    border: 1px solid #cbd5e1 !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

.purchase-items-table-header th[b-qhe32rqemq] {
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 10px 8px !important;
    font-weight: 700;
    font-size: 0.72rem;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #0273b2 !important;
}

.purchase-items-table-wrapper .purchase-item-input[b-qhe32rqemq],
.purchase-items-table-wrapper .purchase-item-select[b-qhe32rqemq] {
    width: 100% !important;
    height: 34px !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.purchase-items-table-wrapper .purchase-item-input:focus[b-qhe32rqemq],
.purchase-items-table-wrapper .purchase-item-select:focus[b-qhe32rqemq] {
    background: #f4f8fa !important;
    box-shadow: inset 0 0 0 2px rgba(2, 115, 178, 0.2) !important;
}

.purchase-items-table-wrapper .purchase-item-readonly[b-qhe32rqemq] {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    width: 100% !important;
    height: 34px !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background-color: #f8fafc !important;
    font-weight: 600;
}

.purchase-items-table-wrapper td.purchase-items-table-footer-cell[b-qhe32rqemq] {
    padding: 16px 24px !important;
}

/* Modal Styles */
.modal-overlay[b-qhe32rqemq] {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(8, 25, 40, 0.45) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1.25rem !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
    animation: modalFadeIn-b-qhe32rqemq 0.25s ease-out forwards;
}

.modal-card[b-qhe32rqemq] {
    width: min(1350px, 96%) !important;
    max-width: 1350px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 60px rgba(3, 26, 46, 0.35) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    max-height: calc(100vh - 2.5rem) !important;
    animation: modalScaleIn-b-qhe32rqemq 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    z-index: 10000;
    margin: auto;
}

.modal-header-bar[b-qhe32rqemq] {
    background: #ffffff !important;
    color: #1e293b !important;
    padding: 18px 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.modal-header-left[b-qhe32rqemq] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-title[b-qhe32rqemq] {
    font-weight: 800 !important;
    font-size: 1.25rem !important;
    letter-spacing: -0.2px !important;
    margin: 0 !important;
    color: #1e293b !important;
}

.modal-inner[b-qhe32rqemq] {
    padding: 20px 28px !important;
    background: #ffffff !important;
    overflow-y: auto !important;
    flex: 1 !important;
    max-height: calc(100vh - 120px) !important;
}

.btn-close-modal[b-qhe32rqemq] {
    background: #f1f5f9 !important;
    border: none !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #64748b !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.btn-close-modal:hover[b-qhe32rqemq] {
    background: #fee2e2 !important;
    color: #ef4444 !important;
}

@keyframes modalFadeIn-b-qhe32rqemq {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalScaleIn-b-qhe32rqemq {
    from { transform: scale(0.95) translateY(12px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

/* Return Items Table Styling */
.return-items-table-wrapper[b-qhe32rqemq] {
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    overflow: visible !important;
    background: #ffffff !important;
    margin-bottom: 8px !important;
}

.return-items-table[b-qhe32rqemq] {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    font-size: 0.82rem !important;
    min-width: 980px !important;
}

.return-items-table thead[b-qhe32rqemq],
.return-items-table thead th[b-qhe32rqemq] {
    background: #0273b2 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 10px 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.return-items-table thead th:last-child[b-qhe32rqemq] {
    border-right: none !important;
}

.return-items-table tbody td[b-qhe32rqemq] {
    border-bottom: 1px solid #e2e8f0 !important;
    border-right: 1px solid #f1f5f9 !important;
    padding: 5px 6px !important;
    vertical-align: middle !important;
    overflow: visible !important;
}

.return-items-table tbody td:last-child[b-qhe32rqemq] {
    border-right: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR PURCHASE RETURN
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .items-page[b-qhe32rqemq],
[data-theme="dark"] .items-page[b-qhe32rqemq] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .premium-header-card[b-qhe32rqemq],
[data-theme="dark"] .premium-header-card[b-qhe32rqemq] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .header-card-icon[b-qhe32rqemq],
[data-theme="dark"] .header-card-icon[b-qhe32rqemq] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .header-card-heading[b-qhe32rqemq],
[data-theme="dark"] .header-card-heading[b-qhe32rqemq] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .header-card-subheading[b-qhe32rqemq],
[data-theme="dark"] .header-card-subheading[b-qhe32rqemq] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .items-main-card[b-qhe32rqemq],
[data-theme="dark"] .items-main-card[b-qhe32rqemq] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .card-body[b-qhe32rqemq],
[data-theme="dark"] .card-body[b-qhe32rqemq] {
    background: #1e293b !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .field-label[b-qhe32rqemq],
[data-theme="dark"] .field-label[b-qhe32rqemq] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .premium-input[b-qhe32rqemq],
[data-theme="dark"] .premium-input[b-qhe32rqemq] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}
/* /Components/Pages/ReceiveStock.razor.rz.scp.css */
/* Scoped styles for ReceiveStock component matching IssueStock design */

.items-page[b-adauu4kagi] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-adauu4kagi] {
    max-width: 1360px;
    margin: 0 auto;
}

.items-content[b-adauu4kagi] {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-adauu4kagi] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.18) !important;
    border-radius: 16px !important;
    padding: 1.1rem 1.75rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem !important;
}

.header-card-left[b-adauu4kagi] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-card-icon[b-adauu4kagi] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.2) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.1) !important;
}

.header-card-icon svg[b-adauu4kagi] {
    stroke: #4f46e5 !important;
}

.header-card-text[b-adauu4kagi] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-adauu4kagi] {
    color: #1e1b4b !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.header-card-subheading[b-adauu4kagi] {
    font-size: 0.64rem !important;
    font-weight: 700 !important;
    color: #6366f1 !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-adauu4kagi] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-adauu4kagi] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Header Status Pills */
.btn-header-pill[b-adauu4kagi] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    border: 1.5px solid #c7d2fe !important;
    border-radius: 20px !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    padding: 5px 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.btn-header-pill:hover[b-adauu4kagi] {
    background: #f5f3ff !important;
    border-color: #818cf8 !important;
    color: #3730a3 !important;
    transform: translateY(-1px) !important;
}

.btn-header-pill.active[b-adauu4kagi] {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.3) !important;
}

.badge-pill-count[b-adauu4kagi] {
    background: #e0e7ff !important;
    color: #4338ca !important;
    border-radius: 12px !important;
    font-size: 0.68rem !important;
    padding: 1px 7px !important;
    font-weight: 800 !important;
}

.btn-header-pill.active .badge-pill-count[b-adauu4kagi] {
    background: #ffffff !important;
    color: #4f46e5 !important;
}

/* Form & Input Styles */
.compact-field-group[b-adauu4kagi] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.compact-field-label[b-adauu4kagi] {
    font-size: 0.66rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    margin: 0 !important;
}

.compact-field-label.required[b-adauu4kagi]::after {
    content: " *";
    color: #ef4444;
}

.compact-input[b-adauu4kagi] {
    width: 100% !important;
    box-sizing: border-box !important;
    height: 32px !important;
    font-size: 0.78rem !important;
    padding: 0 10px !important;
    border-radius: 6px !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    outline: none !important;
    transition: all 0.15s ease !important;
    display: block !important;
}

.compact-input:focus[b-adauu4kagi] {
    border-color: #4f46e5 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.15) !important;
}

select.compact-input[b-adauu4kagi] {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    padding-right: 18px !important;
}

/* Table Styles */
.compact-grid-table th[b-adauu4kagi] {
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 6px 10px !important;
    border: 1px solid #cbd5e1 !important;
    letter-spacing: 0.03em !important;
}

.compact-grid-table td[b-adauu4kagi] {
    padding: 0 10px !important;
    height: 34px !important;
    vertical-align: middle !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 0.78rem !important;
}

.compact-grid-table tr:hover td[b-adauu4kagi] {
    background-color: #fbfcfe;
}

/* Summary Strip / Card */
.inward-summary-card[b-adauu4kagi] {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    border-left: 4px solid #3b82f6 !important;
    border-radius: 8px !important;
    padding: 0 14px !important;
    height: 32px !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.inward-summary-card .summary-metric[b-adauu4kagi] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 0.74rem !important;
}

.inward-summary-card .summary-divider[b-adauu4kagi] {
    width: 1px !important;
    height: 16px !important;
    background: #cbd5e1 !important;
}

/* Icon-Only Action Buttons */
.action-btn-group[b-adauu4kagi] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
}

.btn-action-icon[b-adauu4kagi] {
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border-radius: 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    cursor: pointer !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid transparent !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.btn-action-receive[b-adauu4kagi] {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border-color: #a7f3d0 !important;
}

.btn-action-receive:hover[b-adauu4kagi] {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.28) !important;
}

.btn-action-view[b-adauu4kagi] {
    background: #eef2ff !important;
    color: #4f46e5 !important;
    border-color: #c7d2fe !important;
}

.btn-action-view:hover[b-adauu4kagi] {
    background: #4f46e5 !important;
    border-color: #4f46e5 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.28) !important;
}

.btn-dispatch-vibrant[b-adauu4kagi] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    min-width: 130px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.btn-dispatch-vibrant:hover[b-adauu4kagi] {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 14px rgba(16, 185, 129, 0.45) !important;
    color: #ffffff !important;
}

.btn-reject-clean[b-adauu4kagi] {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    height: 36px !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.btn-reject-clean:hover[b-adauu4kagi] {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.25) !important;
}

.modal-overlay-backdrop[b-adauu4kagi] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(6px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 100000 !important;
    padding: 1.25rem !important;
}

/* Partial Receiving Item Action Buttons */
.item-action-pill-group[b-adauu4kagi] {
    display: inline-flex;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 2px;
    gap: 2px;
    border: 1px solid #e2e8f0;
}

.item-action-btn[b-adauu4kagi] {
    border: none;
    background: transparent;
    padding: 3px 9px;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 6px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.item-action-btn:hover[b-adauu4kagi] {
    color: #1e293b;
    background: rgba(255, 255, 255, 0.6);
}

.item-action-btn.active-accept[b-adauu4kagi] {
    background: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 1px 4px rgba(16, 185, 129, 0.35);
}

.item-action-btn.active-partial[b-adauu4kagi] {
    background: #f59e0b !important;
    color: #ffffff !important;
    box-shadow: 0 1px 4px rgba(245, 158, 11, 0.35);
}

.item-action-btn.active-reject[b-adauu4kagi] {
    background: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 1px 4px rgba(239, 68, 68, 0.35);
}

.qty-input-compact[b-adauu4kagi] {
    font-size: 0.78rem !important;
    padding: 2px 6px !important;
    height: 28px !important;
    border-radius: 6px !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 700 !important;
    color: #1e293b !important;
}

.qty-input-compact:focus[b-adauu4kagi] {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2) !important;
}
/* /Components/Pages/ReceptionBooking.razor.rz.scp.css */
/* Background Animation & Global styles */
.animated-background[b-4divdpmzkr] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.floating-blob[b-4divdpmzkr] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: float 20s infinite alternate;
}

.blob-1[b-4divdpmzkr] {
    width: 450px;
    height: 450px;
    background: #e2f1ff;
    top: -5%;
    left: -5%;
}

.blob-2[b-4divdpmzkr] {
    width: 450px;
    height: 450px;
    background: #f1f5f9;
    bottom: -10%;
    right: -5%;
}

.dashboard-container[b-4divdpmzkr] {
    max-width: 1300px;
    margin: 1.25rem auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 3rem);
    overflow: hidden;
}

/* Dashboard Header & Stats Grid */
.dashboard-header[b-4divdpmzkr] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.dashboard-title h1[b-4divdpmzkr] {
    font-size: 1.85rem;
    font-weight: 800;
    color: #034f75;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
}

.dashboard-title p[b-4divdpmzkr] {
    color: #64748b;
    font-size: 0.9rem;
}

.stats-grid[b-4divdpmzkr] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card[b-4divdpmzkr] {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.stat-icon[b-4divdpmzkr] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.blue[b-4divdpmzkr] {
    background: #e0f2fe;
    color: #0284c7;
}

.stat-icon.green[b-4divdpmzkr] {
    background: #d1fae5;
    color: #059669;
}

.stat-icon.orange[b-4divdpmzkr] {
    background: #fef3c7;
    color: #d97706;
}

.stat-icon.red[b-4divdpmzkr] {
    background: #fee2e2;
    color: #dc2626;
}

.stat-info[b-4divdpmzkr] {
    display: flex;
    flex-direction: column;
}

.stat-value[b-4divdpmzkr] {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}

.stat-label[b-4divdpmzkr] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 0.1rem;
}

/* Glass Filters Control Board */
.filters-card[b-4divdpmzkr] {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.filters-row[b-4divdpmzkr] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.filter-group[b-4divdpmzkr] {
    flex: 1 1 130px;
    max-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.filter-group label[b-4divdpmzkr] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
}

.filter-control[b-4divdpmzkr], select.walkin-input[b-4divdpmzkr] {
    width: 100%;
    padding: 0.65rem 2.25rem 0.65rem 0.95rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #1e293b;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23026aa7' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 0.85rem;
}

.filter-control:hover[b-4divdpmzkr], select.walkin-input:hover[b-4divdpmzkr] {
    background: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
    transform: translateY(-1px);
}

.filter-control:focus[b-4divdpmzkr], select.walkin-input:focus[b-4divdpmzkr] {
    outline: none;
    background: #ffffff;
    border-color: #026aa7;
    box-shadow: 0 0 0 4px rgba(2, 106, 167, 0.18), 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.filter-control option[b-4divdpmzkr], select.walkin-input option[b-4divdpmzkr] {
    background-color: #ffffff;
    color: #0f172a;
    font-weight: 600;
    padding: 10px 14px;
}

.btn-header-action[b-4divdpmzkr] {
    background: #026aa7;
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(2, 106, 167, 0.15);
}

.btn-header-action:hover[b-4divdpmzkr] {
    background: #025687;
    transform: translateY(-1px);
}

.btn-header-action.secondary[b-4divdpmzkr] {
    background: #ffffff;
    border: 1.5px solid #026aa7;
    color: #026aa7;
    box-shadow: none;
}

.btn-header-action.secondary:hover[b-4divdpmzkr] {
    background: #f0f9ff;
}

/* Premium Stats Popup Card Overlay */
.stats-popup-card[b-4divdpmzkr] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    z-index: 10000;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.85rem 1.1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    min-width: 300px;
    animation: statsFadeIn-b-4divdpmzkr 0.2s ease-out;
}

@keyframes statsFadeIn-b-4divdpmzkr {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.stats-popup-header[b-4divdpmzkr] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid #f1f5f9;
}

.stats-popup-header span[b-4divdpmzkr] {
    font-size: 0.72rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.stats-popup-header .close-btn[b-4divdpmzkr] {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.15s ease;
}

.stats-popup-header .close-btn:hover[b-4divdpmzkr] {
    color: #475569;
}

.stats-popup-list[b-4divdpmzkr] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-popup-item[b-4divdpmzkr] {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: all 0.15s ease;
}

.stat-popup-item:hover[b-4divdpmzkr] {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.stat-popup-item i[b-4divdpmzkr] {
    font-size: 1rem;
    margin-right: 0.75rem;
    width: 22px;
    text-align: center;
}

.stat-popup-item.blue i[b-4divdpmzkr] { color: #0284c7; }
.stat-popup-item.green i[b-4divdpmzkr] { color: #059669; }
.stat-popup-item.orange i[b-4divdpmzkr] { color: #d97706; }
.stat-popup-item.purple i[b-4divdpmzkr] { color: #7c3aed; }

.stat-popup-item .label[b-4divdpmzkr] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    flex-grow: 1;
}

.stat-popup-item .num[b-4divdpmzkr] {
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.15rem 0.65rem;
    border-radius: 12px;
}

.stat-popup-item.blue .num[b-4divdpmzkr] { background: #e0f2fe; color: #0369a1; }
.stat-popup-item.green .num[b-4divdpmzkr] { background: #d1fae5; color: #065f46; }
.stat-popup-item.orange .num[b-4divdpmzkr] { background: #fef3c7; color: #b45309; }
.stat-popup-item.purple .num[b-4divdpmzkr] { background: #f3e8ff; color: #5b21b6; }

/* Pagination Footer */
.pagination-footer[b-4divdpmzkr] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid #eaecf0;
    background-color: #ffffff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    margin-top: -1px;
}

.pagination-info[b-4divdpmzkr] {
    font-size: 0.82rem;
    color: #64748b;
}

.pagination-info-highlight[b-4divdpmzkr] {
    font-weight: 700;
    color: #334155;
}

.pagination-btns[b-4divdpmzkr] {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pagination-btns .page-btn[b-4divdpmzkr] {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #475569;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pagination-btns .page-btn:hover:not(.active):not(:disabled)[b-4divdpmzkr] {
    background: #f0f9ff;
    border-color: #0284c7;
    color: #0284c7;
}

.pagination-btns .page-btn:disabled[b-4divdpmzkr] {
    opacity: 0.45;
    cursor: not-allowed;
}

.pagination-btns .page-btn.active[b-4divdpmzkr] {
    background: #026aa7;
    border-color: #026aa7;
    color: #ffffff;
    font-weight: 700;
}

/* Live Booking Board (Responsive Table) */
.table-card[b-4divdpmzkr] {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.table-responsive[b-4divdpmzkr] {
    overflow-x: auto !important;
    overflow-y: auto;
    max-height: calc(100vh - 290px);
    min-height: 300px;
    border-radius: 12px;
    border: 1px solid #eaecf0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.medico-table[b-4divdpmzkr] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.84rem;
}

.medico-table th[b-4divdpmzkr] {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0.7rem 0.85rem;
    background: #026aa7;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: none;
    white-space: nowrap;
}

.medico-table th:last-child[b-4divdpmzkr] {
    border-right: none;
}

.medico-table td[b-4divdpmzkr] {
    padding: 0.6rem 0.85rem;
    border-bottom: 1px solid #eaecf0;
    background-color: #ffffff;
    color: #344054;
    font-weight: 500;
    vertical-align: middle;
    white-space: nowrap;
}

.medico-table tr:hover td[b-4divdpmzkr] {
    background: #f8fafc;
}

.booking-no-cell[b-4divdpmzkr] {
    font-weight: 800;
    color: #026aa7;
}

.patient-name-val[b-4divdpmzkr] {
    font-weight: 700;
    color: #334155;
}

.patient-phone-val[b-4divdpmzkr] {
    color: #64748b;
    font-weight: 600;
}

.doctor-name-val[b-4divdpmzkr] {
    font-weight: 700;
    color: #334155;
}

/* Badges for status & types */
.badge-status[b-4divdpmzkr] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    letter-spacing: 0.2px;
}

.badge-status.booked[b-4divdpmzkr] {
    background: #dbeafe;
    color: #1e40af;
}

.badge-status.confirmed[b-4divdpmzkr] {
    background: #d1fae5;
    color: #065f46;
}

.badge-status.completed[b-4divdpmzkr],
.badge-status.visited[b-4divdpmzkr] {
    background: #e0e7ff;
    color: #3730a3;
}

.badge-status.cancelled[b-4divdpmzkr] {
    background: #fee2e2;
    color: #991b1b;
}

/* Status dropdown premium interactive styles */
.status-dropdown[b-4divdpmzkr] {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1.75rem 0.3rem 0.6rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    cursor: pointer;
    outline: none;
    font-family: inherit;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.55rem center;
    background-size: 0.65rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.status-dropdown:hover:not(:disabled)[b-4divdpmzkr] {
    transform: scale(1.02);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.status-dropdown:focus[b-4divdpmzkr] {
    box-shadow: 0 0 0 2px rgba(2, 106, 167, 0.25);
}

.status-dropdown.booked[b-4divdpmzkr] {
    background-color: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}

.status-dropdown.confirmed[b-4divdpmzkr] {
    background-color: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

.status-dropdown.completed[b-4divdpmzkr],
.status-dropdown.visited[b-4divdpmzkr] {
    background-color: #e0e7ff;
    color: #3730a3;
    border-color: #c7d2fe;
}

.status-dropdown.cancelled[b-4divdpmzkr] {
    background-color: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
    cursor: not-allowed;
    opacity: 0.85;
}

.status-dropdown.rescheduled[b-4divdpmzkr] {
    background-color: #fef3c7;
    color: #b45309;
    border-color: #fde68a;
}

.status-dropdown:disabled[b-4divdpmzkr] {
    cursor: not-allowed;
    opacity: 0.85;
}

.status-dropdown option[b-4divdpmzkr] {
    background-color: #ffffff;
    color: #1e293b;
    font-weight: 600;
}

.badge-type[b-4divdpmzkr] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.badge-type.online[b-4divdpmzkr] {
    background: #eff6ff;
    color: #3b82f6;
    border: 1px solid #dbeafe;
}

.badge-type.walkin[b-4divdpmzkr] {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fef3c7;
}

/* Actions Menu & Buttons */
.action-buttons-cell[b-4divdpmzkr] {
    display: flex;
    gap: 0.5rem;
}

.btn-table-action[b-4divdpmzkr] {
    background: #ffffff;
    border: 1px solid #d0d5dd;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.05rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-table-action.reschedule[b-4divdpmzkr] {
    color: #026aa7;
    border-color: #d0d5dd;
}

.btn-table-action.reschedule:hover[b-4divdpmzkr] {
    background: #f0f9ff;
    border-color: #93c5fd;
    color: #025687;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(2, 106, 167, 0.1);
}

.btn-table-action.cancel[b-4divdpmzkr] {
    color: #dc2626;
    border-color: #fda29b;
}

.btn-table-action.cancel:hover[b-4divdpmzkr] {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.1);
}

/* Glassmorphic Modals */
.modal-backdrop[b-4divdpmzkr] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.glass-modal[b-4divdpmzkr] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    z-index: 1001;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.modal-header[b-4divdpmzkr] {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3[b-4divdpmzkr] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #026aa7;
    margin: 0;
}

.close-btn[b-4divdpmzkr] {
    border: none;
    background: none;
    font-size: 1.75rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s ease;
}

.close-btn:hover[b-4divdpmzkr] {
    color: #475569;
}

.modal-body[b-4divdpmzkr] {
    padding: 1.75rem;
    flex: 1;
    overflow-y: auto;
}

.form-group[b-4divdpmzkr] {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label[b-4divdpmzkr] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.3px;
    margin: 0;
    display: block;
}

.modal-footer[b-4divdpmzkr] {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn-modal[b-4divdpmzkr] {
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-modal.cancel[b-4divdpmzkr] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
}

.btn-modal.cancel:hover[b-4divdpmzkr] {
    background: #f1f5f9;
}

.btn-modal.confirm[b-4divdpmzkr] {
    background: #026aa7;
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(2, 106, 167, 0.15);
}

.btn-modal.confirm:hover[b-4divdpmzkr] {
    background: #025687;
}

.btn-modal.danger[b-4divdpmzkr] {
    background: #dc2626;
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.15);
}

.btn-modal.danger:hover[b-4divdpmzkr] {
    background: #b91c1c;
}

/* Modals Details & Grids */
.slots-subgrid[b-4divdpmzkr] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-height: 330px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem;
    background: #f8fafc;
}

.slot-subitem[b-4divdpmzkr] {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 48px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.slot-subitem:hover:not(.disabled)[b-4divdpmzkr] {
    border-color: #026aa7;
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(2, 106, 167, 0.1), 0 4px 6px -4px rgba(2, 106, 167, 0.1);
}

.slot-subitem.selected[b-4divdpmzkr] {
    background: linear-gradient(135deg, #026aa7 0%, #0284c7 100%);
    border-color: #026aa7;
    color: #ffffff !important;
    box-shadow: 0 10px 20px -3px rgba(2, 106, 167, 0.3), 0 4px 6px -2px rgba(2, 106, 167, 0.3);
    transform: translateY(-2px) scale(1.02);
}

.slot-subitem.disabled[b-4divdpmzkr] {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f8fafc;
    border-color: #e2e8f0;
    box-shadow: none;
    transform: none;
}

.slot-time-text[b-4divdpmzkr] {
    font-weight: 700;
    font-size: 0.85rem;
    color: #0f172a;
    white-space: nowrap;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.slot-subitem.selected .slot-time-text[b-4divdpmzkr] {
    color: #ffffff !important;
}

/* Status Dot Indicators */
.status-dot[b-4divdpmzkr] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

.status-dot.green[b-4divdpmzkr] {
    background-color: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.status-dot.red[b-4divdpmzkr] {
    background-color: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}

.slot-ratio-badge[b-4divdpmzkr] {
    font-size: 0.73rem;
    font-weight: 800;
    color: #15803d;
    background: #dcfce7;
    border: 1px solid #86efac;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.1px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.slot-ratio-badge.full[b-4divdpmzkr] {
    color: #b91c1c !important;
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
}

.slot-subitem.disabled[b-4divdpmzkr] {
    background: #fff5f5 !important;
    border-color: #fca5a5 !important;
    opacity: 0.75;
    cursor: not-allowed;
}

.slot-subitem.selected .slot-ratio-badge.available[b-4divdpmzkr] {
    background: #ffffff !important;
    color: #15803d !important;
    border-color: #ffffff !important;
}

.slot-subitem.selected .slot-ratio-badge.full[b-4divdpmzkr] {
    background: #ffffff !important;
    color: #b91c1c !important;
    border-color: #ffffff !important;
}

/* Quick Notes Summary */
.info-alert-panel[b-4divdpmzkr] {
    background: #f0f9ff;
    border: 1px solid rgba(2, 106, 167, 0.15);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #034f75;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.info-alert-panel i[b-4divdpmzkr] {
    font-size: 1.1rem;
}

.reschedule-original-summary[b-4divdpmzkr] {
    background: #fffbeb;
    border: 1px solid rgba(217, 119, 6, 0.15);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
    color: #92400e;
}

/* Autocomplete/Search Results list */
.autocomplete-search-wrapper[b-4divdpmzkr] {
    position: relative;
    width: 100%;
}

.autocomplete-dropdown[b-4divdpmzkr] {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    margin-top: 4px;
    text-align: left;
}

.autocomplete-item[b-4divdpmzkr] {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    color: #334155;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    border-left: 4px solid transparent;
    transition: background-color 0.15s ease, border-left-color 0.15s ease, color 0.15s ease;
}

.autocomplete-item:hover[b-4divdpmzkr],
.autocomplete-item.active-focused[b-4divdpmzkr] {
    background-color: #e0f2fe !important;
    color: #026aa7 !important;
    border-left-color: #0284c7 !important;
}

.autocomplete-item:hover .autocomplete-code[b-4divdpmzkr],
.autocomplete-item.active-focused .autocomplete-code[b-4divdpmzkr] {
    background-color: #0284c7 !important;
    color: #ffffff !important;
}

.autocomplete-code[b-4divdpmzkr] {
    font-weight: 700;
    color: #64748b;
    font-size: 0.72rem;
    background: #f1f5f9;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

/* VIP Highlight Styles */
.medico-table tr.vip-row td[b-4divdpmzkr],
.recent-checkins-table tr.vip-row td[b-4divdpmzkr],
tr.vip-row td[b-4divdpmzkr] {
    background-color: #fffdf5 !important;
}

.medico-table tr.vip-row:hover td[b-4divdpmzkr],
.recent-checkins-table tr.vip-row:hover td[b-4divdpmzkr],
tr.vip-row:hover td[b-4divdpmzkr] {
    background-color: #fffbeb !important;
}

/* ═══════════════════════════════════════════════════════════════
   RECEPTION SCHEDULING PORTAL DARK THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .dashboard-title h1[b-4divdpmzkr],
[data-theme="dark"] .dashboard-title h1[b-4divdpmzkr] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .dashboard-title p[b-4divdpmzkr],
[data-theme="dark"] .dashboard-title p[b-4divdpmzkr] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .filters-card[b-4divdpmzkr],
[data-theme="dark"] .filters-card[b-4divdpmzkr] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

:host-context([data-theme="dark"]) .filter-group label[b-4divdpmzkr],
[data-theme="dark"] .filter-group label[b-4divdpmzkr] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .filter-control[b-4divdpmzkr],
:host-context([data-theme="dark"]) select.walkin-input[b-4divdpmzkr],
[data-theme="dark"] .filter-control[b-4divdpmzkr],
[data-theme="dark"] select.walkin-input[b-4divdpmzkr] {
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .filter-control option[b-4divdpmzkr],
:host-context([data-theme="dark"]) select.walkin-input option[b-4divdpmzkr],
[data-theme="dark"] .filter-control option[b-4divdpmzkr],
[data-theme="dark"] select.walkin-input option[b-4divdpmzkr] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .table-responsive[b-4divdpmzkr],
[data-theme="dark"] .table-responsive[b-4divdpmzkr] {
    border-color: #334155 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

:host-context([data-theme="dark"]) .medico-table th[b-4divdpmzkr],
[data-theme="dark"] .medico-table th[b-4divdpmzkr] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-bottom: 1px solid #334155 !important;
    border-right: 1px solid #1e293b !important;
}

:host-context([data-theme="dark"]) .medico-table td[b-4divdpmzkr],
[data-theme="dark"] .medico-table td[b-4divdpmzkr] {
    background-color: #1e293b !important;
    color: #cbd5e1 !important;
    border-bottom: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .medico-table td span[b-4divdpmzkr],
[data-theme="dark"] .medico-table td span[b-4divdpmzkr] {
    color: #e2e8f0 !important;
}

:host-context([data-theme="dark"]) .medico-table tr:hover td[b-4divdpmzkr],
[data-theme="dark"] .medico-table tr:hover td[b-4divdpmzkr] {
    background-color: #0f172a !important;
}

:host-context([data-theme="dark"]) .medico-table tr.vip-row td[b-4divdpmzkr],
[data-theme="dark"] .medico-table tr.vip-row td[b-4divdpmzkr] {
    background-color: #1e2417 !important;
    color: #fde68a !important;
}

:host-context([data-theme="dark"]) .pagination-footer[b-4divdpmzkr],
[data-theme="dark"] .pagination-footer[b-4divdpmzkr] {
    background-color: #1e293b !important;
    border-top: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .pagination-info[b-4divdpmzkr],
[data-theme="dark"] .pagination-info[b-4divdpmzkr] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .pagination-info-highlight[b-4divdpmzkr],
[data-theme="dark"] .pagination-info-highlight[b-4divdpmzkr] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .pagination-btns .page-btn[b-4divdpmzkr],
[data-theme="dark"] .pagination-btns .page-btn[b-4divdpmzkr] {
    background: #0f172a !important;
    color: #cbd5e1 !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .pagination-btns .page-btn.active[b-4divdpmzkr],
[data-theme="dark"] .pagination-btns .page-btn.active[b-4divdpmzkr] {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
}

:host-context([data-theme="dark"]) .btn-header-action.secondary[b-4divdpmzkr],
[data-theme="dark"] .btn-header-action.secondary[b-4divdpmzkr] {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .btn-table-action[b-4divdpmzkr],
[data-theme="dark"] .btn-table-action[b-4divdpmzkr] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .glass-modal[b-4divdpmzkr],
[data-theme="dark"] .glass-modal[b-4divdpmzkr] {
    background: rgba(15, 23, 42, 0.95) !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .stats-popup-card[b-4divdpmzkr],
[data-theme="dark"] .stats-popup-card[b-4divdpmzkr] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

/* === Custom Doctor Selector Dropdown === */
.doctor-selector-wrapper[b-4divdpmzkr] {
    position: relative;
    width: 100%;
}

.doctor-selector-button[b-4divdpmzkr] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    height: 42px;
}

.doctor-selector-button:hover[b-4divdpmzkr] {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.doctor-selector-button.active[b-4divdpmzkr] {
    border-color: #026aa7;
    background: #e0f2fe;
    color: #026aa7;
}

.doctor-selector-button .dropdown-icon[b-4divdpmzkr] {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.doctor-selector-button.active .dropdown-icon[b-4divdpmzkr] {
    transform: rotate(180deg);
}

.doctor-selector-input-container[b-4divdpmzkr] {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    height: 42px;
}

.doctor-selector-input-container:hover[b-4divdpmzkr] {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.doctor-selector-input-container.active[b-4divdpmzkr],
.doctor-selector-input-container:focus-within[b-4divdpmzkr] {
    border-color: #026aa7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(2, 106, 167, 0.12);
}

.doctor-selector-input[b-4divdpmzkr] {
    flex: 1;
    width: 100%;
    height: 100%;
    padding: 0.5rem 0.75rem;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
}

.doctor-selector-input[b-4divdpmzkr]::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.doctor-selector-toggle-btn[b-4divdpmzkr] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0 0.75rem;
    height: 100%;
    cursor: pointer;
    color: #64748b;
    transition: color 0.2s ease;
}

.doctor-selector-toggle-btn:hover[b-4divdpmzkr] {
    color: #026aa7;
}

.doctor-selector-toggle-btn .dropdown-icon[b-4divdpmzkr] {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.doctor-selector-toggle-btn .dropdown-icon.open[b-4divdpmzkr] {
    transform: rotate(180deg);
}

.doctor-selector-dropdown[b-4divdpmzkr] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 360px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
}

.doctor-selector-dropdown[b-4divdpmzkr]::-webkit-scrollbar {
    width: 6px;
}

.doctor-selector-dropdown[b-4divdpmzkr]::-webkit-scrollbar-track {
    background: transparent;
}

.doctor-selector-dropdown[b-4divdpmzkr]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.doctor-selector-dropdown[b-4divdpmzkr]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.doctor-option-item[b-4divdpmzkr] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.15s ease;
}

.doctor-option-item:hover[b-4divdpmzkr] {
    background: #f0f9ff;
    padding-left: 1.25rem;
}

.doctor-option-item.selected[b-4divdpmzkr] {
    background: #e0f2fe;
    border-left: 3px solid #026aa7;
    padding-left: 0.75rem;
}

.doctor-availability-indicator[b-4divdpmzkr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
}

.doctor-availability-indicator.available[b-4divdpmzkr] {
    background: #10b981;
    color: #ffffff;
}

.doctor-availability-indicator.unavailable[b-4divdpmzkr] {
    background: #ef4444;
    color: #ffffff;
}

.doctor-option-content[b-4divdpmzkr] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.doctor-option-name[b-4divdpmzkr] {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.95rem;
}

.doctor-option-slots[b-4divdpmzkr] {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

/* Kutty User Count Badge Styles */
.kutty-user-badge[b-4divdpmzkr] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0369a1;
    border: 1px solid #7dd3fc;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12);
    vertical-align: middle;
    transition: all 0.2s ease;
}

.kutty-user-badge:hover[b-4divdpmzkr] {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
}

.kutty-user-badge.active-filter[b-4divdpmzkr] {
    outline: 2px solid #0284c7 !important;
    outline-offset: 1px !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.3) !important;
    font-weight: 800 !important;
}

.kutty-user-badge.alt[b-4divdpmzkr] {
    background: #f0f9ff;
    color: #026aa7;
    border: 1px solid #bae6fd;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

.kutty-user-badge.status-booked[b-4divdpmzkr] {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

.kutty-user-badge.status-confirmed[b-4divdpmzkr] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

.kutty-user-badge.status-cancelled[b-4divdpmzkr] {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

.table-bar-header[b-4divdpmzkr] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.5rem 0.75rem 0.5rem;
}

/* ==========================================================================
   DARK MODE COMPREHENSIVE OVERRIDES FOR PATIENT CHECK-IN / RECEPTION
   ========================================================================== */
:host-context([data-theme="dark"]) .dashboard-title h1[b-4divdpmzkr],
[data-theme="dark"] .dashboard-title h1[b-4divdpmzkr],
body.dark-mode .dashboard-title h1[b-4divdpmzkr] {
    color: #f1f5f9 !important;
}

:host-context([data-theme="dark"]) .dashboard-title p[b-4divdpmzkr],
[data-theme="dark"] .dashboard-title p[b-4divdpmzkr],
body.dark-mode .dashboard-title p[b-4divdpmzkr] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .btn-header-action.secondary[b-4divdpmzkr],
[data-theme="dark"] .btn-header-action.secondary[b-4divdpmzkr],
body.dark-mode .btn-header-action.secondary[b-4divdpmzkr] {
    background: #1e293b !important;
    border-color: #0284c7 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .btn-header-action.secondary:hover[b-4divdpmzkr],
[data-theme="dark"] .btn-header-action.secondary:hover[b-4divdpmzkr],
body.dark-mode .btn-header-action.secondary:hover[b-4divdpmzkr] {
    background: #0f172a !important;
    color: #7dd3fc !important;
}

:host-context([data-theme="dark"]) .filters-card[b-4divdpmzkr],
[data-theme="dark"] .filters-card[b-4divdpmzkr],
body.dark-mode .filters-card[b-4divdpmzkr] {
    background: rgba(30, 41, 59, 0.85) !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .filter-group label[b-4divdpmzkr],
[data-theme="dark"] .filter-group label[b-4divdpmzkr],
body.dark-mode .filter-group label[b-4divdpmzkr] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .filter-control[b-4divdpmzkr],
:host-context([data-theme="dark"]) select.walkin-input[b-4divdpmzkr],
[data-theme="dark"] .filter-control[b-4divdpmzkr],
[data-theme="dark"] select.walkin-input[b-4divdpmzkr],
body.dark-mode .filter-control[b-4divdpmzkr],
body.dark-mode select.walkin-input[b-4divdpmzkr] {
    background-color: #0f172a !important;
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .filter-control:focus[b-4divdpmzkr],
:host-context([data-theme="dark"]) select.walkin-input:focus[b-4divdpmzkr],
[data-theme="dark"] .filter-control:focus[b-4divdpmzkr],
[data-theme="dark"] select.walkin-input:focus[b-4divdpmzkr],
body.dark-mode .filter-control:focus[b-4divdpmzkr],
body.dark-mode select.walkin-input:focus[b-4divdpmzkr] {
    border-color: #0284c7 !important;
    background-color: #0f172a !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25) !important;
}

:host-context([data-theme="dark"]) .filter-control option[b-4divdpmzkr],
:host-context([data-theme="dark"]) select.walkin-input option[b-4divdpmzkr],
[data-theme="dark"] .filter-control option[b-4divdpmzkr],
[data-theme="dark"] select.walkin-input option[b-4divdpmzkr],
body.dark-mode .filter-control option[b-4divdpmzkr],
body.dark-mode select.walkin-input option[b-4divdpmzkr] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .kutty-user-badge[b-4divdpmzkr],
[data-theme="dark"] .kutty-user-badge[b-4divdpmzkr],
html[data-theme="dark"] .kutty-user-badge[b-4divdpmzkr],
body.dark-mode .kutty-user-badge[b-4divdpmzkr] {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%) !important;
    color: #e0f2fe !important;
    border-color: #0284c7 !important;
}

:host-context([data-theme="dark"]) .kutty-user-badge.alt[b-4divdpmzkr],
[data-theme="dark"] .kutty-user-badge.alt[b-4divdpmzkr],
html[data-theme="dark"] .kutty-user-badge.alt[b-4divdpmzkr],
body.dark-mode .kutty-user-badge.alt[b-4divdpmzkr] {
    background: #1e293b !important;
    color: #38bdf8 !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .kutty-user-badge.status-booked[b-4divdpmzkr],
[data-theme="dark"] .kutty-user-badge.status-booked[b-4divdpmzkr],
html[data-theme="dark"] .kutty-user-badge.status-booked[b-4divdpmzkr],
body.dark-mode .kutty-user-badge.status-booked[b-4divdpmzkr] {
    background: #451a03 !important;
    color: #fcd34d !important;
    border-color: #78350f !important;
}

:host-context([data-theme="dark"]) .kutty-user-badge.status-confirmed[b-4divdpmzkr],
[data-theme="dark"] .kutty-user-badge.status-confirmed[b-4divdpmzkr],
html[data-theme="dark"] .kutty-user-badge.status-confirmed[b-4divdpmzkr],
body.dark-mode .kutty-user-badge.status-confirmed[b-4divdpmzkr] {
    background: #022c22 !important;
    color: #6ee7b7 !important;
    border-color: #065f46 !important;
}

:host-context([data-theme="dark"]) .kutty-user-badge.status-cancelled[b-4divdpmzkr],
[data-theme="dark"] .kutty-user-badge.status-cancelled[b-4divdpmzkr],
html[data-theme="dark"] .kutty-user-badge.status-cancelled[b-4divdpmzkr],
body.dark-mode .kutty-user-badge.status-cancelled[b-4divdpmzkr] {
    background: #450a0a !important;
    color: #fca5a5 !important;
    border-color: #7f1d1d !important;
}

:host-context([data-theme="dark"]) .table-bar-header span[b-4divdpmzkr],
[data-theme="dark"] .table-bar-header span[b-4divdpmzkr],
html[data-theme="dark"] .table-bar-header span[b-4divdpmzkr],
body.dark-mode .table-bar-header span[b-4divdpmzkr] {
    color: #f1f5f9 !important;
}

:host-context([data-theme="dark"]) .table-responsive[b-4divdpmzkr],
[data-theme="dark"] .table-responsive[b-4divdpmzkr],
body.dark-mode .table-responsive[b-4divdpmzkr] {
    border-color: #334155 !important;
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .medico-table th[b-4divdpmzkr],
[data-theme="dark"] .medico-table th[b-4divdpmzkr],
body.dark-mode .medico-table th[b-4divdpmzkr] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-bottom: 1px solid #334155 !important;
    border-right: 1px solid #1e293b !important;
}

:host-context([data-theme="dark"]) .medico-table td[b-4divdpmzkr],
[data-theme="dark"] .medico-table td[b-4divdpmzkr],
body.dark-mode .medico-table td[b-4divdpmzkr] {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    border-bottom: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .medico-table tr:hover td[b-4divdpmzkr],
[data-theme="dark"] .medico-table tr:hover td[b-4divdpmzkr],
body.dark-mode .medico-table tr:hover td[b-4divdpmzkr] {
    background: #273549 !important;
}

:host-context([data-theme="dark"]) .booking-no-cell[b-4divdpmzkr],
[data-theme="dark"] .booking-no-cell[b-4divdpmzkr],
body.dark-mode .booking-no-cell[b-4divdpmzkr] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .patient-name-val[b-4divdpmzkr],
[data-theme="dark"] .patient-name-val[b-4divdpmzkr],
body.dark-mode .patient-name-val[b-4divdpmzkr] {
    color: #f1f5f9 !important;
}

:host-context([data-theme="dark"]) .patient-phone-val[b-4divdpmzkr],
[data-theme="dark"] .patient-phone-val[b-4divdpmzkr],
body.dark-mode .patient-phone-val[b-4divdpmzkr] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .doctor-name-val[b-4divdpmzkr],
[data-theme="dark"] .doctor-name-val[b-4divdpmzkr],
body.dark-mode .doctor-name-val[b-4divdpmzkr] {
    color: #f1f5f9 !important;
}

:host-context([data-theme="dark"]) .btn-table-action[b-4divdpmzkr],
[data-theme="dark"] .btn-table-action[b-4divdpmzkr],
body.dark-mode .btn-table-action[b-4divdpmzkr] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .btn-table-action.reschedule[b-4divdpmzkr],
[data-theme="dark"] .btn-table-action.reschedule[b-4divdpmzkr],
body.dark-mode .btn-table-action.reschedule[b-4divdpmzkr] {
    color: #38bdf8 !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .btn-table-action.reschedule:hover[b-4divdpmzkr],
[data-theme="dark"] .btn-table-action.reschedule:hover[b-4divdpmzkr],
body.dark-mode .btn-table-action.reschedule:hover[b-4divdpmzkr] {
    background: #1e293b !important;
    border-color: #0284c7 !important;
    color: #7dd3fc !important;
}

:host-context([data-theme="dark"]) .btn-table-action.cancel[b-4divdpmzkr],
[data-theme="dark"] .btn-table-action.cancel[b-4divdpmzkr],
body.dark-mode .btn-table-action.cancel[b-4divdpmzkr] {
    color: #f87171 !important;
    border-color: #7f1d1d !important;
}

:host-context([data-theme="dark"]) .btn-table-action.cancel:hover[b-4divdpmzkr],
[data-theme="dark"] .btn-table-action.cancel:hover[b-4divdpmzkr],
body.dark-mode .btn-table-action.cancel:hover[b-4divdpmzkr] {
    background: #450a0a !important;
    color: #fca5a5 !important;
    border-color: #991b1b !important;
}

:host-context([data-theme="dark"]) .pagination-footer[b-4divdpmzkr],
[data-theme="dark"] .pagination-footer[b-4divdpmzkr],
body.dark-mode .pagination-footer[b-4divdpmzkr] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .pagination-info[b-4divdpmzkr],
[data-theme="dark"] .pagination-info[b-4divdpmzkr],
body.dark-mode .pagination-info[b-4divdpmzkr] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .pagination-info-highlight[b-4divdpmzkr],
[data-theme="dark"] .pagination-info-highlight[b-4divdpmzkr],
body.dark-mode .pagination-info-highlight[b-4divdpmzkr] {
    color: #f1f5f9 !important;
}

:host-context([data-theme="dark"]) .pagination-btns .page-btn[b-4divdpmzkr],
[data-theme="dark"] .pagination-btns .page-btn[b-4divdpmzkr],
body.dark-mode .pagination-btns .page-btn[b-4divdpmzkr] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .pagination-btns .page-btn:hover:not(.active):not(:disabled)[b-4divdpmzkr],
[data-theme="dark"] .pagination-btns .page-btn:hover:not(.active):not(:disabled)[b-4divdpmzkr],
body.dark-mode .pagination-btns .page-btn:hover:not(.active):not(:disabled)[b-4divdpmzkr] {
    background: #1e293b !important;
    border-color: #0284c7 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .pagination-btns .page-btn.active[b-4divdpmzkr],
[data-theme="dark"] .pagination-btns .page-btn.active[b-4divdpmzkr],
body.dark-mode .pagination-btns .page-btn.active[b-4divdpmzkr] {
    background: #026aa7 !important;
    border-color: #026aa7 !important;
    color: #ffffff !important;
}

:host-context([data-theme="dark"]) .stats-popup-card[b-4divdpmzkr],
[data-theme="dark"] .stats-popup-card[b-4divdpmzkr],
body.dark-mode .stats-popup-card[b-4divdpmzkr] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .stats-popup-header[b-4divdpmzkr],
[data-theme="dark"] .stats-popup-header[b-4divdpmzkr],
body.dark-mode .stats-popup-header[b-4divdpmzkr] {
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .stats-popup-header span[b-4divdpmzkr],
[data-theme="dark"] .stats-popup-header span[b-4divdpmzkr],
body.dark-mode .stats-popup-header span[b-4divdpmzkr] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .stat-popup-item[b-4divdpmzkr],
[data-theme="dark"] .stat-popup-item[b-4divdpmzkr],
body.dark-mode .stat-popup-item[b-4divdpmzkr] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .stat-popup-item .label[b-4divdpmzkr],
[data-theme="dark"] .stat-popup-item .label[b-4divdpmzkr],
body.dark-mode .stat-popup-item .label[b-4divdpmzkr] {
    color: #e2e8f0 !important;
}

:host-context([data-theme="dark"]) .glass-modal[b-4divdpmzkr],
[data-theme="dark"] .glass-modal[b-4divdpmzkr],
body.dark-mode .glass-modal[b-4divdpmzkr] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6) !important;
}

:host-context([data-theme="dark"]) .modal-header[b-4divdpmzkr],
:host-context([data-theme="dark"]) .modal-footer[b-4divdpmzkr],
[data-theme="dark"] .modal-header[b-4divdpmzkr],
[data-theme="dark"] .modal-footer[b-4divdpmzkr],
body.dark-mode .modal-header[b-4divdpmzkr],
body.dark-mode .modal-footer[b-4divdpmzkr] {
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header h3[b-4divdpmzkr],
[data-theme="dark"] .modal-header h3[b-4divdpmzkr],
body.dark-mode .modal-header h3[b-4divdpmzkr] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .form-group label[b-4divdpmzkr],
[data-theme="dark"] .form-group label[b-4divdpmzkr],
body.dark-mode .form-group label[b-4divdpmzkr] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .btn-modal.cancel[b-4divdpmzkr],
[data-theme="dark"] .btn-modal.cancel[b-4divdpmzkr],
body.dark-mode .btn-modal.cancel[b-4divdpmzkr] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .slots-subgrid[b-4divdpmzkr],
[data-theme="dark"] .slots-subgrid[b-4divdpmzkr],
body.dark-mode .slots-subgrid[b-4divdpmzkr] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .slot-subitem[b-4divdpmzkr],
[data-theme="dark"] .slot-subitem[b-4divdpmzkr],
body.dark-mode .slot-subitem[b-4divdpmzkr] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}

:host-context([data-theme="dark"]) .slot-subitem:hover[b-4divdpmzkr],
:host-context([data-theme="dark"]) .slot-subitem.selected[b-4divdpmzkr],
[data-theme="dark"] .slot-subitem:hover[b-4divdpmzkr],
[data-theme="dark"] .slot-subitem.selected[b-4divdpmzkr],
body.dark-mode .slot-subitem:hover[b-4divdpmzkr],
body.dark-mode .slot-subitem.selected[b-4divdpmzkr] {
    background: #0c4a6e !important;
    border-color: #0284c7 !important;
    color: #e0f2fe !important;
}

:host-context([data-theme="dark"]) .autocomplete-search-wrapper .autocomplete-dropdown[b-4divdpmzkr],
[data-theme="dark"] .autocomplete-search-wrapper .autocomplete-dropdown[b-4divdpmzkr],
body.dark-mode .autocomplete-search-wrapper .autocomplete-dropdown[b-4divdpmzkr] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .autocomplete-item[b-4divdpmzkr],
[data-theme="dark"] .autocomplete-item[b-4divdpmzkr],
body.dark-mode .autocomplete-item[b-4divdpmzkr] {
    color: #f1f5f9 !important;
    border-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .autocomplete-item:hover[b-4divdpmzkr],
:host-context([data-theme="dark"]) .autocomplete-item.active-focused[b-4divdpmzkr],
[data-theme="dark"] .autocomplete-item:hover[b-4divdpmzkr],
[data-theme="dark"] .autocomplete-item.active-focused[b-4divdpmzkr],
body.dark-mode .autocomplete-item:hover[b-4divdpmzkr],
body.dark-mode .autocomplete-item.active-focused[b-4divdpmzkr] {
    background: #1e293b !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .doctor-selector-input-container[b-4divdpmzkr],
[data-theme="dark"] .doctor-selector-input-container[b-4divdpmzkr],
body.dark-mode .doctor-selector-input-container[b-4divdpmzkr] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .doctor-selector-input[b-4divdpmzkr],
[data-theme="dark"] .doctor-selector-input[b-4divdpmzkr],
body.dark-mode .doctor-selector-input[b-4divdpmzkr] {
    background: #0f172a !important;
    color: #f8fafc !important;
}


/* ==========================================================================
   MOBILE & TABLET RESPONSIVE STYLES (PATIENT CHECK-IN)
   ========================================================================== */
@media (max-width: 992px) {
    .dashboard-container[b-4divdpmzkr] {
        margin: 0.5rem auto;
        padding: 0 0.5rem;
        max-height: none;
        overflow: visible;
        width: 100%;
    }

    .dashboard-header[b-4divdpmzkr] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        margin-bottom: 1rem;
    }

    .dashboard-header > div:last-child[b-4divdpmzkr] {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 0.4rem;
    }

    .btn-header-action[b-4divdpmzkr] {
        flex: 1 1 auto;
        justify-content: center;
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
        height: 36px;
        white-space: nowrap;
    }

    .filters-card[b-4divdpmzkr] {
        padding: 0.85rem;
        margin-bottom: 1rem;
        border-radius: 12px;
    }

    .filters-row[b-4divdpmzkr] {
        gap: 0.65rem;
    }

    .filter-group[b-4divdpmzkr] {
        flex: 1 1 calc(33.333% - 0.5rem);
        max-width: 100%;
        min-width: 130px;
    }

    .table-responsive[b-4divdpmzkr] {
        max-height: calc(100vh - 200px);
        min-height: 250px;
    }

    .medico-table[b-4divdpmzkr] {
        min-width: 820px;
    }
}

@media (max-width: 768px) {
    .dashboard-title h1[b-4divdpmzkr] {
        font-size: 1.35rem;
        line-height: 1.25;
    }

    .dashboard-title p[b-4divdpmzkr] {
        font-size: 0.8rem;
    }

    .filters-card[b-4divdpmzkr] {
        padding: 0.75rem;
    }

    .filter-group[b-4divdpmzkr] {
        flex: 1 1 calc(50% - 0.4rem);
        min-width: 120px;
    }

    .filter-control[b-4divdpmzkr], select.walkin-input[b-4divdpmzkr] {
        padding: 0.5rem 1.8rem 0.5rem 0.65rem;
        font-size: 0.82rem;
        border-radius: 8px;
    }

    .table-bar-header[b-4divdpmzkr] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.35rem 0.25rem 0.5rem;
    }

    .table-bar-header > div[b-4divdpmzkr] {
        width: 100%;
    }

    .kutty-user-badge[b-4divdpmzkr] {
        font-size: 0.72rem;
        padding: 0.18rem 0.45rem;
    }

    .pagination-footer[b-4divdpmzkr] {
        flex-direction: column;
        gap: 0.6rem;
        align-items: center;
        text-align: center;
        padding: 10px 14px;
    }

    .pagination-btns[b-4divdpmzkr] {
        flex-wrap: wrap;
        justify-content: center;
    }

    .glass-modal[b-4divdpmzkr] {
        width: 95% !important;
        max-width: 95% !important;
        max-height: 92vh;
        border-radius: 16px;
    }

    .modal-header[b-4divdpmzkr] {
        padding: 1rem 1.25rem;
    }

    .modal-header h3[b-4divdpmzkr] {
        font-size: 1.05rem;
    }

    .modal-body[b-4divdpmzkr] {
        padding: 1rem 1.15rem;
    }

    .modal-footer[b-4divdpmzkr] {
        padding: 0.75rem 1.15rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .btn-modal[b-4divdpmzkr] {
        flex: 1 1 auto;
        text-align: center;
        padding: 0.55rem 1rem;
        font-size: 0.82rem;
    }

    .slots-subgrid[b-4divdpmzkr] {
        grid-template-columns: 1fr;
        max-height: 220px;
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .stats-popup-card[b-4divdpmzkr] {
        position: fixed !important;
        top: auto !important;
        bottom: 1rem !important;
        left: 1rem !important;
        right: 1rem !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: calc(100vw - 2rem) !important;
        z-index: 10050 !important;
    }
}

@media (max-width: 480px) {
    .filter-group[b-4divdpmzkr] {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .btn-header-action[b-4divdpmzkr] {
        width: 100%;
    }

    .dashboard-header > div:last-child[b-4divdpmzkr] {
        flex-direction: column;
    }
}

/* /Components/Pages/ReceptionPortal.razor.rz.scp.css */
/* Reception Portal Page Styles Matching Patient Master Theme */

.reception-page[b-947mqkuoql] {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
}

/* 1. Patient Master Header Card */
.lab-header-card[b-947mqkuoql] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lab-title-text[b-947mqkuoql] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.3px;
}

.display-flex[b-947mqkuoql] { display: flex; }
.align-center[b-947mqkuoql] { align-items: center; }
.gap-12[b-947mqkuoql] { gap: 12px; }
.gap-6[b-947mqkuoql] { gap: 6px; }

.bg-indigo-50[b-947mqkuoql] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    border: 1px solid #c7d2fe !important;
}

.rounded-lg[b-947mqkuoql] { border-radius: 10px; }
.shadow-sm[b-947mqkuoql] { box-shadow: 0 2px 6px rgba(79, 70, 229, 0.12); }
.flex-center[b-947mqkuoql] { display: flex; align-items: center; justify-content: center; }

.icon-box-container[b-947mqkuoql] {
    width: 38px;
    height: 38px;
}

.icon-lg[b-947mqkuoql] { font-size: 20px !important; }
.text-indigo-600[b-947mqkuoql] { color: #4f46e5 !important; }

.status-pulse-dot[b-947mqkuoql] {
    width: 7px;
    height: 7px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
}

.status-text[b-947mqkuoql] {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

/* Primary Action Button matching Patient Master Save Button */
.btn-new-patient-primary[b-947mqkuoql] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    height: 38px;
    padding: 0 22px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
    transition: all 0.15s ease;
}

.btn-new-patient-primary:hover[b-947mqkuoql] {
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
}

/* 2. Common Section Cards matching Patient Master */
.reception-card[b-947mqkuoql] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.card-header-flex[b-947mqkuoql] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1.5px solid #eef2ff;
}

.card-section-title[b-947mqkuoql] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #3730a3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-indigo-badge[b-947mqkuoql] {
    font-size: 20px !important;
    color: #4f46e5;
    background: #e0e7ff;
    padding: 4px;
    border-radius: 6px;
    vertical-align: middle;
}

.queue-status-badge[b-947mqkuoql] {
    background: #e0e7ff;
    color: #4338ca;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

/* 3. Check-in Section */
.field-uppercase-label[b-947mqkuoql] {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #475569;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.input-validate-row[b-947mqkuoql] {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.patient-id-input-box[b-947mqkuoql] {
    flex: 1;
    position: relative;
}

.patient-id-control[b-947mqkuoql] {
    width: 100%;
    height: 40px;
    padding: 0 40px 0 14px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
}

.patient-id-control:focus[b-947mqkuoql] {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.input-right-icon[b-947mqkuoql] {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #4f46e5;
    font-size: 1.05rem;
}

/* Live Search Autocomplete Dropdown */
.search-results-dropdown[b-947mqkuoql] {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 9px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    max-height: 240px;
    overflow-y: auto;
    margin-top: 4px;
}

.search-result-item[b-947mqkuoql] {
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.search-result-item:hover[b-947mqkuoql] {
    background: #eef2ff;
}

.result-name[b-947mqkuoql] {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.88rem;
}

.result-sub[b-947mqkuoql] {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}

.result-id[b-947mqkuoql] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #3730a3;
    background: #e0e7ff;
    padding: 3px 8px;
    border-radius: 5px;
}

/* Validate Button */
.btn-validate-blue[b-947mqkuoql] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    height: 40px;
    padding: 0 24px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
    transition: all 0.15s ease;
}

.btn-validate-blue:hover[b-947mqkuoql] {
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

/* Patient Found Banner */
.patient-found-banner[b-947mqkuoql] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
}

.patient-avatar-box[b-947mqkuoql] {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.patient-avatar-initials[b-947mqkuoql] {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
}

.patient-details-info[b-947mqkuoql] {
    flex: 1;
}

.found-label[b-947mqkuoql] {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #4f46e5;
    margin-bottom: 2px;
}

.patient-full-name[b-947mqkuoql] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mrn-badge-pill[b-947mqkuoql] {
    font-size: 0.75rem;
    font-weight: 700;
    background: #e0e7ff;
    color: #3730a3;
    padding: 3px 10px;
    border-radius: 6px;
}

.patient-sub-detail[b-947mqkuoql] {
    font-size: 0.8rem;
    color: #475569;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.detail-icon[b-947mqkuoql] {
    color: #4f46e5;
}

/* Right-aligned action buttons inside patient found banner */
.patient-found-actions-right[b-947mqkuoql] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.btn-outline-modify[b-947mqkuoql] {
    padding: 0 20px;
    height: 38px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    border-radius: 9px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    color: #475569;
    transition: all 0.15s ease;
}

.btn-outline-modify:hover[b-947mqkuoql] {
    background: #f8fafc;
    color: #1e293b;
    border-color: #94a3b8;
}

.btn-confirm-blue[b-947mqkuoql] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    padding: 0 24px;
    height: 38px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.2px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
    transition: all 0.15s ease;
}

.btn-confirm-blue:hover[b-947mqkuoql] {
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

/* Patient Not Found Banner */
.patient-not-found-banner[b-947mqkuoql] {
    background: #fffbe6;
    border: 1.5px solid #ffe58f;
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 0;
}

.btn-new-patient-sm[b-947mqkuoql] {
    margin-left: auto;
    background: #4f46e5;
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

/* 4. Recent Confirmations Table */
.view-all-activity-link[b-947mqkuoql] {
    color: #4f46e5;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.view-all-activity-link:hover[b-947mqkuoql] {
    text-decoration: underline;
}

.recent-table-wrapper[b-947mqkuoql] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: auto;
    width: 100%;
}

.recent-table-wrapper[b-947mqkuoql]::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    display: block;
}
.recent-table-wrapper[b-947mqkuoql]::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.recent-table-wrapper[b-947mqkuoql]::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
.recent-table-wrapper[b-947mqkuoql]::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.recent-checkins-table[b-947mqkuoql] {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.recent-checkins-table th[b-947mqkuoql] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 12px 14px;
    border-bottom: 1.5px solid #e2e8f0;
    text-align: left;
    background: #f8fafc;
}

.recent-checkins-table th:nth-child(1)[b-947mqkuoql] { width: 10%; } /* MRN NO */
.recent-checkins-table th:nth-child(2)[b-947mqkuoql] { width: 18%; } /* PATIENT NAME */
.recent-checkins-table th:nth-child(3)[b-947mqkuoql] { width: 14%; } /* MOBILE NO */
.recent-checkins-table th:nth-child(4)[b-947mqkuoql] { width: 18%; } /* DATE & TIME */
.recent-checkins-table th:nth-child(5)[b-947mqkuoql] { width: 15%; } /* INVESTIGATION */
.recent-checkins-table th:nth-child(6)[b-947mqkuoql] { width: 15%; } /* DOCTOR NAME */
.recent-checkins-table th:nth-child(7)[b-947mqkuoql] { width: 10%; } /* STATUS */

.recent-checkins-table td[b-947mqkuoql] {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.85rem;
    color: #334155;
}

.recent-checkins-table tr:hover td[b-947mqkuoql] {
    background: #f8fafc;
}

.table-patient-id[b-947mqkuoql] {
    font-weight: 700;
    color: #4f46e5;
}

.table-icon-text[b-947mqkuoql] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #475569;
}

.user-badge-cell[b-947mqkuoql] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.avatar-circle-sm[b-947mqkuoql] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #4338ca;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-pill-arrived[b-947mqkuoql] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 14px;
    border: none;
    text-transform: capitalize;
}

.status-pill-arrived .dot-inner[b-947mqkuoql] {
    display: none;
}

.status-pill-arrived.waiting[b-947mqkuoql] { background: #fef3c7; color: #b45309; }
.status-pill-arrived.upnext[b-947mqkuoql] { background: #e0f2fe; color: #0284c7; }
.status-pill-arrived.consultation[b-947mqkuoql] { background: #ffedd5; color: #c2410c; }
.status-pill-arrived.completed[b-947mqkuoql] { background: #d1fae5; color: #047857; }
.status-pill-arrived.received[b-947mqkuoql] { background: #cffafe; color: #0891b2; }
.status-pill-arrived.pending[b-947mqkuoql] { background: #f1f5f9; color: #64748b; }
.status-pill-arrived.cancelled[b-947mqkuoql] { background: #ffe4e6; color: #e11d48; }

.dot-inner[b-947mqkuoql] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
}

/* Modal Dialog */
.modal-overlay[b-947mqkuoql] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-container[b-947mqkuoql] {
    background: #ffffff;
    width: 900px;
    max-width: 95vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalFadeIn-b-947mqkuoql 0.2s ease-out;
}

@keyframes modalFadeIn-b-947mqkuoql {
    from { transform: translateY(8px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header[b-947mqkuoql] {
    background: #ffffff;
    padding: 18px 24px 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    border-bottom: none;
}

.modal-title[b-947mqkuoql] {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.btn-close-modal[b-947mqkuoql] {
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-close-modal:hover[b-947mqkuoql] {
    color: #ef4444 !important;
    background-color: #fef2f2;
    transform: scale(1.1);
}

.modal-body[b-947mqkuoql] {
    padding: 12px 24px 20px 24px;
    flex: 1;
    overflow-y: auto;
}

.modal-footer[b-947mqkuoql] {
    padding: 14px 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-secondary[b-947mqkuoql] {
    background: #f1f5f9;
    color: #475569;
    border: none;
    height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.btn-secondary:hover[b-947mqkuoql] {
    background: #e2e8f0;
}

.btn-primary-indigo[b-947mqkuoql] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.25);
}

.btn-primary-indigo:hover[b-947mqkuoql] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

/* Form controls */
.form-grid[b-947mqkuoql] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.form-group[b-947mqkuoql] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-control-input[b-947mqkuoql], .form-control-select[b-947mqkuoql] {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.form-control-input:focus[b-947mqkuoql], .form-control-select:focus[b-947mqkuoql] {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* VIP Highlight Styles */
.medico-table tr.vip-row td[b-947mqkuoql],
.recent-checkins-table tr.vip-row td[b-947mqkuoql],
tr.vip-row td[b-947mqkuoql] {
    background-color: #fffdf5 !important;
}

.medico-table tr.vip-row:hover td[b-947mqkuoql],
.recent-checkins-table tr.vip-row:hover td[b-947mqkuoql],
tr.vip-row:hover td[b-947mqkuoql] {
    background-color: #fffbeb !important;
}

/* ============================================================
   DARK MODE OVERRIDES FOR RECEPTION PORTAL
   ============================================================ */
html[data-theme="dark"] .reception-page[b-947mqkuoql],
body.dark-mode .reception-page[b-947mqkuoql] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .lab-header-card[b-947mqkuoql],
body.dark-mode .lab-header-card[b-947mqkuoql] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .lab-title-text[b-947mqkuoql],
body.dark-mode .lab-title-text[b-947mqkuoql] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .status-text[b-947mqkuoql],
body.dark-mode .status-text[b-947mqkuoql] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .bg-indigo-50[b-947mqkuoql],
body.dark-mode .bg-indigo-50[b-947mqkuoql] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .reception-card[b-947mqkuoql],
body.dark-mode .reception-card[b-947mqkuoql] {
    background-color: #1e293b !important;
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] .card-header-flex[b-947mqkuoql],
body.dark-mode .card-header-flex[b-947mqkuoql] {
    border-bottom-color: #334155 !important;
}

html[data-theme="dark"] .card-section-title[b-947mqkuoql],
body.dark-mode .card-section-title[b-947mqkuoql] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .icon-indigo-badge[b-947mqkuoql],
body.dark-mode .icon-indigo-badge[b-947mqkuoql] {
    background-color: #312e81 !important;
    color: #a5b4fc !important;
}

html[data-theme="dark"] .queue-status-badge[b-947mqkuoql],
body.dark-mode .queue-status-badge[b-947mqkuoql] {
    background-color: #312e81 !important;
    color: #a5b4fc !important;
}

html[data-theme="dark"] .field-uppercase-label[b-947mqkuoql],
body.dark-mode .field-uppercase-label[b-947mqkuoql] {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .patient-id-control[b-947mqkuoql],
body.dark-mode .patient-id-control[b-947mqkuoql] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .search-results-dropdown[b-947mqkuoql],
body.dark-mode .search-results-dropdown[b-947mqkuoql] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .search-result-item[b-947mqkuoql],
body.dark-mode .search-result-item[b-947mqkuoql] {
    border-bottom-color: #334155 !important;
}

html[data-theme="dark"] .search-result-item:hover[b-947mqkuoql],
body.dark-mode .search-result-item:hover[b-947mqkuoql] {
    background-color: #0f172a !important;
}

html[data-theme="dark"] .result-name[b-947mqkuoql],
body.dark-mode .result-name[b-947mqkuoql] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .result-sub[b-947mqkuoql],
body.dark-mode .result-sub[b-947mqkuoql] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .patient-found-banner[b-947mqkuoql],
body.dark-mode .patient-found-banner[b-947mqkuoql] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .patient-full-name[b-947mqkuoql],
body.dark-mode .patient-full-name[b-947mqkuoql] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .patient-sub-detail[b-947mqkuoql],
body.dark-mode .patient-sub-detail[b-947mqkuoql] {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .mrn-badge-pill[b-947mqkuoql],
body.dark-mode .mrn-badge-pill[b-947mqkuoql] {
    background-color: #312e81 !important;
    color: #a5b4fc !important;
}

html[data-theme="dark"] .btn-outline-modify[b-947mqkuoql],
body.dark-mode .btn-outline-modify[b-947mqkuoql] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .btn-outline-modify:hover[b-947mqkuoql],
body.dark-mode .btn-outline-modify:hover[b-947mqkuoql] {
    background-color: #1e293b !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .patient-not-found-banner[b-947mqkuoql],
body.dark-mode .patient-not-found-banner[b-947mqkuoql] {
    background-color: #422006 !important;
    border-color: #78350f !important;
    color: #fef08a !important;
}

html[data-theme="dark"] .recent-checkins-table th[b-947mqkuoql],
body.dark-mode .recent-checkins-table th[b-947mqkuoql] {
    background-color: #0f172a !important;
    border-bottom-color: #334155 !important;
    color: #38bdf8 !important;
}

html[data-theme="dark"] .recent-checkins-table td[b-947mqkuoql],
body.dark-mode .recent-checkins-table td[b-947mqkuoql] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .recent-checkins-table tr:hover td[b-947mqkuoql],
body.dark-mode .recent-checkins-table tr:hover td[b-947mqkuoql] {
    background-color: #0f172a !important;
}

html[data-theme="dark"] .recent-checkins-table .text-dark[b-947mqkuoql],
body.dark-mode .recent-checkins-table .text-dark[b-947mqkuoql],
html[data-theme="dark"] .table-icon-text[b-947mqkuoql],
body.dark-mode .table-icon-text[b-947mqkuoql] {
    color: #e2e8f0 !important;
}

html[data-theme="dark"] .modal-container[b-947mqkuoql],
body.dark-mode .modal-container[b-947mqkuoql] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .modal-header[b-947mqkuoql],
body.dark-mode .modal-header[b-947mqkuoql],
html[data-theme="dark"] .modal-footer[b-947mqkuoql],
body.dark-mode .modal-footer[b-947mqkuoql] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .modal-title[b-947mqkuoql],
body.dark-mode .modal-title[b-947mqkuoql] {
    color: #38bdf8 !important;
}

html[data-theme="dark"] .btn-secondary[b-947mqkuoql],
body.dark-mode .btn-secondary[b-947mqkuoql] {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .form-control-input[b-947mqkuoql],
body.dark-mode .form-control-input[b-947mqkuoql],
html[data-theme="dark"] .form-control-select[b-947mqkuoql],
body.dark-mode .form-control-select[b-947mqkuoql] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

/* === Custom Doctor Selector Dropdown === */
.doctor-selector-wrapper[b-947mqkuoql] {
    position: relative;
    width: 100%;
}

.doctor-selector-button[b-947mqkuoql] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.doctor-selector-button:hover[b-947mqkuoql] {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.doctor-selector-button.active[b-947mqkuoql] {
    border-color: #026aa7;
    background: #e0f2fe;
    color: #026aa7;
}

.doctor-selector-button .dropdown-icon[b-947mqkuoql] {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.doctor-selector-button.active .dropdown-icon[b-947mqkuoql] {
    transform: rotate(180deg);
}

.doctor-selector-dropdown[b-947mqkuoql] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 360px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
}

.doctor-selector-dropdown[b-947mqkuoql]::-webkit-scrollbar {
    width: 6px;
}

.doctor-selector-dropdown[b-947mqkuoql]::-webkit-scrollbar-track {
    background: transparent;
}

.doctor-selector-dropdown[b-947mqkuoql]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.doctor-selector-dropdown[b-947mqkuoql]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.doctor-option-item[b-947mqkuoql] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.15s ease;
}

.doctor-option-item:hover[b-947mqkuoql] {
    background: #f0f9ff;
    padding-left: 1.25rem;
}

.doctor-option-item.selected[b-947mqkuoql] {
    background: #e0f2fe;
    border-left: 3px solid #026aa7;
    padding-left: 0.75rem;
}

.doctor-availability-indicator[b-947mqkuoql] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
}

.doctor-availability-indicator.available[b-947mqkuoql] {
    background: #10b981;
    color: #ffffff;
}

.doctor-availability-indicator.unavailable[b-947mqkuoql] {
    background: #ef4444;
    color: #ffffff;
}

.doctor-option-content[b-947mqkuoql] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.doctor-option-name[b-947mqkuoql] {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.95rem;
}

.doctor-option-slots[b-947mqkuoql] {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}
/* Master dashboard theme */
.reception-page[b-947mqkuoql] { 
    height: 100% !important; 
    max-height: 100% !important; 
    overflow: hidden !important; 
    padding: 0 !important; 
    gap: 0.35rem !important; 
    background: #f1f5fb !important; 
}
.reception-page .lab-header-card[b-947mqkuoql] { padding: .15rem 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.reception-page .icon-box-container[b-947mqkuoql] { background: #e4f4ff !important; }
.reception-page .lab-title-text[b-947mqkuoql] { color: #07547c !important; font-size: 1.7rem !important; font-weight: 800 !important; }
.reception-page .status-text[b-947mqkuoql] { color: #647b90 !important; font-size: .78rem !important; }
.reception-card[b-947mqkuoql] { border: 1px solid #dfe7f1 !important; border-radius: 10px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; background: #fff !important; }
.reception-page .recent-checkins-table thead tr[b-947mqkuoql] { height: 32px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; border-bottom: 1px solid #07547c !important; }
.reception-page .recent-checkins-table th[b-947mqkuoql] { 
    height: 32px !important;
    padding: 4px 8px !important; 
    color: #fff !important; 
    background: transparent !important; 
    font-size: 11px !important; 
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-bottom: 1px solid #07547c !important;
    vertical-align: middle !important;
}
.reception-page .recent-checkins-table th:last-child[b-947mqkuoql] { border-right: none !important; }
.reception-page .recent-checkins-table td[b-947mqkuoql] { height: 34px !important; padding: 4px 8px !important; font-size: 11.5px !important; color: #334155 !important; border-bottom: 1px solid #edf2f7 !important; border-right: 1px solid #f8fafc !important; vertical-align: middle !important; }
.reception-page .recent-checkins-table tbody tr[b-947mqkuoql] { height: 34px !important; min-height: 34px !important; }
.reception-page .recent-checkins-table tbody tr:nth-child(even)[b-947mqkuoql] { background: #fcfdfe !important; }
.reception-page .recent-checkins-table tbody tr:hover[b-947mqkuoql] { background: #f0fdfa !important; }
/* /Components/Pages/Register.razor.rz.scp.css */
/* 
 * ==========================================
 * TenantMaster Registration UI Design System
 * Modern Glassmorphism & Cyber-Indigo Theme
 * ==========================================
 */

.register-container[b-79widfoakq] {
    /* Color Palette */
    --bg-dark: #07070b;
    --bg-dark-gradient: radial-gradient(circle at 50% 50%, #151030 0%, #07070d 70%, #030305 100%);
    --primary: #6366f1;
    /* Deep Indigo */
    --primary-rgb: 99, 102, 241;
    --accent: #06b6d4;
    /* Neon Cyan */
    --accent-rgb: 6, 182, 212;
    --accent-glow: rgba(6, 182, 212, 0.2);
    --primary-glow: rgba(99, 102, 241, 0.15);

    /* Neutral Shades */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;

    /* Glassmorphism Specs */
    --glass-bg: rgba(13, 20, 48, 0.75);
    --glass-border: rgba(0, 240, 255, 0.18);
    --glass-border-focus: rgba(6, 182, 212, 0.4);
    --glass-shine: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);

    /* System Status */
    --success: #10b981;
    /* Emerald */
    --success-rgb: 16, 185, 129;
    --error: #f43f5e;
    /* Rose Crimson */
    --error-rgb: 244, 63, 94;
    --warning: #f59e0b;
    /* Amber */
    --warning-rgb: 245, 158, 11;

    /* Layout & Shadow */
    --card-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px -10px rgba(99, 102, 241, 0.15);
    --font-primary: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --font-secondary: 'Public Sans', sans-serif;
}

/* --- Base & Scrollbar --- */
*[b-79widfoakq] {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Ensure all layout wrappers are transparent to show fixed body background */
[b-79widfoakq] .app-container,
[b-79widfoakq] .main-content,
[b-79widfoakq] .page {
    background: transparent !important;
    background-color: transparent !important;
}

body[b-79widfoakq] {
    background: var(--bg-dark-gradient);
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    transition: background 0.5s ease, color 0.5s ease, background-color 0.5s ease;
}

/* Light Theme Variable Overrides on container layer */
.register-container.light-theme[b-79widfoakq] {
    --bg-dark: #f8fafc;
    --bg-dark-gradient: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    --text-main: #0f172a;
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(99, 102, 241, 0.15);
    --card-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.08), 0 0 40px rgba(99, 102, 241, 0.03);
}

.register-container.light-theme .form-control[b-79widfoakq],
.register-container.light-theme[b-79widfoakq]  .form-control {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

.register-container.light-theme .form-control:focus[b-79widfoakq],
.register-container.light-theme[b-79widfoakq]  .form-control:focus {
    border-color: #6366f1 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2) !important;
}

.register-container.light-theme .form-control[b-79widfoakq]::placeholder,
.register-container.light-theme[b-79widfoakq]  .form-control::placeholder {
    color: #94a3b8 !important;
}

.register-container.light-theme .form-label[b-79widfoakq] {
    color: #334155 !important;
}

.register-container.light-theme .section-title h3[b-79widfoakq] {
    color: #1e293b !important;
}

.register-container.light-theme .section-title[b-79widfoakq] {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.register-container.light-theme .modal-card[b-79widfoakq] {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.2), 0 0 40px rgba(99, 102, 241, 0.1) !important;
}

.register-container.light-theme .modal-title[b-79widfoakq] {
    background: linear-gradient(135deg, #0f172a, #ff007f) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.register-container.light-theme .security-reqs[b-79widfoakq] {
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.register-container.light-theme .security-reqs h4[b-79widfoakq] {
    color: #0f172a !important;
}

/* Custom Scrollbar for sleek appearance */
[b-79widfoakq]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

[b-79widfoakq]::-webkit-scrollbar-track {
    background: rgba(7, 7, 11, 0.5);
}

[b-79widfoakq]::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 10px;
}

[b-79widfoakq]::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* --- App Root Container --- */
.page[b-79widfoakq] {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

main[b-79widfoakq] {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    z-index: 10;
}

/* --- Animated Glowing Background Elements --- */
.register-container[b-79widfoakq] {
    position: relative;
    width: 100% !important;
    min-width: 100vw !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 2rem 1rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Ambient glow blobs */
.register-container[b-79widfoakq]::before,
.register-container[b-79widfoakq]::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.45;
    mix-blend-mode: screen;
    animation: pulse-glow-b-79widfoakq 15s infinite alternate ease-in-out;
}

.register-container[b-79widfoakq]::before {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, var(--primary) 0%, rgba(99, 102, 241, 0) 70%);
    top: -10%;
    left: -15%;
}

.register-container[b-79widfoakq]::after {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent) 0%, rgba(6, 182, 212, 0) 70%);
    bottom: -15%;
    right: -20%;
    animation-delay: -5s;
}

@keyframes pulse-glow-b-79widfoakq {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, -30px) scale(1.1);
    }
}

/* Background decorator icon */
.bg-decorator[b-79widfoakq] {
    position: absolute;
    bottom: -2%;
    left: -8%;
    color: rgba(99, 102, 241, 0.04);
    pointer-events: none;
    user-select: none;
    z-index: -1;
}

.bg-decorator span[b-79widfoakq] {
    font-size: 15rem;
    transform: rotate(-15deg);
    display: block;
}

/* --- Frosted Glass Card --- */
.register-card[b-79widfoakq] {
    width: 100%;
    max-width: 1280px;
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 28px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    overflow: hidden;
    position: relative;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

/* --- Modern Grid Layout for Single Page Display --- */
.registration-grid[b-79widfoakq] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    position: relative;
}

/* Vertical Divider */
.registration-grid[b-79widfoakq]::after {
    content: '';
    position: absolute;
    top: 5%;
    bottom: 5%;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.06) 20%, rgba(255, 255, 255, 0.06) 80%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(-50%);
}

.registration-column[b-79widfoakq] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Glassmorphic Password Modal Popup styles */
.modal-overlay[b-79widfoakq] {
    position: fixed;
    inset: 0;
    background: rgba(5, 4, 15, 0.65);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: modal-fade-in-b-79widfoakq 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-card[b-79widfoakq] {
    width: 100%;
    max-width: 500px;
    background: rgba(13, 12, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 50px rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: modal-scale-up-b-79widfoakq 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-header[b-79widfoakq] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1rem;
}

.modal-title[b-79widfoakq] {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-subtitle[b-79widfoakq] {
    font-family: var(--font-secondary);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.modal-body[b-79widfoakq] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal-footer[b-79widfoakq] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.25rem;
    margin-top: 0.5rem;
}

@keyframes modal-fade-in-b-79widfoakq {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modal-scale-up-b-79widfoakq {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(15px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.register-card[b-79widfoakq]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02) 40%, rgba(6, 182, 212, 0.1) 70%, rgba(6, 182, 212, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

/* --- Card Header & Progress Tracker --- */
.card-header[b-79widfoakq] {
    padding: 1rem 2rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.progress-header[b-79widfoakq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.step-badge[b-79widfoakq] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.step-badge.active[b-79widfoakq] {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--text-dark);
    font-weight: 800;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
    border-color: transparent;
}

.step-text[b-79widfoakq] {
    font-family: var(--font-secondary);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
}

.progress-bar[b-79widfoakq] {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill[b-79widfoakq] {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    box-shadow: 0 0 10px var(--accent);
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Alert Block --- */
.alert[b-79widfoakq] {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
    animation: slide-down-b-79widfoakq 0.4s ease forwards;
}

.alert-error[b-79widfoakq] {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: #fda4af;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.1);
}

.alert-success[b-79widfoakq] {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #a7f3d0;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
}

@keyframes slide-down-b-79widfoakq {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Card Body --- */
.card-body[b-79widfoakq] {
    padding: 1rem 2rem 0.5rem;
}

.page-title[b-79widfoakq] {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    margin-bottom: 0.25rem;
}

.page-subtitle[b-79widfoakq] {
    font-family: var(--font-secondary);
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.section-title[b-79widfoakq] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title span[b-79widfoakq] {
    color: var(--accent);
    font-size: 1.2rem;
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
}

.section-title h3[b-79widfoakq] {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #f1f5f9;
}

/* --- Form Layout & Fields --- */
.form-grid[b-79widfoakq] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0.75rem 1rem;
}

.form-group[b-79widfoakq] {
    grid-column: span 6;
    /* 2-column by default */
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group.full-width[b-79widfoakq] {
    grid-column: span 12;
}

/* Form Label */
.form-label[b-79widfoakq] {
    font-family: var(--font-secondary);
    font-size: 0.775rem;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.lbl-req[b-79widfoakq]::after {
    content: '*';
    color: var(--error);
    font-weight: bold;
    margin-left: 2px;
}

.optional[b-79widfoakq] {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Form Control Inputs */
.form-control[b-79widfoakq],
[b-79widfoakq] .form-control {
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px;
    padding: 0.55rem 0.85rem;
    color: #0f172a !important;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-control[b-79widfoakq]::placeholder,
[b-79widfoakq] .form-control::placeholder {
    color: #94a3b8 !important;
    font-weight: 300;
}

.form-control:hover[b-79widfoakq],
[b-79widfoakq] .form-control:hover {
    border-color: #cbd5e1 !important;
    background: #ffffff !important;
}

.form-control:focus[b-79widfoakq],
[b-79widfoakq] .form-control:focus {
    border-color: #6366f1 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2) !important;
}

/* Form Select Styling */
.form-select-wrapper[b-79widfoakq] {
    position: relative;
    width: 100%;
}

[b-79widfoakq] .form-select-wrapper select.form-control,
.form-select-wrapper[b-79widfoakq]  select.form-control,
[b-79widfoakq] select.form-control,
.form-select-wrapper select.form-control[b-79widfoakq] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding-right: 2.5rem !important;
    cursor: pointer;
}

.form-select-wrapper[b-79widfoakq]::after {
    content: 'expand_more';
    font-family: 'Material Icons Outlined';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    font-size: 1.25rem;
    transition: color 0.3s;
}

.form-select-wrapper:focus-within[b-79widfoakq]::after {
    color: var(--accent);
}

select.form-control option[b-79widfoakq],
[b-79widfoakq] select option,
[b-79widfoakq] option {
    background: #ffffff !important;
    color: #0f172a !important;
    padding: 10px;
}

/* Light theme options styling overrides */
.register-container.light-theme[b-79widfoakq]  select option,
.register-container.light-theme[b-79widfoakq]  option,
.register-container.light-theme select.form-control option[b-79widfoakq] {
    background: #ffffff !important;
    color: #0f172a !important;
}

/* Validation styling */
.form-control.invalid[b-79widfoakq] {
    border-color: var(--error) !important;
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.15) !important;
}

.validation-message[b-79widfoakq] {
    color: #fda4af;
    font-family: var(--font-secondary);
    font-size: 0.775rem;
    font-weight: 500;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.validation-message[b-79widfoakq]::before {
    content: 'error_outline';
    font-family: 'Material Icons Outlined';
    font-size: 0.9rem;
    vertical-align: middle;
}

/* --- STEP 3: Password Visuals --- */
.password-step-container[b-79widfoakq] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.password-group[b-79widfoakq] {
    grid-column: span 12;
}

.input-icon-wrapper[b-79widfoakq] {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-left[b-79widfoakq] {
    position: absolute;
    left: 1rem;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    font-size: 1.25rem;
}

.input-icon-wrapper .form-control[b-79widfoakq] {
    padding-left: 2.75rem;
    padding-right: 2.75rem;
}

.input-icon-right[b-79widfoakq] {
    position: absolute;
    right: 0.75rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.input-icon-right:hover[b-79widfoakq] {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

/* Security Checklist */
.security-reqs[b-79widfoakq] {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.25rem;
    margin-top: 0.5rem;
}

.security-reqs h4[b-79widfoakq] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.req-grid[b-79widfoakq] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.req-item[b-79widfoakq] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.req-icon[b-79widfoakq] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.req-icon span[b-79widfoakq] {
    font-size: 10px;
    font-weight: 900;
    color: transparent;
    transition: color 0.3s;
}

/* Valid item state */
.req-item.valid[b-79widfoakq] {
    color: #a7f3d0;
}

.req-item.valid .req-icon[b-79widfoakq] {
    background: var(--success);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
    transform: scale(1.1);
}

.req-item.valid .req-icon span[b-79widfoakq] {
    color: var(--text-dark);
}

/* --- Card Footer & Buttons --- */
.card-footer[b-79widfoakq] {
    padding: 0.75rem 2rem 1rem;
    border-top: 1px solid rgba(0, 240, 255, 0.15) !important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    background: rgba(13, 20, 48, 0.5) !important;
}

/* Button Base */
.btn[b-79widfoakq] {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    outline: none;
    user-select: none;
}

.btn-primary[b-79widfoakq] {
    background: linear-gradient(135deg, #ff007f 0%, #7928ca 50%, #00f0ff 100%);
    background-size: 200% 200%;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(255, 0, 127, 0.4), 0 0 30px rgba(0, 240, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: gradient-shift-b-79widfoakq 6s ease infinite alternate;
}

.btn-primary[b-79widfoakq]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover[b-79widfoakq] {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 30px rgba(255, 0, 127, 0.65), 0 0 40px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover[b-79widfoakq]::before {
    left: 100%;
}

.btn-primary:active[b-79widfoakq] {
    transform: translateY(1px) scale(0.97);
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
}

.btn-primary:disabled[b-79widfoakq] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

@keyframes gradient-shift-b-79widfoakq {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.btn-text[b-79widfoakq] {
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
}

.btn-text:hover[b-79widfoakq] {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn span.material-icons-outlined[b-79widfoakq] {
    font-size: 1.15rem;
    transition: transform 0.3s;
}

.btn-primary:hover span.material-icons-outlined[b-79widfoakq] {
    transform: translateX(3px);
}

/* --- Registration Success Screen --- */
.register-success-wrapper[b-79widfoakq] {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(20px);
    padding: 4rem 3rem;
    text-align: center;
    width: 100%;
    max-width: 550px;
    animation: zoom-in-blur-b-79widfoakq 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.success-illustration[b-79widfoakq] {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 20px rgba(6, 182, 212, 0.3));
    animation: float-b-79widfoakq 4s ease-in-out infinite;
}

.success-title[b-79widfoakq] {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
}

.success-subtitle[b-79widfoakq] {
    font-family: var(--font-secondary);
    color: var(--text-muted);
    font-size: 1rem;
}

@keyframes zoom-in-blur-b-79widfoakq {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

@keyframes float-b-79widfoakq {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* --- Toast Notification System --- */
.toast-container[b-79widfoakq] {
    position: fixed;
    top: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 9999;
    max-width: 400px;
    width: calc(100vw - 4rem);
}

.toast-item[b-79widfoakq] {
    background: rgba(13, 12, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-item.show[b-79widfoakq] {
    transform: translateX(0);
    opacity: 1;
}

.toast-item.hide[b-79widfoakq] {
    transform: translateX(120%);
    opacity: 0;
}

.toast-content[b-79widfoakq] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast-content .icon[b-79widfoakq] {
    font-size: 1.5rem;
}

.toast-content .message[b-79widfoakq] {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    font-weight: 550;
    color: #e2e8f0;
    line-height: 1.4;
}

.toast-item .close-btn[b-79widfoakq] {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.toast-item .close-btn:hover[b-79widfoakq] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* Toast Color Variations */
.toast-item.success[b-79widfoakq] {
    border-left: 4px solid var(--success);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15), 0 0 15px rgba(16, 185, 129, 0.1);
}

.toast-item.success .icon[b-79widfoakq] {
    color: var(--success);
}

.toast-item.error[b-79widfoakq] {
    border-left: 4px solid var(--error);
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.15), 0 0 15px rgba(244, 63, 94, 0.1);
}

.toast-item.error .icon[b-79widfoakq] {
    color: var(--error);
}

.toast-item.warning[b-79widfoakq] {
    border-left: 4px solid var(--warning);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15), 0 0 15px rgba(245, 158, 11, 0.1);
}

.toast-item.warning .icon[b-79widfoakq] {
    color: var(--warning);
}

.toast-item.info[b-79widfoakq] {
    border-left: 4px solid var(--accent);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15), 0 0 15px rgba(6, 182, 212, 0.1);
}

.toast-item.info .icon[b-79widfoakq] {
    color: var(--accent);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .register-card[b-79widfoakq] {
        border-radius: 20px;
    }

    .card-header[b-79widfoakq] {
        padding: 1.5rem 1.5rem 1rem;
    }

    .card-body[b-79widfoakq] {
        padding: 1.5rem;
    }

    .card-footer[b-79widfoakq] {
        padding: 1.25rem 1.5rem;
    }

    .form-group[b-79widfoakq] {
        grid-column: span 12;
    }

    .req-grid[b-79widfoakq] {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .toast-container[b-79widfoakq] {
        top: 1rem;
        right: 1rem;
        width: calc(100vw - 2rem);
    }
}

/* --- Theme Selection Toggle Button --- */
.theme-toggle-btn[b-79widfoakq] {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    user-select: none;
    z-index: 10;
}

.theme-toggle-btn span[b-79widfoakq] {
    color: inherit !important;
}

.theme-toggle-btn:hover[b-79widfoakq] {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.theme-toggle-btn span.material-icons-outlined[b-79widfoakq] {
    font-size: 1.15rem;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.theme-toggle-btn:hover span.material-icons-outlined[b-79widfoakq] {
    transform: rotate(45deg);
}

.register-container.light-theme .theme-toggle-btn[b-79widfoakq] {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    color: #0f172a !important;
}

.register-container.light-theme .theme-toggle-btn:hover[b-79widfoakq] {
    background: rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

/* --- Multi-Product Checkbox List --- */
.product-checkbox-grid[b-79widfoakq] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 0.4rem;
    width: 100%;
}

.product-checkbox-card[b-79widfoakq] {
    background: rgba(13, 12, 29, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-checkbox-card:hover[b-79widfoakq] {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.product-checkbox-card.active[b-79widfoakq] {
    background: rgba(6, 182, 212, 0.08);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2), inset 0 0 10px rgba(6, 182, 212, 0.05);
}

.checkbox-custom span[b-79widfoakq] {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.2s, transform 0.2s;
}

.product-checkbox-card.active .checkbox-custom span[b-79widfoakq] {
    color: var(--accent);
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
    transform: scale(1.05);
}

.product-info[b-79widfoakq] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.product-info .product-name[b-79widfoakq] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f1f5f9;
}

.product-info .product-code[b-79widfoakq] {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    font-family: var(--font-secondary);
}

.product-error-alert[b-79widfoakq] {
    background: rgba(244, 63, 94, 0.05);
    border: 1px dashed rgba(244, 63, 94, 0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    color: #fda4af;
    font-size: 0.85rem;
    grid-column: 1 / -1;
}

.register-container.light-theme .product-checkbox-card[b-79widfoakq] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

.register-container.light-theme .product-checkbox-card:hover[b-79widfoakq] {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

.register-container.light-theme .product-checkbox-card.active[b-79widfoakq] {
    background: rgba(99, 102, 241, 0.1) !important;
    border-color: #6366f1 !important;
}

/* Custom Theme Container Overrides */
.register-container[b-79widfoakq] {
    background: var(--bg-dark-gradient) !important;
    background-color: var(--bg-dark) !important;
    color: var(--text-main) !important;
}

/* Dark theme explicit text colors */
.register-container .page-title[b-79widfoakq],
.register-container .modal-title[b-79widfoakq],
.register-container h2[b-79widfoakq],
.register-container h3[b-79widfoakq] {
    color: #ffffff;
}

.register-container .page-subtitle[b-79widfoakq],
.register-container .modal-subtitle[b-79widfoakq],
.register-container p[b-79widfoakq] {
    color: #94a3b8;
}

.register-container .form-label[b-79widfoakq] {
    color: #cbd5e1;
}

/* Light theme explicit text colors */
.register-container.light-theme .register-card[b-79widfoakq] {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
}

.register-container.light-theme .page-title[b-79widfoakq],
.register-container.light-theme .modal-title[b-79widfoakq],
.register-container.light-theme h2[b-79widfoakq],
.register-container.light-theme h3[b-79widfoakq] {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

.register-container.light-theme .page-subtitle[b-79widfoakq],
.register-container.light-theme .modal-subtitle[b-79widfoakq],
.register-container.light-theme p[b-79widfoakq] {
    color: #475569 !important;
}

.register-container.light-theme .product-name[b-79widfoakq] {
    color: #0f172a !important;
}

.register-container.light-theme .product-code[b-79widfoakq] {
    color: #64748b !important;
}

.register-container.light-theme .card-footer[b-79widfoakq] {
    background: #ffffff !important;
    border-top: 1px solid #cbd5e1 !important;
}

.register-container.light-theme .checkbox-custom span[b-79widfoakq] {
    color: rgba(15, 23, 42, 0.3) !important;
}

.register-container.light-theme .product-checkbox-card.active .checkbox-custom span[b-79widfoakq] {
    color: #6366f1 !important;
    text-shadow: none !important;
}
/* /Components/Pages/ReimbursementCompanyMaster.razor.rz.scp.css */
.referral-page[b-lef72xf4px] {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    padding: 0;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.flex-between[b-lef72xf4px] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-lef72xf4px] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-lef72xf4px] {
    display: flex;
}

.align-center[b-lef72xf4px] {
    align-items: center;
}

.flex-center[b-lef72xf4px] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-lef72xf4px] {
    gap: 8px;
}

.gap-12[b-lef72xf4px] {
    gap: 12px;
}

.gap-16[b-lef72xf4px] {
    gap: 16px;
}

.p-2[b-lef72xf4px] {
    padding: 8px;
}

.p-4[b-lef72xf4px] {
    padding: 16px;
}

.p-48[b-lef72xf4px] {
    padding: 48px;
}

.rounded-lg[b-lef72xf4px] {
    border-radius: 8px;
}

.shadow-sm[b-lef72xf4px] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-lef72xf4px] {
    margin: 0;
}

.mt-2px[b-lef72xf4px] {
    margin-top: 2px;
}

.mb-0[b-lef72xf4px] {
    margin-bottom: 0;
}

.mt-0[b-lef72xf4px] {
    margin-top: 0;
}

.relative-positioned[b-lef72xf4px] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-lef72xf4px] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04);
    padding: 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
}

.lab-title-text[b-lef72xf4px] {
    color: #312e81;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-lef72xf4px] {
    background-color: #eef2ff;
}

.text-indigo-600[b-lef72xf4px] {
    color: #4f46e5;
}

.icon-lg[b-lef72xf4px] {
    font-size: 24px;
}

.status-pulse-dot[b-lef72xf4px] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-lef72xf4px 2s infinite;
}

.status-text[b-lef72xf4px] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-lef72xf4px] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-lef72xf4px] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-lef72xf4px] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-lef72xf4px] {
    width: 220px;
}

.btn-new-entry[b-lef72xf4px] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-lef72xf4px] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-lef72xf4px] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.lc-table-container[b-lef72xf4px] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-lef72xf4px] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-lef72xf4px] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-lef72xf4px] {
    padding: 1rem 1.5rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lc-table td[b-lef72xf4px] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    vertical-align: middle;
}

.lc-table tbody tr:last-child td[b-lef72xf4px] {
    border-bottom: none;
}

.lc-table-row:hover[b-lef72xf4px] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-lef72xf4px] {
    font-weight: 700;
}

.text-indigo-600[b-lef72xf4px] {
    color: #4f46e5;
}

.lc-color-slate-500[b-lef72xf4px] {
    color: #64748b;
}

.lc-font-mono[b-lef72xf4px] {
    font-family: monospace;
}

.lc-font-700[b-lef72xf4px] {
    font-weight: 700;
}

.lc-font-13[b-lef72xf4px] {
    font-size: 13px;
}

.text-slate-800[b-lef72xf4px] {
    color: #1e293b;
}

.text-slate-500[b-lef72xf4px] {
    color: #64748b;
}

.text-slate-400[b-lef72xf4px] {
    color: #94a3b8;
}

.font-12[b-lef72xf4px] {
    font-size: 12px;
}

.font-18[b-lef72xf4px] {
    font-size: 18px;
}

.italic[b-lef72xf4px] {
    font-style: italic;
}

/* Action buttons */
.lc-btn[b-lef72xf4px] {
    padding: 8px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-lef72xf4px] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-lef72xf4px] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-lef72xf4px] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-lef72xf4px] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-lef72xf4px] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-lef72xf4px 0.3s ease-out;
}

.modal-header-bar[b-lef72xf4px] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-lef72xf4px] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-lef72xf4px] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-lef72xf4px] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-lef72xf4px] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-section[b-lef72xf4px] {
    margin-bottom: 0;
}

.form-group[b-lef72xf4px] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-lef72xf4px] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-input[b-lef72xf4px] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
}

.lab-input:focus[b-lef72xf4px] {
    outline: none;
    border-color: #4f46e5;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.um-grid-row[b-lef72xf4px] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.um-grid-cols-2[b-lef72xf4px] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-3[b-lef72xf4px] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-4[b-lef72xf4px] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.modal-footer-bar[b-lef72xf4px] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-lef72xf4px] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-lef72xf4px] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-lef72xf4px] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-delete[b-lef72xf4px] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.btn-delete:hover:not(:disabled)[b-lef72xf4px] {
    text-decoration: underline;
}

.btn-delete:disabled[b-lef72xf4px] {
    opacity: 0.4;
    cursor: not-allowed;
}

.text-danger[b-lef72xf4px] {
    color: #ef4444;
}

.alert[b-lef72xf4px] {
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
}

.alert-danger[b-lef72xf4px] {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success[b-lef72xf4px] {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

/* Animations */
@keyframes lc-pulse-b-lef72xf4px {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-lef72xf4px] {
    animation: lc-fadeInUp-b-lef72xf4px 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-lef72xf4px {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR REIMBURSEMENT COMPANY MASTER
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .referral-page[b-lef72xf4px],
[data-theme="dark"] .referral-page[b-lef72xf4px] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-lef72xf4px],
[data-theme="dark"] .lab-header-card[b-lef72xf4px] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-lef72xf4px],
:host-context([data-theme="dark"]) .modal-header-bar h3[b-lef72xf4px],
:host-context([data-theme="dark"]) .text-slate-800[b-lef72xf4px],
[data-theme="dark"] .lab-title-text[b-lef72xf4px],
[data-theme="dark"] .modal-header-bar h3[b-lef72xf4px],
[data-theme="dark"] .text-slate-800[b-lef72xf4px] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .bg-indigo-50[b-lef72xf4px],
[data-theme="dark"] .bg-indigo-50[b-lef72xf4px] {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .text-indigo-600[b-lef72xf4px],
[data-theme="dark"] .text-indigo-600[b-lef72xf4px] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .status-text[b-lef72xf4px],
:host-context([data-theme="dark"]) .text-slate-500[b-lef72xf4px],
:host-context([data-theme="dark"]) .text-slate-400[b-lef72xf4px],
:host-context([data-theme="dark"]) .lc-color-slate-500[b-lef72xf4px],
:host-context([data-theme="dark"]) .form-group label[b-lef72xf4px],
[data-theme="dark"] .status-text[b-lef72xf4px],
[data-theme="dark"] .text-slate-500[b-lef72xf4px],
[data-theme="dark"] .text-slate-400[b-lef72xf4px],
[data-theme="dark"] .lc-color-slate-500[b-lef72xf4px],
[data-theme="dark"] .form-group label[b-lef72xf4px] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input[b-lef72xf4px],
[data-theme="dark"] .lc-rounded-pill-input[b-lef72xf4px] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .directory-section[b-lef72xf4px],
:host-context([data-theme="dark"]) .modal-form-card[b-lef72xf4px],
[data-theme="dark"] .directory-section[b-lef72xf4px],
[data-theme="dark"] .modal-form-card[b-lef72xf4px] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lc-table thead tr[b-lef72xf4px],
:host-context([data-theme="dark"]) .lc-table th[b-lef72xf4px],
[data-theme="dark"] .lc-table thead tr[b-lef72xf4px],
[data-theme="dark"] .lc-table th[b-lef72xf4px] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-table td[b-lef72xf4px],
[data-theme="dark"] .lc-table td[b-lef72xf4px] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .lc-table-row:hover td[b-lef72xf4px],
[data-theme="dark"] .lc-table-row:hover td[b-lef72xf4px] {
    background-color: #0f172a !important;
}

:host-context([data-theme="dark"]) .lc-btn[b-lef72xf4px],
[data-theme="dark"] .lc-btn[b-lef72xf4px] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .lc-btn:hover[b-lef72xf4px],
[data-theme="dark"] .lc-btn:hover[b-lef72xf4px] {
    background: #1e293b !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .modal-header-bar[b-lef72xf4px],
:host-context([data-theme="dark"]) .modal-body[b-lef72xf4px],
:host-context([data-theme="dark"]) .modal-footer-bar[b-lef72xf4px],
[data-theme="dark"] .modal-header-bar[b-lef72xf4px],
[data-theme="dark"] .modal-body[b-lef72xf4px],
[data-theme="dark"] .modal-footer-bar[b-lef72xf4px] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-input[b-lef72xf4px],
[data-theme="dark"] .lab-input[b-lef72xf4px] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

/* Master dashboard theme */
:global(.main-content):has(.rcm-page)[b-lef72xf4px] { 
    height: calc(100vh - 35px) !important; 
    max-height: calc(100vh - 35px) !important; 
    overflow: hidden !important; 
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important; 
    background: #f1f5fb !important; 
}
.referral-page.rcm-page[b-lef72xf4px] { 
    height: 100% !important; 
    max-height: 100% !important; 
    min-height: 0 !important; 
    overflow: hidden !important; 
    padding: 0 !important; 
    gap: 0.35rem !important; 
    background: #f1f5fb !important; 
}
.lab-header-card[b-lef72xf4px] { flex: 0 0 auto !important; padding: 0.35rem 0.75rem !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.icon-box-container[b-lef72xf4px] { background: #e4f4ff !important; }
.text-indigo-600[b-lef72xf4px] { color: #0876ad !important; }
.lab-title-text[b-lef72xf4px] { color: #07547c !important; font-size: 1.7rem !important; font-weight: 800 !important; }
.status-text[b-lef72xf4px] { color: #647b90 !important; font-size: .78rem !important; text-transform: none !important; letter-spacing: 0 !important; }
.lc-rounded-pill-input[b-lef72xf4px] { width: 280px !important; height: 36px !important; border-radius: 8px !important; border-color: #cbd9e8 !important; }
.btn-new-entry[b-lef72xf4px] { height: 36px !important; padding: 0 1.15rem !important; border-radius: 8px !important; background: #087bb5 !important; }
.directory-section[b-lef72xf4px] { flex: 1 1 auto !important; min-height: 0 !important; margin: 0 !important; border: 1px solid #dfe7f1 !important; border-radius: 8px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; background: #fff !important; }
.lc-table-container[b-lef72xf4px] { 
    flex: 1 1 auto !important; 
    min-height: 0 !important; 
    max-height: calc(100vh - 170px) !important; 
    overflow-y: auto !important; 
    overflow-x: auto !important; 
}
.lc-table-container[b-lef72xf4px]::-webkit-scrollbar {
    width: 7px !important;
    height: 7px !important;
    display: block !important;
}
.lc-table-container[b-lef72xf4px]::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
    border-radius: 4px !important;
}
.lc-table-container[b-lef72xf4px]::-webkit-scrollbar-thumb {
    background: #94a3b8 !important;
    border-radius: 4px !important;
}
.lc-table-container[b-lef72xf4px]::-webkit-scrollbar-thumb:hover {
    background: #64748b !important;
}
.lc-table thead tr[b-lef72xf4px] { height: 32px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; border-bottom: 1px solid #07547c !important; }
.lc-table th[b-lef72xf4px] { 
    height: 32px !important; 
    padding: 4px 8px !important; 
    color: #fff !important; 
    background: transparent !important; 
    font-size: 11px !important; 
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-bottom: 1px solid #07547c !important;
    vertical-align: middle !important;
}
.lc-table th:last-child[b-lef72xf4px] { border-right: none !important; }
.lc-table td[b-lef72xf4px] { height: 34px !important; padding: 4px 8px !important; border-bottom: 1px solid #edf2f7 !important; border-right: 1px solid #f8fafc !important; font-size: 11.5px !important; color: #334155 !important; vertical-align: middle !important; }
.lc-table tbody tr[b-lef72xf4px] { height: 34px !important; background: #fff !important; }
.lc-table tbody tr:nth-child(even)[b-lef72xf4px] { background: #fcfdfe !important; }
.lc-table-row:hover[b-lef72xf4px] { background: #f0fdfa !important; }
.text-slate-800[b-lef72xf4px] { color: #1e293b !important; }
.lc-btn[b-lef72xf4px], .lc-circle-btn-32[b-lef72xf4px] { width: 28px !important; height: 28px !important; padding: 0 !important; border: 1px solid #dbe8f3 !important; border-radius: 8px !important; background: #f8fbff !important; color: #0876ad !important; }
/* /Components/Pages/ReportMethodMaster.razor.rz.scp.css */
.referral-page[b-mzv9g255v6] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-mzv9g255v6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-mzv9g255v6] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-mzv9g255v6] {
    display: flex;
}

.align-center[b-mzv9g255v6] {
    align-items: center;
}

.flex-center[b-mzv9g255v6] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-mzv9g255v6] {
    gap: 8px;
}

.gap-12[b-mzv9g255v6] {
    gap: 12px;
}

.gap-16[b-mzv9g255v6] {
    gap: 16px;
}

.p-2[b-mzv9g255v6] {
    padding: 8px;
}

.p-4[b-mzv9g255v6] {
    padding: 16px;
}

.p-48[b-mzv9g255v6] {
    padding: 48px;
}

.rounded-lg[b-mzv9g255v6] {
    border-radius: 8px;
}

.shadow-sm[b-mzv9g255v6] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-mzv9g255v6] {
    margin: 0;
}

.mt-2px[b-mzv9g255v6] {
    margin-top: 2px;
}

.mb-0[b-mzv9g255v6] {
    margin-bottom: 0;
}

.mt-0[b-mzv9g255v6] {
    margin-top: 0;
}

.relative-positioned[b-mzv9g255v6] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-mzv9g255v6] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04);
    padding: 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
}

.lab-title-text[b-mzv9g255v6] {
    color: #312e81;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-mzv9g255v6] {
    background-color: #eef2ff;
}

.text-indigo-600[b-mzv9g255v6] {
    color: #4f46e5;
}

.icon-lg[b-mzv9g255v6] {
    font-size: 24px;
}

.status-pulse-dot[b-mzv9g255v6] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-mzv9g255v6 2s infinite;
}

.status-text[b-mzv9g255v6] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-mzv9g255v6] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-mzv9g255v6] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-mzv9g255v6] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-mzv9g255v6] {
    width: 220px;
}

.btn-new-entry[b-mzv9g255v6] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-mzv9g255v6] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-mzv9g255v6] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.lc-table-container[b-mzv9g255v6] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-mzv9g255v6] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-mzv9g255v6] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-mzv9g255v6] {
    padding: 1rem 1.5rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lc-table td[b-mzv9g255v6] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    vertical-align: middle;
}

.lc-table tbody tr:last-child td[b-mzv9g255v6] {
    border-bottom: none;
}

.lc-table-row:hover[b-mzv9g255v6] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-mzv9g255v6] {
    font-weight: 700;
}

.text-indigo-600[b-mzv9g255v6] {
    color: #4f46e5;
}

.lc-color-slate-500[b-mzv9g255v6] {
    color: #64748b;
}

.lc-font-mono[b-mzv9g255v6] {
    font-family: monospace;
}

.lc-font-700[b-mzv9g255v6] {
    font-weight: 700;
}

.lc-font-13[b-mzv9g255v6] {
    font-size: 13px;
}

.text-slate-800[b-mzv9g255v6] {
    color: #1e293b;
}

.text-slate-500[b-mzv9g255v6] {
    color: #64748b;
}

.text-slate-400[b-mzv9g255v6] {
    color: #94a3b8;
}

.font-12[b-mzv9g255v6] {
    font-size: 12px;
}

.font-18[b-mzv9g255v6] {
    font-size: 18px;
}

.italic[b-mzv9g255v6] {
    font-style: italic;
}

/* Action buttons */
.lc-btn[b-mzv9g255v6] {
    padding: 8px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-mzv9g255v6] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-mzv9g255v6] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-mzv9g255v6] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-mzv9g255v6] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-mzv9g255v6] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-mzv9g255v6 0.3s ease-out;
}

.modal-header-bar[b-mzv9g255v6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-mzv9g255v6] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-mzv9g255v6] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-mzv9g255v6] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-mzv9g255v6] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-section[b-mzv9g255v6] {
    margin-bottom: 0;
}

.form-group[b-mzv9g255v6] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-mzv9g255v6] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[b-mzv9g255v6] .lab-input {
    width: 100%;
    height: 2.5rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: #334155;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

[b-mzv9g255v6] select.lab-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23cbd5e1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

[b-mzv9g255v6] textarea.lab-input {
    height: auto;
    min-height: 80px;
    padding: 10px 16px;
    resize: vertical;
}

[b-mzv9g255v6] .lab-input:focus {
    background-color: #ffffff;
    border-color: #cbd5e1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(200, 213, 225, 0.15);
}

.um-grid-row[b-mzv9g255v6] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.um-grid-cols-2[b-mzv9g255v6] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-3[b-mzv9g255v6] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.modal-footer-bar[b-mzv9g255v6] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-mzv9g255v6] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-mzv9g255v6] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-mzv9g255v6] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-delete[b-mzv9g255v6] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.btn-delete:hover:not(:disabled)[b-mzv9g255v6] {
    text-decoration: underline;
}

.btn-delete:disabled[b-mzv9g255v6] {
    opacity: 0.4;
    cursor: not-allowed;
}

.text-danger[b-mzv9g255v6] {
    color: #ef4444;
}

.alert[b-mzv9g255v6] {
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
}

.alert-danger[b-mzv9g255v6] {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success[b-mzv9g255v6] {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

/* Animations */
@keyframes lc-pulse-b-mzv9g255v6 {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-mzv9g255v6] {
    animation: lc-fadeInUp-b-mzv9g255v6 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-mzv9g255v6 {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   DARK MODE OVERRIDES FOR REPORT METHOD MASTER
   ========================================================================== */

:host-context([data-theme="dark"]) .referral-page[b-mzv9g255v6],
[data-theme="dark"] .referral-page[b-mzv9g255v6] {
    background-color: #090d16 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-mzv9g255v6],
[data-theme="dark"] .lab-header-card[b-mzv9g255v6] {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-mzv9g255v6],
[data-theme="dark"] .lab-title-text[b-mzv9g255v6] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .bg-indigo-50[b-mzv9g255v6],
[data-theme="dark"] .bg-indigo-50[b-mzv9g255v6] {
    background-color: #0f172a !important;
}

:host-context([data-theme="dark"]) .status-text[b-mzv9g255v6],
[data-theme="dark"] .status-text[b-mzv9g255v6] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input[b-mzv9g255v6],
[data-theme="dark"] .lc-rounded-pill-input[b-mzv9g255v6] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input:focus[b-mzv9g255v6],
[data-theme="dark"] .lc-rounded-pill-input:focus[b-mzv9g255v6] {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
}

:host-context([data-theme="dark"]) .directory-section[b-mzv9g255v6],
[data-theme="dark"] .directory-section[b-mzv9g255v6] {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table thead tr[b-mzv9g255v6],
[data-theme="dark"] .lc-table thead tr[b-mzv9g255v6] {
    background: #0f172a !important;
    border-bottom: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table th[b-mzv9g255v6],
[data-theme="dark"] .lc-table th[b-mzv9g255v6] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-table td[b-mzv9g255v6],
[data-theme="dark"] .lc-table td[b-mzv9g255v6] {
    border-bottom: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .text-slate-800[b-mzv9g255v6],
[data-theme="dark"] .text-slate-800[b-mzv9g255v6] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .text-slate-500[b-mzv9g255v6],
[data-theme="dark"] .text-slate-500[b-mzv9g255v6],
:host-context([data-theme="dark"]) .lc-color-slate-500[b-mzv9g255v6],
[data-theme="dark"] .lc-color-slate-500[b-mzv9g255v6] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .text-slate-400[b-mzv9g255v6],
[data-theme="dark"] .text-slate-400[b-mzv9g255v6] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lc-table-row:hover[b-mzv9g255v6],
[data-theme="dark"] .lc-table-row:hover[b-mzv9g255v6] {
    background: #334155 !important;
}

:host-context([data-theme="dark"]) .lc-btn[b-mzv9g255v6],
[data-theme="dark"] .lc-btn[b-mzv9g255v6] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .lc-btn:hover[b-mzv9g255v6],
[data-theme="dark"] .lc-btn:hover[b-mzv9g255v6] {
    background: #334155 !important;
    border-color: #475569 !important;
}

/* Modal Dark Mode */
:host-context([data-theme="dark"]) .modal-form-card[b-mzv9g255v6],
[data-theme="dark"] .modal-form-card[b-mzv9g255v6] {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.7) !important;
}

:host-context([data-theme="dark"]) .modal-header-bar[b-mzv9g255v6],
[data-theme="dark"] .modal-header-bar[b-mzv9g255v6] {
    background-color: #1e293b !important;
    border-bottom: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header-bar h3[b-mzv9g255v6],
[data-theme="dark"] .modal-header-bar h3[b-mzv9g255v6] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-body[b-mzv9g255v6],
[data-theme="dark"] .modal-body[b-mzv9g255v6] {
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .modal-footer-bar[b-mzv9g255v6],
[data-theme="dark"] .modal-footer-bar[b-mzv9g255v6] {
    background-color: #0f172a !important;
    border-top: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .form-group label[b-mzv9g255v6],
[data-theme="dark"] .form-group label[b-mzv9g255v6] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"])[b-mzv9g255v6]  .lab-input,
[data-theme="dark"][b-mzv9g255v6]  .lab-input,
:host-context([data-theme="dark"]) .lab-input[b-mzv9g255v6],
[data-theme="dark"] .lab-input[b-mzv9g255v6] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"])[b-mzv9g255v6]  .lab-input:focus,
[data-theme="dark"][b-mzv9g255v6]  .lab-input:focus,
:host-context([data-theme="dark"]) .lab-input:focus[b-mzv9g255v6],
[data-theme="dark"] .lab-input:focus[b-mzv9g255v6] {
    background-color: #1e293b !important;
    border-color: #6366f1 !important;
}
/* Master dashboard theme */
:global(.main-content):has(.referral-page)[b-mzv9g255v6] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.referral-page[b-mzv9g255v6] { height: calc(100vh - 1.5rem) !important; min-height: 0 !important; padding: 0 !important; gap: .6rem !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.lab-header-card[b-mzv9g255v6] { flex: 0 0 78px !important; padding: .15rem 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.icon-box-container[b-mzv9g255v6] { background: #e4f4ff !important; }
.text-indigo-600[b-mzv9g255v6] { color: #0876ad !important; }
.lab-title-text[b-mzv9g255v6] { color: #07547c !important; font-size: 1.85rem !important; font-weight: 800 !important; }
.status-text[b-mzv9g255v6] { color: #647b90 !important; font-size: .78rem !important; text-transform: none !important; letter-spacing: 0 !important; }
.lc-rounded-pill-input[b-mzv9g255v6] { width: 280px !important; height: 40px !important; border-radius: 10px !important; border-color: #cbd9e8 !important; }
.btn-new-entry[b-mzv9g255v6] { height: 40px !important; padding: 0 1.15rem !important; border-radius: 10px !important; background: #087bb5 !important; }
.directory-section[b-mzv9g255v6] { flex: 1 1 auto !important; min-height: 0 !important; margin: 0 !important; border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; background: #fff !important; }
.lc-table-container[b-mzv9g255v6] { max-height: none !important; overflow: auto !important; }
.lc-table thead tr[b-mzv9g255v6] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.lc-table th[b-mzv9g255v6] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.lc-table td[b-mzv9g255v6] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.lc-table tbody tr[b-mzv9g255v6] { height: 44px !important; background: #fff !important; }
.lc-table tbody tr:nth-child(even)[b-mzv9g255v6] { background: #f8fbfe !important; }
.lc-table-row:hover[b-mzv9g255v6] { background: #f0f8ff !important; }
.text-slate-800[b-mzv9g255v6] { color: #1e293b !important; }
.lc-btn[b-mzv9g255v6], .lc-circle-btn-32[b-mzv9g255v6] { width: 28px !important; height: 28px !important; padding: 0 !important; border: 1px solid #dbe8f3 !important; border-radius: 8px !important; background: #f8fbff !important; color: #0876ad !important; }
/* /Components/Pages/RoomTypeMaster.razor.rz.scp.css */
.referral-page[b-polaj8js5z] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-polaj8js5z] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-polaj8js5z] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-polaj8js5z] {
    display: flex;
}

.align-center[b-polaj8js5z] {
    align-items: center;
}

.flex-center[b-polaj8js5z] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-polaj8js5z] {
    gap: 8px;
}

.gap-12[b-polaj8js5z] {
    gap: 12px;
}

.gap-16[b-polaj8js5z] {
    gap: 16px;
}

.p-2[b-polaj8js5z] {
    padding: 8px;
}

.p-4[b-polaj8js5z] {
    padding: 16px;
}

.p-48[b-polaj8js5z] {
    padding: 48px;
}

.rounded-lg[b-polaj8js5z] {
    border-radius: 8px;
}

.shadow-sm[b-polaj8js5z] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-polaj8js5z] {
    margin: 0;
}

.mt-2px[b-polaj8js5z] {
    margin-top: 2px;
}

.mb-0[b-polaj8js5z] {
    margin-bottom: 0;
}

.mt-0[b-polaj8js5z] {
    margin-top: 0;
}

.relative-positioned[b-polaj8js5z] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-polaj8js5z] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04);
    padding: 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
}

.lab-title-text[b-polaj8js5z] {
    color: #312e81;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-polaj8js5z] {
    background-color: #eef2ff;
}

.text-indigo-600[b-polaj8js5z] {
    color: #4f46e5;
}

.icon-lg[b-polaj8js5z] {
    font-size: 24px;
}

.status-pulse-dot[b-polaj8js5z] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-polaj8js5z 2s infinite;
}

.status-text[b-polaj8js5z] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-polaj8js5z] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-polaj8js5z] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-polaj8js5z] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-polaj8js5z] {
    width: 220px;
}

.btn-new-entry[b-polaj8js5z] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-polaj8js5z] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-polaj8js5z] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.lc-table-container[b-polaj8js5z] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-polaj8js5z] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-polaj8js5z] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-polaj8js5z] {
    padding: 1rem 1.5rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lc-table td[b-polaj8js5z] {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    vertical-align: middle;
}

.lc-table tbody tr:last-child td[b-polaj8js5z] {
    border-bottom: none;
}

.lc-table-row:hover[b-polaj8js5z] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-polaj8js5z] {
    font-weight: 700;
}

.text-indigo-600[b-polaj8js5z] {
    color: #4f46e5;
}

.lc-color-slate-500[b-polaj8js5z] {
    color: #64748b;
}

.lc-font-mono[b-polaj8js5z] {
    font-family: monospace;
}

.lc-font-700[b-polaj8js5z] {
    font-weight: 700;
}

.lc-font-13[b-polaj8js5z] {
    font-size: 13px;
}

.text-slate-800[b-polaj8js5z] {
    color: #1e293b;
}

.text-slate-700[b-polaj8js5z] {
    color: #334155;
}

.text-slate-600[b-polaj8js5z] {
    color: #475569;
}

.text-slate-500[b-polaj8js5z] {
    color: #64748b;
}

.text-slate-400[b-polaj8js5z] {
    color: #94a3b8;
}

.font-12[b-polaj8js5z] {
    font-size: 12px;
}

.font-18[b-polaj8js5z] {
    font-size: 18px;
}

.italic[b-polaj8js5z] {
    font-style: italic;
}

/* Action buttons */
.lc-btn[b-polaj8js5z] {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-polaj8js5z] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-polaj8js5z] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-polaj8js5z] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-polaj8js5z] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-polaj8js5z] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 800px;
    max-height: 95vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-polaj8js5z 0.3s ease-out;
}

.modal-header-bar[b-polaj8js5z] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-polaj8js5z] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-polaj8js5z] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-polaj8js5z] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-polaj8js5z] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-section[b-polaj8js5z] {
    margin-bottom: 0;
}

.form-group[b-polaj8js5z] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-polaj8js5z] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-input[b-polaj8js5z] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
}

.lab-input:focus[b-polaj8js5z] {
    outline: none;
    border-color: #4f46e5;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.um-grid-row[b-polaj8js5z] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.um-grid-cols-4[b-polaj8js5z] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-5[b-polaj8js5z] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-2[b-polaj8js5z] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.modal-footer-bar[b-polaj8js5z] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-polaj8js5z] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-polaj8js5z] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-polaj8js5z] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-delete[b-polaj8js5z] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.btn-delete:hover:not(:disabled)[b-polaj8js5z] {
    text-decoration: underline;
}

.btn-delete:disabled[b-polaj8js5z] {
    opacity: 0.4;
    cursor: not-allowed;
}

.text-danger[b-polaj8js5z] {
    color: #ef4444;
}

/* Animations */
@keyframes lc-pulse-b-polaj8js5z {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-polaj8js5z] {
    animation: lc-fadeInUp-b-polaj8js5z 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-polaj8js5z {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Delete Confirmation Modal */
.delete-confirm-card[b-polaj8js5z] {
    max-width: 450px !important;
}

.delete-confirm-body[b-polaj8js5z] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem !important;
}

.delete-warning-icon[b-polaj8js5z] {
    font-size: 48px !important;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.delete-message[b-polaj8js5z] {
    font-size: 14px;
    color: #475569;
    font-weight: 600;
    margin: 0;
}

.delete-footer-bar[b-polaj8js5z] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 1.25rem 2rem !important;
}

.btn-secondary-outline[b-polaj8js5z] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-secondary-outline:hover[b-polaj8js5z] {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

.btn-danger-filled[b-polaj8js5z] {
    background: #ef4444;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 10px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
    transition: all 0.2s;
}

.btn-danger-filled:hover[b-polaj8js5z] {
    background-color: #dc2626;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR ROOM TYPE MASTER
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .referral-page[b-polaj8js5z],
[data-theme="dark"] .referral-page[b-polaj8js5z] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-polaj8js5z],
[data-theme="dark"] .lab-header-card[b-polaj8js5z] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-polaj8js5z],
[data-theme="dark"] .lab-title-text[b-polaj8js5z] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .status-text[b-polaj8js5z],
[data-theme="dark"] .status-text[b-polaj8js5z] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input[b-polaj8js5z],
[data-theme="dark"] .lc-rounded-pill-input[b-polaj8js5z] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .search-icon i[b-polaj8js5z],
:host-context([data-theme="dark"]) .search-icon span[b-polaj8js5z],
[data-theme="dark"] .search-icon i[b-polaj8js5z],
[data-theme="dark"] .search-icon span[b-polaj8js5z] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .directory-section[b-polaj8js5z],
[data-theme="dark"] .directory-section[b-polaj8js5z] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lc-table thead tr[b-polaj8js5z],
[data-theme="dark"] .lc-table thead tr[b-polaj8js5z] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table th[b-polaj8js5z],
[data-theme="dark"] .lc-table th[b-polaj8js5z] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-table td[b-polaj8js5z],
[data-theme="dark"] .lc-table td[b-polaj8js5z] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .lc-table-row:hover td[b-polaj8js5z],
[data-theme="dark"] .lc-table-row:hover td[b-polaj8js5z] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .lc-btn[b-polaj8js5z],
[data-theme="dark"] .lc-btn[b-polaj8js5z] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-btn:hover[b-polaj8js5z],
[data-theme="dark"] .lc-btn:hover[b-polaj8js5z] {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #7dd3fc !important;
}

:host-context([data-theme="dark"]) .lc-btn span[b-polaj8js5z],
[data-theme="dark"] .lc-btn span[b-polaj8js5z] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .modal-form-card[b-polaj8js5z],
[data-theme="dark"] .modal-form-card[b-polaj8js5z] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-header-bar[b-polaj8js5z],
:host-context([data-theme="dark"]) .modal-body[b-polaj8js5z],
:host-context([data-theme="dark"]) .modal-footer-bar[b-polaj8js5z],
[data-theme="dark"] .modal-header-bar[b-polaj8js5z],
[data-theme="dark"] .modal-body[b-polaj8js5z],
[data-theme="dark"] .modal-footer-bar[b-polaj8js5z] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header-bar h3[b-polaj8js5z],
[data-theme="dark"] .modal-header-bar h3[b-polaj8js5z] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lab-input[b-polaj8js5z],
[data-theme="dark"] .lab-input[b-polaj8js5z] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .form-group label[b-polaj8js5z],
[data-theme="dark"] .form-group label[b-polaj8js5z] {
    color: #cbd5e1 !important;
}

/* Room Type Master dashboard theme */
:global(html:has(.room-type-master-page))[b-polaj8js5z],
:global(body:has(.room-type-master-page))[b-polaj8js5z] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.room-type-master-page))[b-polaj8js5z],
:global(.app-main-wrapper:has(.room-type-master-page))[b-polaj8js5z] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.room-type-master-page)[b-polaj8js5z] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.referral-page.room-type-master-page[b-polaj8js5z] {
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.referral-page.room-type-master-page .lab-header-card[b-polaj8js5z] {
    flex: 0 0 auto !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.referral-page.room-type-master-page .lab-title-text[b-polaj8js5z] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
}

.referral-page.room-type-master-page .status-text[b-polaj8js5z] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.referral-page.room-type-master-page .bg-indigo-50[b-polaj8js5z] {
    background: #e0f2fe !important;
}

.referral-page.room-type-master-page .lc-rounded-pill-input[b-polaj8js5z] {
    width: 260px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    font-size: 0.82rem !important;
    padding: 0 1rem 0 2.2rem !important;
}

.referral-page.room-type-master-page .lc-rounded-pill-input:focus[b-polaj8js5z] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.referral-page.room-type-master-page .btn-new-entry[b-polaj8js5z] {
    height: 36px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

.referral-page.room-type-master-page .btn-new-entry:hover[b-polaj8js5z] {
    background: #05689b !important;
}

.referral-page.room-type-master-page .directory-section[b-polaj8js5z] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.referral-page.room-type-master-page .lc-table-container[b-polaj8js5z] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
}

.referral-page.room-type-master-page .lc-table[b-polaj8js5z] {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.referral-page.room-type-master-page .lc-table thead tr th[b-polaj8js5z],
.referral-page .lc-table th[b-polaj8js5z] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.75rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.room-type-master-page .lc-table thead tr th:last-child[b-polaj8js5z],
.referral-page .lc-table th:last-child[b-polaj8js5z] {
    border-right: none !important;
}

.referral-page.room-type-master-page .lc-table tbody tr[b-polaj8js5z] {
    height: 34px !important;
    min-height: 34px !important;
}

.referral-page.room-type-master-page .lc-table tbody tr:nth-child(even)[b-polaj8js5z] {
    background: #fbfdff !important;
}

.referral-page.room-type-master-page .lc-table-row:hover[b-polaj8js5z] {
    background: #f0f8ff !important;
}

.referral-page.room-type-master-page .lc-table td[b-polaj8js5z] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.75rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    color: #334155 !important;
    font-size: 0.76rem !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.room-type-master-page .lc-btn[b-polaj8js5z] {
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.referral-page.room-type-master-page .lc-btn:hover[b-polaj8js5z] {
    border-color: #bae6fd !important;
    background: #f0f9ff !important;
    color: #0369a1 !important;
}

.referral-page.room-type-master-page .lc-table td:last-child > div[b-polaj8js5z] {
    gap: 0.35rem !important;
}
/* /Components/Pages/SalesMaster.razor.rz.scp.css */
/* Scoped styles for SalesMaster component */

.items-page[b-q1y1f6x9s2] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-q1y1f6x9s2] {
    max-width: 1320px;
    margin: 0 auto;
}

.items-content[b-q1y1f6x9s2] {
    width: min(1240px, 100%);
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-q1y1f6x9s2] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    padding: 1.25rem 2rem;
    color: #1e1b4b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.06);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
    margin-bottom: 1.75rem !important;
}

.pharmacy-billing-header[b-q1y1f6x9s2] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
}

.pharmacy-header-topline[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.pharmacy-header-main[b-q1y1f6x9s2] {
    flex: 0 0 auto;
    width: auto;
}

.pharmacy-header-controls[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    gap: 8px;
}

.pharmacy-header-summary[b-q1y1f6x9s2] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    flex: 0 0 auto;
    width: 100%;
    gap: 8px;
    min-width: 0;
}

.pharmacy-summary-paymode span[b-q1y1f6x9s2] {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sales-billing-summary-shell[b-q1y1f6x9s2] {
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    border: 1px solid #dbe5f0;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
}

.sales-billing-summary-grid[b-q1y1f6x9s2] {
    display: grid;
    grid-template-columns:
        minmax(75px, 0.58fr)
        minmax(90px, 0.72fr)
        minmax(120px, 1fr)
        minmax(140px, 1.1fr)
        minmax(270px, 2fr)
        minmax(125px, 1fr);
    gap: 10px;
    align-items: start;
}

.sales-billing-summary-grid.sales-billing-summary-single[b-q1y1f6x9s2] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sales-summary-field.field-group[b-q1y1f6x9s2] {
    min-width: 0;
    gap: 5px;
    text-align: left;
}

.sales-summary-field .field-label[b-q1y1f6x9s2],
.sales-paymode-allocation > .field-label[b-q1y1f6x9s2] {
    display: block;
    margin-bottom: 0;
    color: #64748b;
    font-size: 0.66rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sales-summary-field > .premium-input[b-q1y1f6x9s2] {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 38px !important;
    padding: 0 8px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #334155 !important;
    font-size: 0.82rem !important;
}

.sales-summary-amount[b-q1y1f6x9s2] {
    min-width: 0;
}

.sales-summary-amount-label[b-q1y1f6x9s2] {
    color: #e11d48 !important;
}

.sales-summary-amount-value[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    height: 38px;
    padding: 0 8px;
    border: 1px solid #fecdd3;
    border-radius: 8px;
    background: #fff7f8;
}

.sales-summary-amount-value span[b-q1y1f6x9s2] {
    color: #dc2626;
    font-size: 0.95rem;
    font-weight: 800;
}

.sales-summary-amount-value input[b-q1y1f6x9s2] {
    flex: 1;
    min-width: 0;
    height: 34px !important;
    padding: 0 6px !important;
    border: 0 !important;
    background: transparent !important;
    color: #dc2626 !important;
    font-size: 0.84rem !important;
    font-weight: 800;
}

.sales-paymode-allocation[b-q1y1f6x9s2] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sales-paymode-rows[b-q1y1f6x9s2] {
    display: grid;
    gap: 8px;
}

.sales-paymode-row[b-q1y1f6x9s2] {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(60px, 0.7fr) 30px;
    gap: 6px;
    align-items: center;
}

.sales-paymode-row .premium-input[b-q1y1f6x9s2] {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 38px !important;
    padding: 0 8px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    font-size: 0.82rem !important;
}

.sales-paymode-select[b-q1y1f6x9s2] {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.sales-paymode-amount[b-q1y1f6x9s2] {
    color: #02659e !important;
    font-weight: 700 !important;
}

.sales-paymode-clear[b-q1y1f6x9s2] {
    display: inline-flex;
    width: 30px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff7f7;
    color: #dc2626;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.sales-paymode-clear:hover[b-q1y1f6x9s2] {
    border-color: #fca5a5;
    background: #fee2e2;
}

.sales-paymode-add[b-q1y1f6x9s2] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin-top: 2px;
    padding: 5px 9px;
    border: 1px dashed #7dd3fc;
    border-radius: 8px;
    background: #f0f9ff;
    color: #0369a1;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.sales-paymode-add:hover[b-q1y1f6x9s2] {
    border-color: #38bdf8;
    background: #e0f2fe;
}

@media (max-width: 1000px) {
    .sales-billing-summary-grid[b-q1y1f6x9s2] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sales-paymode-allocation[b-q1y1f6x9s2] {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {
    .sales-billing-summary-shell[b-q1y1f6x9s2] {
        padding: 9px;
    }

    .sales-billing-summary-grid[b-q1y1f6x9s2],
    .sales-billing-summary-grid.sales-billing-summary-single[b-q1y1f6x9s2] {
        grid-template-columns: minmax(0, 1fr);
    }

    .sales-paymode-allocation[b-q1y1f6x9s2] {
        grid-column: auto;
    }

    .sales-paymode-row[b-q1y1f6x9s2] {
        grid-template-columns: minmax(0, 1fr) minmax(84px, 0.7fr) 30px;
        gap: 6px;
    }

    .sales-paymode-clear[b-q1y1f6x9s2] {
        width: 30px;
        height: 34px;
    }
}

.pharmacy-billing-summary[b-q1y1f6x9s2] {
    margin-bottom: 0;
}

.pharmacy-summary-item[b-q1y1f6x9s2] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    padding: 6px 7px;
    border: 1px solid rgba(99, 102, 241, 0.14);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.72);
    text-align: left;
}

.pharmacy-summary-item span[b-q1y1f6x9s2] {
    color: #64748b;
    font-size: 0.56rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.pharmacy-summary-item strong[b-q1y1f6x9s2] {
    color: #312e81;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.pharmacy-summary-return strong[b-q1y1f6x9s2] {
    color: #dc2626;
}

.pharmacy-summary-collected strong[b-q1y1f6x9s2] {
    color: #047857;
}

.pharmacy-header-filters[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 6px;
}

.pharmacy-header-filters .filter-group[b-q1y1f6x9s2] {
    flex: 0 0 auto;
    height: 34px;
    padding: 0 8px;
}

.pharmacy-header-filters .filter-label[b-q1y1f6x9s2] {
    font-size: 0.7rem;
    margin-right: 2px;
}

.pharmacy-header-filters .filter-label i[b-q1y1f6x9s2] {
    font-size: 0.75rem;
}

.pharmacy-header-filters .filter-select[b-q1y1f6x9s2],
.pharmacy-header-filters .filter-input-date[b-q1y1f6x9s2] {
    font-size: 0.72rem;
}

.pharmacy-header-store-filter[b-q1y1f6x9s2] {
    width: 140px;
}

.pharmacy-header-store-filter .filter-select[b-q1y1f6x9s2] {
    min-width: 0;
    max-width: 92px;
    width: 100%;
}

.pharmacy-header-date-filter[b-q1y1f6x9s2] {
    width: 140px;
}

.pharmacy-header-filters .filter-input-date[b-q1y1f6x9s2] {
    width: 86px;
    min-width: 0;
    font-size: 0.68rem;
}

.pharmacy-header-actions[b-q1y1f6x9s2] {
    min-width: 0;
    flex: 0 0 auto;
    gap: 6px;
    justify-content: flex-end;
}

.pharmacy-header-actions .items-search[b-q1y1f6x9s2] {
    width: 210px;
    height: 34px;
    font-size: 0.74rem;
}

.pharmacy-header-actions .items-search:focus[b-q1y1f6x9s2] {
    width: 210px;
}

.pharmacy-header-actions .items-search-wrap[b-q1y1f6x9s2] {
    flex: 0 0 auto;
}

.pharmacy-header-actions .view-toggle[b-q1y1f6x9s2] {
    height: 34px;
}

.pharmacy-header-actions .view-toggle button[b-q1y1f6x9s2] {
    width: 30px;
    height: 28px;
}

.pharmacy-header-actions .add-item-btn[b-q1y1f6x9s2] {
    min-width: 130px;
    height: 36px;
    justify-content: center;
    padding: 0 10px;
    font-size: 0.72rem;
    white-space: nowrap;
}

.pharmacy-header-add-button[b-q1y1f6x9s2] {
    white-space: nowrap;
}

.pharmacy-header-actions .btn-report-preview[b-q1y1f6x9s2] {
    min-width: 76px;
    height: 34px;
    padding: 0 10px;
    font-size: 0.72rem;
    white-space: nowrap;
}

.header-card-left[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.header-card-icon[b-q1y1f6x9s2] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(99, 102, 241, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
}

.header-card-icon svg[b-q1y1f6x9s2] {
    stroke: #4f46e5;
}

.header-card-text[b-q1y1f6x9s2] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    text-align: left;
}

.header-card-heading[b-q1y1f6x9s2] {
    color: #312e81;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.header-card-subheading[b-q1y1f6x9s2] {
    font-size: 0.62rem;
    font-weight: 700;
    color: #6366f1;
    letter-spacing: 0.35px;
    display: flex;
    align-items: center;
    margin-top: 3px;
    white-space: nowrap;
}

.pharmacy-bill-list-heading[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 18px;
    border-bottom: 1px solid #e8edf5;
    background: linear-gradient(110deg, #f8faff 0%, #ffffff 68%);
    text-align: left;
}

.pharmacy-bill-list-title[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.pharmacy-bill-list-icon[b-q1y1f6x9s2] {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 1rem;
}

.pharmacy-bill-list-title h3[b-q1y1f6x9s2] {
    margin: 0;
    color: #1e293b;
    font-size: 0.94rem;
    font-weight: 750;
    line-height: 1.25;
}

.pharmacy-bill-list-title p[b-q1y1f6x9s2] {
    margin: 3px 0 0;
    color: #64748b;
    font-size: 0.72rem;
    line-height: 1.25;
}

.pharmacy-bill-list-count[b-q1y1f6x9s2] {
    flex: 0 0 auto;
    padding: 5px 10px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.pharmacy-bills-empty[b-q1y1f6x9s2] {
    display: flex;
    min-height: 220px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 30px 16px;
    color: #64748b;
    text-align: center;
}

.pharmacy-bills-empty-icon[b-q1y1f6x9s2] {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 5px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 1.35rem;
}

.pharmacy-bills-empty strong[b-q1y1f6x9s2] {
    color: #334155;
    font-size: 0.95rem;
}

.pharmacy-bills-empty > span:last-of-type[b-q1y1f6x9s2] {
    font-size: 0.78rem;
}

.items-content > .items-main-card[b-q1y1f6x9s2] {
    margin-top: 0.5rem;
}

.status-dot[b-q1y1f6x9s2] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.items-search-wrap[b-q1y1f6x9s2] {
    position: relative;
    display: flex;
    align-items: center;
}

.items-search[b-q1y1f6x9s2] {
    width: 220px;
    height: 38px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
    padding-left: 2.4rem;
    font-size: 0.8rem;
    background: #ffffff;
    color: #1e293b;
    box-shadow: none;
    transition: all 0.25s ease;
}

.items-search:focus[b-q1y1f6x9s2] {
    outline: none;
    width: 280px;
    background: #ffffff;
    color: #1e293b;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.items-search-icon[b-q1y1f6x9s2] {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.view-toggle[b-q1y1f6x9s2] {
    display: inline-flex;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    overflow: hidden;
    background: #f8fafc;
    height: 38px;
    padding: 2px;
    align-items: center;
}

.view-toggle button[b-q1y1f6x9s2] {
    border: 0;
    background: transparent;
    color: #64748b;
    width: 36px;
    height: 32px;
    border-radius: 16px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle button.active[b-q1y1f6x9s2] {
    background: #ffffff;
    color: #4f46e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.add-item-btn[b-q1y1f6x9s2] {
    height: 38px;
    border-radius: 20px;
    background: #4f46e5;
    color: #ffffff;
    border: none;
    padding: 0 1.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    transition: all 0.2s ease-in-out;
}

.add-item-btn:hover[b-q1y1f6x9s2] {
    background: #3f39c5;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
    transform: translateY(-1.5px);
}

.items-main-card[b-q1y1f6x9s2] {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 1.5rem;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
}

.items-main-card .table-responsive[b-q1y1f6x9s2] {
    max-height: calc(100vh - 270px) !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    position: relative !important;
}

.items-table[b-q1y1f6x9s2] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

table.table.items-table thead tr th[b-q1y1f6x9s2],
.items-table th[b-q1y1f6x9s2] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: #f8fafc !important;
    color: #475569 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.74rem;
    letter-spacing: 0.8px;
    padding: 12px 16px;
    border-bottom: 2px solid #e2e8f0;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.items-table td[b-q1y1f6x9s2] {
    border-top: none;
    border-bottom: 1px solid #eef2f6;
    padding: 18px 24px;
    font-size: 0.8rem;
    background: #ffffff;
    color: #64748b;
    vertical-align: middle;
}

.items-table td:last-child[b-q1y1f6x9s2] {
    white-space: nowrap !important;
    text-align: center !important;
}

.items-table tr td:first-child[b-q1y1f6x9s2] {
    color: #3b82f6 !important;
    font-weight: 700 !important;
}

.action-btn[b-q1y1f6x9s2] {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.action-btn:hover[b-q1y1f6x9s2] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.action-btn.btn-report[b-q1y1f6x9s2] {
    color: #4f46e5 !important;
}

.action-btn.btn-report:hover[b-q1y1f6x9s2] {
    background: #eef2ff !important;
    border-color: #c7d2fe !important;
    color: #4338ca !important;
}

.action-btn.btn-edit[b-q1y1f6x9s2] {
    color: #0284c7 !important;
}

.action-btn.btn-edit:hover[b-q1y1f6x9s2] {
    background: #f0f9ff !important;
    border-color: #bae6fd !important;
    color: #0369a1 !important;
}

.action-btn.btn-delete[b-q1y1f6x9s2] {
    color: #ef4444 !important;
}

.action-btn.btn-delete:hover[b-q1y1f6x9s2] {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #dc2626 !important;
}

.action-btn i[b-q1y1f6x9s2] {
    font-size: 0.85rem !important;
}

.items-card-grid[b-q1y1f6x9s2] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.item-card[b-q1y1f6x9s2] {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.item-card:hover[b-q1y1f6x9s2] {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.item-card-head[b-q1y1f6x9s2] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    color: #1e293b !important;
    padding: 0.6rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.1) !important;
}

.card-item-code[b-q1y1f6x9s2] {
    color: #4b5563 !important;
    font-weight: 700 !important;
    margin-right: 6px;
}

.card-item-name[b-q1y1f6x9s2] {
    color: #374151 !important;
    font-weight: 700 !important;
}

.item-card-body[b-q1y1f6x9s2] {
    padding: 0.75rem 1rem !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
}

.detail-row[b-q1y1f6x9s2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.detail-row:last-child[b-q1y1f6x9s2] {
    border-bottom: none !important;
}

.detail-row span[b-q1y1f6x9s2] {
    color: #8a99ad !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.detail-row strong[b-q1y1f6x9s2] {
    color: #000000 !important;
    font-weight: 600 !important;
}

.btn-cancel-modal[b-q1y1f6x9s2] {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: none !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    min-width: 100px !important;
    transition: all 0.2s !important;
}

.btn-cancel-modal:hover[b-q1y1f6x9s2] {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.purchase-bill-wrapper[b-q1y1f6x9s2] {
    display: flex;
    gap: 2.25rem;
    flex-wrap: wrap;
}

.purchase-bill-fields[b-q1y1f6x9s2] {
    flex: 1.5;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.purchase-bill-fields .premium-input[b-q1y1f6x9s2] {
    padding: 0 10px !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
    height: 38px !important;
    line-height: 38px !important;
    background: #f9fafc !important;
    border: 1px solid #e5e7eb !important;
    color: #1f2937 !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.purchase-bill-fields input[type="date"].premium-input[b-q1y1f6x9s2],
.purchase-bill-fields input.premium-input[b-q1y1f6x9s2] {
    padding: 0 10px !important;
    height: 38px !important;
    line-height: normal !important;
    background: #f9fafc !important;
    border: 1px solid #e5e7eb !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.purchase-bill-fields .field-group[b-q1y1f6x9s2] {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 100% !important;
}

.purchase-bill-fields .field-label[b-q1y1f6x9s2] {
    font-size: 0.68rem !important;
    margin-bottom: 4px !important;
    font-weight: 700 !important;
    color: #374151 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.custom-typeahead-dropdown[b-q1y1f6x9s2] {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    width: 100% !important;
    min-width: 320px !important;
    max-height: 260px !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18) !important;
    z-index: 9999 !important;
}

.custom-typeahead-dropdown.item-search-table-dropdown[b-q1y1f6x9s2] {
    min-width: 960px !important;
    width: 960px !important;
    max-width: 95vw !important;
    max-height: 285px !important;
    padding: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border-radius: 2px !important;
    border: 1.5px solid #008080 !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28) !important;
    z-index: 99999 !important;
}

.custom-typeahead-item[b-q1y1f6x9s2] {
    cursor: pointer !important;
    transition: background-color 0.15s ease !important;
}

.custom-typeahead-item:hover[b-q1y1f6x9s2] {
    background-color: #f1f5f9 !important;
}

.purchase-bill-fields .form-grid[b-q1y1f6x9s2] {
    gap: 12px;
}

.purchase-bill-summary[b-q1y1f6x9s2] {
    flex: 0.85;
    min-width: 300px;
    max-width: 320px;
    display: flex;
    align-items: stretch;
}

.purchase-item-entry-card[b-q1y1f6x9s2] {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0.7rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow-x: hidden;
    box-sizing: border-box;
}

.purchase-item-entry-header[b-q1y1f6x9s2] {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(52px, 0.55fr) minmax(60px, 0.65fr) minmax(52px, 0.55fr) minmax(52px, 0.55fr) minmax(80px, 0.9fr) minmax(110px, 1fr);
    gap: 10px;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.purchase-item-entry-label[b-q1y1f6x9s2] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.purchase-item-entry-label span[b-q1y1f6x9s2] {
    color: #ef4444;
}

.purchase-item-entry-fields[b-q1y1f6x9s2] {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(52px, 0.55fr) minmax(60px, 0.65fr) minmax(52px, 0.55fr) minmax(52px, 0.55fr) minmax(80px, 0.9fr) minmax(110px, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
}

.purchase-item-entry-fields>div[b-q1y1f6x9s2],
.purchase-item-entry-header>div[b-q1y1f6x9s2] {
    min-width: 0;
}

.purchase-item-input[b-q1y1f6x9s2] {
    height: 28px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    font-size: 0.65rem;
    padding: 0 6px;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-input:focus[b-q1y1f6x9s2] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    background: #f8fbff;
}

.purchase-item-select[b-q1y1f6x9s2] {
    height: 28px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    font-size: 0.65rem;
    padding: 0 6px;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-select:focus[b-q1y1f6x9s2] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    background: #f8fbff;
}

.purchase-item-add-btn[b-q1y1f6x9s2] {
    background: #10b981;
    color: white;
    border: none;
    border-radius: 6px;
    height: 28px;
    font-weight: 700;
    font-size: 0.65rem;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-add-btn:hover[b-q1y1f6x9s2] {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.purchase-item-add-btn:active[b-q1y1f6x9s2] {
    transform: translateY(0);
}

.purchase-details-wrapper[b-q1y1f6x9s2] {
    width: 100%;
    margin-bottom: 2rem;
}

.purchase-details-link[b-q1y1f6x9s2] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f678f;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.purchase-details-link:hover[b-q1y1f6x9s2] {
    color: #0ea5e9;
    gap: 8px;
}

.purchase-items-table-wrapper[b-q1y1f6x9s2] {
    border: none !important;
    border-radius: 0;
    overflow: visible !important;
    background: white;
    margin-bottom: 0.5rem !important;
    box-shadow: none !important;
}

.purchase-items-table-wrapper table[b-q1y1f6x9s2] {
    table-layout: fixed;
    width: 100%;
}

.purchase-items-table-wrapper .purchase-item-input[b-q1y1f6x9s2],
.purchase-items-table-wrapper .purchase-item-select[b-q1y1f6x9s2] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    height: 26px;
    font-size: 0.65rem;
    padding: 0 6px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    outline: none;
    transition: all 0.2s;
}

.purchase-items-table-wrapper .purchase-item-input:focus[b-q1y1f6x9s2],
.purchase-items-table-wrapper .purchase-item-select:focus[b-q1y1f6x9s2] {
    border-color: #0273b2;
    box-shadow: 0 0 0 2px rgba(2, 115, 178, 0.1);
    background: #f4f8fa;
}

.purchase-items-table-wrapper .purchase-item-select[b-q1y1f6x9s2] {
    min-width: 130px;
}

.purchase-items-table-header[b-q1y1f6x9s2] {
    background: #0273b2 !important;
    border-bottom: none;
}

.purchase-items-table-header th[b-q1y1f6x9s2] {
    font-weight: 700;
    font-size: 0.72rem;
    color: #ffffff !important;
    padding: 12px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.purchase-add-row-wrapper[b-q1y1f6x9s2] {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.purchase-add-row-btn[b-q1y1f6x9s2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 2px dashed #0273b2 !important;
    border-radius: 10px !important;
    background: #f4f8fa !important;
    color: #0273b2 !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.45rem 1.25rem;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.22s ease-in-out;
    box-shadow: 0 2px 4px rgba(2, 115, 178, 0.05);
}

.purchase-add-row-btn:hover[b-q1y1f6x9s2] {
    background: #e6f2fa !important;
    border-color: #015f94 !important;
    color: #015f94 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 115, 178, 0.12);
}

.purchase-add-row-btn i[b-q1y1f6x9s2] {
    font-size: 0.95rem;
    color: #0273b2 !important;
    transition: color 0.22s ease-in-out;
}

.purchase-add-row-btn:hover i[b-q1y1f6x9s2] {
    color: #015f94 !important;
}

.purchase-item-readonly[b-q1y1f6x9s2] {
    display: block;
    width: 100%;
    height: 26px;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0 6px;
    line-height: 24px;
    font-size: 0.65rem;
    color: #475569;
    box-sizing: border-box;
    pointer-events: none;
    user-select: none;
    text-align: right;
}

.purchase-items-table-wrapper .purchase-item-input:disabled[b-q1y1f6x9s2],
.purchase-items-table-wrapper .purchase-item-select:disabled[b-q1y1f6x9s2] {
    pointer-events: none;
    cursor: default;
    background-color: white !important;
    color: #000000 !important;
    border-color: #d1d5db !important;
}

.btn-add-item-blue[b-q1y1f6x9s2] {
    background: #0273b2;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(2, 115, 178, 0.3);
    transition: all 0.2s;
    white-space: nowrap;
    font-size: 0.82rem;
    height: 32px;
}

.btn-add-item-blue:hover[b-q1y1f6x9s2] {
    background: #015c8f;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 115, 178, 0.4);
}

.btn-add-item-blue:active[b-q1y1f6x9s2] {
    transform: translateY(0);
}

.bill-card-premium[b-q1y1f6x9s2] {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 5px solid #3b82f6;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.04);
    transition: all 0.3s ease;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.25rem;
    padding: 0.4rem 0.65rem;
}

.bill-card-premium:hover[b-q1y1f6x9s2] {
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.08);
    border-color: #93c5fd;
    border-left-color: #2563eb;
}

.bill-card-header-premium[b-q1y1f6x9s2] {
    margin-bottom: 0.15rem;
    padding-bottom: 0.35rem;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #4f46e5;
    letter-spacing: 0.8px;
    border-bottom: 1px dashed #bfdbfe;
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-premium-gross[b-q1y1f6x9s2] {
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #1e3a8a !important;
    color: #1e3a8a !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-gross:hover[b-q1y1f6x9s2] {
    transform: translateY(-1.5px);
    background-color: #f1f5f9 !important;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.08);
}

.input-premium-gross:focus[b-q1y1f6x9s2] {
    border-color: #2563eb !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
    outline: none;
}

.input-premium-discount[b-q1y1f6x9s2] {
    background-color: #f0fdf4 !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #059669 !important;
    color: #065f46 !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-discount:hover[b-q1y1f6x9s2] {
    transform: translateY(-1.5px);
    background-color: #ecfdf5 !important;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.08);
}

.input-premium-discount:focus[b-q1y1f6x9s2] {
    border-color: #10b981 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18) !important;
    outline: none;
}

.input-premium-tax[b-q1y1f6x9s2] {
    background-color: #fffbeb !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #d97706 !important;
    color: #92400e !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-tax:hover[b-q1y1f6x9s2] {
    transform: translateY(-1.5px);
    background-color: #fef3c7 !important;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.08);
}

.input-premium-tax:focus[b-q1y1f6x9s2] {
    border-color: #f59e0b !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18) !important;
    outline: none;
}

.net-payable-wrapper-premium[b-q1y1f6x9s2] {
    margin-top: 0.2rem;
    padding-top: 0.5rem;
    border-top: 2px dashed rgba(99, 102, 241, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.net-payable-label-premium[b-q1y1f6x9s2] {
    font-size: 0.74rem;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.net-payable-value-premium[b-q1y1f6x9s2] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #4f46e5;
    text-shadow: 0 1px 2px rgba(79, 70, 229, 0.1);
}

@keyframes premium-pulse-blink-b-q1y1f6x9s2 {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.65;
        transform: scale(0.97);
    }
}

.blink-payable-value[b-q1y1f6x9s2] {
    animation: premium-pulse-blink-b-q1y1f6x9s2 1.8s infinite ease-in-out;
    display: inline-block;
}

.btn-dotted-add[b-q1y1f6x9s2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px dashed #0f678f !important;
    background: #fff !important;
    color: #0f678f !important;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 20px;
    padding: 8px 32px;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-dotted-add:hover[b-q1y1f6x9s2] {
    background: rgba(15, 103, 143, 0.04) !important;
    border-color: #0d587a !important;
    color: #0d587a !important;
    transform: translateY(-1.5px);
}

.btn-dotted-add:active[b-q1y1f6x9s2] {
    transform: translateY(0);
}

.purchase-bill-fields select.premium-input[b-q1y1f6x9s2] {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    background-image: none !important;
    padding-right: 24px !important;
}

/* Table Specific Styles */
.items-main-card .table-responsive[b-q1y1f6x9s2] {
    padding-right: 0 !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
    max-height: calc(100vh - 270px) !important;
    position: relative !important;
}

.items-table[b-q1y1f6x9s2] {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.items-table thead[b-q1y1f6x9s2] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
}

.items-table th[b-q1y1f6x9s2],
.items-table thead tr th[b-q1y1f6x9s2],
table.table.items-table thead tr th[b-q1y1f6x9s2] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    padding: 12px 16px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

.items-table td[b-q1y1f6x9s2] {
    white-space: normal !important;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem !important;
    padding: 10px 12px !important;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
}

.items-table tbody tr[b-q1y1f6x9s2] {
    transition: background-color 0.15s ease;
}

.items-table tbody tr:hover td[b-q1y1f6x9s2] {
    background-color: #f8fbff;
}

/* Premium Modal Styles for Vendor */
.modal-card[b-q1y1f6x9s2] {
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    background: #fff;
}

.modal-header-bar[b-q1y1f6x9s2] {
    background: #fff !important;
    color: #333 !important;
    padding: 24px 32px !important;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-left[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-badge[b-q1y1f6x9s2] {
    background: var(--sidebar-bg);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.modal-title[b-q1y1f6x9s2] {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.modal-subtitle[b-q1y1f6x9s2] {
    font-size: 0.85rem;
    color: #64748b;
}

.btn-close-modal[b-q1y1f6x9s2] {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-q1y1f6x9s2] {
    background: #e2e8f0;
    color: #1e293b;
}

/* Branch Selector Button in Modal Header */
.branch-selector-container[b-q1y1f6x9s2] {
    position: relative;
}



.modal-inner[b-q1y1f6x9s2] {
    padding: 16px 32px !important;
    background: #fff;
}

.form-section-header[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    margin-top: 4px;
}

.form-section-icon[b-q1y1f6x9s2] {
    background: var(--sidebar-bg);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.form-section-title[b-q1y1f6x9s2] {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #025091;
}

.form-grid[b-q1y1f6x9s2] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.col-prefix[b-q1y1f6x9s2] {
    grid-column: span 3;
}

.col-main[b-q1y1f6x9s2] {
    grid-column: span 9;
}

.col-2[b-q1y1f6x9s2] {
    grid-column: span 2;
}

.col-3[b-q1y1f6x9s2] {
    grid-column: span 3;
}

.col-4[b-q1y1f6x9s2] {
    grid-column: span 4;
}

.col-5[b-q1y1f6x9s2] {
    grid-column: span 5;
}

.col-6[b-q1y1f6x9s2] {
    grid-column: span 6;
}

.col-7[b-q1y1f6x9s2] {
    grid-column: span 7;
}

.col-8[b-q1y1f6x9s2] {
    grid-column: span 8;
}

.col-9[b-q1y1f6x9s2] {
    grid-column: span 9;
}

.col-10[b-q1y1f6x9s2] {
    grid-column: span 10;
}

.col-11[b-q1y1f6x9s2] {
    grid-column: span 11;
}

.col-12[b-q1y1f6x9s2] {
    grid-column: span 12;
}

.field-group[b-q1y1f6x9s2] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label[b-q1y1f6x9s2] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.field-label.required[b-q1y1f6x9s2]::after {
    content: " *";
    color: #ef4444;
}

.premium-input[b-q1y1f6x9s2] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    color: #4b5563 !important;
    transition: all 0.2s !important;
    height: auto !important;
}

.premium-input[b-q1y1f6x9s2]::placeholder {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

.premium-input:focus[b-q1y1f6x9s2] {
    background: #fff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

.modal-footer-actions[b-q1y1f6x9s2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.btn-delete-text[b-q1y1f6x9s2] {
    color: #ef4444;
    background: none;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-delete-text:hover[b-q1y1f6x9s2] {
    background: #fef2f2;
}

.btn-save-premium[b-q1y1f6x9s2] {
    background: #1c9f5f;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(28, 159, 95, 0.3);
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-save-premium:hover[b-q1y1f6x9s2] {
    background: #168a52;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(28, 159, 95, 0.4);
}

.btn-save-premium:active[b-q1y1f6x9s2] {
    transform: translateY(0);
}

.btn-save-premium:disabled[b-q1y1f6x9s2] {
    opacity: 0.6;
    cursor: not-allowed;
}


/* Financial Summary Card Styles */
.financial-summary-card[b-q1y1f6x9s2] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    padding: 1.5rem;
    font-family: 'Inter', 'Outfit', sans-serif;
}

.financial-summary-header[b-q1y1f6x9s2] {
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.financial-summary-row[b-q1y1f6x9s2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.financial-summary-label[b-q1y1f6x9s2] {
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.financial-summary-value[b-q1y1f6x9s2] {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

.financial-summary-input[b-q1y1f6x9s2] {
    width: 80px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #334155;
    outline: none;
    transition: all 0.2s;
    background: #ffffff;
}

.financial-summary-input:focus[b-q1y1f6x9s2] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.financial-summary-net[b-q1y1f6x9s2] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.financial-summary-net-label[b-q1y1f6x9s2] {
    color: #0f172a;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.financial-summary-net-value[b-q1y1f6x9s2] {
    color: #4f46e5;
    font-weight: 800;
    font-size: 1.4rem;
}

/* Purchase Entry Master Compact Summary Card */
.compact-summary-card[b-q1y1f6x9s2] {
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    border: 1.5px solid rgba(99, 102, 241, 0.15);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.compact-summary-card[b-q1y1f6x9s2]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1, #06b6d4);
    border-radius: 14px 0 0 14px;
}

.compact-summary-card:hover[b-q1y1f6x9s2] {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.18);
}

/* Physical Bill Totals - Blue-indigo gradient */
.compact-summary-card.bill-card[b-q1y1f6x9s2] {
    background: linear-gradient(135deg, #eef2ff 0%, #f0fdff 100%);
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.08);
}

.compact-summary-card.bill-card[b-q1y1f6x9s2]::before {
    background: linear-gradient(180deg, #6366f1, #06b6d4);
}

/* Computed Items Total - Teal-green gradient */
.compact-summary-card.items-card[b-q1y1f6x9s2] {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.08);
}

.compact-summary-card.items-card[b-q1y1f6x9s2]::before {
    background: linear-gradient(180deg, #10b981, #06b6d4);
}

.compact-summary-card.items-card:hover[b-q1y1f6x9s2] {
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.18);
}

.compact-summary-header[b-q1y1f6x9s2] {
    font-size: 0.72rem;
    font-weight: 800;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(99, 102, 241, 0.25);
    padding-left: 8px;
}

.compact-summary-card.items-card .compact-summary-header[b-q1y1f6x9s2] {
    color: #10b981;
    border-bottom-color: rgba(16, 185, 129, 0.25);
}

.compact-summary-row[b-q1y1f6x9s2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-left: 8px;
}

.compact-summary-label[b-q1y1f6x9s2] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.compact-summary-value[b-q1y1f6x9s2] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}

.compact-summary-input[b-q1y1f6x9s2] {
    width: 110px;
    height: 30px;
    border-radius: 8px;
    border: 1.5px solid rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.8);
    text-align: right;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0 10px;
    color: #1e293b;
}

.compact-summary-input:focus[b-q1y1f6x9s2] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    background: #fff;
}

.compact-summary-net[b-q1y1f6x9s2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    padding-left: 8px;
    border-top: 1.5px solid rgba(99, 102, 241, 0.2);
}

.compact-summary-card.items-card .compact-summary-net[b-q1y1f6x9s2] {
    border-top-color: rgba(16, 185, 129, 0.2);
}

.compact-summary-net-label[b-q1y1f6x9s2] {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compact-summary-net-value[b-q1y1f6x9s2] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #6366f1;
    letter-spacing: -0.5px;
}

.compact-summary-card.items-card .compact-summary-net-value[b-q1y1f6x9s2] {
    color: #10b981;
}

/* Stock Indent Status Badges */
.badge-indent-pending[b-q1y1f6x9s2] {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #d97706 !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-indent-approved[b-q1y1f6x9s2] {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-indent-rejected[b-q1y1f6x9s2] {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

/* Stock volume indicators */
.badge-stock-high[b-q1y1f6x9s2] {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-stock-low[b-q1y1f6x9s2] {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #d97706 !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-stock-empty[b-q1y1f6x9s2] {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

/* OVERRIDE FOR HIGH-DENSITY PURCHASE BILL FORM (e.g. ItemMaster Modal) */
.purchase-bill-fields .premium-segmented-control-joined[b-q1y1f6x9s2] {
    height: 32px !important;
    border-radius: 6px !important;
    max-width: none !important;
}

.purchase-bill-fields .segment-btn-joined[b-q1y1f6x9s2] {
    font-size: 0.8rem !important;
}

.purchase-bill-fields .segment-btn-joined:first-child[b-q1y1f6x9s2] {
    border-right: 1px solid #e2e8f0 !important;
}

/* Tabular Grid/Real Table styling for purchase details table */
.purchase-items-table-wrapper table[b-q1y1f6x9s2] {
    border-collapse: collapse !important;
    border: 1px solid #cbd5e1 !important;
    width: 100%;
}

.purchase-items-table-wrapper th[b-q1y1f6x9s2],
.purchase-items-table-wrapper td[b-q1y1f6x9s2] {
    border: 1px solid #cbd5e1 !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

.purchase-items-table-header th[b-q1y1f6x9s2] {
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 10px 8px !important;
    font-weight: 700;
    font-size: 0.72rem;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #0273b2 !important;
}

.purchase-items-table-wrapper .purchase-item-input[b-q1y1f6x9s2],
.purchase-items-table-wrapper .purchase-item-select[b-q1y1f6x9s2] {
    width: 100% !important;
    height: 34px !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.purchase-items-table-wrapper .purchase-item-input:focus[b-q1y1f6x9s2],
.purchase-items-table-wrapper .purchase-item-select:focus[b-q1y1f6x9s2] {
    background: #f4f8fa !important;
    box-shadow: inset 0 0 0 2px rgba(2, 115, 178, 0.2) !important;
}

.purchase-items-table-wrapper .purchase-item-readonly[b-q1y1f6x9s2] {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    width: 100% !important;
    height: 34px !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background-color: #f8fafc !important;
    font-weight: 600;
}

.purchase-items-table-wrapper td.purchase-items-table-footer-cell[b-q1y1f6x9s2] {
    padding: 16px 24px !important;
}
:root[b-q1y1f6x9s2] {
    --sidebar-bg: #f4f7fc;
    --sidebar-hover: #eaeff8;
    --sidebar-active: linear-gradient(90deg, rgba(79, 70, 229, 0.14) 0%, rgba(79, 70, 229, 0.04) 100%);
    --sidebar-active-text: #4338ca;
    --sidebar-text: #334155;
    --sidebar-border: #e2e8f0;
    --accent-blue: #4f46e5;
    --text-muted: #64748b;
    --sidebar-width: 220px;
    --sidebar-collapsed-width: 80px;
}

html[b-q1y1f6x9s2],
body[b-q1y1f6x9s2] {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background-color: #f8fafc !important;
}

body[b-q1y1f6x9s2] {
    font-family: 'Inter', 'Roboto', 'Segoe UI', sans-serif;
    font-size: 13px;
}

.page[b-q1y1f6x9s2] {
    display: flex;
    height: 100vh;
    width: 100vw;
    background: transparent;
}

main[b-q1y1f6x9s2] {
    flex: 1;
    overflow-y: auto;
    background: transparent !important;
    display: flex;
    flex-direction: column;
}

.sidebar[b-q1y1f6x9s2] {
    background-color: var(--sidebar-bg);
    width: var(--sidebar-width);
    min-width: var(--sidebar-collapsed-width);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    color: var(--sidebar-text);
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.02);
    border-right: 1px solid var(--sidebar-border);
    z-index: 100;
    overflow: visible;
    /* Need visible for floating overlapping button */
    position: relative;
}

.sidebar.collapsed[b-q1y1f6x9s2] {
    width: var(--sidebar-collapsed-width);
}

/* Sidebar Header */
.sidebar-header[b-q1y1f6x9s2] {
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5.5rem;
    white-space: nowrap;
    border-bottom: 1px solid var(--sidebar-border);
    position: relative;
    /* relative for floating toggle */
}

.sidebar.collapsed .sidebar-header[b-q1y1f6x9s2] {
    padding: 0;
    justify-content: center;
}

.sidebar-brand[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
}

.sidebar.collapsed .sidebar-brand[b-q1y1f6x9s2] {
    gap: 0;
    justify-content: center;
}

.logo-box[b-q1y1f6x9s2] {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.logo-box svg[b-q1y1f6x9s2] {
    color: #ffffff;
}

.sidebar.collapsed .logo-box[b-q1y1f6x9s2] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.sidebar-brand-text[b-q1y1f6x9s2] {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-icon[b-q1y1f6x9s2] {
    text-shadow: 0 0 15px rgba(79, 70, 229, 0.15);
}

.brand-title[b-q1y1f6x9s2] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.25;
    letter-spacing: -0.1px;
    white-space: normal;
    max-width: 125px;
}

.brand-title span.accent-text[b-q1y1f6x9s2] {
    color: #4f46e5 !important;
    font-weight: 800;
}

.brand-subtitle[b-q1y1f6x9s2] {
    font-size: 0.62rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 1px;
}

.collapsed .sidebar-brand-text[b-q1y1f6x9s2] {
    opacity: 0;
    transform: translateX(-10px);
    pointer-events: none;
    width: 0;
    overflow: hidden;
}

.sidebar-toggle[b-q1y1f6x9s2] {
    position: absolute;
    right: -14px;
    /* floats half outside the sidebar */
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #dbeafe !important;
    color: #4f46e5 !important;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.15) !important;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-toggle:hover[b-q1y1f6x9s2] {
    background: #f8fafc;
    transform: translateY(-50%) scale(1.08);
}

.sidebar-toggle i[b-q1y1f6x9s2] {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Nav Category Removed as requested */

/* Nav Links */
.nav-scrollable[b-q1y1f6x9s2] {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}

.nav-scrollable[b-q1y1f6x9s2]::-webkit-scrollbar {
    width: 5px;
}

.nav-scrollable[b-q1y1f6x9s2]::-webkit-scrollbar-track {
    background: transparent;
}

.nav-scrollable[b-q1y1f6x9s2]::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.nav-section-title[b-q1y1f6x9s2] {
    font-size: 0.66rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 0.9rem 1.5rem 0.2rem 24px;
    margin-top: 0.1rem;
}

.collapsed .nav-section-title[b-q1y1f6x9s2] {
    display: none;
}

.nav-item[b-q1y1f6x9s2] {
    padding: 0 16px 0 0;
    margin-bottom: 0.15rem;
}

.nav-link[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    padding: 0.45rem 0.8rem 0.45rem 24px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    color: var(--sidebar-text) !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    background: transparent !important;
    border-left: 3.5px solid transparent;
}

.nav-link:hover[b-q1y1f6x9s2] {
    color: var(--sidebar-active-text) !important;
    background: var(--sidebar-hover) !important;
}

.nav-link.active[b-q1y1f6x9s2] {
    color: var(--sidebar-active-text) !important;
    background: var(--sidebar-active) !important;
    border-left-color: #4f46e5 !important;
    font-weight: 700;
}

.nav-link span[b-q1y1f6x9s2] {
    transition: opacity 0.3s, transform 0.3s;
    opacity: 1;
    font-size: 0.78rem;
    font-weight: 600;
}

.collapsed .nav-link span[b-q1y1f6x9s2] {
    opacity: 0;
    pointer-events: none;
    width: 0;
    display: inline-block;
    overflow: hidden;
}

/* Icon Box Style */
.icon-box[b-q1y1f6x9s2] {
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: transparent;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.7rem;
    transition: all 0.2s ease;
    color: #475569;
    font-size: 0.95rem;
}

.nav-link:hover .icon-box[b-q1y1f6x9s2] {
    color: var(--sidebar-active-text) !important;
}

.nav-link.active .icon-box[b-q1y1f6x9s2] {
    color: #4f46e5 !important;
}

.collapsed .icon-box[b-q1y1f6x9s2] {
    margin-right: 0;
}

.collapsed .nav-item[b-q1y1f6x9s2] {
    padding: 0 10px 0 0;
}

.collapsed .nav-link[b-q1y1f6x9s2] {
    justify-content: center;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-left: 3px solid transparent;
    padding: 0.48rem 0;
}

.collapsed .nav-link.active[b-q1y1f6x9s2] {
    background: rgba(2, 101, 158, 0.12) !important;
    color: #02659e !important;
    border-left: 3px solid #02659e !important;
}

/* Main Content */
.content[b-q1y1f6x9s2] {
    padding: 0.25rem 2rem 2rem 2rem;
    background: transparent !important;
}

.card[b-q1y1f6x9s2] {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}



/* Blue Shade Form Theme */
.bg-blue-soft[b-q1y1f6x9s2] {
    background-color: #f0f7ff !important;
}

.card-blue-shade[b-q1y1f6x9s2] {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e1e9f4 !important;
}

.form-control-blue[b-q1y1f6x9s2] {
    background-color: #f4f8fb !important;
    border: 1px solid #e1e9f4 !important;
    transition: all 0.3s;
}

.form-control-blue:focus[b-q1y1f6x9s2] {
    background-color: #ffffff !important;
    border-color: #006092 !important;
    box-shadow: 0 0 0 4px rgba(0, 96, 146, 0.1);
}

/* Premium Notification System */
.notification-container[b-q1y1f6x9s2] {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 14px;
    pointer-events: none;
    perspective: 1000px;
}

.notification-item[b-q1y1f6x9s2] {
    pointer-events: auto;
    min-width: 320px;
    max-width: 480px;
    padding: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 20px 40px -10px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: premiumSlideIn-b-q1y1f6x9s2 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.3s ease;
}

.notification-item:hover[b-q1y1f6x9s2] {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
}

@keyframes premiumSlideIn-b-q1y1f6x9s2 {
    0% {
        transform: translateX(120%) rotateY(-20deg);
        opacity: 0;
    }

    100% {
        transform: translateX(0) rotateY(0);
        opacity: 1;
    }
}

.notification-inner[b-q1y1f6x9s2] {
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.notification-content[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
}

.notification-icon-wrap[b-q1y1f6x9s2] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Theme Variations */
.notification-item.success .notification-icon-wrap[b-q1y1f6x9s2] {
    background: #10b981;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.notification-item.error .notification-icon-wrap[b-q1y1f6x9s2] {
    background: #ef4444;
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.notification-item.warning .notification-icon-wrap[b-q1y1f6x9s2] {
    background: #f59e0b;
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.notification-item.info .notification-icon-wrap[b-q1y1f6x9s2] {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.notification-item.success[b-q1y1f6x9s2] {
    border-left: 4px solid #10b981;
}

.notification-item.error[b-q1y1f6x9s2] {
    border-left: 4px solid #ef4444;
}

.notification-item.warning[b-q1y1f6x9s2] {
    border-left: 4px solid #f59e0b;
}

.notification-item.info[b-q1y1f6x9s2] {
    border-left: 4px solid #3b82f6;
}

.notification-text[b-q1y1f6x9s2] {
    color: #1e293b;
}

.notification-close[b-q1y1f6x9s2] {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: #64748b;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.notification-close:hover[b-q1y1f6x9s2] {
    background: rgba(0, 0, 0, 0.1);
    color: #1e293b;
    transform: rotate(90deg);
}

/* Progress Bar */
.notification-progress[b-q1y1f6x9s2] {
    height: 3px;
    width: 100%;
    background: rgba(0, 0, 0, 0.03);
}

.notification-progress-bar[b-q1y1f6x9s2] {
    height: 100%;
    width: 100%;
    background: currentColor;
    opacity: 0.6;
    animation: notificationProgress-b-q1y1f6x9s2 5s linear forwards;
}

@keyframes notificationProgress-b-q1y1f6x9s2 {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

.notification-item.success .notification-progress-bar[b-q1y1f6x9s2] {
    color: #10b981;
}

.notification-item.error .notification-progress-bar[b-q1y1f6x9s2] {
    color: #ef4444;
}

.notification-item.warning .notification-progress-bar[b-q1y1f6x9s2] {
    color: #f59e0b;
}

.notification-item.info .notification-progress-bar[b-q1y1f6x9s2] {
    color: #3b82f6;
}

/* Add Item Page Styles */
.ai-page[b-q1y1f6x9s2] {
    min-height: 100vh;
    background: linear-gradient(180deg, #eff6fb 0%, #e2edf6 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    overflow-y: auto;
}

.ai-shell[b-q1y1f6x9s2] {
    width: 100%;
    display: flex;
    justify-content: center;
}

.ai-card[b-q1y1f6x9s2] {
    width: 100%;
    max-width: 650px;
    background: #ffffff;
    border-radius: 16px;
    border: 0;
    box-shadow: 0 22px 55px rgba(3, 26, 46, 0.16);
    overflow: hidden;
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
}

.ai-header[b-q1y1f6x9s2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.1rem;
    background: linear-gradient(90deg, #0f678f 0%, #0b5777 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-head-left[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.ai-badge[b-q1y1f6x9s2] {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.ai-title[b-q1y1f6x9s2] {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.1px;
    line-height: 1.1;
    font-size: 1.1rem;
}

.ai-subtitle[b-q1y1f6x9s2] {
    display: none;
}

.ai-body[b-q1y1f6x9s2] {
    padding: .95rem .85rem 1rem;
    overflow-y: auto;
    flex: 1;
}

.ai-form-wrap[b-q1y1f6x9s2] {
    max-width: 500px;
    margin: 0 auto;
}

.ai-section[b-q1y1f6x9s2] {
    background: linear-gradient(180deg, #ffffff 0%, #fcfeff 100%);
    border: 1px solid #dce9f4;
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.ai-row[b-q1y1f6x9s2] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ai-row.full-width[b-q1y1f6x9s2] {
    grid-column: span 2;
}

.ai-label[b-q1y1f6x9s2] {
    padding-top: 0;
    font-weight: 700;
    color: #0b5777;
    font-size: .72rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.ai-field[b-q1y1f6x9s2] {
    width: 100%;
}

.ai-input[b-q1y1f6x9s2],
.ai-select[b-q1y1f6x9s2],
.ai-textarea[b-q1y1f6x9s2] {
    border: 1px solid #e6eef8;
    border-radius: 8px;
    padding: .4rem .6rem;
    min-height: 32px;
    background: #fbfdff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    font-size: .85rem;
    width: 100%;
    max-width: 280px;
}

.ai-textarea[b-q1y1f6x9s2] {
    max-width: 100%;
    height: auto;
    min-height: 78px;
    padding-top: .6rem;
}

.ai-input:focus[b-q1y1f6x9s2],
.ai-select:focus[b-q1y1f6x9s2],
.ai-textarea:focus[b-q1y1f6x9s2] {
    border-color: #0aa06a;
    box-shadow: 0 6px 20px rgba(10, 160, 106, 0.06);
    outline: none;
    background: #fff;
}

.btn-accent[b-q1y1f6x9s2] {
    background: #009b63;
    color: #fff;
    border: 1px solid #078a57;
    padding: .55rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(3, 130, 90, 0.12);
}

.btn-accent:hover[b-q1y1f6x9s2] {
    transform: translateY(-2px);
}

.ai-actions[b-q1y1f6x9s2] {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin-top: .85rem;
}

.ai-action-btn[b-q1y1f6x9s2] {
    min-width: 120px;
    padding: .62rem 1.2rem;
    border-radius: 10px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .ai-row[b-q1y1f6x9s2] {
        grid-template-columns: 1fr;
    }

    .ai-label[b-q1y1f6x9s2] {
        padding-top: 0;
    }

    .ai-card[b-q1y1f6x9s2] {
        max-height: none;
    }

    .ai-card[b-q1y1f6x9s2] {
        max-width: 96vw;
    }
}



/* Modal Styles */
.modal-overlay[b-q1y1f6x9s2] {
    position: fixed;
    inset: 0;
    background: rgba(8, 25, 40, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1050;
    overflow-y: auto;
    animation: modalFadeIn-b-q1y1f6x9s2 0.3s ease-out forwards;
}

.modal-card[b-q1y1f6x9s2] {
    width: min(1420px, 96vw) !important;
    max-width: 1420px !important;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(3, 26, 46, 0.28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 3rem);
    animation: modalScaleIn-b-q1y1f6x9s2 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-header-bar[b-q1y1f6x9s2] {
    background: linear-gradient(90deg, #0f678f 0%, #0b5777 100%);
    color: #fff;
    padding: 1.05rem 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.modal-header-left[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.modal-badge[b-q1y1f6x9s2] {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .12);
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
}

.modal-title[b-q1y1f6x9s2] {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
}

.modal-subtitle[b-q1y1f6x9s2] {
    font-size: .92rem;
    color: rgba(255, 255, 255, .88);
    margin-top: .15rem;
}

.modal-inner[b-q1y1f6x9s2] {
    padding: 0.5rem 1rem 0.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    overflow-y: auto;
    flex: 1;
}

.modal-form-wrap[b-q1y1f6x9s2] {
    max-width: 100%;
    margin: 0 auto;
}

.modal-section[b-q1y1f6x9s2] {
    background: #fff;
    border: 1px solid #dce9f4;
    border-radius: 12px;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.modal-row[b-q1y1f6x9s2] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.modal-row.full-width[b-q1y1f6x9s2] {
    grid-column: span 2;
}

.modal-label[b-q1y1f6x9s2] {
    padding-top: 0;
    font-size: .72rem;
    font-weight: 700;
    color: #0b5777;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.modal-field[b-q1y1f6x9s2] {
    width: 100%;
}

.modal-input[b-q1y1f6x9s2],
.modal-select[b-q1y1f6x9s2],
.modal-textarea[b-q1y1f6x9s2] {
    border: 1px solid #e6eef8;
    border-radius: 8px;
    background: #fbfdff;
    min-height: 32px;
    padding: .4rem .6rem;
    width: 100%;
    max-width: 250px;
    font-size: .85rem;
}

.modal-textarea[b-q1y1f6x9s2] {
    max-width: 100%;
    min-height: 64px;
    resize: vertical;
}

.modal-actions[b-q1y1f6x9s2] {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.2rem;
}

.modal-action-btn[b-q1y1f6x9s2] {
    min-width: 130px;
    padding: .65rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
}

/* Popup Styles */
.action-popup-overlay[b-q1y1f6x9s2] {
    position: fixed;
    inset: 0;
    background: rgba(8, 25, 40, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1200;
    animation: modalFadeIn-b-q1y1f6x9s2 0.25s ease-out forwards;
}

.action-popup-card[b-q1y1f6x9s2] {
    width: min(420px, 96%);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #cfe4f2;
    box-shadow: 0 16px 36px rgba(3, 26, 46, 0.28);
    animation: modalScaleIn-b-q1y1f6x9s2 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalFadeIn-b-q1y1f6x9s2 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalScaleIn-b-q1y1f6x9s2 {
    from {
        transform: scale(0.95) translateY(12px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.action-popup-header[b-q1y1f6x9s2] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%);
    color: #312e81;
    padding: .9rem 1.2rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    font-family: 'Inter', 'Roboto', 'Segoe UI', sans-serif;
}

.action-popup-body[b-q1y1f6x9s2] {
    padding: 1rem;
    background: #f2f9ff;
    color: #0d3f5b;
    font-size: .96rem;
}

.action-popup-actions[b-q1y1f6x9s2] {
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
    padding: .85rem 1rem 1rem;
    background: #f2f9ff;
    border-top: 1px solid #d5e9f7;
}

.popup-btn[b-q1y1f6x9s2] {
    min-width: 88px;
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid transparent;
    padding: .45rem .9rem;
}

.popup-btn-cancel[b-q1y1f6x9s2] {
    background: #fff;
    color: #312e81;
    border-color: rgba(49, 46, 129, 0.35);
    transition: all 0.2s ease;
}

.popup-btn-cancel:hover[b-q1y1f6x9s2] {
    background: #f0f3ff;
    color: #1e1b4b;
    border-color: rgba(49, 46, 129, 0.6);
}

.popup-btn-delete[b-q1y1f6x9s2] {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
    transition: all 0.2s ease;
}

.popup-btn-delete:hover[b-q1y1f6x9s2] {
    background: #dc2626;
    border-color: #dc2626;
}

.popup-btn-ok[b-q1y1f6x9s2] {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
    transition: all 0.2s ease;
}

.popup-btn-ok:hover[b-q1y1f6x9s2] {
    background: #2563eb;
    border-color: #2563eb;
}

@media (max-width: 768px) {
    .modal-row[b-q1y1f6x9s2] {
        grid-template-columns: 1fr;
        gap: .4rem;
    }

    .modal-card[b-q1y1f6x9s2] {
        max-height: calc(100vh - 3rem);
        width: min(96%, 900px);
    }
}

@media (max-width: 576px) {

    .items-title-wrap[b-q1y1f6x9s2],
    .items-search[b-q1y1f6x9s2],
    .view-toggle[b-q1y1f6x9s2],
    .add-item-btn[b-q1y1f6x9s2] {
        width: 92vw;
        justify-content: center;
    }

    .view-toggle button[b-q1y1f6x9s2] {
        width: 50%;
    }
}

.display-controls[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    justify-content: flex-end;
}



.total-count-text[b-q1y1f6x9s2] {
    color: #4b5563;
    font-weight: 700;
    font-size: 0.95rem;
    margin-right: 0mm;
}

.pagination-bar[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-right: 1.5rem !important;
}

.page-btn[b-q1y1f6x9s2] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #4b5563;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.page-btn:hover:not(:disabled)[b-q1y1f6x9s2] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.page-btn.active[b-q1y1f6x9s2] {
    background: #02659e !important;
    color: #ffffff !important;
    border-color: #02659e !important;
}

.page-btn:disabled[b-q1y1f6x9s2] {
    opacity: 0.4;
    cursor: not-allowed;
}



/* Purchase Bill Layout Styles */


/* FLAT, CLEAN, PERFECTLY ALIGNED BRAND STYLE */
.dashboard-page[b-q1y1f6x9s2] {
    min-height: calc(100vh - 56px);
    background-color: #f8fafc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.dashboard-container[b-q1y1f6x9s2] {
    max-width: 1400px;
    margin: 0 auto;
}

.text-dark-blue[b-q1y1f6x9s2] {
    color: #025091;
}

/* KPI CARDS STYLING */
.kpi-card[b-q1y1f6x9s2] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.kpi-card:hover[b-q1y1f6x9s2] {
    transform: translateY(-2px);
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

.kpi-label[b-q1y1f6x9s2] {
    font-size: 0.68rem;
    letter-spacing: 0.8px;
    color: #64748b !important;
}

.kpi-value[b-q1y1f6x9s2] {
    font-size: 1.45rem;
    letter-spacing: -0.5px;
}

.kpi-icon-box[b-q1y1f6x9s2] {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* SOLID COLOR BACKGROUND ACCENTS */
.bg-blue-light[b-q1y1f6x9s2] {
    background-color: #eff6ff;
}

.bg-green-light[b-q1y1f6x9s2] {
    background-color: #f0fdf4;
}

.bg-purple-light[b-q1y1f6x9s2] {
    background-color: #faf5ff;
}

.bg-orange-light[b-q1y1f6x9s2] {
    background-color: #fff7ed;
}

/* CARD SYSTEM */
.card[b-q1y1f6x9s2] {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
    transition: none;
}

.card:hover[b-q1y1f6x9s2] {
    transform: none;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}

.card-header[b-q1y1f6x9s2] {
    border-bottom: 1px solid #e2e8f0 !important;
}

/* ALIGNED HIGH DENSITY TABLES */
.table th[b-q1y1f6x9s2] {
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #475569;
    border-bottom: 2px solid #e2e8f0;
    letter-spacing: 0.5px;
    padding: 10px 12px;
}

.table td[b-q1y1f6x9s2] {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.78rem;
}

.table tr:last-child td[b-q1y1f6x9s2] {
    border-bottom: none;
}

.bg-danger-soft[b-q1y1f6x9s2] {
    background-color: #fef2f2;
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

/* ALIGNMENT UTILS */
.fs-7[b-q1y1f6x9s2] {
    font-size: 0.8rem !important;
}

.fs-8[b-q1y1f6x9s2] {
    font-size: 0.72rem !important;
}

.fs-9[b-q1y1f6x9s2] {
    font-size: 0.6rem !important;
}

.btn-xs[b-q1y1f6x9s2] {
    font-size: 0.7rem;
    padding: 2px 8px;
}

.btn-outline-primary[b-q1y1f6x9s2] {
    border-color: #025091;
    color: #025091;
}

.btn-outline-primary:hover[b-q1y1f6x9s2] {
    background-color: #025091;
    color: #fff;
}

/* Custom high-density scrollbars */
[b-q1y1f6x9s2]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

[b-q1y1f6x9s2]::-webkit-scrollbar-track {
    background: transparent;
}

[b-q1y1f6x9s2]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

[b-q1y1f6x9s2]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Premium Custom Segmented Control Joined Styles */
.premium-segmented-control-joined[b-q1y1f6x9s2] {
    display: flex;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    height: 46px;
    width: 100%;
    max-width: 200px;
    /* Reduced width for a neat, compact look */
    box-sizing: border-box;
    overflow: hidden;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.premium-segmented-control-joined:hover[b-q1y1f6x9s2] {
    border-color: #cbd5e1;
}

.segment-btn-joined[b-q1y1f6x9s2] {
    flex: 1;
    border: none;
    background: transparent;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.segment-btn-joined:first-child[b-q1y1f6x9s2] {
    border-right: 1px solid #e2e8f0;
}

.segment-btn-joined:hover:not(.active)[b-q1y1f6x9s2] {
    background: #f1f5f9;
    color: #0f172a;
}

/* State-Dependent Colors */
.segment-btn-joined.btn-false.active[b-q1y1f6x9s2] {
    background: #64748b !important;
    /* Premium Slate Gray for False/Off state */
    color: white !important;
}

.segment-btn-joined.btn-true.active[b-q1y1f6x9s2] {
    background: #006b3c !important;
    /* Premium Deep Green for True/On state */
    color: white !important;
}



/* Premium Action Buttons Outline Styling */
.action-btn[b-q1y1f6x9s2] {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    cursor: pointer !important;
    margin: 0 2px !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
}

.action-btn:hover[b-q1y1f6x9s2] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.action-btn i[b-q1y1f6x9s2] {
    font-size: 0.85rem !important;
}

/* Schedule Checkboxes styling */
.schedule-checkboxes-group[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.schedule-check-item[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    margin: 0;
}

.schedule-check-input[b-q1y1f6x9s2] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    outline: none;
    background-color: #fff;
    cursor: pointer;
    display: grid;
    place-content: center;
    transition: all 0.2s ease;
    margin: 0;
}

.schedule-check-input:hover[b-q1y1f6x9s2] {
    border-color: #02659e;
    box-shadow: 0 0 0 3px rgba(2, 101, 158, 0.15);
}

.schedule-check-input:checked[b-q1y1f6x9s2] {
    background-color: #02659e;
    border-color: #02659e;
}

.schedule-check-input:checked[b-q1y1f6x9s2]::before {
    content: "";
    width: 10px;
    height: 10px;
    clip-path: polygon(14% 44%, 0 58%, 38% 96%, 100% 19%, 83% 5%, 38% 68%);
    background-color: white;
}

.schedule-check-label[b-q1y1f6x9s2] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    user-select: none;
    cursor: pointer;
    transition: color 0.2s ease;
    margin: 0;
}

.schedule-check-item:hover .schedule-check-label[b-q1y1f6x9s2] {
    color: #02659e;
}

/* Report Toolbar & Filter Styling */
.filter-group[b-q1y1f6x9s2] {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    height: 34px;
    padding: 0 12px;
    box-shadow: none;
    transition: all 0.25s ease;
}

.filter-group:focus-within[b-q1y1f6x9s2] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.filter-label[b-q1y1f6x9s2] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    margin-right: 4px;
}

.filter-label i[b-q1y1f6x9s2] {
    color: #4f46e5;
    font-size: 0.85rem;
}

.filter-select[b-q1y1f6x9s2] {
    border: none;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e293b;
    padding: 0 4px;
    height: 100%;
    outline: none;
    cursor: pointer;
    max-width: 170px;
}

.filter-input-date[b-q1y1f6x9s2] {
    border: none;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e293b;
    padding: 0 4px;
    height: 100%;
    outline: none;
    cursor: pointer;
    width: 125px;
}

.btn-report-preview[b-q1y1f6x9s2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #4f46e5;
    border: 1.5px solid #6366f1;
    border-radius: 16px;
    padding: 0 14px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(99, 102, 241, 0.08);
    transition: all 0.2s ease;
    height: 34px;
}

.btn-report-preview:hover:not(:disabled)[b-q1y1f6x9s2] {
    background: #4f46e5;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
    transform: translateY(-1px);
}

.btn-report-preview:disabled[b-q1y1f6x9s2] {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-report-download[b-q1y1f6x9s2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #16a34a;
    color: #ffffff;
    border: 1.5px solid #16a34a;
    border-radius: 16px;
    padding: 0 14px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(22, 163, 74, 0.15);
    transition: all 0.2s ease;
    height: 34px;
}

.btn-report-download:hover:not(:disabled)[b-q1y1f6x9s2] {
    background: #15803d;
    border-color: #15803d;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.25);
    transform: translateY(-1px);
}

.btn-report-download:disabled[b-q1y1f6x9s2] {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR PHARMACY BILLING (SALES MASTER)
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .items-page[b-q1y1f6x9s2],
[data-theme="dark"] .items-page[b-q1y1f6x9s2] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .premium-header-card[b-q1y1f6x9s2],
[data-theme="dark"] .premium-header-card[b-q1y1f6x9s2] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .header-card-icon[b-q1y1f6x9s2],
[data-theme="dark"] .header-card-icon[b-q1y1f6x9s2] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .header-card-heading[b-q1y1f6x9s2],
[data-theme="dark"] .header-card-heading[b-q1y1f6x9s2] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .header-card-subheading[b-q1y1f6x9s2],
[data-theme="dark"] .header-card-subheading[b-q1y1f6x9s2] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .pharmacy-summary-item[b-q1y1f6x9s2],
[data-theme="dark"] .pharmacy-summary-item[b-q1y1f6x9s2] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .pharmacy-summary-item span[b-q1y1f6x9s2],
[data-theme="dark"] .pharmacy-summary-item span[b-q1y1f6x9s2] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .pharmacy-summary-item strong[b-q1y1f6x9s2],
[data-theme="dark"] .pharmacy-summary-item strong[b-q1y1f6x9s2] {
    color: #e2e8f0 !important;
}

:host-context([data-theme="dark"]) .pharmacy-summary-return strong[b-q1y1f6x9s2],
[data-theme="dark"] .pharmacy-summary-return strong[b-q1y1f6x9s2] {
    color: #f87171 !important;
}

:host-context([data-theme="dark"]) .pharmacy-summary-collected strong[b-q1y1f6x9s2],
[data-theme="dark"] .pharmacy-summary-collected strong[b-q1y1f6x9s2] {
    color: #34d399 !important;
}

:host-context([data-theme="dark"]) .items-search[b-q1y1f6x9s2],
[data-theme="dark"] .items-search[b-q1y1f6x9s2] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .view-toggle[b-q1y1f6x9s2],
[data-theme="dark"] .view-toggle[b-q1y1f6x9s2] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .view-toggle button[b-q1y1f6x9s2],
[data-theme="dark"] .view-toggle button[b-q1y1f6x9s2] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .view-toggle button.active[b-q1y1f6x9s2],
[data-theme="dark"] .view-toggle button.active[b-q1y1f6x9s2] {
    background: #1e293b !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .filter-group[b-q1y1f6x9s2],
[data-theme="dark"] .filter-group[b-q1y1f6x9s2] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .filter-label[b-q1y1f6x9s2],
[data-theme="dark"] .filter-label[b-q1y1f6x9s2] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .filter-select[b-q1y1f6x9s2],
:host-context([data-theme="dark"]) .filter-input-date[b-q1y1f6x9s2],
[data-theme="dark"] .filter-select[b-q1y1f6x9s2],
[data-theme="dark"] .filter-input-date[b-q1y1f6x9s2] {
    color: #f8fafc !important;
    background: transparent !important;
}

:host-context([data-theme="dark"]) .btn-report-preview[b-q1y1f6x9s2],
[data-theme="dark"] .btn-report-preview[b-q1y1f6x9s2] {
    background: #1e293b !important;
    color: #818cf8 !important;
    border-color: #6366f1 !important;
}

:host-context([data-theme="dark"]) .btn-report-preview:hover:not(:disabled)[b-q1y1f6x9s2],
[data-theme="dark"] .btn-report-preview:hover:not(:disabled)[b-q1y1f6x9s2] {
    background: #4f46e5 !important;
    color: #ffffff !important;
}

:host-context([data-theme="dark"]) .items-main-card[b-q1y1f6x9s2],
[data-theme="dark"] .items-main-card[b-q1y1f6x9s2] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) table.table.items-table thead tr th[b-q1y1f6x9s2],
:host-context([data-theme="dark"]) .items-table th[b-q1y1f6x9s2],
[data-theme="dark"] table.table.items-table thead tr th[b-q1y1f6x9s2],
[data-theme="dark"] .items-table th[b-q1y1f6x9s2] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .items-table td[b-q1y1f6x9s2],
[data-theme="dark"] .items-table td[b-q1y1f6x9s2] {
    background: #1e293b !important;
    border-bottom-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .items-table tr td:first-child[b-q1y1f6x9s2],
[data-theme="dark"] .items-table tr td:first-child[b-q1y1f6x9s2] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .items-table tr td.text-primary[b-q1y1f6x9s2],
:host-context([data-theme="dark"]) .items-table tr td .text-primary[b-q1y1f6x9s2],
[data-theme="dark"] .items-table tr td.text-primary[b-q1y1f6x9s2],
[data-theme="dark"] .items-table tr td .text-primary[b-q1y1f6x9s2] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .action-btn[b-q1y1f6x9s2],
[data-theme="dark"] .action-btn[b-q1y1f6x9s2] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .action-btn:hover[b-q1y1f6x9s2],
[data-theme="dark"] .action-btn:hover[b-q1y1f6x9s2] {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #7dd3fc !important;
}

:host-context([data-theme="dark"]) .display-controls[b-q1y1f6x9s2],
[data-theme="dark"] .display-controls[b-q1y1f6x9s2] {
    background: #0f172a !important;
    border-top-color: #334155 !important;
}

:host-context([data-theme="dark"]) .total-count-text[b-q1y1f6x9s2],
[data-theme="dark"] .total-count-text[b-q1y1f6x9s2] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .page-btn[b-q1y1f6x9s2],
[data-theme="dark"] .page-btn[b-q1y1f6x9s2] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .page-btn.active[b-q1y1f6x9s2],
[data-theme="dark"] .page-btn.active[b-q1y1f6x9s2] {
    background: #4f46e5 !important;
    border-color: #4f46e5 !important;
    color: #ffffff !important;
}

:host-context([data-theme="dark"]) .item-card[b-q1y1f6x9s2],
[data-theme="dark"] .item-card[b-q1y1f6x9s2] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .item-card-head[b-q1y1f6x9s2],
[data-theme="dark"] .item-card-head[b-q1y1f6x9s2] {
    background: #0f172a !important;
    color: #f8fafc !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .item-card-body[b-q1y1f6x9s2],
[data-theme="dark"] .item-card-body[b-q1y1f6x9s2] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .detail-row[b-q1y1f6x9s2],
[data-theme="dark"] .detail-row[b-q1y1f6x9s2] {
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .detail-row span[b-q1y1f6x9s2],
[data-theme="dark"] .detail-row span[b-q1y1f6x9s2] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .detail-row strong[b-q1y1f6x9s2],
[data-theme="dark"] .detail-row strong[b-q1y1f6x9s2] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-card[b-q1y1f6x9s2],
[data-theme="dark"] .modal-card[b-q1y1f6x9s2] {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header-bar[b-q1y1f6x9s2],
:host-context([data-theme="dark"]) .modal-inner[b-q1y1f6x9s2],
:host-context([data-theme="dark"]) .modal-footer-actions[b-q1y1f6x9s2],
[data-theme="dark"] .modal-header-bar[b-q1y1f6x9s2],
[data-theme="dark"] .modal-inner[b-q1y1f6x9s2],
[data-theme="dark"] .modal-footer-actions[b-q1y1f6x9s2] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .modal-title[b-q1y1f6x9s2],
[data-theme="dark"] .modal-title[b-q1y1f6x9s2] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .premium-input[b-q1y1f6x9s2],
[data-theme="dark"] .premium-input[b-q1y1f6x9s2] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .field-label[b-q1y1f6x9s2],
[data-theme="dark"] .field-label[b-q1y1f6x9s2] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .bill-card-premium[b-q1y1f6x9s2],
[data-theme="dark"] .bill-card-premium[b-q1y1f6x9s2] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .sales-billing-summary-shell[b-q1y1f6x9s2],
[data-theme="dark"] .sales-billing-summary-shell[b-q1y1f6x9s2],
body.dark-mode .sales-billing-summary-shell[b-q1y1f6x9s2] {
    border-color: #334155;
    background: #0f172a;
}

:host-context([data-theme="dark"]) .sales-summary-field > .premium-input[b-q1y1f6x9s2],
:host-context([data-theme="dark"]) .sales-paymode-row .premium-input[b-q1y1f6x9s2],
[data-theme="dark"] .sales-summary-field > .premium-input[b-q1y1f6x9s2],
[data-theme="dark"] .sales-paymode-row .premium-input[b-q1y1f6x9s2],
body.dark-mode .sales-summary-field > .premium-input[b-q1y1f6x9s2],
body.dark-mode .sales-paymode-row .premium-input[b-q1y1f6x9s2] {
    border-color: #475569 !important;
    background: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .sales-summary-amount-value[b-q1y1f6x9s2],
[data-theme="dark"] .sales-summary-amount-value[b-q1y1f6x9s2],
body.dark-mode .sales-summary-amount-value[b-q1y1f6x9s2] {
    border-color: #7f1d1d;
    background: #2b1720;
}

:host-context([data-theme="dark"]) .sales-summary-amount-value input[b-q1y1f6x9s2],
[data-theme="dark"] .sales-summary-amount-value input[b-q1y1f6x9s2],
body.dark-mode .sales-summary-amount-value input[b-q1y1f6x9s2] {
    color: #fda4af !important;
}

:host-context([data-theme="dark"]) .sales-paymode-clear[b-q1y1f6x9s2],
[data-theme="dark"] .sales-paymode-clear[b-q1y1f6x9s2],
body.dark-mode .sales-paymode-clear[b-q1y1f6x9s2] {
    border-color: #7f1d1d;
    background: #2b1720;
    color: #fca5a5;
}

:host-context([data-theme="dark"]) .sales-paymode-add[b-q1y1f6x9s2],
[data-theme="dark"] .sales-paymode-add[b-q1y1f6x9s2],
body.dark-mode .sales-paymode-add[b-q1y1f6x9s2] {
    border-color: #0369a1;
    background: #082f49;
    color: #7dd3fc;
}

:host-context([data-theme="dark"]) .purchase-items-table-wrapper[b-q1y1f6x9s2],
[data-theme="dark"] .purchase-items-table-wrapper[b-q1y1f6x9s2] {
    background: #1e293b !important;
}

:host-context([data-theme="dark"]) .purchase-item-input[b-q1y1f6x9s2],
:host-context([data-theme="dark"]) .purchase-item-select[b-q1y1f6x9s2],
[data-theme="dark"] .purchase-item-input[b-q1y1f6x9s2],
[data-theme="dark"] .purchase-item-select[b-q1y1f6x9s2] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .purchase-item-readonly[b-q1y1f6x9s2],
[data-theme="dark"] .purchase-item-readonly[b-q1y1f6x9s2] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .custom-typeahead-dropdown[b-q1y1f6x9s2],
[data-theme="dark"] .custom-typeahead-dropdown[b-q1y1f6x9s2] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .custom-typeahead-item[b-q1y1f6x9s2],
[data-theme="dark"] .custom-typeahead-item[b-q1y1f6x9s2] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .custom-typeahead-item:hover[b-q1y1f6x9s2],
[data-theme="dark"] .custom-typeahead-item:hover[b-q1y1f6x9s2] {
    background: #334155 !important;
    color: #38bdf8 !important;
}

/* Medicine Days Conversion Button & Modal */
.btn-conversion[b-q1y1f6x9s2] {
    background: #0273b2;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(2, 115, 178, 0.25);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-conversion:hover[b-q1y1f6x9s2] {
    background: #025d91;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 115, 178, 0.35);
    color: #ffffff;
}

.conversion-modal-overlay[b-q1y1f6x9s2] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease-out;
}

.conversion-modal-card[b-q1y1f6x9s2] {
    position: relative;
    background: #ffffff;
    border-radius: 14px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: none;
    animation: slideUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.conversion-modal-header[b-q1y1f6x9s2] {
    background: #ffffff;
    padding: 12px 16px;
    color: #0f172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.conversion-modal-title[b-q1y1f6x9s2] {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
    text-transform: uppercase;
    font-family: system-ui, -apple-system, sans-serif;
}

.conversion-modal-title i[b-q1y1f6x9s2] {
    color: #0273b2;
    font-size: 1rem;
}

.conversion-modal-close[b-q1y1f6x9s2] {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    padding: 0;
}

.conversion-modal-close:hover[b-q1y1f6x9s2] {
    background: #fef2f2;
    color: #ef4444;
}

.conversion-modal-body[b-q1y1f6x9s2] {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #ffffff;
}

.conversion-panel-box[b-q1y1f6x9s2] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.conversion-field-row[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.conversion-field-row.active-field-row[b-q1y1f6x9s2] {
    background: #eff6ff;
    border: 1px dashed #0273b2;
}

.conversion-field-row.converted-field-row[b-q1y1f6x9s2] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.conversion-label-col[b-q1y1f6x9s2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 175px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    font-family: system-ui, -apple-system, sans-serif;
    letter-spacing: 0.1px;
}

.conversion-label-col .colon[b-q1y1f6x9s2] {
    margin-left: auto;
    padding-left: 6px;
    font-weight: 800;
    color: #94a3b8;
}

.conversion-value-col[b-q1y1f6x9s2] {
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.conversion-input-feed[b-q1y1f6x9s2] {
    width: 110px;
    height: 28px;
    text-align: right;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: 'Consolas', 'Courier New', monospace;
    color: #334155;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 2px 8px;
}

.conversion-input-feed:focus[b-q1y1f6x9s2] {
    outline: none;
    border-color: #0273b2;
    box-shadow: 0 0 0 2px rgba(2, 115, 178, 0.15);
}

.conversion-input-target[b-q1y1f6x9s2] {
    width: 110px;
    height: 28px;
    text-align: right;
    font-size: 0.95rem;
    font-weight: 800;
    font-family: 'Consolas', 'Courier New', monospace;
    color: #0273b2;
    background: #ffffff;
    border: 1.5px solid #0273b2;
    border-radius: 6px;
    padding: 2px 8px;
    box-shadow: 0 0 0 2px rgba(2, 115, 178, 0.15);
}

.conversion-input-target:focus[b-q1y1f6x9s2] {
    outline: none;
    border-color: #0273b2;
    box-shadow: 0 0 0 3px rgba(2, 115, 178, 0.25);
}

.conversion-amount-box[b-q1y1f6x9s2] {
    width: 110px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 2px 8px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.88rem;
    font-weight: 800;
    border-radius: 6px;
}

.conversion-amount-box.orig-amount[b-q1y1f6x9s2] {
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
}

.conversion-amount-box.converted-amount[b-q1y1f6x9s2] {
    color: #059669;
    background: #d1fae5;
    border: 1px solid #10b981;
    font-size: 0.95rem;
    box-shadow: 0 1px 2px rgba(16, 185, 129, 0.15);
}

.conversion-amount-box .amount-val[b-q1y1f6x9s2] {
    letter-spacing: 0.3px;
}

.conversion-error-alert[b-q1y1f6x9s2] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.conversion-modal-footer[b-q1y1f6x9s2] {
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    padding: 10px 16px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.btn-conversion-cancel[b-q1y1f6x9s2] {
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 5px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-conversion-cancel:hover[b-q1y1f6x9s2] {
    background: #f1f5f9;
    color: #1e293b;
}

.btn-conversion-submit[b-q1y1f6x9s2] {
    background: #0273b2;
    color: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 5px 18px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 5px rgba(2, 115, 178, 0.25);
    transition: all 0.15s ease;
}

.btn-conversion-submit:hover[b-q1y1f6x9s2] {
    background: #025d91;
    box-shadow: 0 3px 8px rgba(2, 115, 178, 0.35);
    transform: translateY(-1px);
    color: #ffffff;
}

/* ==========================================================================
   Branch & Counter Compact Toggle Dropdowns in Pharmacy Billing Header
   ========================================================================== */
.branch-selector-container[b-q1y1f6x9s2],
.counter-selector-container[b-q1y1f6x9s2] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.btn-branch-picker[b-q1y1f6x9s2],
.btn-counter-picker[b-q1y1f6x9s2] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 2px 10px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    outline: none;
    user-select: none;
}

.btn-branch-picker:hover[b-q1y1f6x9s2] {
    background: #f8fafc;
    border-color: #818cf8;
    color: #4338ca;
    box-shadow: 0 2px 5px rgba(79, 70, 229, 0.12);
}

.btn-branch-picker:focus[b-q1y1f6x9s2],
.btn-branch-picker:focus-visible[b-q1y1f6x9s2] {
    background: #f8fafc;
    border-color: #4f46e5 !important;
    color: #4338ca;
    outline: 2px solid #6366f1 !important;
    outline-offset: 1px;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;
}

.btn-counter-picker:hover[b-q1y1f6x9s2] {
    background: #f8fafc;
    border-color: #38bdf8;
    color: #0284c7;
    box-shadow: 0 2px 5px rgba(2, 132, 199, 0.12);
}

.btn-counter-picker:focus[b-q1y1f6x9s2],
.btn-counter-picker:focus-visible[b-q1y1f6x9s2] {
    background: #f8fafc;
    border-color: #0284c7 !important;
    color: #0284c7;
    outline: 2px solid #0284c7 !important;
    outline-offset: 1px;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25) !important;
}

.header-picker-name[b-q1y1f6x9s2] {
    font-weight: 600;
    font-size: 0.76rem;
    letter-spacing: -0.1px;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
}

.header-picker-arrow[b-q1y1f6x9s2] {
    font-size: 0.65rem;
    color: #94a3b8;
    transition: transform 0.15s ease;
    margin-left: 1px;
}

.header-picker-arrow.open[b-q1y1f6x9s2] {
    transform: rotate(180deg);
}

.branch-dropdown-menu[b-q1y1f6x9s2],
.counter-dropdown-menu[b-q1y1f6x9s2] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    width: 210px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.04);
    z-index: 1200;
    overflow: hidden;
    animation: fadeInDropdown-b-q1y1f6x9s2 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInDropdown-b-q1y1f6x9s2 {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.picker-dropdown-header[b-q1y1f6x9s2] {
    padding: 5px 8px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.branch-dropdown-item[b-q1y1f6x9s2],
.counter-dropdown-item[b-q1y1f6x9s2] {
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.12s ease;
    border-bottom: 1px solid #f8fafc;
    font-size: 0.76rem;
}

.branch-dropdown-item:last-child[b-q1y1f6x9s2],
.counter-dropdown-item:last-child[b-q1y1f6x9s2] {
    border-bottom: none;
}

.branch-dropdown-item:hover[b-q1y1f6x9s2],
.counter-dropdown-item:hover[b-q1y1f6x9s2] {
    background: #f1f5f9;
}

.branch-dropdown-item.active[b-q1y1f6x9s2] {
    background: #eef2ff;
    color: #4338ca;
    font-weight: 700;
}

.counter-dropdown-item.active[b-q1y1f6x9s2] {
    background: #f0f9ff;
    color: #0284c7;
    font-weight: 700;
}

/* Item Dosage Badge Pill near Item Name - Blue Color */
.item-dosage-badge[b-q1y1f6x9s2] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #eff6ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
    border-radius: 4px;
    padding: 1.5px 6px;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.15;
    margin-top: 2px;
    width: fit-content;
    box-shadow: 0 1px 2px rgba(2, 132, 199, 0.08);
}

.item-dosage-badge i[b-q1y1f6x9s2] {
    font-size: 0.68rem;
    color: #0284c7;
}

/* Active Shift Badge (Top-Right) */
.active-shift-badge-top-right[b-q1y1f6x9s2] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.35);
    color: #065f46;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12);
    white-space: nowrap;
}

.shift-live-pulse[b-q1y1f6x9s2] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: shiftPulseSales-b-q1y1f6x9s2 2s infinite;
}

@keyframes shiftPulseSales-b-q1y1f6x9s2 {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.shift-badge-icon[b-q1y1f6x9s2] {
    font-size: 0.95rem;
    color: #059669;
}

.shift-badge-branch[b-q1y1f6x9s2] {
    color: #0f172a;
    font-weight: 700;
}

.shift-badge-sep[b-q1y1f6x9s2] {
    color: #94a3b8;
    margin: 0 2px;
}

.shift-badge-counter[b-q1y1f6x9s2] {
    color: #0284c7;
    font-weight: 700;
}

[data-theme="dark"] .active-shift-badge-top-right[b-q1y1f6x9s2] {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
}

[data-theme="dark"] .shift-badge-branch[b-q1y1f6x9s2] {
    color: #f1f5f9;
}

[data-theme="dark"] .shift-badge-counter[b-q1y1f6x9s2] {
    color: #38bdf8;
}

/* Dosage Grid in Pharmacy Billing Table */
.dosage-grid-inline[b-q1y1f6x9s2] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    justify-content: center;
}

.dose-slot-box[b-q1y1f6x9s2] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    padding: 2px 2px 3px 2px;
    width: 28px;
    transition: all 0.15s ease-in-out;
}

.dose-slot-box.active[b-q1y1f6x9s2] {
    background: #f0f9ff;
    border-color: #38bdf8;
    box-shadow: 0 1px 3px rgba(2, 132, 199, 0.15);
}

.dose-slot-box .dosage-btn-sm[b-q1y1f6x9s2] {
    width: 100%;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    border: none;
    border-radius: 3px;
    font-size: 0.62rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    padding: 0;
    margin-bottom: 2px;
    line-height: 1;
}

.dose-slot-box .dosage-btn-sm:hover:not(.active)[b-q1y1f6x9s2] {
    background: #cbd5e1;
    color: #0f172a;
}

.dose-slot-box.active .dosage-btn-sm[b-q1y1f6x9s2],
.dose-slot-box .dosage-btn-sm.active[b-q1y1f6x9s2] {
    background: #0284c7 !important;
    color: #ffffff !important;
}

.dose-qty-input[b-q1y1f6x9s2] {
    width: 100%;
    height: 18px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    background: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    color: #0f172a;
    padding: 0;
    margin: 0;
    outline: none;
    -moz-appearance: textfield;
}

.dose-qty-input[b-q1y1f6x9s2]::-webkit-inner-spin-button,
.dose-qty-input[b-q1y1f6x9s2]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.dose-qty-input:focus[b-q1y1f6x9s2] {
    border-color: #0284c7;
    background: #ffffff;
    box-shadow: 0 0 0 1.5px rgba(2, 132, 199, 0.25);
}

[data-theme="dark"] .dose-slot-box[b-q1y1f6x9s2] {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .dose-slot-box.active[b-q1y1f6x9s2] {
    background: #0c4a6e;
    border-color: #0284c7;
}

[data-theme="dark"] .dose-slot-box .dosage-btn-sm[b-q1y1f6x9s2] {
    background: #334155;
    color: #cbd5e1;
}

[data-theme="dark"] .dose-qty-input[b-q1y1f6x9s2] {
    background: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}

/* ========================================================= */
/* ========================================================= */
/* REPORT PREVIEW MODAL STYLING                              */
/* ========================================================= */
.report-preview-modal-backdrop[b-q1y1f6x9s2] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    animation: reportPreviewFadeIn-b-q1y1f6x9s2 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin: 0 !important;
    padding: 1.5rem !important;
    box-sizing: border-box !important;
}

@keyframes reportPreviewFadeIn-b-q1y1f6x9s2 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.report-preview-modal-dialog[b-q1y1f6x9s2] {
    background: #ffffff !important;
    border-radius: 16px !important;
    width: min(1280px, 96vw) !important;
    height: 92vh !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
    overflow: hidden !important;
    border: 1px solid #cbd5e1 !important;
    position: relative !important;
}

.report-preview-modal-header[b-q1y1f6x9s2] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 20px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
    overflow-x: auto !important;
}

.report-preview-header-brand[b-q1y1f6x9s2] {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

.report-preview-header-icon[b-q1y1f6x9s2] {
    font-size: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    background: #eef2ff !important;
    border: 1px solid #c7d2fe !important;
    border-radius: 10px !important;
    line-height: 1 !important;
}

.report-preview-title[b-q1y1f6x9s2] {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    letter-spacing: -0.2px !important;
}

.report-preview-subtitle[b-q1y1f6x9s2] {
    margin: 2px 0 0 0 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
}

.report-preview-header-right[b-q1y1f6x9s2] {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
}

.report-preview-filters[b-q1y1f6x9s2] {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
}

.report-preview-filters .filter-group[b-q1y1f6x9s2] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #f1f5f9 !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    transition: all 0.2s ease !important;
}

.report-preview-filters .filter-group:hover[b-q1y1f6x9s2],
.report-preview-filters .filter-group:focus-within[b-q1y1f6x9s2] {
    border-color: #6366f1 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12) !important;
}

.report-preview-filters .filter-label[b-q1y1f6x9s2] {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
}

.report-preview-filters .filter-label i[b-q1y1f6x9s2] {
    color: #6366f1 !important;
}

.report-preview-filters .filter-select[b-q1y1f6x9s2],
.report-preview-filters .filter-input-date[b-q1y1f6x9s2] {
    height: 28px !important;
    border: none !important;
    background: transparent !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    outline: none !important;
    padding: 0 4px !important;
    font-family: inherit !important;
    cursor: pointer !important;
}

.report-preview-filters .filter-select:focus[b-q1y1f6x9s2],
.report-preview-filters .filter-input-date:focus[b-q1y1f6x9s2] {
    outline: none !important;
}

.report-preview-header-actions[b-q1y1f6x9s2] {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.btn-modal-print[b-q1y1f6x9s2] {
    padding: 7px 16px !important;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3) !important;
    transition: all 0.15s ease !important;
}

.btn-modal-print:hover:not(:disabled)[b-q1y1f6x9s2] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%) !important;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.4) !important;
    transform: translateY(-1px) !important;
}

.btn-modal-print:disabled[b-q1y1f6x9s2] {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

.btn-modal-download[b-q1y1f6x9s2] {
    padding: 7px 16px !important;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3) !important;
    transition: all 0.15s ease !important;
}

.btn-modal-download:hover:not(:disabled)[b-q1y1f6x9s2] {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%) !important;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.4) !important;
    transform: translateY(-1px) !important;
}

.btn-modal-download:disabled[b-q1y1f6x9s2] {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

.btn-modal-close[b-q1y1f6x9s2] {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #64748b !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.15s ease !important;
    padding: 0 !important;
}

.btn-modal-close:hover[b-q1y1f6x9s2] {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border-color: #fca5a5 !important;
    transform: scale(1.05) !important;
}

.report-preview-modal-body[b-q1y1f6x9s2] {
    flex: 1 !important;
    position: relative !important;
    overflow: hidden !important;
    background: #334155 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.report-preview-iframe[b-q1y1f6x9s2] {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block !important;
}

.report-preview-loading-overlay[b-q1y1f6x9s2] {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    gap: 12px !important;
    pointer-events: none !important;
}

.report-preview-loading-overlay .spinner-border[b-q1y1f6x9s2] {
    width: 2.75rem !important;
    height: 2.75rem !important;
    color: #818cf8 !important;
}

.report-preview-loading-overlay .loading-text[b-q1y1f6x9s2] {
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

@media (max-width: 1100px) {
    .pharmacy-billing-header[b-q1y1f6x9s2] {
        gap: 6px;
        padding: 10px;
    }

    .pharmacy-header-topline[b-q1y1f6x9s2] {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .pharmacy-header-main[b-q1y1f6x9s2] {
        gap: 0;
    }

    .pharmacy-header-main .header-card-icon[b-q1y1f6x9s2] {
        display: none;
    }

    .header-card-heading[b-q1y1f6x9s2] {
        font-size: 1rem;
    }

    .header-card-subheading[b-q1y1f6x9s2] {
        font-size: 0.58rem;
        letter-spacing: 0.7px;
        margin-top: 2px;
    }

    .pharmacy-header-controls[b-q1y1f6x9s2] {
        width: 100%;
        flex-wrap: wrap;
    }

    .pharmacy-header-controls[b-q1y1f6x9s2] {
        gap: 8px;
    }

    .pharmacy-header-filters[b-q1y1f6x9s2] {
        gap: 3px;
    }

    .pharmacy-header-filters .filter-group[b-q1y1f6x9s2] {
        height: 30px;
        padding: 0 4px;
    }

    .pharmacy-header-filters .filter-label[b-q1y1f6x9s2] {
        font-size: 0.64rem;
        margin-right: 1px;
    }

    .pharmacy-header-store-filter[b-q1y1f6x9s2] {
        width: 112px;
    }

    .pharmacy-header-store-filter .filter-select[b-q1y1f6x9s2] {
        max-width: 78px;
        font-size: 0.62rem;
    }

    .pharmacy-header-date-filter[b-q1y1f6x9s2] {
        width: 110px;
    }

    .pharmacy-header-filters .filter-input-date[b-q1y1f6x9s2] {
        width: 68px;
        font-size: 0.61rem;
    }

    .pharmacy-header-actions[b-q1y1f6x9s2] {
        gap: 4px;
    }

    .pharmacy-header-actions .items-search[b-q1y1f6x9s2],
    .pharmacy-header-actions .items-search:focus[b-q1y1f6x9s2] {
        width: 160px;
        height: 30px;
        font-size: 0.62rem;
    }

    .pharmacy-header-actions .items-search[b-q1y1f6x9s2] {
        padding-left: 1.55rem;
    }

    .pharmacy-header-actions .items-search-icon[b-q1y1f6x9s2] {
        left: 0.6rem;
        font-size: 0.68rem;
    }

    .pharmacy-header-actions .view-toggle[b-q1y1f6x9s2] {
        height: 30px;
    }

    .pharmacy-header-actions .view-toggle button[b-q1y1f6x9s2] {
        width: 27px;
        height: 24px;
        font-size: 0.72rem;
    }

    .pharmacy-header-actions .add-item-btn[b-q1y1f6x9s2] {
        height: 30px;
        padding: 0 5px;
        font-size: 0.62rem;
    }

    .pharmacy-header-actions .btn-report-preview[b-q1y1f6x9s2] {
        height: 30px;
        padding: 0 6px;
        font-size: 0.62rem;
    }

    .pharmacy-header-summary[b-q1y1f6x9s2] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .pharmacy-header-controls[b-q1y1f6x9s2] {
        width: 100%;
    }

    .pharmacy-header-controls[b-q1y1f6x9s2] {
        flex-wrap: wrap;
    }

    .pharmacy-header-filters[b-q1y1f6x9s2],
    .pharmacy-header-actions[b-q1y1f6x9s2] {
        width: 100%;
    }

    .pharmacy-header-actions[b-q1y1f6x9s2] {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .pharmacy-header-controls[b-q1y1f6x9s2] {
        flex-direction: column;
        align-items: stretch;
    }

    .pharmacy-header-summary[b-q1y1f6x9s2] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pharmacy-header-filters[b-q1y1f6x9s2] {
        width: 100%;
        flex-wrap: wrap;
    }

    .pharmacy-header-store-filter[b-q1y1f6x9s2] {
        flex: 1 1 100%;
        width: 100%;
    }

    .pharmacy-header-date-filter[b-q1y1f6x9s2] {
        flex: 1 1 150px;
        width: auto;
    }

    .pharmacy-header-actions[b-q1y1f6x9s2] {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .pharmacy-header-add-button[b-q1y1f6x9s2] {
        width: auto !important;
    }

    .pharmacy-header-actions .items-search-wrap[b-q1y1f6x9s2] {
        flex: 1 1 100%;
    }

    .pharmacy-header-actions .items-search[b-q1y1f6x9s2],
    .pharmacy-header-actions .items-search:focus[b-q1y1f6x9s2] {
        width: 100%;
    }

    .pharmacy-header-actions .view-toggle[b-q1y1f6x9s2],
    .pharmacy-header-actions .add-item-btn[b-q1y1f6x9s2] {
        width: auto !important;
    }
}

.report-preview-error-overlay[b-q1y1f6x9s2] {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    gap: 8px !important;
}

/* Dark mode support */
[data-theme="dark"] .report-preview-modal-dialog[b-q1y1f6x9s2] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8) !important;
}

[data-theme="dark"] .report-preview-modal-header[b-q1y1f6x9s2] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
}

[data-theme="dark"] .report-preview-header-icon[b-q1y1f6x9s2] {
    background: #1e1b4b !important;
    border-color: #3730a3 !important;
}

[data-theme="dark"] .report-preview-title[b-q1y1f6x9s2] {
    color: #f8fafc !important;
}

[data-theme="dark"] .report-preview-subtitle[b-q1y1f6x9s2] {
    color: #94a3b8 !important;
}

[data-theme="dark"] .report-preview-filters .filter-group[b-q1y1f6x9s2] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .report-preview-filters .filter-label[b-q1y1f6x9s2] {
    color: #94a3b8 !important;
}

[data-theme="dark"] .report-preview-filters .filter-select[b-q1y1f6x9s2],
[data-theme="dark"] .report-preview-filters .filter-input-date[b-q1y1f6x9s2] {
    color: #f8fafc !important;
}

[data-theme="dark"] .btn-modal-close[b-q1y1f6x9s2] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .btn-modal-close:hover[b-q1y1f6x9s2] {
    background: #450a0a !important;
    color: #f87171 !important;
    border-color: #7f1d1d !important;
}

[data-theme="dark"] .report-preview-loading-overlay[b-q1y1f6x9s2],
[data-theme="dark"] .report-preview-error-overlay[b-q1y1f6x9s2] {
    background: rgba(15, 23, 42, 0.96) !important;
    color: #f8fafc !important;
}

/* ─── STATUS SELECT DROPDOWN (Matches OutPatientVisiting badge UI) ─── */
.status-select[b-q1y1f6x9s2] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.22rem 1.45rem 0.22rem 0.6rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    cursor: pointer;
    outline: none;
    font-family: inherit;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.45rem center;
    background-size: 0.55rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    display: inline-block;
    line-height: 1.25;
}

.status-select:hover:not(:disabled)[b-q1y1f6x9s2] {
    transform: scale(1.02);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.status-select:disabled[b-q1y1f6x9s2] {
    opacity: 0.65;
    cursor: wait;
}

.status-select.pending[b-q1y1f6x9s2] {
    background-color: #fef3c7;
    color: #b45309;
    border-color: #fde68a;
}

.status-select.paid[b-q1y1f6x9s2] {
    background-color: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

.status-select.print-delivered[b-q1y1f6x9s2] {
    background-color: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}

.status-select option[b-q1y1f6x9s2] {
    background-color: #ffffff;
    color: #1e293b;
    font-weight: 600;
}

:host-context([data-theme="dark"]) .status-select.pending[b-q1y1f6x9s2],
[data-theme="dark"] .status-select.pending[b-q1y1f6x9s2] {
    background-color: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.4);
}

:host-context([data-theme="dark"]) .status-select.paid[b-q1y1f6x9s2],
[data-theme="dark"] .status-select.paid[b-q1y1f6x9s2] {
    background-color: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.4);
}

:host-context([data-theme="dark"]) .status-select.print-delivered[b-q1y1f6x9s2],
[data-theme="dark"] .status-select.print-delivered[b-q1y1f6x9s2] {
    background-color: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.4);
}

:host-context([data-theme="dark"]) .status-select option[b-q1y1f6x9s2],
[data-theme="dark"] .status-select option[b-q1y1f6x9s2] {
    background-color: #1e293b;
    color: #f8fafc;
}
/* /Components/Pages/SalesReturn.razor.rz.scp.css */
/* Scoped styles for SalesReturn component */

.sales-refund-btn[b-z403ayg0sy],
.sales-refund-action[b-z403ayg0sy] {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 9px;
    border: 1px solid transparent;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1px;
    transition: all 0.18s ease;
}

.sales-refund-btn.pending[b-z403ayg0sy],
.sales-refund-action.pending[b-z403ayg0sy] {
    background: #fff7ed;
    color: #c2410c;
    border-color: #fed7aa;
}

.sales-refund-btn.pending:hover[b-z403ayg0sy],
.sales-refund-action.pending:hover[b-z403ayg0sy] {
    background: #f97316;
    color: #ffffff;
    border-color: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(234, 88, 12, 0.18);
}

.sales-refund-btn.refunded[b-z403ayg0sy],
.sales-refund-action.refunded[b-z403ayg0sy] {
    background: #ecfdf5;
    color: #15803d;
    border-color: #bbf7d0;
    cursor: default;
}

.sales-return-status[b-z403ayg0sy] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 88px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.sales-return-status.pending[b-z403ayg0sy] {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.sales-return-status.refunded[b-z403ayg0sy] {
    background: #ecfdf5;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.items-page[b-z403ayg0sy] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-z403ayg0sy] {
    max-width: 1320px;
    margin: 0 auto;
}

.items-content[b-z403ayg0sy] {
    width: min(1240px, 100%);
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-z403ayg0sy] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    border-radius: 16px !important;
    padding: 1.25rem 2rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem !important;
}

.header-card-left[b-z403ayg0sy] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-card-icon[b-z403ayg0sy] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
}

.header-card-icon svg[b-z403ayg0sy] {
    stroke: #4f46e5 !important;
}

.header-card-text[b-z403ayg0sy] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-z403ayg0sy] {
    color: #312e81 !important;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.header-card-subheading[b-z403ayg0sy] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-z403ayg0sy] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-z403ayg0sy] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.items-search-wrap[b-z403ayg0sy] {
    position: relative;
    display: flex;
    align-items: center;
}

.items-search[b-z403ayg0sy] {
    width: 280px !important;
    height: 38px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    padding-left: 2.4rem !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.items-search:focus[b-z403ayg0sy] {
    outline: none !important;
    width: 320px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.items-search-icon[b-z403ayg0sy] {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.view-toggle[b-z403ayg0sy] {
    display: inline-flex;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #f8fafc !important;
    height: 38px;
    padding: 2px;
    align-items: center;
}

.view-toggle button[b-z403ayg0sy] {
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    width: 36px;
    height: 32px;
    border-radius: 16px !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle button.active[b-z403ayg0sy] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.add-item-btn[b-z403ayg0sy] {
    height: 38px !important;
    border-radius: 20px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 1.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
}

.add-item-btn:hover[b-z403ayg0sy] {
    background: #3f39c5 !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35) !important;
    transform: translateY(-1.5px);
}

.items-main-card[b-z403ayg0sy] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-top: 1.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
}

.items-main-card .table-responsive[b-z403ayg0sy] {
    max-height: 550px !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
}

.items-table[b-z403ayg0sy] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.items-table tr[b-z403ayg0sy] {
    height: 48px !important;
}

table.table.items-table thead tr th[b-z403ayg0sy],
.items-table th[b-z403ayg0sy] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: #ffffff !important;
    color: #8a99ad !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.8px !important;
    padding: 10px 16px !important;
    height: 44px !important;
    border-bottom: 2px solid #eef2f6 !important;
    text-align: center !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.items-table td[b-z403ayg0sy] {
    border-top: none !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding: 10px 16px !important;
    height: 48px !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #64748b !important;
    vertical-align: middle !important;
    text-align: center !important;
}

.items-table td:last-child[b-z403ayg0sy] {
    white-space: nowrap !important;
    text-align: center !important;
}

.items-table tr td:first-child[b-z403ayg0sy] {
    color: #3b82f6 !important;
    font-weight: 700 !important;
}

.action-btn[b-z403ayg0sy] {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.action-btn:hover[b-z403ayg0sy] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.action-btn i[b-z403ayg0sy] {
    font-size: 0.85rem !important;
}

.items-card-grid[b-z403ayg0sy] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.item-card[b-z403ayg0sy] {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.item-card:hover[b-z403ayg0sy] {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.item-card-head[b-z403ayg0sy] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    color: #1e293b !important;
    padding: 0.6rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.1) !important;
}

.card-item-code[b-z403ayg0sy] {
    color: #4b5563 !important;
    font-weight: 700 !important;
    margin-right: 6px;
}

.card-item-name[b-z403ayg0sy] {
    color: #374151 !important;
    font-weight: 700 !important;
}

.item-card-body[b-z403ayg0sy] {
    padding: 0.75rem 1rem !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
}

.detail-row[b-z403ayg0sy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.detail-row:last-child[b-z403ayg0sy] {
    border-bottom: none !important;
}

.detail-row span[b-z403ayg0sy] {
    color: #8a99ad !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.detail-row strong[b-z403ayg0sy] {
    color: #000000 !important;
    font-weight: 600 !important;
}

.btn-cancel-modal[b-z403ayg0sy] {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: none !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    min-width: 100px !important;
    transition: all 0.2s !important;
}

.btn-cancel-modal:hover[b-z403ayg0sy] {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.purchase-bill-wrapper[b-z403ayg0sy] {
    display: flex;
    gap: 2.25rem;
    flex-wrap: wrap;
}

.purchase-bill-fields[b-z403ayg0sy] {
    flex: 1.5;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.purchase-bill-fields .premium-input[b-z403ayg0sy] {
    padding: 0 10px !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
    height: 32px !important;
    line-height: 32px !important;
    background: #f9fafc !important;
    border: 1px solid #e5e7eb !important;
    color: #1f2937 !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
}

.purchase-bill-fields input[type="date"].premium-input[b-z403ayg0sy],
.purchase-bill-fields input.premium-input[b-z403ayg0sy] {
    padding: 0 10px !important;
    height: 32px !important;
    line-height: normal !important;
    background: #f9fafc !important;
    border: 1px solid #e5e7eb !important;
}

.purchase-bill-fields .field-group[b-z403ayg0sy] {
    gap: 4px;
}

.purchase-bill-fields .field-label[b-z403ayg0sy] {
    font-size: 0.68rem !important;
    margin-bottom: 4px !important;
    font-weight: 700 !important;
    color: #374151 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.purchase-bill-fields .form-grid[b-z403ayg0sy] {
    gap: 12px;
}

.purchase-bill-summary[b-z403ayg0sy] {
    flex: 0.85;
    min-width: 300px;
    max-width: 320px;
    display: flex;
    align-items: stretch;
}

.purchase-item-entry-card[b-z403ayg0sy] {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0.7rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow-x: hidden;
    box-sizing: border-box;
}

.purchase-item-entry-header[b-z403ayg0sy] {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(52px, 0.55fr) minmax(60px, 0.65fr) minmax(52px, 0.55fr) minmax(52px, 0.55fr) minmax(80px, 0.9fr) minmax(110px, 1fr);
    gap: 10px;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.purchase-item-entry-label[b-z403ayg0sy] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.purchase-item-entry-label span[b-z403ayg0sy] {
    color: #ef4444;
}

.purchase-item-entry-fields[b-z403ayg0sy] {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(52px, 0.55fr) minmax(60px, 0.65fr) minmax(52px, 0.55fr) minmax(52px, 0.55fr) minmax(80px, 0.9fr) minmax(110px, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
}

.purchase-item-entry-fields>div[b-z403ayg0sy],
.purchase-item-entry-header>div[b-z403ayg0sy] {
    min-width: 0;
}

.purchase-item-input[b-z403ayg0sy] {
    height: 28px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    font-size: 0.65rem;
    padding: 0 6px;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-input:focus[b-z403ayg0sy] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    background: #f8fbff;
}

.purchase-item-select[b-z403ayg0sy] {
    height: 28px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    font-size: 0.65rem;
    padding: 0 6px;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-select:focus[b-z403ayg0sy] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    background: #f8fbff;
}

.purchase-item-add-btn[b-z403ayg0sy] {
    background: #10b981;
    color: white;
    border: none;
    border-radius: 6px;
    height: 28px;
    font-weight: 700;
    font-size: 0.65rem;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-add-btn:hover[b-z403ayg0sy] {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.purchase-item-add-btn:active[b-z403ayg0sy] {
    transform: translateY(0);
}

.purchase-details-wrapper[b-z403ayg0sy] {
    width: 100%;
    margin-bottom: 2rem;
}

.purchase-details-link[b-z403ayg0sy] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f678f;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.purchase-details-link:hover[b-z403ayg0sy] {
    color: #0ea5e9;
    gap: 8px;
}

.purchase-items-table-wrapper[b-z403ayg0sy] {
    border: none !important;
    border-radius: 0;
    overflow: visible;
    background: white;
    margin-bottom: 0.5rem !important;
    box-shadow: none !important;
}

.purchase-items-table-wrapper table[b-z403ayg0sy] {
    table-layout: fixed;
    width: 100%;
}

.purchase-items-table-wrapper .purchase-item-input[b-z403ayg0sy],
.purchase-items-table-wrapper .purchase-item-select[b-z403ayg0sy] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    height: 26px;
    font-size: 0.65rem;
    padding: 0 6px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    outline: none;
    transition: all 0.2s;
}

.purchase-items-table-wrapper .purchase-item-input:focus[b-z403ayg0sy],
.purchase-items-table-wrapper .purchase-item-select:focus[b-z403ayg0sy] {
    border-color: #0273b2;
    box-shadow: 0 0 0 2px rgba(2, 115, 178, 0.1);
    background: #f4f8fa;
}

.purchase-items-table-wrapper .purchase-item-select[b-z403ayg0sy] {
    min-width: 130px;
}

.purchase-items-table-header[b-z403ayg0sy] {
    background: #0273b2 !important;
    border-bottom: none;
}

.purchase-items-table-header th[b-z403ayg0sy] {
    font-weight: 700;
    font-size: 0.72rem;
    color: #ffffff !important;
    padding: 12px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.purchase-add-row-wrapper[b-z403ayg0sy] {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.purchase-add-row-btn[b-z403ayg0sy] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 2px dashed #0273b2 !important;
    border-radius: 10px !important;
    background: #f4f8fa !important;
    color: #0273b2 !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.45rem 1.25rem;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.22s ease-in-out;
    box-shadow: 0 2px 4px rgba(2, 115, 178, 0.05);
}

.purchase-add-row-btn:hover[b-z403ayg0sy] {
    background: #e6f2fa !important;
    border-color: #015f94 !important;
    color: #015f94 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 115, 178, 0.12);
}

.purchase-add-row-btn i[b-z403ayg0sy] {
    font-size: 0.95rem;
    color: #0273b2 !important;
    transition: color 0.22s ease-in-out;
}

.purchase-add-row-btn:hover i[b-z403ayg0sy] {
    color: #015f94 !important;
}

.purchase-item-readonly[b-z403ayg0sy] {
    display: block;
    width: 100%;
    height: 26px;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0 6px;
    line-height: 24px;
    font-size: 0.65rem;
    color: #475569;
    box-sizing: border-box;
    pointer-events: none;
    user-select: none;
    text-align: right;
}

.purchase-items-table-wrapper .purchase-item-input:disabled[b-z403ayg0sy],
.purchase-items-table-wrapper .purchase-item-select:disabled[b-z403ayg0sy] {
    pointer-events: none;
    cursor: default;
    background-color: white !important;
    color: #000000 !important;
    border-color: #d1d5db !important;
}

.btn-add-item-blue[b-z403ayg0sy] {
    background: #0273b2;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(2, 115, 178, 0.3);
    transition: all 0.2s;
    white-space: nowrap;
    font-size: 0.82rem;
    height: 32px;
}

.btn-add-item-blue:hover[b-z403ayg0sy] {
    background: #015c8f;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 115, 178, 0.4);
}

.btn-add-item-blue:active[b-z403ayg0sy] {
    transform: translateY(0);
}

.bill-card-premium[b-z403ayg0sy] {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 5px solid #3b82f6;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.04);
    transition: all 0.3s ease;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.25rem;
    padding: 0.4rem 0.65rem;
}

.bill-card-premium:hover[b-z403ayg0sy] {
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.08);
    border-color: #93c5fd;
    border-left-color: #2563eb;
}

.bill-card-header-premium[b-z403ayg0sy] {
    margin-bottom: 0.15rem;
    padding-bottom: 0.35rem;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #4f46e5;
    letter-spacing: 0.8px;
    border-bottom: 1px dashed #bfdbfe;
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-premium-gross[b-z403ayg0sy] {
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #1e3a8a !important;
    color: #1e3a8a !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-gross:hover[b-z403ayg0sy] {
    transform: translateY(-1.5px);
    background-color: #f1f5f9 !important;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.08);
}

.input-premium-gross:focus[b-z403ayg0sy] {
    border-color: #2563eb !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
    outline: none;
}

.input-premium-discount[b-z403ayg0sy] {
    background-color: #f0fdf4 !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #059669 !important;
    color: #065f46 !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-discount:hover[b-z403ayg0sy] {
    transform: translateY(-1.5px);
    background-color: #ecfdf5 !important;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.08);
}

.input-premium-discount:focus[b-z403ayg0sy] {
    border-color: #10b981 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18) !important;
    outline: none;
}

.input-premium-tax[b-z403ayg0sy] {
    background-color: #fffbeb !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #d97706 !important;
    color: #92400e !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-tax:hover[b-z403ayg0sy] {
    transform: translateY(-1.5px);
    background-color: #fef3c7 !important;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.08);
}

.input-premium-tax:focus[b-z403ayg0sy] {
    border-color: #f59e0b !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18) !important;
    outline: none;
}

.net-payable-wrapper-premium[b-z403ayg0sy] {
    margin-top: 0.2rem;
    padding-top: 0.5rem;
    border-top: 2px dashed rgba(99, 102, 241, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.net-payable-label-premium[b-z403ayg0sy] {
    font-size: 0.74rem;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.net-payable-value-premium[b-z403ayg0sy] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #4f46e5;
    text-shadow: 0 1px 2px rgba(79, 70, 229, 0.1);
}

@keyframes premium-pulse-blink-b-z403ayg0sy {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.65;
        transform: scale(0.97);
    }
}

.blink-payable-value[b-z403ayg0sy] {
    animation: premium-pulse-blink-b-z403ayg0sy 1.8s infinite ease-in-out;
    display: inline-block;
}

.btn-dotted-add[b-z403ayg0sy] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px dashed #0f678f !important;
    background: #fff !important;
    color: #0f678f !important;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 20px;
    padding: 8px 32px;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-dotted-add:hover[b-z403ayg0sy] {
    background: rgba(15, 103, 143, 0.04) !important;
    border-color: #0d587a !important;
    color: #0d587a !important;
    transform: translateY(-1.5px);
}

.btn-dotted-add:active[b-z403ayg0sy] {
    transform: translateY(0);
}

.purchase-bill-fields select.premium-input[b-z403ayg0sy] {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    background-image: none !important;
    padding-right: 24px !important;
}

/* Vendor Master Specific Styles */
.items-main-card .table-responsive[b-z403ayg0sy] {
    padding-right: 0 !important;
    overflow-x: auto !important;
}

.items-table[b-z403ayg0sy] {
    width: 100% !important;
}

.items-table th[b-z403ayg0sy] {
    background: #f8fafc !important;
    color: #1e293b !important;
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    padding: 12px 16px !important;
}

.items-table td[b-z403ayg0sy] {
    white-space: normal !important;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem !important;
    padding: 3px 6px !important;
}

/* Premium Modal Styles for Vendor */
.modal-card[b-z403ayg0sy] {
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    background: #fff;
}

.modal-header-bar[b-z403ayg0sy] {
    background: #fff !important;
    color: #333 !important;
    padding: 24px 32px !important;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-left[b-z403ayg0sy] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-badge[b-z403ayg0sy] {
    background: var(--sidebar-bg);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.modal-title[b-z403ayg0sy] {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.modal-subtitle[b-z403ayg0sy] {
    font-size: 0.85rem;
    color: #64748b;
}

.btn-close-modal[b-z403ayg0sy] {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-z403ayg0sy] {
    background: #e2e8f0;
    color: #1e293b;
}

.modal-inner[b-z403ayg0sy] {
    padding: 16px 32px !important;
    background: #fff;
}

.form-section-header[b-z403ayg0sy] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    margin-top: 4px;
}

.form-section-icon[b-z403ayg0sy] {
    background: var(--sidebar-bg);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.form-section-title[b-z403ayg0sy] {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #025091;
}

.form-grid[b-z403ayg0sy] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.col-prefix[b-z403ayg0sy] {
    grid-column: span 3;
}

.col-main[b-z403ayg0sy] {
    grid-column: span 9;
}

.col-2[b-z403ayg0sy] {
    grid-column: span 2;
}

.col-3[b-z403ayg0sy] {
    grid-column: span 3;
}

.col-4[b-z403ayg0sy] {
    grid-column: span 4;
}

.col-5[b-z403ayg0sy] {
    grid-column: span 5;
}

.col-6[b-z403ayg0sy] {
    grid-column: span 6;
}

.col-7[b-z403ayg0sy] {
    grid-column: span 7;
}

.col-8[b-z403ayg0sy] {
    grid-column: span 8;
}

.col-9[b-z403ayg0sy] {
    grid-column: span 9;
}

.col-10[b-z403ayg0sy] {
    grid-column: span 10;
}

.col-11[b-z403ayg0sy] {
    grid-column: span 11;
}

.col-12[b-z403ayg0sy] {
    grid-column: span 12;
}

.field-group[b-z403ayg0sy] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label[b-z403ayg0sy] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.field-label.required[b-z403ayg0sy]::after {
    content: " *";
    color: #ef4444;
}

.premium-input[b-z403ayg0sy] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    color: #4b5563 !important;
    transition: all 0.2s !important;
    height: auto !important;
}

.premium-input[b-z403ayg0sy]::placeholder {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

.premium-input:focus[b-z403ayg0sy] {
    background: #fff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

.modal-footer-actions[b-z403ayg0sy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.btn-delete-text[b-z403ayg0sy] {
    color: #ef4444;
    background: none;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-delete-text:hover[b-z403ayg0sy] {
    background: #fef2f2;
}

.btn-save-premium[b-z403ayg0sy] {
    background: #1c9f5f;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(28, 159, 95, 0.3);
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-save-premium:hover[b-z403ayg0sy] {
    background: #168a52;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(28, 159, 95, 0.4);
}

.btn-save-premium:active[b-z403ayg0sy] {
    transform: translateY(0);
}

.btn-save-premium:disabled[b-z403ayg0sy] {
    opacity: 0.6;
    cursor: not-allowed;
}


/* Financial Summary Card Styles */
.financial-summary-card[b-z403ayg0sy] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    padding: 1.5rem;
    font-family: 'Inter', 'Outfit', sans-serif;
}

.financial-summary-header[b-z403ayg0sy] {
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.financial-summary-row[b-z403ayg0sy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.financial-summary-label[b-z403ayg0sy] {
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.financial-summary-value[b-z403ayg0sy] {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

.financial-summary-input[b-z403ayg0sy] {
    width: 80px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #334155;
    outline: none;
    transition: all 0.2s;
    background: #ffffff;
}

.financial-summary-input:focus[b-z403ayg0sy] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.financial-summary-net[b-z403ayg0sy] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.financial-summary-net-label[b-z403ayg0sy] {
    color: #0f172a;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.financial-summary-net-value[b-z403ayg0sy] {
    color: #4f46e5;
    font-weight: 800;
    font-size: 1.4rem;
}

/* Purchase Entry Master Compact Summary Card */
.compact-summary-card[b-z403ayg0sy] {
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    border: 1.5px solid rgba(99, 102, 241, 0.15);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.compact-summary-card[b-z403ayg0sy]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1, #06b6d4);
    border-radius: 14px 0 0 14px;
}

.compact-summary-card:hover[b-z403ayg0sy] {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.18);
}

/* Physical Bill Totals - Blue-indigo gradient */
.compact-summary-card.bill-card[b-z403ayg0sy] {
    background: linear-gradient(135deg, #eef2ff 0%, #f0fdff 100%);
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.08);
}

.compact-summary-card.bill-card[b-z403ayg0sy]::before {
    background: linear-gradient(180deg, #6366f1, #06b6d4);
}

/* Computed Items Total - Teal-green gradient */
.compact-summary-card.items-card[b-z403ayg0sy] {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.08);
}

.compact-summary-card.items-card[b-z403ayg0sy]::before {
    background: linear-gradient(180deg, #10b981, #06b6d4);
}

.compact-summary-card.items-card:hover[b-z403ayg0sy] {
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.18);
}

.compact-summary-header[b-z403ayg0sy] {
    font-size: 0.72rem;
    font-weight: 800;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(99, 102, 241, 0.25);
    padding-left: 8px;
}

.compact-summary-card.items-card .compact-summary-header[b-z403ayg0sy] {
    color: #10b981;
    border-bottom-color: rgba(16, 185, 129, 0.25);
}

.compact-summary-row[b-z403ayg0sy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-left: 8px;
}

.compact-summary-label[b-z403ayg0sy] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.compact-summary-value[b-z403ayg0sy] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}

.compact-summary-input[b-z403ayg0sy] {
    width: 110px;
    height: 30px;
    border-radius: 8px;
    border: 1.5px solid rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.8);
    text-align: right;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0 10px;
    color: #1e293b;
}

.compact-summary-input:focus[b-z403ayg0sy] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    background: #fff;
}

.compact-summary-net[b-z403ayg0sy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    padding-left: 8px;
    border-top: 1.5px solid rgba(99, 102, 241, 0.2);
}

.compact-summary-card.items-card .compact-summary-net[b-z403ayg0sy] {
    border-top-color: rgba(16, 185, 129, 0.2);
}

.compact-summary-net-label[b-z403ayg0sy] {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compact-summary-net-value[b-z403ayg0sy] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #6366f1;
    letter-spacing: -0.5px;
}

.compact-summary-card.items-card .compact-summary-net-value[b-z403ayg0sy] {
    color: #10b981;
}

/* Stock Indent Status Badges */
.badge-indent-pending[b-z403ayg0sy] {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #d97706 !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-indent-approved[b-z403ayg0sy] {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-indent-rejected[b-z403ayg0sy] {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

/* Stock volume indicators */
.badge-stock-high[b-z403ayg0sy] {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-stock-low[b-z403ayg0sy] {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #d97706 !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-stock-empty[b-z403ayg0sy] {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

/* OVERRIDE FOR HIGH-DENSITY PURCHASE BILL FORM (e.g. ItemMaster Modal) */
.purchase-bill-fields .premium-segmented-control-joined[b-z403ayg0sy] {
    height: 32px !important;
    border-radius: 6px !important;
    max-width: none !important;
}

.purchase-bill-fields .segment-btn-joined[b-z403ayg0sy] {
    font-size: 0.8rem !important;
}

.purchase-bill-fields .segment-btn-joined:first-child[b-z403ayg0sy] {
    border-right: 1px solid #e2e8f0 !important;
}

/* Tabular Grid/Real Table styling for purchase details table */
.purchase-items-table-wrapper table[b-z403ayg0sy] {
    border-collapse: collapse !important;
    border: 1px solid #cbd5e1 !important;
    width: 100%;
}

.purchase-items-table-wrapper th[b-z403ayg0sy],
.purchase-items-table-wrapper td[b-z403ayg0sy] {
    border: 1px solid #cbd5e1 !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

.purchase-items-table-header th[b-z403ayg0sy] {
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 10px 8px !important;
    font-weight: 700;
    font-size: 0.72rem;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #0273b2 !important;
}

.purchase-items-table-wrapper .purchase-item-input[b-z403ayg0sy],
.purchase-items-table-wrapper .purchase-item-select[b-z403ayg0sy] {
    width: 100% !important;
    height: 34px !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.purchase-items-table-wrapper .purchase-item-input:focus[b-z403ayg0sy],
.purchase-items-table-wrapper .purchase-item-select:focus[b-z403ayg0sy] {
    background: #f4f8fa !important;
    box-shadow: inset 0 0 0 2px rgba(2, 115, 178, 0.2) !important;
}

.purchase-items-table-wrapper .purchase-item-readonly[b-z403ayg0sy] {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    width: 100% !important;
    height: 34px !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background-color: #f8fafc !important;
    font-weight: 600;
}

.purchase-items-table-wrapper td.purchase-items-table-footer-cell[b-z403ayg0sy] {
    padding: 16px 24px !important;
}

/* Return Items Table Styling */
.return-items-table-wrapper[b-z403ayg0sy] {
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    overflow: visible !important;
    background: #ffffff !important;
    margin-bottom: 8px !important;
}

.return-items-table[b-z403ayg0sy] {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    font-size: 0.82rem !important;
    min-width: 980px !important;
}

.return-items-table thead[b-z403ayg0sy],
.return-items-table thead th[b-z403ayg0sy] {
    background: #0273b2 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 10px 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.return-items-table thead th:last-child[b-z403ayg0sy] {
    border-right: none !important;
}

.return-items-table tbody td[b-z403ayg0sy] {
    border-bottom: 1px solid #e2e8f0 !important;
    border-right: 1px solid #f1f5f9 !important;
    padding: 5px 6px !important;
    vertical-align: middle !important;
    overflow: visible !important;
}

.return-items-table tbody td:last-child[b-z403ayg0sy] {
    border-right: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR SALES RETURN
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .items-page[b-z403ayg0sy],
[data-theme="dark"] .items-page[b-z403ayg0sy] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .premium-header-card[b-z403ayg0sy],
[data-theme="dark"] .premium-header-card[b-z403ayg0sy] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .header-card-icon[b-z403ayg0sy],
[data-theme="dark"] .header-card-icon[b-z403ayg0sy] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .header-card-heading[b-z403ayg0sy],
[data-theme="dark"] .header-card-heading[b-z403ayg0sy] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .header-card-subheading[b-z403ayg0sy],
[data-theme="dark"] .header-card-subheading[b-z403ayg0sy] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .items-main-card[b-z403ayg0sy],
[data-theme="dark"] .items-main-card[b-z403ayg0sy] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .card-body[b-z403ayg0sy],
[data-theme="dark"] .card-body[b-z403ayg0sy] {
    background: #1e293b !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .field-label[b-z403ayg0sy],
[data-theme="dark"] .field-label[b-z403ayg0sy] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .premium-input[b-z403ayg0sy],
[data-theme="dark"] .premium-input[b-z403ayg0sy] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .premium-input option[b-z403ayg0sy],
[data-theme="dark"] .premium-input option[b-z403ayg0sy] {
    background: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) table.table.items-table thead tr th[b-z403ayg0sy],
:host-context([data-theme="dark"]) .items-table th[b-z403ayg0sy],
[data-theme="dark"] table.table.items-table thead tr th[b-z403ayg0sy],
[data-theme="dark"] .items-table th[b-z403ayg0sy] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .items-table td[b-z403ayg0sy],
[data-theme="dark"] .items-table td[b-z403ayg0sy] {
    background: #1e293b !important;
    border-bottom-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .items-table tr td:first-child[b-z403ayg0sy],
[data-theme="dark"] .items-table tr td:first-child[b-z403ayg0sy] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .return-amount-cell[b-z403ayg0sy],
[data-theme="dark"] .return-amount-cell[b-z403ayg0sy] {
    background-color: #311213 !important;
    border-left-color: #451a1c !important;
    color: #f87171 !important;
}

:host-context([data-theme="dark"]) .btn-cancel-modal[b-z403ayg0sy],
[data-theme="dark"] .btn-cancel-modal[b-z403ayg0sy] {
    background: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .btn-cancel-modal:hover[b-z403ayg0sy],
[data-theme="dark"] .btn-cancel-modal:hover[b-z403ayg0sy] {
    background: #475569 !important;
    color: #ffffff !important;
}
/* /Components/Pages/SampleMaster.razor.rz.scp.css */
.referral-page[b-e9r79o6gq0] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-e9r79o6gq0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-e9r79o6gq0] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-e9r79o6gq0] {
    display: flex;
}

.align-center[b-e9r79o6gq0] {
    align-items: center;
}

.flex-center[b-e9r79o6gq0] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-e9r79o6gq0] {
    gap: 8px;
}

.gap-12[b-e9r79o6gq0] {
    gap: 12px;
}

.gap-16[b-e9r79o6gq0] {
    gap: 16px;
}

.p-2[b-e9r79o6gq0] {
    padding: 8px;
}

.p-4[b-e9r79o6gq0] {
    padding: 16px;
}

.p-48[b-e9r79o6gq0] {
    padding: 48px;
}

.rounded-lg[b-e9r79o6gq0] {
    border-radius: 8px;
}

.shadow-sm[b-e9r79o6gq0] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-e9r79o6gq0] {
    margin: 0;
}

.mt-2px[b-e9r79o6gq0] {
    margin-top: 2px;
}

.mb-0[b-e9r79o6gq0] {
    margin-bottom: 0;
}

.mt-0[b-e9r79o6gq0] {
    margin-top: 0;
}

.relative-positioned[b-e9r79o6gq0] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-e9r79o6gq0] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04);
    padding: 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
}

.lab-title-text[b-e9r79o6gq0] {
    color: #312e81;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-e9r79o6gq0] {
    background-color: #eef2ff;
}

.text-indigo-600[b-e9r79o6gq0] {
    color: #4f46e5;
}

.icon-lg[b-e9r79o6gq0] {
    font-size: 24px;
}

.status-pulse-dot[b-e9r79o6gq0] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-e9r79o6gq0 2s infinite;
}

.status-text[b-e9r79o6gq0] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-e9r79o6gq0] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-e9r79o6gq0] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-e9r79o6gq0] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-e9r79o6gq0] {
    width: 220px;
}

.btn-new-entry[b-e9r79o6gq0] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-e9r79o6gq0] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-e9r79o6gq0] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.lc-table-container[b-e9r79o6gq0] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-e9r79o6gq0] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-e9r79o6gq0] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-e9r79o6gq0] {
    padding: 1rem 1.5rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lc-table td[b-e9r79o6gq0] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    vertical-align: middle;
}

.lc-table tbody tr:last-child td[b-e9r79o6gq0] {
    border-bottom: none;
}

.lc-table-row:hover[b-e9r79o6gq0] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-e9r79o6gq0] {
    font-weight: 700;
}

.text-indigo-600[b-e9r79o6gq0] {
    color: #4f46e5;
}

.lc-color-slate-500[b-e9r79o6gq0] {
    color: #64748b;
}

.lc-font-mono[b-e9r79o6gq0] {
    font-family: monospace;
}

.lc-font-700[b-e9r79o6gq0] {
    font-weight: 700;
}

.lc-font-13[b-e9r79o6gq0] {
    font-size: 13px;
}

.text-slate-800[b-e9r79o6gq0] {
    color: #1e293b;
}

.text-slate-500[b-e9r79o6gq0] {
    color: #64748b;
}

.text-slate-400[b-e9r79o6gq0] {
    color: #94a3b8;
}

.font-12[b-e9r79o6gq0] {
    font-size: 12px;
}

.font-18[b-e9r79o6gq0] {
    font-size: 18px;
}

.italic[b-e9r79o6gq0] {
    font-style: italic;
}

/* Action buttons */
.lc-btn[b-e9r79o6gq0] {
    padding: 8px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-e9r79o6gq0] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-e9r79o6gq0] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-e9r79o6gq0] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-e9r79o6gq0] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-e9r79o6gq0] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-e9r79o6gq0 0.3s ease-out;
}

.modal-header-bar[b-e9r79o6gq0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-e9r79o6gq0] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-e9r79o6gq0] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-e9r79o6gq0] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-e9r79o6gq0] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-section[b-e9r79o6gq0] {
    margin-bottom: 0;
}

.form-group[b-e9r79o6gq0] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-e9r79o6gq0] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-input[b-e9r79o6gq0] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
}

.lab-input:focus[b-e9r79o6gq0] {
    outline: none;
    border-color: #4f46e5;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.um-grid-row[b-e9r79o6gq0] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.um-grid-cols-2[b-e9r79o6gq0] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.modal-footer-bar[b-e9r79o6gq0] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-e9r79o6gq0] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-e9r79o6gq0] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-e9r79o6gq0] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-delete[b-e9r79o6gq0] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.btn-delete:hover:not(:disabled)[b-e9r79o6gq0] {
    text-decoration: underline;
}

.btn-delete:disabled[b-e9r79o6gq0] {
    opacity: 0.4;
    cursor: not-allowed;
}

.text-danger[b-e9r79o6gq0] {
    color: #ef4444;
}

.alert[b-e9r79o6gq0] {
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
}

.alert-danger[b-e9r79o6gq0] {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success[b-e9r79o6gq0] {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

/* Animations */
@keyframes lc-pulse-b-e9r79o6gq0 {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-e9r79o6gq0] {
    animation: lc-fadeInUp-b-e9r79o6gq0 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-e9r79o6gq0 {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   DARK MODE OVERRIDES FOR SAMPLE MASTER
   ========================================================================== */

:host-context([data-theme="dark"]) .referral-page[b-e9r79o6gq0],
[data-theme="dark"] .referral-page[b-e9r79o6gq0] {
    background-color: #090d16 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-e9r79o6gq0],
[data-theme="dark"] .lab-header-card[b-e9r79o6gq0] {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-e9r79o6gq0],
[data-theme="dark"] .lab-title-text[b-e9r79o6gq0] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .bg-indigo-50[b-e9r79o6gq0],
[data-theme="dark"] .bg-indigo-50[b-e9r79o6gq0] {
    background-color: #0f172a !important;
}

:host-context([data-theme="dark"]) .status-text[b-e9r79o6gq0],
[data-theme="dark"] .status-text[b-e9r79o6gq0] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input[b-e9r79o6gq0],
[data-theme="dark"] .lc-rounded-pill-input[b-e9r79o6gq0] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input:focus[b-e9r79o6gq0],
[data-theme="dark"] .lc-rounded-pill-input:focus[b-e9r79o6gq0] {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
}

:host-context([data-theme="dark"]) .directory-section[b-e9r79o6gq0],
[data-theme="dark"] .directory-section[b-e9r79o6gq0] {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table thead tr[b-e9r79o6gq0],
[data-theme="dark"] .lc-table thead tr[b-e9r79o6gq0] {
    background: #0f172a !important;
    border-bottom: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table th[b-e9r79o6gq0],
[data-theme="dark"] .lc-table th[b-e9r79o6gq0] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-table td[b-e9r79o6gq0],
[data-theme="dark"] .lc-table td[b-e9r79o6gq0] {
    border-bottom: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .text-slate-800[b-e9r79o6gq0],
[data-theme="dark"] .text-slate-800[b-e9r79o6gq0] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .text-slate-500[b-e9r79o6gq0],
[data-theme="dark"] .text-slate-500[b-e9r79o6gq0],
:host-context([data-theme="dark"]) .lc-color-slate-500[b-e9r79o6gq0],
[data-theme="dark"] .lc-color-slate-500[b-e9r79o6gq0] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .text-slate-400[b-e9r79o6gq0],
[data-theme="dark"] .text-slate-400[b-e9r79o6gq0] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lc-table-row:hover[b-e9r79o6gq0],
[data-theme="dark"] .lc-table-row:hover[b-e9r79o6gq0] {
    background: #334155 !important;
}

:host-context([data-theme="dark"]) .lc-btn[b-e9r79o6gq0],
[data-theme="dark"] .lc-btn[b-e9r79o6gq0] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .lc-btn:hover[b-e9r79o6gq0],
[data-theme="dark"] .lc-btn:hover[b-e9r79o6gq0] {
    background: #334155 !important;
    border-color: #475569 !important;
}

/* Modal Dark Mode */
:host-context([data-theme="dark"]) .modal-form-card[b-e9r79o6gq0],
[data-theme="dark"] .modal-form-card[b-e9r79o6gq0] {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.7) !important;
}

:host-context([data-theme="dark"]) .modal-header-bar[b-e9r79o6gq0],
[data-theme="dark"] .modal-header-bar[b-e9r79o6gq0] {
    background-color: #1e293b !important;
    border-bottom: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header-bar h3[b-e9r79o6gq0],
[data-theme="dark"] .modal-header-bar h3[b-e9r79o6gq0] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-body[b-e9r79o6gq0],
[data-theme="dark"] .modal-body[b-e9r79o6gq0] {
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .modal-footer-bar[b-e9r79o6gq0],
[data-theme="dark"] .modal-footer-bar[b-e9r79o6gq0] {
    background-color: #0f172a !important;
    border-top: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .form-group label[b-e9r79o6gq0],
[data-theme="dark"] .form-group label[b-e9r79o6gq0] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lab-input[b-e9r79o6gq0],
[data-theme="dark"] .lab-input[b-e9r79o6gq0] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-input:focus[b-e9r79o6gq0],
[data-theme="dark"] .lab-input:focus[b-e9r79o6gq0] {
    background-color: #1e293b !important;
    border-color: #6366f1 !important;
}
/* Master dashboard theme */
:global(.main-content):has(.referral-page)[b-e9r79o6gq0] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.referral-page[b-e9r79o6gq0] { height: calc(100vh - 1.5rem) !important; min-height: 0 !important; padding: 0 !important; gap: .6rem !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.lab-header-card[b-e9r79o6gq0] { flex: 0 0 78px !important; padding: .15rem 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.icon-box-container[b-e9r79o6gq0] { background: #e4f4ff !important; }
.text-indigo-600[b-e9r79o6gq0] { color: #0876ad !important; }
.lab-title-text[b-e9r79o6gq0] { color: #07547c !important; font-size: 1.85rem !important; font-weight: 800 !important; }
.status-text[b-e9r79o6gq0] { color: #647b90 !important; font-size: .78rem !important; text-transform: none !important; letter-spacing: 0 !important; }
.lc-rounded-pill-input[b-e9r79o6gq0] { width: 280px !important; height: 40px !important; border-radius: 10px !important; border-color: #cbd9e8 !important; }
.btn-new-entry[b-e9r79o6gq0] { height: 40px !important; padding: 0 1.15rem !important; border-radius: 10px !important; background: #087bb5 !important; }
.directory-section[b-e9r79o6gq0] { flex: 1 1 auto !important; min-height: 0 !important; margin: 0 !important; border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; background: #fff !important; }
.lc-table-container[b-e9r79o6gq0] { max-height: none !important; overflow: auto !important; }
.lc-table thead tr[b-e9r79o6gq0] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.lc-table th[b-e9r79o6gq0] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.lc-table td[b-e9r79o6gq0] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.lc-table tbody tr[b-e9r79o6gq0] { height: 44px !important; background: #fff !important; }
.lc-table tbody tr:nth-child(even)[b-e9r79o6gq0] { background: #f8fbfe !important; }
.lc-table-row:hover[b-e9r79o6gq0] { background: #f0f8ff !important; }
.text-slate-800[b-e9r79o6gq0] { color: #1e293b !important; }
.lc-btn[b-e9r79o6gq0], .lc-circle-btn-32[b-e9r79o6gq0] { width: 28px !important; height: 28px !important; padding: 0 !important; border: 1px solid #dbe8f3 !important; border-radius: 8px !important; background: #f8fbff !important; color: #0876ad !important; }
/* /Components/Pages/ScanResultEntry.razor.rz.scp.css */
.referral-page[b-hcp89i368v] {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    padding: 0;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.flex-between[b-hcp89i368v] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-hcp89i368v] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-hcp89i368v] {
    display: flex;
}

.align-center[b-hcp89i368v] {
    align-items: center;
}

.flex-center[b-hcp89i368v] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-hcp89i368v] {
    gap: 8px;
}

.gap-12[b-hcp89i368v] {
    gap: 12px;
}

.gap-16[b-hcp89i368v] {
    gap: 16px;
}

.p-2[b-hcp89i368v] {
    padding: 8px;
}

.p-4[b-hcp89i368v] {
    padding: 16px;
}

.p-48[b-hcp89i368v] {
    padding: 48px;
}

.rounded-lg[b-hcp89i368v] {
    border-radius: 8px;
}

.shadow-sm[b-hcp89i368v] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-hcp89i368v] {
    margin: 0;
}

.mt-2px[b-hcp89i368v] {
    margin-top: 2px;
}

.mb-0[b-hcp89i368v] {
    margin-bottom: 0;
}

.mt-0[b-hcp89i368v] {
    margin-top: 0;
}

.relative-positioned[b-hcp89i368v] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-hcp89i368v] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
}

.lab-title-text[b-hcp89i368v] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-hcp89i368v] {
    background-color: #eef2ff;
}

.text-indigo-600[b-hcp89i368v] {
    color: #4f46e5;
}

.icon-lg[b-hcp89i368v] {
    font-size: 24px;
}

.status-pulse-dot[b-hcp89i368v] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-hcp89i368v 2s infinite;
}

.status-text[b-hcp89i368v] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-hcp89i368v] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-hcp89i368v] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-hcp89i368v] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-hcp89i368v] {
    width: 220px;
}

.lc-w-280[b-hcp89i368v] {
    width: 280px;
}

.btn-new-entry[b-hcp89i368v] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-hcp89i368v] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-hcp89i368v] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.lc-table-container[b-hcp89i368v] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-hcp89i368v] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-hcp89i368v] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-hcp89i368v] {
    padding: 0.625rem 1.25rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.lc-table td[b-hcp89i368v] {
    padding: 0.5rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13.5px;
    vertical-align: middle;
    white-space: nowrap;
}

.lc-table tbody tr:last-child td[b-hcp89i368v] {
    border-bottom: none;
}

.lc-table-row:hover[b-hcp89i368v] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-hcp89i368v] {
    font-weight: 700;
}

.cursor-pointer[b-hcp89i368v] {
    cursor: pointer;
}

.cursor-pointer:hover[b-hcp89i368v] {
    text-decoration: underline;
}

.text-indigo-600[b-hcp89i368v] {
    color: #4f46e5;
}

.lc-color-slate-500[b-hcp89i368v] {
    color: #64748b;
}

.lc-font-mono[b-hcp89i368v] {
    font-family: monospace;
}

.lc-font-700[b-hcp89i368v] {
    font-weight: 700;
}

.lc-font-13[b-hcp89i368v] {
    font-size: 13px;
}

.text-slate-800[b-hcp89i368v] {
    color: #1e293b;
}

.text-slate-500[b-hcp89i368v] {
    color: #64748b;
}

.text-slate-400[b-hcp89i368v] {
    color: #94a3b8;
}

.font-12[b-hcp89i368v] {
    font-size: 12px;
}

.font-18[b-hcp89i368v] {
    font-size: 18px;
}

.italic[b-hcp89i368v] {
    font-style: italic;
}

/* Interactive Status Dropdown Pill Styles */
.status-select[b-hcp89i368v] {
    padding: 4px 26px 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    border: none;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 10px 10px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.status-select-waiting[b-hcp89i368v] {
    background-color: #fef3c7;
    color: #b45309;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23b45309' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-select-completed[b-hcp89i368v] {
    background-color: #d1fae5;
    color: #047857;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23047857' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-select-ongoing[b-hcp89i368v] {
    background-color: #e0e7ff;
    color: #4338ca;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%234338ca' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-select-pending[b-hcp89i368v] {
    background-color: #fee2e2;
    color: #b91c1c;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23b91c1c' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-select-received[b-hcp89i368v], .status-select-reportreceived[b-hcp89i368v] {
    background-color: #cffafe;
    color: #0891b2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230891b2' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-received[b-hcp89i368v], .status-reportreceived[b-hcp89i368v] {
    background-color: #cffafe;
    color: #0891b2;
    border: 1px solid #a5f3fc;
}

.status-select option[b-hcp89i368v] {
    background-color: #ffffff;
    color: #1e293b;
    font-weight: 600;
    padding: 6px 12px;
}

/* Status Pills */
.status-pill[b-hcp89i368v] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.status-completed[b-hcp89i368v] {
    background-color: #047857;
    color: #ffffff;
}

.status-completed .status-dot[b-hcp89i368v] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ffffff;
}

.status-ongoing[b-hcp89i368v] {
    background-color: #e0e7ff;
    color: #4338ca;
}

.status-ongoing .status-dot[b-hcp89i368v] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #4338ca;
}

.status-pending[b-hcp89i368v] {
    background-color: #b91c1c;
    color: #ffffff;
}

/* Action buttons */
.lc-btn[b-hcp89i368v] {
    padding: 8px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-hcp89i368v] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-hcp89i368v] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-hcp89i368v] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-hcp89i368v] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-hcp89i368v] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-hcp89i368v 0.3s ease-out;
}

.modal-header-bar[b-hcp89i368v] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-hcp89i368v] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-hcp89i368v] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-hcp89i368v] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-hcp89i368v] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-section[b-hcp89i368v] {
    margin-bottom: 0;
}

.form-group[b-hcp89i368v] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-hcp89i368v] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-input[b-hcp89i368v] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
}

.lab-input:focus[b-hcp89i368v] {
    outline: none;
    border-color: #4f46e5;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.um-grid-row[b-hcp89i368v] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.um-grid-cols-2[b-hcp89i368v] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.modal-footer-bar[b-hcp89i368v] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-hcp89i368v] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-hcp89i368v] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

/* Animations */
@keyframes lc-pulse-b-hcp89i368v {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-hcp89i368v] {
    animation: lc-fadeInUp-b-hcp89i368v 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-hcp89i368v {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   PAGINATION FOOTER (PATIENT MASTER / VITALS DESIGN)
   ============================================================ */
.pagination-footer[b-hcp89i368v] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid #f1f5f9;
    background-color: #fff;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.pagination-info[b-hcp89i368v] {
    font-size: 13px;
    color: #64748b;
}

.pagination-info-highlight[b-hcp89i368v] {
    font-weight: 600;
    color: #334155;
}

.pagination-btns[b-hcp89i368v] {
    display: flex;
    gap: 6px;
}

.pagination-btns .page-btn[b-hcp89i368v] {
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.pagination-btns .page-btn:hover:not(.active):not(:disabled)[b-hcp89i368v] {
    border-color: #cbd5e1 !important;
    background-color: #f8fafc !important;
    color: #4f46e5 !important;
}

.pagination-btns .page-btn:disabled[b-hcp89i368v] {
    cursor: not-allowed !important;
    opacity: 0.4 !important;
}

.pagination-btns .page-btn.active[b-hcp89i368v] {
    border-color: #4f46e5 !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    cursor: default !important;
}
/* Master dashboard theme */
:global(.main-content):has(.scan-page)[b-hcp89i368v] { 
    height: calc(100vh - 35px) !important; 
    max-height: calc(100vh - 35px) !important; 
    overflow: hidden !important; 
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important; 
    background: #f1f5fb !important; 
}
.referral-page.scan-page[b-hcp89i368v] { 
    height: 100% !important; 
    max-height: 100% !important; 
    min-height: 0 !important; 
    overflow: hidden !important; 
    padding: 0 !important; 
    gap: 0.35rem !important; 
    background: #f1f5fb !important; 
}
.lab-header-card[b-hcp89i368v] { flex: 0 0 auto !important; padding: 0.35rem 0.75rem !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.icon-box-container[b-hcp89i368v] { background: #e4f4ff !important; }
.text-indigo-600[b-hcp89i368v] { color: #0876ad !important; }
.lab-title-text[b-hcp89i368v] { color: #07547c !important; font-size: 1.7rem !important; font-weight: 800 !important; }
.status-text[b-hcp89i368v] { color: #647b90 !important; font-size: .78rem !important; }
.directory-section[b-hcp89i368v] { flex: 1 1 auto !important; min-height: 0 !important; margin: 0 !important; border: 1px solid #dfe7f1 !important; border-radius: 8px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; background: #fff !important; }
.lc-table-container[b-hcp89i368v] { 
    flex: 1 1 auto !important; 
    min-height: 0 !important; 
    max-height: calc(100vh - 170px) !important; 
    overflow-y: auto !important; 
    overflow-x: auto !important; 
}
.lc-table-container[b-hcp89i368v]::-webkit-scrollbar {
    width: 7px !important;
    height: 7px !important;
    display: block !important;
}
.lc-table-container[b-hcp89i368v]::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
    border-radius: 4px !important;
}
.lc-table-container[b-hcp89i368v]::-webkit-scrollbar-thumb {
    background: #94a3b8 !important;
    border-radius: 4px !important;
}
.lc-table-container[b-hcp89i368v]::-webkit-scrollbar-thumb:hover {
    background: #64748b !important;
}
.lc-table thead tr[b-hcp89i368v] { height: 32px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; border-bottom: 1px solid #07547c !important; }
.lc-table th[b-hcp89i368v] { 
    height: 32px !important; 
    padding: 4px 8px !important; 
    color: #fff !important; 
    background: transparent !important; 
    font-size: 11px !important; 
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-bottom: 1px solid #07547c !important;
    vertical-align: middle !important;
}
.lc-table th:last-child[b-hcp89i368v] { border-right: none !important; }
.lc-table td[b-hcp89i368v] { height: 34px !important; padding: 4px 8px !important; border-bottom: 1px solid #edf2f7 !important; border-right: 1px solid #f8fafc !important; font-size: 11.5px !important; color: #334155 !important; vertical-align: middle !important; }
.lc-table tbody tr[b-hcp89i368v] { height: 34px !important; background: #fff !important; }
.lc-table tbody tr:nth-child(even)[b-hcp89i368v] { background: #fcfdfe !important; }
.lc-table-row:hover[b-hcp89i368v] { background: #f0fdfa !important; }
/* /Components/Pages/ScheduleTypeMaster.razor.rz.scp.css */
.referral-page[b-inda3pbzr4] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-inda3pbzr4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-inda3pbzr4] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-inda3pbzr4] {
    display: flex;
}

.align-center[b-inda3pbzr4] {
    align-items: center;
}

.flex-center[b-inda3pbzr4] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-inda3pbzr4] {
    gap: 8px;
}

.gap-12[b-inda3pbzr4] {
    gap: 12px;
}

.gap-16[b-inda3pbzr4] {
    gap: 16px;
}

.p-2[b-inda3pbzr4] {
    padding: 8px;
}

.p-4[b-inda3pbzr4] {
    padding: 16px;
}

.p-48[b-inda3pbzr4] {
    padding: 48px;
}

.rounded-lg[b-inda3pbzr4] {
    border-radius: 8px;
}

.shadow-sm[b-inda3pbzr4] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-inda3pbzr4] {
    margin: 0;
}

.mt-2px[b-inda3pbzr4] {
    margin-top: 2px;
}

.mb-0[b-inda3pbzr4] {
    margin-bottom: 0;
}

.mt-0[b-inda3pbzr4] {
    margin-top: 0;
}

.relative-positioned[b-inda3pbzr4] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-inda3pbzr4] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04);
    padding: 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
}

.lab-title-text[b-inda3pbzr4] {
    color: #312e81;
    font-size: 1.25rem;
    font-weight: 800;
}

.icon-box-container[b-inda3pbzr4] {
    width: 40px;
    height: 40px;
}

.icon-lg[b-inda3pbzr4] {
    font-size: 24px;
}

.status-pulse-dot[b-inda3pbzr4] {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
}

.status-text[b-inda3pbzr4] {
    font-size: 12px;
    color: #4f46e5;
    font-weight: 700;
    text-transform: uppercase;
}

.search-icon[b-inda3pbzr4] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.lc-rounded-pill-input[b-inda3pbzr4] {
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    padding: 6px 12px 6px 34px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
    background-color: #ffffff;
}

.lc-rounded-pill-input:focus[b-inda3pbzr4] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-inda3pbzr4] {
    width: 220px;
}

.btn-new-entry[b-inda3pbzr4] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-new-entry:hover[b-inda3pbzr4] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.3);
}

/* Directory section */
.directory-section[b-inda3pbzr4] {
    margin-top: 1.5rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.lc-table-container[b-inda3pbzr4] {
    overflow-x: auto;
}

.lc-table[b-inda3pbzr4] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.lc-table th[b-inda3pbzr4] {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.lc-table td[b-inda3pbzr4] {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.lc-table-row:hover[b-inda3pbzr4] {
    background-color: #f8fafc;
}

/* Modals */
.modal-overlay[b-inda3pbzr4] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-form-card[b-inda3pbzr4] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 90%;
    max-width: 540px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: lc-fadeInUp 0.2s ease-out;
}

.modal-header-bar[b-inda3pbzr4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    background-color: #ffffff;
}

.modal-header-bar h3[b-inda3pbzr4] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
}

.modal-close-btn[b-inda3pbzr4] {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.modal-close-btn:hover[b-inda3pbzr4] {
    color: #ef4444;
}

.modal-body[b-inda3pbzr4] {
    padding: 20px;
    overflow-y: auto;
}

.modal-footer-bar[b-inda3pbzr4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-top: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.form-group[b-inda3pbzr4] {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label[b-inda3pbzr4] {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.lab-input[b-inda3pbzr4] {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
    background: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.lab-input:focus[b-inda3pbzr4] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.btn-save[b-inda3pbzr4] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-save:disabled[b-inda3pbzr4] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-delete[b-inda3pbzr4] {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.btn-delete:disabled[b-inda3pbzr4] {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-secondary-outline[b-inda3pbzr4] {
    background: white;
    border: 1px solid #cbd5e1;
    color: #475569;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.btn-danger-filled[b-inda3pbzr4] {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.lc-circle-btn-32[b-inda3pbzr4] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
}

.lc-circle-btn-32:hover[b-inda3pbzr4] {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.schedule-badge[b-inda3pbzr4] {
    background: #e0e7ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}
/* Schedule Type Master dashboard theme */
:global(html:has(.schedule-type-master-page))[b-inda3pbzr4],
:global(body:has(.schedule-type-master-page))[b-inda3pbzr4] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.schedule-type-master-page))[b-inda3pbzr4],
:global(.app-main-wrapper:has(.schedule-type-master-page))[b-inda3pbzr4] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.schedule-type-master-page)[b-inda3pbzr4] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.referral-page.schedule-type-master-page[b-inda3pbzr4] {
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.referral-page.schedule-type-master-page .lab-header-card[b-inda3pbzr4] {
    flex: 0 0 auto !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.referral-page.schedule-type-master-page .lab-title-text[b-inda3pbzr4] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
}

.referral-page.schedule-type-master-page .status-text[b-inda3pbzr4] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.referral-page.schedule-type-master-page .bg-indigo-50[b-inda3pbzr4] {
    background: #e0f2fe !important;
}

.referral-page.schedule-type-master-page .lc-rounded-pill-input[b-inda3pbzr4] {
    width: 260px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    font-size: 0.82rem !important;
    padding: 0 1rem 0 2.2rem !important;
}

.referral-page.schedule-type-master-page .lc-rounded-pill-input:focus[b-inda3pbzr4] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.referral-page.schedule-type-master-page .btn-new-entry[b-inda3pbzr4] {
    height: 36px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

.referral-page.schedule-type-master-page .btn-new-entry:hover[b-inda3pbzr4] {
    background: #05689b !important;
}

.referral-page.schedule-type-master-page .directory-section[b-inda3pbzr4] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.referral-page.schedule-type-master-page .lc-table-container[b-inda3pbzr4] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
}

.referral-page.schedule-type-master-page .lc-table[b-inda3pbzr4] {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.referral-page.schedule-type-master-page .lc-table thead tr th[b-inda3pbzr4],
.referral-page .lc-table th[b-inda3pbzr4] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.75rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.schedule-type-master-page .lc-table thead tr th:last-child[b-inda3pbzr4],
.referral-page .lc-table th:last-child[b-inda3pbzr4] {
    border-right: none !important;
}

.referral-page.schedule-type-master-page .lc-table tbody tr[b-inda3pbzr4] {
    height: 34px !important;
    min-height: 34px !important;
}

.referral-page.schedule-type-master-page .lc-table tbody tr:nth-child(even)[b-inda3pbzr4] {
    background: #fbfdff !important;
}

.referral-page.schedule-type-master-page .lc-table-row:hover[b-inda3pbzr4] {
    background: #f0f8ff !important;
}

.referral-page.schedule-type-master-page .lc-table td[b-inda3pbzr4] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.75rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    color: #334155 !important;
    font-size: 0.76rem !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.schedule-type-master-page .lc-btn[b-inda3pbzr4],
.referral-page.schedule-type-master-page .lc-circle-btn-32[b-inda3pbzr4] {
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.referral-page.schedule-type-master-page .lc-btn:hover[b-inda3pbzr4],
.referral-page.schedule-type-master-page .lc-circle-btn-32:hover[b-inda3pbzr4] {
    border-color: #bae6fd !important;
    background: #f0f9ff !important;
    color: #0369a1 !important;
}

.referral-page.schedule-type-master-page .lc-table td:last-child > div[b-inda3pbzr4] {
    gap: 0.35rem !important;
}
/* /Components/Pages/ServiceNameMaster.razor.rz.scp.css */
.referral-page[b-dxcb98savs] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-dxcb98savs] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-dxcb98savs] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-dxcb98savs] {
    display: flex;
}

.align-center[b-dxcb98savs] {
    align-items: center;
}

.flex-center[b-dxcb98savs] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-dxcb98savs] {
    gap: 8px;
}

.gap-12[b-dxcb98savs] {
    gap: 12px;
}

.gap-16[b-dxcb98savs] {
    gap: 16px;
}

.p-2[b-dxcb98savs] {
    padding: 8px;
}

.p-4[b-dxcb98savs] {
    padding: 16px;
}

.p-48[b-dxcb98savs] {
    padding: 48px;
}

.rounded-lg[b-dxcb98savs] {
    border-radius: 8px;
}

.shadow-sm[b-dxcb98savs] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-dxcb98savs] {
    margin: 0;
}

.mt-2px[b-dxcb98savs] {
    margin-top: 2px;
}

.mb-0[b-dxcb98savs] {
    margin-bottom: 0;
}

.mt-0[b-dxcb98savs] {
    margin-top: 0;
}

.relative-positioned[b-dxcb98savs] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-dxcb98savs] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04);
    padding: 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
}

.lab-title-text[b-dxcb98savs] {
    color: #312e81;
    font-size: 1.25rem;
    font-weight: 800;
}

.icon-box-container[b-dxcb98savs] {
    width: 40px;
    height: 40px;
}

.icon-lg[b-dxcb98savs] {
    font-size: 24px;
}

.status-pulse-dot[b-dxcb98savs] {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
}

.status-text[b-dxcb98savs] {
    font-size: 12px;
    color: #4f46e5;
    font-weight: 700;
    text-transform: uppercase;
}

.search-icon[b-dxcb98savs] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.lc-rounded-pill-input[b-dxcb98savs] {
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    padding: 6px 12px 6px 34px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
    background-color: #ffffff;
}

.lc-rounded-pill-input:focus[b-dxcb98savs] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-dxcb98savs] {
    width: 220px;
}

.btn-new-entry[b-dxcb98savs] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-new-entry:hover[b-dxcb98savs] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.3);
}

/* Directory section */
.directory-section[b-dxcb98savs] {
    margin-top: 1.5rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.lc-table-container[b-dxcb98savs] {
    overflow-x: auto;
}

.lc-table[b-dxcb98savs] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.lc-table th[b-dxcb98savs] {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.lc-table td[b-dxcb98savs] {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.lc-table-row:hover[b-dxcb98savs] {
    background-color: #f8fafc;
}

/* Modals */
.modal-overlay[b-dxcb98savs] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-form-card[b-dxcb98savs] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 90%;
    max-width: 540px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: lc-fadeInUp 0.2s ease-out;
}

.modal-header-bar[b-dxcb98savs] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    background-color: #ffffff;
}

.modal-header-bar h3[b-dxcb98savs] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
}

.modal-close-btn[b-dxcb98savs] {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.modal-close-btn:hover[b-dxcb98savs] {
    color: #ef4444;
}

.modal-body[b-dxcb98savs] {
    padding: 20px;
    overflow-y: auto;
}

.modal-footer-bar[b-dxcb98savs] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-top: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.form-group[b-dxcb98savs] {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label[b-dxcb98savs] {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.lab-input[b-dxcb98savs] {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
    background: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.lab-input:focus[b-dxcb98savs] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.btn-save[b-dxcb98savs] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-save:disabled[b-dxcb98savs] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-delete[b-dxcb98savs] {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.btn-delete:disabled[b-dxcb98savs] {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-secondary-outline[b-dxcb98savs] {
    background: white;
    border: 1px solid #cbd5e1;
    color: #475569;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.btn-danger-filled[b-dxcb98savs] {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.lc-circle-btn-32[b-dxcb98savs] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
}

.lc-circle-btn-32:hover[b-dxcb98savs] {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
/* Service Name Master dashboard theme */
:global(html:has(.service-name-master-page))[b-dxcb98savs],
:global(body:has(.service-name-master-page))[b-dxcb98savs] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.service-name-master-page))[b-dxcb98savs],
:global(.app-main-wrapper:has(.service-name-master-page))[b-dxcb98savs] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.service-name-master-page)[b-dxcb98savs] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.referral-page.service-name-master-page[b-dxcb98savs] {
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.referral-page.service-name-master-page .lab-header-card[b-dxcb98savs] {
    flex: 0 0 auto !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.referral-page.service-name-master-page .lab-title-text[b-dxcb98savs] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
}

.referral-page.service-name-master-page .status-text[b-dxcb98savs] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.referral-page.service-name-master-page .bg-indigo-50[b-dxcb98savs] {
    background: #e0f2fe !important;
}

.referral-page.service-name-master-page .lc-rounded-pill-input[b-dxcb98savs] {
    width: 260px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    font-size: 0.82rem !important;
    padding: 0 1rem 0 2.2rem !important;
}

.referral-page.service-name-master-page .lc-rounded-pill-input:focus[b-dxcb98savs] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.referral-page.service-name-master-page .btn-new-entry[b-dxcb98savs] {
    height: 36px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

.referral-page.service-name-master-page .btn-new-entry:hover[b-dxcb98savs] {
    background: #05689b !important;
}

.referral-page.service-name-master-page .directory-section[b-dxcb98savs] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.referral-page.service-name-master-page .lc-table-container[b-dxcb98savs] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
}

.referral-page.service-name-master-page .lc-table[b-dxcb98savs] {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.referral-page.service-name-master-page .lc-table thead tr th[b-dxcb98savs],
.referral-page .lc-table th[b-dxcb98savs] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.75rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.service-name-master-page .lc-table thead tr th:last-child[b-dxcb98savs],
.referral-page .lc-table th:last-child[b-dxcb98savs] {
    border-right: none !important;
}

.referral-page.service-name-master-page .lc-table tbody tr[b-dxcb98savs] {
    height: 34px !important;
    min-height: 34px !important;
}

.referral-page.service-name-master-page .lc-table tbody tr:nth-child(even)[b-dxcb98savs] {
    background: #fbfdff !important;
}

.referral-page.service-name-master-page .lc-table-row:hover[b-dxcb98savs] {
    background: #f0f8ff !important;
}

.referral-page.service-name-master-page .lc-table td[b-dxcb98savs] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.75rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    color: #334155 !important;
    font-size: 0.76rem !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.service-name-master-page .lc-btn[b-dxcb98savs],
.referral-page.service-name-master-page .lc-circle-btn-32[b-dxcb98savs] {
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.referral-page.service-name-master-page .lc-btn:hover[b-dxcb98savs],
.referral-page.service-name-master-page .lc-circle-btn-32:hover[b-dxcb98savs] {
    border-color: #bae6fd !important;
    background: #f0f9ff !important;
    color: #0369a1 !important;
}

.referral-page.service-name-master-page .lc-table td:last-child > div[b-dxcb98savs] {
    gap: 0.35rem !important;
}
/* /Components/Pages/ServiceTypeMaster.razor.rz.scp.css */
/* ========== PAGE LAYOUT ========== */
:global(.main-content):has(.cm-page)[b-tatnd2p3nw] {
    padding: 0 !important;
}

.cm-page[b-tatnd2p3nw] {
    padding: 0.8rem 1rem 1rem;
    background: #ffffff;
    min-height: 100vh;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* ========== HEADER CARD ========== */
.cm-header-card[b-tatnd2p3nw] {
    background: linear-gradient(100deg, #e0ebff 0%, #e8f0ff 100%);
    border-radius: 14px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(80, 80, 200, 0.07);
}

.cm-header-left[b-tatnd2p3nw] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cm-title[b-tatnd2p3nw] {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1e1b4b;
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cm-subtitle[b-tatnd2p3nw] {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 600;
}

.cm-header-right[b-tatnd2p3nw] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Search Box */
.cm-search-box[b-tatnd2p3nw] {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0.55rem 1.2rem 0.55rem 2.2rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    min-width: 240px;
}

.cm-search-icon[b-tatnd2p3nw] {
    position: absolute;
    left: 0.8rem;
    color: #9ca3af;
    font-size: 0.85rem;
}

.cm-search-input[b-tatnd2p3nw] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.83rem;
    color: #374151;
    width: 100%;
}

/* New Button */
.cm-btn-new[b-tatnd2p3nw] {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.3);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.cm-btn-new:hover[b-tatnd2p3nw] {
    background: #4338ca;
    transform: translateY(-1px);
}

/* ========== TABLE CARD ========== */
.cm-table-card[b-tatnd2p3nw] {
    background: white;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.table-responsive-container[b-tatnd2p3nw] {
    max-height: calc(100vh - 240px);
    overflow-y: auto;
    overflow-x: auto;
    position: relative;
}

.cm-table[b-tatnd2p3nw] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.85rem;
}

.cm-table thead[b-tatnd2p3nw] {
    position: sticky;
    top: 0;
    z-index: 10;
}

.cm-table thead tr th[b-tatnd2p3nw] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.85rem 1.1rem;
    border-bottom: 2px solid #e2e8f0;
    text-align: left;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.cm-table tbody tr[b-tatnd2p3nw] {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}

.cm-table tbody tr:hover[b-tatnd2p3nw] {
    background: #f8faff;
}

.cm-table tbody td[b-tatnd2p3nw] {
    padding: 0.8rem 1.1rem;
    color: #334155;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

.col-id[b-tatnd2p3nw] {
    font-weight: 700;
    color: #4f46e5 !important;
    width: 70px;
}

.col-name[b-tatnd2p3nw] {
    font-weight: 600;
    color: #0f172a;
}

.col-prefix[b-tatnd2p3nw] {
    font-weight: 700;
}

.token-prefix-badge[b-tatnd2p3nw] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.65rem;
    border-radius: 8px;
    background: #eef2ff;
    color: #4338ca;
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.03em;
    border: 1px solid #c7d2fe;
}

.scope-badge[b-tatnd2p3nw] {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.scope-badge.scope-tenant[b-tatnd2p3nw] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.scope-badge.scope-doctor[b-tatnd2p3nw] {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.col-date[b-tatnd2p3nw] {
    font-size: 0.78rem;
    color: #64748b;
    white-space: nowrap;
}

.col-action[b-tatnd2p3nw] {
    text-align: center;
    white-space: nowrap;
    width: 110px;
}

.cm-action-btn[b-tatnd2p3nw] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 0.85rem;
}

.cm-action-btn.edit[b-tatnd2p3nw] {
    color: #0284c7;
}

.cm-action-btn.edit:hover[b-tatnd2p3nw] {
    background: #f0f9ff;
    border-color: #7dd3fc;
    color: #0369a1;
}

.cm-action-btn.delete[b-tatnd2p3nw] {
    color: #ef4444;
}

.cm-action-btn.delete:hover[b-tatnd2p3nw] {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #dc2626;
}

.cm-empty-row[b-tatnd2p3nw] {
    text-align: center;
    padding: 3rem !important;
    color: #94a3b8;
}

.cm-empty-row i[b-tatnd2p3nw] {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 0.5rem;
    color: #cbd5e1;
}

/* ========== TABLE FOOTER / PAGINATION ========== */
.cm-table-footer[b-tatnd2p3nw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.25rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 0.82rem;
    color: #64748b;
}

.cm-pagination-controls[b-tatnd2p3nw] {
    display: flex;
    gap: 0.35rem;
}

.cm-pg-btn[b-tatnd2p3nw] {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s;
}

.cm-pg-btn:hover:not(:disabled)[b-tatnd2p3nw] {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.cm-pg-btn.active[b-tatnd2p3nw] {
    background: #4f46e5;
    border-color: #4f46e5;
    color: white;
}

.cm-pg-btn:disabled[b-tatnd2p3nw] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========== MODAL ========== */
.cm-backdrop[b-tatnd2p3nw] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
    animation: fadeIn-b-tatnd2p3nw 0.2s ease-out;
}

.cm-modal[b-tatnd2p3nw] {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: slideUp-b-tatnd2p3nw 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cm-modal-header[b-tatnd2p3nw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.cm-modal-title[b-tatnd2p3nw] {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.cm-close-btn[b-tatnd2p3nw] {
    border: none;
    background: transparent;
    font-size: 1.1rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    border-radius: 6px;
    transition: all 0.15s;
}

.cm-close-btn:hover[b-tatnd2p3nw] {
    color: #0f172a;
    background: #e2e8f0;
}

.cm-modal-body[b-tatnd2p3nw] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.cm-field-group[b-tatnd2p3nw] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cm-label[b-tatnd2p3nw] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
}

.cm-label .required[b-tatnd2p3nw] {
    color: #ef4444;
}

.cm-input[b-tatnd2p3nw], .cm-select[b-tatnd2p3nw] {
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-size: 0.88rem;
    color: #1e293b;
    outline: none;
    transition: all 0.2s;
    background: #ffffff;
}

.cm-input:focus[b-tatnd2p3nw], .cm-select:focus[b-tatnd2p3nw] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.cm-input-hint[b-tatnd2p3nw] {
    font-size: 0.74rem;
    color: #64748b;
}

.cm-modal-footer[b-tatnd2p3nw] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.cm-btn-cancel[b-tatnd2p3nw] {
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: white;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s;
}

.cm-btn-cancel:hover[b-tatnd2p3nw] {
    background: #f1f5f9;
}

.cm-btn-save[b-tatnd2p3nw] {
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    border: none;
    background: #4f46e5;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.cm-btn-save:hover:not(:disabled)[b-tatnd2p3nw] {
    background: #4338ca;
}

.cm-btn-save:disabled[b-tatnd2p3nw] {
    opacity: 0.6;
    cursor: not-allowed;
}

.cm-btn-danger[b-tatnd2p3nw] {
    background: #ef4444;
}

.cm-btn-danger:hover:not(:disabled)[b-tatnd2p3nw] {
    background: #dc2626;
}

@keyframes fadeIn-b-tatnd2p3nw {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp-b-tatnd2p3nw {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== DARK THEME OVERRIDES ========== */
:host-context([data-theme="dark"]) .cm-page[b-tatnd2p3nw],
[data-theme="dark"] .cm-page[b-tatnd2p3nw] {
    background: #0f172a;
    color: #f8fafc;
}

:host-context([data-theme="dark"]) .cm-header-card[b-tatnd2p3nw],
[data-theme="dark"] .cm-header-card[b-tatnd2p3nw] {
    background: linear-gradient(100deg, #1e1b4b 0%, #1e293b 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

:host-context([data-theme="dark"]) .cm-title[b-tatnd2p3nw],
[data-theme="dark"] .cm-title[b-tatnd2p3nw] {
    color: #f8fafc;
}

:host-context([data-theme="dark"]) .cm-subtitle[b-tatnd2p3nw],
[data-theme="dark"] .cm-subtitle[b-tatnd2p3nw] {
    color: #94a3b8;
}

:host-context([data-theme="dark"]) .cm-search-box[b-tatnd2p3nw],
[data-theme="dark"] .cm-search-box[b-tatnd2p3nw] {
    background: #1e293b;
    border: 1px solid #334155;
}

:host-context([data-theme="dark"]) .cm-search-input[b-tatnd2p3nw],
[data-theme="dark"] .cm-search-input[b-tatnd2p3nw] {
    color: #f8fafc;
}

:host-context([data-theme="dark"]) .cm-table-card[b-tatnd2p3nw],
[data-theme="dark"] .cm-table-card[b-tatnd2p3nw] {
    background: #1e293b;
    border-color: #334155;
}

:host-context([data-theme="dark"]) .cm-table thead tr th[b-tatnd2p3nw],
[data-theme="dark"] .cm-table thead tr th[b-tatnd2p3nw] {
    background: #0f172a;
    color: #94a3b8;
    border-bottom-color: #334155;
}

:host-context([data-theme="dark"]) .cm-table tbody tr[b-tatnd2p3nw],
[data-theme="dark"] .cm-table tbody tr[b-tatnd2p3nw] {
    border-bottom-color: #334155;
}

:host-context([data-theme="dark"]) .cm-table tbody tr:hover[b-tatnd2p3nw],
[data-theme="dark"] .cm-table tbody tr:hover[b-tatnd2p3nw] {
    background: #1e293b;
}

:host-context([data-theme="dark"]) .cm-table tbody td[b-tatnd2p3nw],
[data-theme="dark"] .cm-table tbody td[b-tatnd2p3nw] {
    color: #cbd5e1;
    border-bottom-color: #334155;
}

:host-context([data-theme="dark"]) .col-name[b-tatnd2p3nw],
[data-theme="dark"] .col-name[b-tatnd2p3nw] {
    color: #f8fafc;
}

:host-context([data-theme="dark"]) .cm-action-btn[b-tatnd2p3nw],
[data-theme="dark"] .cm-action-btn[b-tatnd2p3nw] {
    background: #0f172a;
    border-color: #334155;
}

:host-context([data-theme="dark"]) .cm-modal[b-tatnd2p3nw],
[data-theme="dark"] .cm-modal[b-tatnd2p3nw] {
    background: #1e293b;
}

:host-context([data-theme="dark"]) .cm-modal-header[b-tatnd2p3nw],
:host-context([data-theme="dark"]) .cm-modal-footer[b-tatnd2p3nw],
[data-theme="dark"] .cm-modal-header[b-tatnd2p3nw],
[data-theme="dark"] .cm-modal-footer[b-tatnd2p3nw] {
    background: #0f172a;
    border-color: #334155;
}

:host-context([data-theme="dark"]) .cm-modal-title[b-tatnd2p3nw],
[data-theme="dark"] .cm-modal-title[b-tatnd2p3nw] {
    color: #f8fafc;
}

:host-context([data-theme="dark"]) .cm-label[b-tatnd2p3nw],
[data-theme="dark"] .cm-label[b-tatnd2p3nw] {
    color: #e2e8f0;
}

:host-context([data-theme="dark"]) .cm-input[b-tatnd2p3nw],
:host-context([data-theme="dark"]) .cm-select[b-tatnd2p3nw],
[data-theme="dark"] .cm-input[b-tatnd2p3nw],
[data-theme="dark"] .cm-select[b-tatnd2p3nw] {
    background: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}

:host-context([data-theme="dark"]) .cm-btn-cancel[b-tatnd2p3nw],
[data-theme="dark"] .cm-btn-cancel[b-tatnd2p3nw] {
    background: #0f172a;
    border-color: #334155;
    color: #cbd5e1;
}

:host-context([data-theme="dark"]) .cm-table-footer[b-tatnd2p3nw],
[data-theme="dark"] .cm-table-footer[b-tatnd2p3nw] {
    background: #0f172a;
    border-color: #334155;
    color: #94a3b8;
}

:host-context([data-theme="dark"]) .cm-pg-btn[b-tatnd2p3nw],
[data-theme="dark"] .cm-pg-btn[b-tatnd2p3nw] {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

:host-context([data-theme="dark"]) .scope-badge.scope-tenant[b-tatnd2p3nw],
[data-theme="dark"] .scope-badge.scope-tenant[b-tatnd2p3nw] {
    background: #064e3b;
    color: #a7f3d0;
    border-color: #047857;
}

:host-context([data-theme="dark"]) .scope-badge.scope-doctor[b-tatnd2p3nw],
[data-theme="dark"] .scope-badge.scope-doctor[b-tatnd2p3nw] {
    background: #1e3a8a;
    color: #bfdbfe;
    border-color: #1d4ed8;
}

/* Service Type Master dashboard theme */
:global(html:has(.cm-page))[b-tatnd2p3nw],
:global(body:has(.cm-page))[b-tatnd2p3nw] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.cm-page))[b-tatnd2p3nw],
:global(.app-main-wrapper:has(.cm-page))[b-tatnd2p3nw] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.cm-page)[b-tatnd2p3nw] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.cm-page[b-tatnd2p3nw] {
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    padding: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.cm-header-card[b-tatnd2p3nw] {
    flex: 0 0 auto !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.cm-title[b-tatnd2p3nw] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}

.cm-subtitle[b-tatnd2p3nw] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
}

.cm-header-right[b-tatnd2p3nw] {
    gap: 0.65rem !important;
}

.cm-search-box[b-tatnd2p3nw] {
    min-width: 260px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    padding: 0 1rem 0 2.2rem !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
}

.cm-search-input[b-tatnd2p3nw] {
    font-size: 0.82rem !important;
}

.cm-search-box:focus-within[b-tatnd2p3nw] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.cm-btn-new[b-tatnd2p3nw] {
    height: 36px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
}

.cm-btn-new:hover[b-tatnd2p3nw] {
    background: #05689b !important;
}

.cm-table-card[b-tatnd2p3nw] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.table-responsive-container[b-tatnd2p3nw] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
}

.cm-table[b-tatnd2p3nw] {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
}

.cm-table thead[b-tatnd2p3nw],
.cm-table thead tr[b-tatnd2p3nw] {
    background: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
}

.cm-table thead tr th[b-tatnd2p3nw] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.7rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
}

.cm-table thead tr th:last-child[b-tatnd2p3nw] {
    border-right: none !important;
}

.cm-table tbody[b-tatnd2p3nw] {
    background: #ffffff !important;
}

.cm-table tbody tr[b-tatnd2p3nw] {
    height: 34px !important;
    min-height: 34px !important;
}

.cm-table tbody tr:nth-child(even)[b-tatnd2p3nw] {
    background: #fbfdff !important;
}

.cm-table tbody tr:hover[b-tatnd2p3nw] {
    background: #f0f8ff !important;
}

.cm-table tbody td[b-tatnd2p3nw] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.7rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    font-size: 0.76rem !important;
    color: #334155 !important;
    vertical-align: middle !important;
}

.col-id[b-tatnd2p3nw] {
    color: #47627b !important;
    font-weight: 700 !important;
}

.col-name[b-tatnd2p3nw] {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.token-prefix-badge[b-tatnd2p3nw] {
    background: #e4f4ff !important;
    color: #0876ad !important;
    border: 1px solid #a9ddfa !important;
    border-radius: 999px !important;
    padding: 1px 7px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
}

.scope-badge[b-tatnd2p3nw] {
    border-radius: 999px !important;
    padding: 1px 7px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
}

.scope-badge.scope-tenant[b-tatnd2p3nw] {
    background: #dcfce7 !important;
    color: #15803d !important;
    border: 1px solid #bbf7d0 !important;
}

.scope-badge.scope-doctor[b-tatnd2p3nw] {
    background: #e4f4ff !important;
    color: #0876ad !important;
    border: 1px solid #a9ddfa !important;
}

.col-date[b-tatnd2p3nw] {
    color: #64748b !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
}

.col-action[b-tatnd2p3nw] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    height: 34px !important;
}

.cm-action-btn[b-tatnd2p3nw] {
    width: 26px !important;
    height: 26px !important;
    margin-right: 2px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
}

.cm-action-btn.edit:hover[b-tatnd2p3nw] {
    border-color: #bae6fd !important;
    color: #0369a1 !important;
    background: #f0f9ff !important;
}

.cm-action-btn.delete[b-tatnd2p3nw] {
    color: #dc2626 !important;
}

.cm-action-btn.delete:hover[b-tatnd2p3nw] {
    border-color: #fecaca !important;
    color: #dc2626 !important;
    background: #fef2f2 !important;
}

.cm-table-footer[b-tatnd2p3nw] {
    flex: 0 0 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    box-sizing: border-box !important;
    padding: 0 1rem !important;
    background: #ffffff !important;
    border-top: 1px solid #e5edf5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.cm-pagination-info[b-tatnd2p3nw] {
    font-size: 0.74rem !important;
}

.cm-pg-btn[b-tatnd2p3nw] {
    min-width: 26px !important;
    height: 24px !important;
    padding: 0 0.5rem !important;
    border-radius: 6px !important;
    color: #526b82 !important;
    font-size: 0.72rem !important;
}

.cm-pg-btn:hover:not(:disabled)[b-tatnd2p3nw] {
    background: #e4f4ff !important;
    color: #0876ad !important;
    border-color: #a9ddfa !important;
}

.cm-pg-btn.active[b-tatnd2p3nw] {
    background: #0876ad !important;
    border-color: #0876ad !important;
}

.cm-modal-title[b-tatnd2p3nw],
.cm-btn-save[b-tatnd2p3nw] {
    color: #07547c !important;
}

.cm-btn-save[b-tatnd2p3nw] {
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
}

.cm-btn-save:hover[b-tatnd2p3nw] {
    background: #05689b !important;
}

.cm-input:focus[b-tatnd2p3nw] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

@media (max-width: 900px) {
    .cm-header-card[b-tatnd2p3nw] {
        align-items: flex-start !important;
        flex-direction: column !important;
        flex-basis: auto !important;
        gap: 0.7rem !important;
    }

    .cm-header-right[b-tatnd2p3nw],
    .cm-search-box[b-tatnd2p3nw] {
        width: 100% !important;
    }

    .cm-header-right[b-tatnd2p3nw] {
        flex-wrap: wrap !important;
    }

    .cm-table-card[b-tatnd2p3nw] {
        overflow: auto !important;
    }
}
/* /Components/Pages/SlotMaster.razor.rz.scp.css */
/* --- THEMED CALENDAR STYLES (Clinical Theme) --- */
/* Ensure the main layout containers are transparent on this page */
[b-rogdpri7mb] .main-content {
    background: transparent !important;
}

.mobile-label[b-rogdpri7mb] {
    display: none;
}

.modal-backdrop[b-rogdpri7mb] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000 !important;
}

.doctor-modal[b-rogdpri7mb] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1280px;
    max-width: 96vw;
    height: auto;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    z-index: 2005 !important;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.animated-background[b-rogdpri7mb] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-color: #eef6f9;
    overflow: hidden;
}

.pattern-overlay[b-rogdpri7mb] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("https://www.transparenttextures.com/patterns/leaf.png");
    opacity: 0.6;
    /* Increased opacity for visibility */
    pointer-events: none;
    z-index: 1;
}

.floating-blob[b-rogdpri7mb] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float-around-b-rogdpri7mb 25s infinite alternate ease-in-out;
    opacity: 0.7;
    /* Increased opacity from 0.5 */
    z-index: 0;
}

.blob-1[b-rogdpri7mb] {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 120, 177, 0.15) 0%, rgba(238, 246, 249, 0) 70%);
    top: -200px;
    left: -150px;
    animation-duration: 30s;
}

.blob-2[b-rogdpri7mb] {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 141, 98, 0.1) 0%, rgba(238, 246, 249, 0) 70%);
    bottom: -150px;
    right: -100px;
    animation-duration: 35s;
    animation-delay: -5s;
}

.blob-3[b-rogdpri7mb] {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 75, 113, 0.12) 0%, rgba(238, 246, 249, 0) 70%);
    top: 30%;
    left: 40%;
    animation-duration: 20s;
    animation-delay: -10s;
}

@keyframes float-around-b-rogdpri7mb {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(100px, 150px) scale(1.1) rotate(10deg);
    }

    66% {
        transform: translate(-50px, 200px) scale(0.9) rotate(-10deg);
    }

    100% {
        transform: translate(150px, -100px) scale(1.05) rotate(5deg);
    }
}

.calendar-main-container[b-rogdpri7mb] {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1rem 1.25rem;
    box-shadow: 0 15px 35px rgba(0, 75, 113, 0.08);
    width: 100%;
    max-width: 100%;
    margin: 0.25rem 0 1rem 0;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-height: calc(100vh - 125px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.calendar-top-bar[b-rogdpri7mb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 75, 113, 0.05);
    width: 100%;
    max-width: 100%;
    margin: 0.25rem 0;
    border: 1px solid #eef6f9;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.calendar-navigation[b-rogdpri7mb] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-arrow[b-rogdpri7mb] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0078b1;
    transition: all 0.2s;
    flex-shrink: 0;
}

.nav-arrow:hover[b-rogdpri7mb] {
    background: #f0f7ff;
    border-color: #0078b1;
}

.current-range[b-rogdpri7mb] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #004b71;
    margin: 0 0.25rem;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.view-toggles[b-rogdpri7mb] {
    background: #eef6f9;
    padding: 5px;
    border-radius: 12px;
    display: flex;
    gap: 3px;
    border: 1px solid #d1e2ec;
}

.toggle-btn[b-rogdpri7mb] {
    padding: 0.4rem 1rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.75rem;
    color: #5e8ca3;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-btn.active[b-rogdpri7mb] {
    background: white;
    color: #004b71;
    box-shadow: 0 4px 10px rgba(0, 75, 113, 0.1);
}

.unified-doctor-select[b-rogdpri7mb] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #004b71;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    outline: none;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 140px;
    flex-shrink: 1;
}

.unified-doctor-select:hover[b-rogdpri7mb] {
    border-color: #0078b1;
}

.btn-add-unified[b-rogdpri7mb] {
    background: #008d62;
    color: white;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 141, 98, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-add-unified:hover[b-rogdpri7mb] {
    background: #007652;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 141, 98, 0.3);
}

.top-bar-left[b-rogdpri7mb],
.top-bar-right[b-rogdpri7mb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.top-bar-right[b-rogdpri7mb] {
    gap: 1rem;
}

/* --- WEEK VIEW GRID --- */
.calendar-grid-wrapper.week[b-rogdpri7mb] {
    background: white;
    border-radius: 16px;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
    width: 100%;
}

.calendar-grid-wrapper.week .grid-header[b-rogdpri7mb],
.calendar-grid-wrapper.week .grid-body[b-rogdpri7mb] {
    width: 100%;
    min-width: 840px;
}

.grid-header[b-rogdpri7mb] {
    display: grid;
    grid-template-columns: repeat(7, minmax(120px, 1fr));
    min-width: 840px;
    border-bottom: 1px solid #e2e8f0;
}

.header-cell[b-rogdpri7mb] {
    padding: 1rem 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-right: 1px solid #e2e8f0;
    position: relative;
    background: #f0f7ff;
    transition: all 0.2s;
}

.header-cell[b-rogdpri7mb]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #0078b1;
}

.header-cell:last-child[b-rogdpri7mb] {
    border-right: none;
}

.date-header-row[b-rogdpri7mb] {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem;
}

.day-name[b-rogdpri7mb] {
    font-size: 0.65rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.day-num[b-rogdpri7mb] {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
}

.today-badge[b-rogdpri7mb] {
    font-size: 0.65rem;
    font-weight: 800;
    color: #026aa7;
    background: #dbeafe;
    padding: 2px 8px;
    border-radius: 20px;
    align-self: center;
}

.grid-body[b-rogdpri7mb] {
    display: grid;
    grid-template-columns: repeat(7, minmax(120px, 1fr));
    min-width: 840px;
    align-content: start;
    flex: 1;
    overflow-y: auto;
    background: #ffffff;
    max-height: calc(100vh - 240px);
}

.grid-column[b-rogdpri7mb] {
    border-right: 1px solid #f1f5f9;
    padding: 0.6rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: calc(100vh - 280px);
    min-height: 120px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    cursor: pointer;
}

.grid-column[b-rogdpri7mb]::-webkit-scrollbar {
    width: 4px;
}

.grid-column[b-rogdpri7mb]::-webkit-scrollbar-track {
    background: rgba(241, 245, 249, 0.6);
    border-radius: 4px;
}

.grid-column[b-rogdpri7mb]::-webkit-scrollbar-thumb {
    background: rgba(2, 106, 167, 0.3);
    border-radius: 4px;
}

.grid-column[b-rogdpri7mb]::-webkit-scrollbar-thumb:hover {
    background: rgba(2, 106, 167, 0.7);
}

/* --- QUICK ADD DAY SLOT BUTTONS --- */
.empty-day-cell[b-rogdpri7mb] {
    border: 1.5px dashed #cbd5e1;
    border-radius: 4px;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #64748b;
    background: rgba(248, 250, 252, 0.6);
    cursor: pointer;
    transition: all 0.25s ease;
    min-height: 80px;
    margin: auto 0;
}

.empty-day-cell i[b-rogdpri7mb] {
    font-size: 1.3rem;
    color: #0078b1;
    transition: transform 0.2s ease;
}

.empty-day-cell span[b-rogdpri7mb] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.empty-day-cell:hover[b-rogdpri7mb] {
    border-color: #0078b1;
    background: #f0f7ff;
    color: #004b71;
    box-shadow: 0 4px 14px rgba(0, 120, 177, 0.1);
}

.empty-day-cell:hover i[b-rogdpri7mb] {
    transform: scale(1.2);
}

.grid-column-add-btn[b-rogdpri7mb] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
    border: 1px dashed #cbd5e1;
    color: #0078b1;
    background: #ffffff;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 700;
    transition: all 0.2s ease;
    opacity: 0.75;
    margin-top: 0.25rem;
}

.grid-column-add-btn:hover[b-rogdpri7mb] {
    opacity: 1;
    background: #f0f7ff;
    border-color: #0078b1;
    box-shadow: 0 2px 8px rgba(0, 120, 177, 0.1);
}

.grid-column:last-child[b-rogdpri7mb] {
    border-right: none;
}

.header-cell.today[b-rogdpri7mb] {
    background: #d0e7ff !important;
    border-bottom: 3px solid #026aa7 !important;
}

.header-cell.today .day-name[b-rogdpri7mb] {
    color: #026aa7 !important;
    font-weight: 800 !important;
}

.header-cell.today .day-num[b-rogdpri7mb] {
    color: #004b71 !important;
    font-weight: 900 !important;
}

.grid-column.today[b-rogdpri7mb] {
    background: rgba(2, 106, 167, 0.05) !important;
    border-left: 1.5px dashed rgba(2, 106, 167, 0.35) !important;
    border-right: 1.5px dashed rgba(2, 106, 167, 0.35) !important;
}

/* --- ADVANCE SLOT CARD DESIGN --- */
.slot-card[b-rogdpri7mb] {
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 4px;
    padding: 0.65rem 0.75rem;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 3px 10px rgba(0, 75, 113, 0.04);
    position: relative;
    overflow: hidden;
}

.slot-card:hover[b-rogdpri7mb] {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 10px 25px rgba(0, 120, 177, 0.14);
    border-color: #0078b1;
}

.slot-card-top-bar[b-rogdpri7mb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    width: 100%;
}

.slot-title-badge[b-rogdpri7mb] {
    font-size: 0.7rem;
    font-weight: 800;
    color: #004b71;
    background: #f0f7ff;
    padding: 3px 9px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    border: 1px solid #bae6fd;
    white-space: nowrap;
}

.slot-type-pill[b-rogdpri7mb] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slot-emoji-inline[b-rogdpri7mb] {
    font-size: 0.75rem;
    line-height: 1;
}

.slot-card-time-pill[b-rogdpri7mb] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0.35rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: #1e293b;
}

.slot-card-time-pill i[b-rogdpri7mb] {
    color: #0078b1;
    font-size: 0.8rem;
}

.slot-card-meta[b-rogdpri7mb] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.meta-chip[b-rogdpri7mb] {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.meta-chip.walkin[b-rogdpri7mb] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.meta-chip.online[b-rogdpri7mb] {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.slot-type-dot[b-rogdpri7mb] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.slot-card-header[b-rogdpri7mb],
.slot-v2-header[b-rogdpri7mb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
}

/* --- DAY VIEW ADVANCE DESIGN --- */
.day-view-container[b-rogdpri7mb] {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    max-height: calc(100vh - 190px);
}

.day-view-container[b-rogdpri7mb]::-webkit-scrollbar {
    width: 4px;
}

.day-view-container[b-rogdpri7mb]::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.day-view-container[b-rogdpri7mb]::-webkit-scrollbar-thumb {
    background: rgba(2, 106, 167, 0.3);
    border-radius: 4px;
}

.day-view-date-card[b-rogdpri7mb] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    background: #f0f7ff;
    border-radius: 8px;
    margin-bottom: 0.6rem;
    box-shadow: 0 2px 10px rgba(0, 120, 177, 0.04);
}

.date-badge[b-rogdpri7mb] {
    background: white;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 55px;
    box-shadow: 0 2px 6px rgba(0, 120, 177, 0.08);
}

.month-label[b-rogdpri7mb] {
    font-size: 0.65rem;
    font-weight: 800;
    color: #0078b1;
}

.day-label-num[b-rogdpri7mb] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.day-full-name[b-rogdpri7mb] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.full-date-text[b-rogdpri7mb] {
    font-size: 0.72rem;
    color: #64748b;
    margin: 0;
    font-weight: 600;
}

.day-stats[b-rogdpri7mb] {
    display: flex;
    gap: 1rem;
}

.stat-item[b-rogdpri7mb] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    border: 1px solid #eef2f6;
    box-shadow: 0 2px 6px rgba(0, 120, 177, 0.04);
}

.stat-value[b-rogdpri7mb] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0078b1;
    line-height: 1;
}

.stat-label[b-rogdpri7mb] {
    font-size: 0.58rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.day-slots-grid[b-rogdpri7mb] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.day-doctor-section[b-rogdpri7mb] {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 0.6rem 0.85rem;
    box-shadow: 0 2px 10px rgba(0, 75, 113, 0.03);
}

.doctor-group-header[b-rogdpri7mb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.4rem;
    border-bottom: 1.5px solid #f1f5f9;
}

.doc-header-left[b-rogdpri7mb] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #004b71;
    font-size: 0.85rem;
    font-weight: 800;
}

.doc-header-left i[b-rogdpri7mb] {
    color: #0078b1;
    font-size: 1.05rem;
}

.doctor-slots-scroll-container[b-rogdpri7mb] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 0.5rem;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
    margin-top: 0.4rem;
}

.doctor-slots-scroll-container[b-rogdpri7mb]::-webkit-scrollbar {
    width: 4px;
}

.doctor-slots-scroll-container[b-rogdpri7mb]::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.doctor-slots-scroll-container[b-rogdpri7mb]::-webkit-scrollbar-thumb {
    background: rgba(2, 106, 167, 0.3);
    border-radius: 4px;
}

.slot-card-v2[b-rogdpri7mb] {
    background: white;
    border-radius: 4px;
    padding: 0.4rem 0.55rem;
    position: relative;
    border: 1.5px solid #eef2f6;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    cursor: pointer;
}

.slot-card-v2:hover[b-rogdpri7mb] {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 120, 177, 0.1);
    border-color: #0078b1;
}

.day-view-add-slot-card[b-rogdpri7mb] {
    background: #f8fafc;
    border: 1.5px dashed #0078b1;
    border-radius: 4px;
    padding: 0.4rem 0.55rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    color: #0078b1;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 60px;
    font-weight: 700;
    font-size: 0.72rem;
}

.day-view-add-slot-card:hover[b-rogdpri7mb] {
    background: #f0f7ff;
    border-color: #004b71;
    color: #004b71;
    box-shadow: 0 4px 12px rgba(0, 120, 177, 0.12);
    transform: translateY(-2px);
}

.day-view-add-slot-card i[b-rogdpri7mb] {
    font-size: 1.2rem;
}

.time-arrow[b-rogdpri7mb] {
    color: #94a3b8;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.slot-v2-meta[b-rogdpri7mb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.2rem;
    border-top: 1px dashed #f1f5f9;
    padding-top: 0.5rem;
}

.slot-v2-number[b-rogdpri7mb] {
    font-size: 0.7rem;
    font-weight: 800;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.slot-v2-actions[b-rogdpri7mb] {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    display: flex;
    gap: 0.3rem;
    opacity: 0;
    transition: all 0.2s ease;
    z-index: 10;
    background: #ffffff;
    padding: 2px 4px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
}

.slot-card-v2:hover .slot-v2-actions[b-rogdpri7mb] {
    opacity: 1;
}

.slot-actions[b-rogdpri7mb] {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    display: flex;
    gap: 0.25rem;
    opacity: 0;
    transition: all 0.2s ease;
    z-index: 10;
    background: #ffffff;
    padding: 2px 4px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
}

.slot-card:hover .slot-actions[b-rogdpri7mb] {
    opacity: 1;
}

.v2-action-btn[b-rogdpri7mb] {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

/* Specific smaller buttons for the compact Week View slots */
.slot-card .v2-action-btn[b-rogdpri7mb] {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.v2-action-btn.edit[b-rogdpri7mb] {
    background: #f0f7ff;
    color: #0078b1;
    border-color: #bae6fd;
}

.v2-action-btn.edit:hover[b-rogdpri7mb] {
    background: #0078b1;
    color: #ffffff;
    border-color: #0078b1;
}

.v2-action-btn.delete[b-rogdpri7mb] {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.v2-action-btn.delete:hover[b-rogdpri7mb] {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
}

.v2-action-btn.edit:disabled[b-rogdpri7mb],
.v2-action-btn.delete:disabled[b-rogdpri7mb] {
    background: #cbd5e1 !important;
    color: #94a3b8 !important;
    border-color: #e2e8f0 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.6 !important;
}

.slot-v2-time[b-rogdpri7mb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.2rem 0;
}

.time-block[b-rogdpri7mb] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.time-label[b-rogdpri7mb] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.time-value[b-rogdpri7mb] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    white-space: nowrap;
}


.slot-v2-footer[b-rogdpri7mb] {
    border-top: 1px solid #f1f5f9;
    padding-top: 0.75rem;
}

.doctor-badge-v2[b-rogdpri7mb] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
}

.doctor-badge-v2 i[b-rogdpri7mb] {
    color: #0078b1;
    font-size: 1rem;
}

.empty-state-simple[b-rogdpri7mb] {
    grid-column: 1 / -1;
    padding: 4rem;
    text-align: center;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px dashed #e2e8f0;
    color: #94a3b8;
}

.empty-state-simple i[b-rogdpri7mb] {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.slot-actions[b-rogdpri7mb] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.3rem;
    opacity: 0;
    transition: all 0.2s;
}

.slot-card:hover .slot-actions[b-rogdpri7mb] {
    opacity: 1;
}

.slot-card-time[b-rogdpri7mb] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
}

.slot-card-time i[b-rogdpri7mb] {
    color: #94a3b8;
    font-size: 0.9rem;
}

.slot-card-doctor[b-rogdpri7mb] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #026aa7;
    margin-top: 0.1rem;
    padding-top: 0.4rem;
    border-top: 1px dashed #f1f5f9;
}

/* --- DAY VIEW STYLES --- */
.doctor-group-header[b-rogdpri7mb] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0.5rem 0.5rem;
    margin-top: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.doctor-group-header:first-child[b-rogdpri7mb] {
    margin-top: 0;
    padding-top: 0.5rem;
}

.doctor-group-header i[b-rogdpri7mb] {
    font-size: 1.25rem;
    color: #0078b1;
    background: #f0f7ff;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.doctor-group-header span:first-of-type[b-rogdpri7mb] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #004b71;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doctor-slot-count[b-rogdpri7mb] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    background: #f8fafc;
    padding: 2px 10px;
    border-radius: 20px;
    margin-left: auto;
    border: 1px solid #e2e8f0;
}

.week-doctor-divider-row[b-rogdpri7mb] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    position: sticky;
    left: 0;
    min-width: 840px;
}

.week-doctor-divider-row:first-child[b-rogdpri7mb] {
    margin-top: 0;
}

.week-doctor-divider-row i[b-rogdpri7mb] {
    font-size: 1rem;
    color: #0078b1;
}

.week-doctor-divider-row span[b-rogdpri7mb] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #004b71;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slot-card.horizontal[b-rogdpri7mb] {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
}

.calendar-nav-mini[b-rogdpri7mb] {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 12px;
}

.btn-nav-mini[b-rogdpri7mb] {
    background: white;
    border: 1px solid #e2e8f0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #026aa7;
    transition: all 0.2s;
}

.btn-nav-mini:hover[b-rogdpri7mb] {
    background: #026aa7;
    color: white;
}

.month-display[b-rogdpri7mb] {
    font-weight: 800;
    font-size: 0.85rem;
    color: #1e293b;
    min-width: 80px;
    text-align: center;
}

.mini-slot-row[b-rogdpri7mb] {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f8fafc;
    align-items: center;
    transition: background 0.2s;
}

.mini-slot-row:hover[b-rogdpri7mb] {
    background: #fdfdff;
}

.mini-slot-row:last-child[b-rogdpri7mb] {
    border-bottom: none;
}

.mini-time[b-rogdpri7mb] {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mini-time i[b-rogdpri7mb] {
    color: #0891b2;
}

.mini-stats[b-rogdpri7mb] {
    display: flex;
    gap: 1rem;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
}

.mini-status[b-rogdpri7mb] {
    display: flex;
    align-items: center;
}

.status-dot[b-rogdpri7mb] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-active[b-rogdpri7mb] {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.dot-inactive[b-rogdpri7mb] {
    background: #ef4444;
}

.mini-actions[b-rogdpri7mb] {
    display: flex;
    gap: 0.5rem;
}

.btn-mini-action[b-rogdpri7mb] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.btn-mini-action.edit[b-rogdpri7mb] {
    background: #f0f9ff;
    color: #0ea5e9;
}

.btn-mini-action.edit:hover[b-rogdpri7mb] {
    background: #0ea5e9;
    color: white;
}

.btn-mini-action.delete[b-rogdpri7mb] {
    background: #fff1f2;
    color: #f43f5e;
}

.btn-mini-action.delete:hover[b-rogdpri7mb] {
    background: #f43f5e;
    color: white;
}

.slot-list-container[b-rogdpri7mb] {
    background: white;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    flex: 1;
    margin-top: 0;
    display: flex;
    flex-direction: column;
}

.slot-body-container[b-rogdpri7mb] {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: 0;
    background: white;
}

.modal-split-view[b-rogdpri7mb] {
    display: flex;
    gap: 1.5rem;
    flex: 1;
    min-height: 0;
}

.calendar-sidebar[b-rogdpri7mb] {
    width: 260px;
    flex-shrink: 0;
}

.doctor-select-col[b-rogdpri7mb] {
    flex: 0 0 260px;
}

.quick-select-col[b-rogdpri7mb] {
    flex: 0 0 200px;
}

/* Responsive Adjustments */

/* Responsive Adjustments for Calendar View */
@media (max-width: 992px) {
    .calendar-main-container[b-rogdpri7mb] {
        margin: 0.5rem auto 1rem auto;
        padding: 0.75rem 0.5rem;
        max-height: none;
        overflow: visible;
        width: 100%;
        border-radius: 14px;
    }

    .calendar-top-bar[b-rogdpri7mb] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.75rem;
        border-radius: 12px;
    }

    .top-bar-left[b-rogdpri7mb],
    .top-bar-right[b-rogdpri7mb] {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 0.5rem;
    }

    .calendar-navigation[b-rogdpri7mb] {
        justify-content: center;
        width: 100%;
        gap: 0.5rem;
    }

    .current-range[b-rogdpri7mb] {
        font-size: 0.95rem;
        text-align: center;
    }

    .view-toggles[b-rogdpri7mb] {
        width: 100%;
        justify-content: center;
    }

    .toggle-btn[b-rogdpri7mb] {
        flex: 1;
        text-align: center;
        padding: 0.45rem 0.5rem;
    }

    .doctor-filter-wrapper[b-rogdpri7mb] {
        flex: 1 1 180px;
        width: 100%;
    }

    .unified-doctor-select[b-rogdpri7mb] {
        width: 100%;
        min-width: 0;
    }

    .btn-add-unified[b-rogdpri7mb] {
        flex: 1 1 100%;
        width: 100%;
        justify-content: center;
        height: 38px;
        padding: 0.6rem;
    }

    .day-slots-grid[b-rogdpri7mb] {
        grid-template-columns: repeat(2, 1fr);
    }

    .day-view-container[b-rogdpri7mb] {
        max-height: none;
        overflow: visible;
        width: 100%;
    }

    .day-view-date-card[b-rogdpri7mb] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .day-stats[b-rogdpri7mb] {
        flex-wrap: wrap;
        width: 100%;
        gap: 0.5rem;
    }

    .stat-item[b-rogdpri7mb] {
        flex: 1 1 calc(50% - 0.25rem);
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .slot-page-title[b-rogdpri7mb] {
        font-size: 1.35rem;
        margin-bottom: 0.15rem;
    }

    .day-slots-grid[b-rogdpri7mb] {
        grid-template-columns: 1fr;
    }

    .doctor-slots-scroll-container[b-rogdpri7mb] {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.5rem;
    }
}

.unified-scroll-container[b-rogdpri7mb] {
    overflow-x: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.slot-grid-container[b-rogdpri7mb] {
    width: 100%;
    min-width: 845px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}


.slot-row-mobile-header[b-rogdpri7mb] {
    display: none;
}

.slot-field-label[b-rogdpri7mb] {
    display: none;
}

.desktop-only[b-rogdpri7mb] {
    display: flex;
}

.slot-field-group[b-rogdpri7mb] {
    display: block;
    width: 100%;
}

.slot-header[b-rogdpri7mb] {
    display: grid;
    grid-template-columns: 45px minmax(120px, 1.2fr) minmax(120px, 1.2fr) 60px minmax(145px, 1.5fr) minmax(65px, 0.7fr) minmax(65px, 0.7fr) minmax(65px, 0.7fr) minmax(65px, 0.7fr) 70px;
    gap: 0;
    background: transparent;
    font-weight: 800;
    color: white;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 100% !important;
    min-width: 845px !important;
}

.slot-header div[b-rogdpri7mb] {
    padding: 0.85rem 0.5rem;
    background: var(--primary, #026aa7);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
}

.slot-header div.text-center[b-rogdpri7mb] {
    justify-content: center;
}

.slot-header div:first-child[b-rogdpri7mb] {
    border-top-left-radius: 12px;
}

.slot-header div:last-child[b-rogdpri7mb] {
    border-top-right-radius: 12px;
    border-right: none;
}

.slot-row[b-rogdpri7mb] {
    display: grid;
    grid-template-columns: 45px minmax(120px, 1.2fr) minmax(120px, 1.2fr) 60px minmax(145px, 1.5fr) minmax(65px, 0.7fr) minmax(65px, 0.7fr) minmax(65px, 0.7fr) minmax(65px, 0.7fr) 70px;
    gap: 0;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
    transition: all 0.2s;
    width: 100% !important;
    min-width: 845px !important;
}

.slot-row div[b-rogdpri7mb] {
    padding: 0 0.5rem;
}

.slot-row:last-child[b-rogdpri7mb] {
    border-bottom: none;
}

.slot-row:hover[b-rogdpri7mb] {
    background: #f8fafc;
}

[b-rogdpri7mb] .slot-row input,
[b-rogdpri7mb] .slot-row select {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 0.4rem 0.5rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    width: 100% !important;
    background: #ffffff !important;
    color: #2c3441 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    outline: none !important;
}

[b-rogdpri7mb] .slot-row select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 1rem !important;
    padding-right: 2.5rem !important;
    cursor: pointer !important;
}

[b-rogdpri7mb] .slot-row input:focus,
[b-rogdpri7mb] .slot-row select:focus {
    border-color: #026aa7 !important;
    background: white !important;
    box-shadow: 0 0 0 4px rgba(2, 106, 167, 0.1) !important;
}

[b-rogdpri7mb] .patient-col input,
[b-rogdpri7mb] .walkin-col input,
[b-rogdpri7mb] .online-col input,
[b-rogdpri7mb] .avgtime-col input {
    width: 60px !important;
    margin: 0 auto !important;
}

[b-rogdpri7mb] .compact-input {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 0.35rem 0.5rem !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    width: 100% !important;
    background: #ffffff !important;
    color: #2c3441 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    outline: none !important;
    display: block !important;
    height: auto !important;
    line-height: normal !important;
}

.compact-input[readonly][b-rogdpri7mb] {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #64748b;
    font-weight: 600;
    cursor: default;
}

[b-rogdpri7mb] .slot-row input:disabled,
[b-rogdpri7mb] .slot-row select:disabled,
.compact-input:disabled[b-rogdpri7mb] {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #64748b !important;
    font-weight: 600 !important;
    cursor: not-allowed !important;
    opacity: 0.85 !important;
}

.btn-remove-slot[b-rogdpri7mb] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    background: #fff5f5;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-remove-slot:hover[b-rogdpri7mb] {
    background: #fee2e2;
    color: #b91c1c;
}

.btn-add-slot-new[b-rogdpri7mb] {
    background: #f0f7ff;
    color: #026aa7;
    border: 1px dashed #026aa7;
    padding: 0.7rem 1.8rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: all 0.2s;
}

.add-slot-container[b-rogdpri7mb] {
    width: 1000px;
    display: flex;
    justify-content: center;
    margin: 0.5rem 0;
}

.btn-add-slot-new:hover[b-rogdpri7mb] {
    background: #026aa7;
    color: white;
    border-style: solid;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.15);
}

.calendar-footer[b-rogdpri7mb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #edf2f7;
}

.footer-btn[b-rogdpri7mb] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.footer-btn:hover[b-rogdpri7mb] {
    color: #b91c1c;
    text-decoration: underline;
}

/* RESPONSIVE CARD-BASED DESIGN FOR NEW SLOT ENTRY ON TABLETS & MOBILE */
@media (max-width: 992px) {
    .doctor-modal[b-rogdpri7mb],
    .doctor-modal-responsive[b-rogdpri7mb] {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 95vw !important;
        max-width: 720px !important;
        height: auto !important;
        max-height: 94vh !important;
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
        z-index: 2005 !important;
        background: #ffffff !important;
    }

    .modal-header[b-rogdpri7mb] {
        padding: 0.85rem 1.25rem !important;
        flex-shrink: 0 !important;
        background: #ffffff !important;
        border-bottom: 1.5px solid #f1f5f9 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .modal-header h3[b-rogdpri7mb] {
        font-size: 1.15rem !important;
        font-weight: 800 !important;
        color: #026aa7 !important;
        margin: 0 !important;
    }

    .modal-body[b-rogdpri7mb],
    .modal-body-responsive[b-rogdpri7mb] {
        padding: 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1.15rem !important;
        overflow-y: auto !important;
        flex: 1 1 auto !important;
        max-height: calc(94vh - 125px) !important;
        background: #f8fafc !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .form-row[b-rogdpri7mb] {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .form-col[b-rogdpri7mb],
    .doctor-select-col[b-rogdpri7mb] {
        grid-column: 1 !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .quick-select-col[b-rogdpri7mb] {
        grid-column: 2 !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .dates-summary-col[b-rogdpri7mb],
    .form-col:last-child[b-rogdpri7mb] {
        grid-column: 1 / -1 !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .selected-dates-preview[b-rogdpri7mb] {
        background: #ffffff !important;
        border: 1.5px solid #e2e8f0 !important;
        border-radius: 8px !important;
    }

    .modal-split-view[b-rogdpri7mb] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.15rem !important;
        width: 100% !important;
    }

    .calendar-sidebar[b-rogdpri7mb] {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        display: flex !important;
        justify-content: center !important;
        background: transparent !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    .calendar-inline[b-rogdpri7mb] {
        max-width: 360px !important;
        width: 100% !important;
        margin: 0 auto !important;
        background: #ffffff !important;
        border: 1.5px solid #e2e8f0 !important;
        border-radius: 14px !important;
        padding: 0.85rem 1rem !important;
        box-shadow: 0 2px 10px rgba(0, 75, 113, 0.04) !important;
    }

    .calendar-grid[b-rogdpri7mb] {
        display: grid !important;
        grid-template-columns: repeat(7, 1fr) !important;
        gap: 4px !important;
    }

    .calendar-day[b-rogdpri7mb] {
        height: 36px !important;
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        transition: all 0.15s ease !important;
    }

    .calendar-day.selected[b-rogdpri7mb] {
        background: #026aa7 !important;
        color: #ffffff !important;
        font-weight: 800 !important;
        box-shadow: 0 2px 6px rgba(2, 106, 167, 0.3) !important;
    }

    .slot-list-container[b-rogdpri7mb] {
        width: 100% !important;
        max-width: 100% !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .unified-scroll-container[b-rogdpri7mb] {
        overflow-x: visible !important;
        width: 100% !important;
        flex: none !important;
    }

    .slot-grid-container[b-rogdpri7mb] {
        min-width: 0 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.85rem !important;
    }

    .slot-header[b-rogdpri7mb] {
        display: none !important;
    }

    .slot-body-container[b-rogdpri7mb] {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.85rem !important;
        width: 100% !important;
        max-height: none !important;
        overflow-y: visible !important;
        background: transparent !important;
    }

    .desktop-only[b-rogdpri7mb] {
        display: none !important;
    }

    .slot-row[b-rogdpri7mb] {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.65rem 0.75rem !important;
        background: #ffffff !important;
        border: 1.5px solid #e2e8f0 !important;
        border-left: 4px solid #026aa7 !important;
        border-radius: 14px !important;
        padding: 0.85rem 1rem !important;
        width: 100% !important;
        min-width: 0 !important;
        box-shadow: 0 3px 10px rgba(0, 75, 113, 0.04) !important;
        transition: all 0.2s ease !important;
    }

    .slot-row:hover[b-rogdpri7mb] {
        background: #ffffff !important;
        box-shadow: 0 6px 16px rgba(0, 75, 113, 0.08) !important;
        border-color: #026aa7 !important;
    }

    .slot-row-mobile-header[b-rogdpri7mb] {
        grid-column: 1 / -1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-bottom: 0.5rem !important;
        margin-bottom: 0.15rem !important;
        border-bottom: 1px solid #f1f5f9 !important;
        width: 100% !important;
    }

    .slot-badge-mobile[b-rogdpri7mb] {
        background: #f0f7ff !important;
        color: #026aa7 !important;
        font-size: 0.82rem !important;
        font-weight: 800 !important;
        padding: 4px 10px !important;
        border-radius: 6px !important;
        border: 1px solid #bae6fd !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        letter-spacing: 0.3px !important;
    }

    .btn-remove-slot-mobile[b-rogdpri7mb] {
        background: #fef2f2 !important;
        color: #dc2626 !important;
        border: 1px solid #fecaca !important;
        padding: 4px 10px !important;
        border-radius: 6px !important;
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        transition: all 0.2s ease !important;
    }

    .btn-remove-slot-mobile:hover[b-rogdpri7mb] {
        background: #dc2626 !important;
        color: #ffffff !important;
        border-color: #dc2626 !important;
    }

    .slot-field-group[b-rogdpri7mb] {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 !important;
        gap: 0.25rem !important;
    }

    .slot-field-label[b-rogdpri7mb] {
        display: block !important;
        font-size: 0.68rem !important;
        font-weight: 800 !important;
        color: #026aa7 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.4px !important;
        margin-bottom: 2px !important;
    }

    .start-time-col[b-rogdpri7mb] {
        grid-column: span 2 !important;
    }

    .end-time-col[b-rogdpri7mb] {
        grid-column: span 2 !important;
    }

    .dur-col[b-rogdpri7mb] {
        grid-column: span 2 !important;
    }

    .slot-type-col[b-rogdpri7mb] {
        grid-column: span 2 !important;
    }

    .avgtime-col[b-rogdpri7mb] {
        grid-column: span 1 !important;
    }

    .walkin-col[b-rogdpri7mb] {
        grid-column: span 1 !important;
    }

    .online-col[b-rogdpri7mb] {
        grid-column: span 1 !important;
    }

    .patient-col[b-rogdpri7mb] {
        grid-column: span 1 !important;
    }

    [b-rogdpri7mb] .patient-col input,
    [b-rogdpri7mb] .walkin-col input,
    [b-rogdpri7mb] .online-col input,
    [b-rogdpri7mb] .avgtime-col input {
        width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
    }

    .add-slot-container[b-rogdpri7mb] {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0.25rem 0 !important;
        display: flex !important;
        justify-content: center !important;
        padding: 0 !important;
    }

    .btn-add-slot-new[b-rogdpri7mb] {
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
        padding: 0.75rem 1.5rem !important;
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
    }

    .modal-footer[b-rogdpri7mb] {
        padding: 0.75rem 1.25rem !important;
        flex-shrink: 0 !important;
        display: flex !important;
        justify-content: flex-end !important;
        background: #ffffff !important;
        border-top: 1.5px solid #f1f5f9 !important;
    }

    .btn-save[b-rogdpri7mb] {
        width: auto !important;
        min-width: 160px !important;
        padding: 0.65rem 2rem !important;
        font-size: 0.9rem !important;
        font-weight: 800 !important;
        border-radius: 10px !important;
    }
}

@media (max-width: 520px) {
    .doctor-modal[b-rogdpri7mb],
    .doctor-modal-responsive[b-rogdpri7mb] {
        width: 96vw !important;
        max-width: 96vw !important;
        max-height: 96vh !important;
        border-radius: 14px !important;
    }

    .modal-header[b-rogdpri7mb] {
        padding: 0.75rem 1rem !important;
    }

    .modal-header h3[b-rogdpri7mb] {
        font-size: 1.05rem !important;
    }

    .modal-body[b-rogdpri7mb],
    .modal-body-responsive[b-rogdpri7mb] {
        padding: 0.75rem !important;
        gap: 0.85rem !important;
        max-height: calc(96vh - 120px) !important;
    }

    .form-row[b-rogdpri7mb] {
        grid-template-columns: 1fr !important;
        gap: 0.6rem !important;
    }

    .doctor-select-col[b-rogdpri7mb],
    .quick-select-col[b-rogdpri7mb] {
        grid-column: 1 !important;
    }

    .slot-row[b-rogdpri7mb] {
        grid-template-columns: 1fr 1fr !important;
        padding: 0.75rem !important;
        gap: 0.55rem !important;
    }

    .start-time-col[b-rogdpri7mb] {
        grid-column: 1 !important;
    }

    .end-time-col[b-rogdpri7mb] {
        grid-column: 2 !important;
    }

    .dur-col[b-rogdpri7mb] {
        grid-column: 1 !important;
    }

    .slot-type-col[b-rogdpri7mb] {
        grid-column: 2 !important;
    }

    .avgtime-col[b-rogdpri7mb] {
        grid-column: 1 !important;
    }

    .walkin-col[b-rogdpri7mb] {
        grid-column: 2 !important;
    }

    .online-col[b-rogdpri7mb] {
        grid-column: 1 !important;
    }

    .patient-col[b-rogdpri7mb] {
        grid-column: 2 !important;
    }

    .btn-save[b-rogdpri7mb] {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ==========================================================================
   UPDATE SLOT MODAL (VERTICAL 2-COLUMN VIEW FROM IMAGES)
   ========================================================================== */

.update-slot-modal[b-rogdpri7mb] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 2001;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.update-modal-header[b-rogdpri7mb] {
    background: #ffffff;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1.5px solid #f1f5f9;
}

.update-modal-header h3[b-rogdpri7mb] {
    font-size: 1.15rem;
    font-weight: 600;
    color: #026aa7;
    margin: 0;
}

.update-modal-body[b-rogdpri7mb] {
    padding: 1rem;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-height: 80vh;
    overflow-y: auto;
}

/* Slot preview chip */
.slot-preview-chip[b-rogdpri7mb] {
    align-self: flex-start;
    background: #ffffff;
    border-left: 5px solid #0066a2;
    border-radius: 8px;
    padding: 0.55rem 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 175px;
    width: max-content;
    margin-bottom: 0.75rem;
}

.slot-preview-chip .chip-title[b-rogdpri7mb] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slot-preview-chip .chip-date[b-rogdpri7mb] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    margin-top: 1px;
}

.slot-preview-chip .chip-time[b-rogdpri7mb] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

/* Two-column vertical table style */
.vertical-slot-card[b-rogdpri7mb] {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1.5px solid #e2e8f0;
}

.vertical-slot-row[b-rogdpri7mb] {
    display: flex;
    border-bottom: 1px solid #f1f5f9;
}

.vertical-slot-row:last-child[b-rogdpri7mb] {
    border-bottom: none;
}

.vertical-label-cell[b-rogdpri7mb] {
    width: 120px;
    min-width: 120px;
    background: #0066a2;
    color: #ffffff;
    padding: 0.55rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    border-right: 1.5px solid rgba(255, 255, 255, 0.1);
}

.vertical-value-cell[b-rogdpri7mb] {
    flex-grow: 1;
    padding: 0.35rem 0.75rem;
    display: flex;
    align-items: center;
    background: #ffffff;
}

/* Text styles */
.slot-number-text[b-rogdpri7mb] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0066a2;
    justify-content: center;
    padding: 0.1rem 0.75rem;
}

/* Action Center cell */
.action-cell-center[b-rogdpri7mb] {
    justify-content: center;
}

/* Inputs styled for the vertical block */
.vertical-input[b-rogdpri7mb] {
    width: 100% !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 0.35rem 0.55rem !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: #334155 !important;
    background: #ffffff !important;
    transition: all 0.2s !important;
    outline: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.vertical-input:focus[b-rogdpri7mb] {
    border-color: #0066a2 !important;
    box-shadow: 0 0 0 3px rgba(2, 106, 167, 0.1) !important;
}

.vertical-input.readonly-input[b-rogdpri7mb] {
    background: #f8fafc !important;
    color: #64748b !important;
    border-color: #e2e8f0 !important;
    cursor: not-allowed !important;
}

/* Input time wrapper */
.time-input-wrapper[b-rogdpri7mb] {
    position: relative;
    width: 100%;
}

/* Delete vertical button styling */
.btn-remove-slot-vertical[b-rogdpri7mb] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: #fff5f5;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.1);
}

.btn-remove-slot-vertical:hover[b-rogdpri7mb] {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.2);
}

/* Footer layout */
.update-footer[b-rogdpri7mb] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0.75rem 1.2rem;
    background: #ffffff;
    border-top: 1.5px solid #f1f5f9;
}

.btn-cancel-update[b-rogdpri7mb] {
    padding: 0.5rem 1.2rem;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #64748b;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.btn-cancel-update:hover[b-rogdpri7mb] {
    background: #f8fafc;
    color: #334155;
    border-color: #94a3b8;
}

.update-footer .btn-save[b-rogdpri7mb] {
    padding: 0.5rem 1.5rem !important;
    font-size: 0.8rem !important;
    border-radius: 8px !important;
}

.btn-delete-vertical[b-rogdpri7mb] {
    padding: 0.5rem 1.2rem;
    border: 1.5px solid #fecaca;
    background: #fef2f2;
    color: #ef4444;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.btn-delete-vertical:hover[b-rogdpri7mb] {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

@media (max-width: 480px) {
    .update-slot-modal[b-rogdpri7mb] {
        width: 95%;
        border-radius: 16px;
    }

    .vertical-label-cell[b-rogdpri7mb] {
        width: 110px;
        min-width: 110px;
        font-size: 0.8rem;
        padding: 0.8rem 0.6rem;
    }

    .vertical-value-cell[b-rogdpri7mb] {
        padding: 0.5rem 0.6rem;
    }
}

/* --- FLOATING SLOT TYPE LEGEND --- */
.floating-info-btn[b-rogdpri7mb] {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #026aa7 0%, #004d77 100%);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(2, 106, 167, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}

.floating-info-btn:hover[b-rogdpri7mb] {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(2, 106, 167, 0.45);
}

.floating-info-btn.active[b-rogdpri7mb] {
    background: #ef4444;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}

.slot-legend-popover[b-rogdpri7mb] {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 1rem 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: slideUpFade-b-rogdpri7mb 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}

@keyframes slideUpFade-b-rogdpri7mb {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popover-header[b-rogdpri7mb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.popover-header h4[b-rogdpri7mb] {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 800;
    color: #026aa7;
    flex-grow: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popover-header .header-icon[b-rogdpri7mb] {
    color: #026aa7;
    font-size: 1.1rem;
}

.close-popover-btn[b-rogdpri7mb] {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.close-popover-btn:hover[b-rogdpri7mb] {
    color: #ef4444;
}

.popover-body[b-rogdpri7mb] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem 0.8rem;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

/* Scrollbar styling for popover-body */
.popover-body[b-rogdpri7mb]::-webkit-scrollbar {
    width: 4px;
}

.popover-body[b-rogdpri7mb]::-webkit-scrollbar-track {
    background: transparent;
}

.popover-body[b-rogdpri7mb]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.legend-item[b-rogdpri7mb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.legend-dot[b-rogdpri7mb] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 1), 0 0 4px rgba(0, 0, 0, 0.15);
}

.legend-text[b-rogdpri7mb] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 480px) {
    .slot-legend-popover[b-rogdpri7mb] {
        width: calc(100vw - 4rem);
    }
}

/* Bulk Edit Buttons */
.bulk-edit-header-btn[b-rogdpri7mb] {
    background: #f0f7ff;
    color: #026aa7;
    border: 1px solid #bae6fd;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.bulk-edit-header-btn:hover[b-rogdpri7mb] {
    background: #026aa7;
    color: white;
    border-color: #026aa7;
    box-shadow: 0 2px 6px rgba(2, 106, 167, 0.35);
}

.bulk-edit-card-btn[b-rogdpri7mb] {
    background: #f0f7ff;
    color: #026aa7;
    border: 1px solid #bae6fd;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(2, 106, 167, 0.1);
}

.bulk-edit-card-btn:hover[b-rogdpri7mb] {
    background: #026aa7;
    color: white;
    border-color: #026aa7;
    box-shadow: 0 4px 10px rgba(2, 106, 167, 0.25);
}

/* Slot Emoji in Top Right Corner */
.slot-emoji[b-rogdpri7mb] {
    position: absolute;
    top: 0.4rem;
    right: 0.5rem;
    font-size: 1rem;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* Micro-interaction: fade out the emoji on hover to make room for action buttons */
.slot-card:hover .slot-emoji[b-rogdpri7mb],
.slot-card-v2:hover .slot-emoji[b-rogdpri7mb] {
    opacity: 0;
    pointer-events: none;
}

/* --- SEGMENTED LEGEND TOGGLE (Cash/Credit sliding style) --- */
.legend-toggle-container[b-rogdpri7mb] {
    display: flex;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1rem;
    width: 100%;
}

.legend-toggle-btn[b-rogdpri7mb] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    border-radius: 9px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    outline: none;
}

.legend-toggle-btn.active[b-rogdpri7mb] {
    background: #ffffff;
    color: #026aa7;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Popover body in Details & Emoji Modes (Beautiful 2-column layouts) */
.popover-body.details-mode[b-rogdpri7mb],
.popover-body.emoji-mode[b-rogdpri7mb] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem 0.8rem;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.legend-item[b-rogdpri7mb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.legend-item:hover[b-rogdpri7mb] {
    transform: translateX(4px);
}

.legend-emoji[b-rogdpri7mb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.legend-emoji-fallback[b-rogdpri7mb] {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

/* --- SLOT CARDS GRID (Match Screenshot 2) --- */
.slot-green-card[b-rogdpri7mb] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #064e3b;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.slot-green-card:hover[b-rogdpri7mb] {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(6, 78, 59, 0.1);
    border-color: #064e3b;
}

.slot-card-header-bar[b-rogdpri7mb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.type-tag[b-rogdpri7mb] {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.type-tag.one-time[b-rogdpri7mb] {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #ffedd5;
}

.type-tag.recurring[b-rogdpri7mb] {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
}

.status-indicator[b-rogdpri7mb] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-dot[b-rogdpri7mb] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.active[b-rogdpri7mb], .green-status-dot.active[b-rogdpri7mb] {
    background-color: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

.status-dot.inactive[b-rogdpri7mb], .green-status-dot.inactive[b-rogdpri7mb] {
    background-color: #94a3b8;
}

.slot-time-banner[b-rogdpri7mb] {
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    color: #064e3b;
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
    font-size: 0.92rem;
    font-weight: 800;
    display: flex;
    align-items: center;
}

.slot-date-detail[b-rogdpri7mb] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
}

.slot-metrics-row[b-rogdpri7mb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 0.6rem 0.5rem;
}

.metric-col[b-rogdpri7mb] {
    flex: 1;
    text-align: center;
}

.metric-val[b-rogdpri7mb] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
}

.metric-label[b-rogdpri7mb] {
    font-size: 0.62rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.metric-border[b-rogdpri7mb] {
    width: 1px;
    height: 24px;
    background: #e2e8f0;
}

.btn-view-details-green[b-rogdpri7mb] {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #064e3b;
    border-radius: 10px;
    padding: 0.55rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-view-details-green:hover[b-rogdpri7mb] {
    background: #064e3b;
    color: #ffffff;
    border-color: #064e3b;
    box-shadow: 0 4px 10px rgba(6, 78, 59, 0.2);
}

/* --- SLOT DETAILS MODAL (Clinical Theme) --- */
.slot-details-modal-window[b-rogdpri7mb] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 820px;
    max-width: 95vw;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 75, 113, 0.25);
    z-index: 2005 !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.slot-details-top-header[b-rogdpri7mb] {
    background: linear-gradient(135deg, #004b71 0%, #0078b1 100%);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.details-header-icon[b-rogdpri7mb] {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.details-modal-close-btn[b-rogdpri7mb] {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    border-radius: 8px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.details-modal-close-btn:hover[b-rogdpri7mb] {
    background: rgba(255, 255, 255, 0.35);
}

.slot-details-modal-body[b-rogdpri7mb] {
    padding: 1.5rem;
}

.stat-summary-container-row[b-rogdpri7mb] {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 1.5rem !important;
    width: 100% !important;
}

.stat-summary-box[b-rogdpri7mb],
.stat-summary-card[b-rogdpri7mb] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.stat-summary-box:hover[b-rogdpri7mb],
.stat-summary-card:hover[b-rogdpri7mb] {
    border-color: #0078b1;
    box-shadow: 0 4px 12px rgba(0, 120, 177, 0.1);
}

.stat-num[b-rogdpri7mb] {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0078b1;
    line-height: 1;
}

.stat-lbl[b-rogdpri7mb] {
    font-size: 0.68rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.8px;
    margin-top: 6px;
    text-transform: uppercase;
}

.details-table-card[b-rogdpri7mb] {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.details-table-card thead th[b-rogdpri7mb] {
    font-size: 0.68rem;
    font-weight: 800;
    color: #004b71;
    letter-spacing: 0.8px;
    padding: 0.85rem 1rem;
    background: #f0f7ff;
    border-bottom: 1px solid #e2e8f0;
}

.details-table-card tbody td[b-rogdpri7mb] {
    padding: 1rem;
    font-size: 0.85rem;
    color: #1e293b;
}

.left-count-badge[b-rogdpri7mb] {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

/* ═══════════════════════════════════════════════════════════════
   SLOT MASTER / BOOKING DASHBOARD DARK THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════ */
.slot-page-title[b-rogdpri7mb] {
    color: #004b71;
    font-weight: 800;
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

:host-context([data-theme="dark"]) .slot-page-title[b-rogdpri7mb],
[data-theme="dark"] .slot-page-title[b-rogdpri7mb] {
    color: #f8fafc !important;
}

.week-doctor-divider-row[b-rogdpri7mb] {
    grid-column: 1 / -1;
    background: #f0f7ff;
    color: #004b71;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

:host-context([data-theme="dark"]) .week-doctor-divider-row[b-rogdpri7mb],
[data-theme="dark"] .week-doctor-divider-row[b-rogdpri7mb] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-bottom: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .calendar-main-container[b-rogdpri7mb],
[data-theme="dark"] .calendar-main-container[b-rogdpri7mb] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .calendar-top-bar[b-rogdpri7mb],
[data-theme="dark"] .calendar-top-bar[b-rogdpri7mb] {
    background: #0f172a !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .nav-arrow[b-rogdpri7mb],
[data-theme="dark"] .nav-arrow[b-rogdpri7mb] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .current-range[b-rogdpri7mb],
[data-theme="dark"] .current-range[b-rogdpri7mb] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .view-toggles[b-rogdpri7mb],
[data-theme="dark"] .view-toggles[b-rogdpri7mb] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .toggle-btn[b-rogdpri7mb],
[data-theme="dark"] .toggle-btn[b-rogdpri7mb] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .toggle-btn.active[b-rogdpri7mb],
[data-theme="dark"] .toggle-btn.active[b-rogdpri7mb] {
    background: #0284c7 !important;
    color: #ffffff !important;
}

:host-context([data-theme="dark"]) .unified-doctor-select[b-rogdpri7mb],
[data-theme="dark"] .unified-doctor-select[b-rogdpri7mb] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .unified-doctor-select option[b-rogdpri7mb],
[data-theme="dark"] .unified-doctor-select option[b-rogdpri7mb] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .calendar-grid-wrapper.week[b-rogdpri7mb],
[data-theme="dark"] .calendar-grid-wrapper.week[b-rogdpri7mb] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .grid-header[b-rogdpri7mb],
[data-theme="dark"] .grid-header[b-rogdpri7mb] {
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .header-cell[b-rogdpri7mb],
[data-theme="dark"] .header-cell[b-rogdpri7mb] {
    background: #0f172a !important;
    border-right-color: #334155 !important;
}

:host-context([data-theme="dark"]) .header-cell.today[b-rogdpri7mb],
[data-theme="dark"] .header-cell.today[b-rogdpri7mb] {
    background: rgba(2, 132, 199, 0.25) !important;
    border-bottom: 3px solid #38bdf8 !important;
}

:host-context([data-theme="dark"]) .header-cell.today .day-num[b-rogdpri7mb],
[data-theme="dark"] .header-cell.today .day-num[b-rogdpri7mb] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .header-cell.today .day-name[b-rogdpri7mb],
[data-theme="dark"] .header-cell.today .day-name[b-rogdpri7mb] {
    color: #7dd3fc !important;
}

:host-context([data-theme="dark"]) .day-name[b-rogdpri7mb],
[data-theme="dark"] .day-name[b-rogdpri7mb] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .day-num[b-rogdpri7mb],
[data-theme="dark"] .day-num[b-rogdpri7mb] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .grid-body[b-rogdpri7mb],
[data-theme="dark"] .grid-body[b-rogdpri7mb] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .grid-column[b-rogdpri7mb],
[data-theme="dark"] .grid-column[b-rogdpri7mb] {
    border-right-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .grid-column.today[b-rogdpri7mb],
[data-theme="dark"] .grid-column.today[b-rogdpri7mb] {
    background: rgba(2, 132, 199, 0.1) !important;
    border-color: rgba(2, 132, 199, 0.4) !important;
}

:host-context([data-theme="dark"]) .slot-card[b-rogdpri7mb],
:host-context([data-theme="dark"]) .slot-card-v2[b-rogdpri7mb],
[data-theme="dark"] .slot-card[b-rogdpri7mb],
[data-theme="dark"] .slot-card-v2[b-rogdpri7mb] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .slot-card:hover[b-rogdpri7mb],
:host-context([data-theme="dark"]) .slot-card-v2:hover[b-rogdpri7mb],
[data-theme="dark"] .slot-card:hover[b-rogdpri7mb],
[data-theme="dark"] .slot-card-v2:hover[b-rogdpri7mb] {
    border-color: #38bdf8 !important;
    background: #26334d !important;
}

:host-context([data-theme="dark"]) .slot-title-badge[b-rogdpri7mb],
[data-theme="dark"] .slot-title-badge[b-rogdpri7mb] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .slot-type-pill[b-rogdpri7mb],
[data-theme="dark"] .slot-type-pill[b-rogdpri7mb] {
    background: rgba(56, 189, 248, 0.15) !important;
    border-color: rgba(56, 189, 248, 0.3) !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .slot-type-name[b-rogdpri7mb],
[data-theme="dark"] .slot-type-name[b-rogdpri7mb] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .slot-actions[b-rogdpri7mb],
:host-context([data-theme="dark"]) .slot-v2-actions[b-rogdpri7mb],
[data-theme="dark"] .slot-actions[b-rogdpri7mb],
[data-theme="dark"] .slot-v2-actions[b-rogdpri7mb] {
    background: #0f172a !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

:host-context([data-theme="dark"]) .v2-action-btn[b-rogdpri7mb],
[data-theme="dark"] .v2-action-btn[b-rogdpri7mb] {
    background: transparent !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .v2-action-btn.edit[b-rogdpri7mb],
[data-theme="dark"] .v2-action-btn.edit[b-rogdpri7mb] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .v2-action-btn.delete[b-rogdpri7mb],
[data-theme="dark"] .v2-action-btn.delete[b-rogdpri7mb] {
    color: #f87171 !important;
}

:host-context([data-theme="dark"]) .slot-card-time-pill[b-rogdpri7mb],
[data-theme="dark"] .slot-card-time-pill[b-rogdpri7mb] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .slot-card-time-pill i[b-rogdpri7mb],
[data-theme="dark"] .slot-card-time-pill i[b-rogdpri7mb] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .meta-chip[b-rogdpri7mb],
:host-context([data-theme="dark"]) .slot-card-meta .meta-chip[b-rogdpri7mb],
:host-context([data-theme="dark"]) .slot-v2-meta .meta-chip[b-rogdpri7mb],
[data-theme="dark"] .meta-chip[b-rogdpri7mb],
[data-theme="dark"] .slot-card-meta .meta-chip[b-rogdpri7mb],
[data-theme="dark"] .slot-v2-meta .meta-chip[b-rogdpri7mb] {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #e2e8f0 !important;
}

:host-context([data-theme="dark"]) .meta-chip.walkin[b-rogdpri7mb],
[data-theme="dark"] .meta-chip.walkin[b-rogdpri7mb] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .meta-chip.online[b-rogdpri7mb],
[data-theme="dark"] .meta-chip.online[b-rogdpri7mb] {
    color: #818cf8 !important;
}

:host-context([data-theme="dark"]) .empty-day-cell[b-rogdpri7mb],
:host-context([data-theme="dark"]) .grid-column-add-btn[b-rogdpri7mb],
:host-context([data-theme="dark"]) .day-view-add-slot-card[b-rogdpri7mb],
[data-theme="dark"] .empty-day-cell[b-rogdpri7mb],
[data-theme="dark"] .grid-column-add-btn[b-rogdpri7mb],
[data-theme="dark"] .day-view-add-slot-card[b-rogdpri7mb] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .empty-day-cell:hover[b-rogdpri7mb],
:host-context([data-theme="dark"]) .grid-column-add-btn:hover[b-rogdpri7mb],
:host-context([data-theme="dark"]) .day-view-add-slot-card:hover[b-rogdpri7mb],
[data-theme="dark"] .empty-day-cell:hover[b-rogdpri7mb],
[data-theme="dark"] .grid-column-add-btn:hover[b-rogdpri7mb],
[data-theme="dark"] .day-view-add-slot-card:hover[b-rogdpri7mb] {
    background: #1e293b !important;
    border-color: #0284c7 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .day-view-date-card[b-rogdpri7mb],
:host-context([data-theme="dark"]) .day-doctor-section[b-rogdpri7mb],
[data-theme="dark"] .day-view-date-card[b-rogdpri7mb],
[data-theme="dark"] .day-doctor-section[b-rogdpri7mb] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .date-badge[b-rogdpri7mb],
:host-context([data-theme="dark"]) .stat-item[b-rogdpri7mb],
[data-theme="dark"] .date-badge[b-rogdpri7mb],
[data-theme="dark"] .stat-item[b-rogdpri7mb] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .day-full-name[b-rogdpri7mb],
:host-context([data-theme="dark"]) .day-label-num[b-rogdpri7mb],
:host-context([data-theme="dark"]) .doc-header-left[b-rogdpri7mb],
:host-context([data-theme="dark"]) .metric-val[b-rogdpri7mb],
[data-theme="dark"] .day-full-name[b-rogdpri7mb],
[data-theme="dark"] .day-label-num[b-rogdpri7mb],
[data-theme="dark"] .doc-header-left[b-rogdpri7mb],
[data-theme="dark"] .metric-val[b-rogdpri7mb] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .slot-details-modal-window[b-rogdpri7mb],
[data-theme="dark"] .slot-details-modal-window[b-rogdpri7mb] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .stat-summary-box[b-rogdpri7mb],
:host-context([data-theme="dark"]) .stat-summary-card[b-rogdpri7mb],
:host-context([data-theme="dark"]) .details-table-card[b-rogdpri7mb],
[data-theme="dark"] .stat-summary-box[b-rogdpri7mb],
[data-theme="dark"] .stat-summary-card[b-rogdpri7mb],
[data-theme="dark"] .details-table-card[b-rogdpri7mb] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .details-table-card thead th[b-rogdpri7mb],
[data-theme="dark"] .details-table-card thead th[b-rogdpri7mb] {
    background: #0f172a !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .details-table-card tbody td[b-rogdpri7mb],
[data-theme="dark"] .details-table-card tbody td[b-rogdpri7mb] {
    background: #1e293b !important;
    color: #e2e8f0 !important;
}

:host-context([data-theme="dark"]) .slot-legend-popover[b-rogdpri7mb],
[data-theme="dark"] .slot-legend-popover[b-rogdpri7mb] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

:host-context([data-theme="dark"]) .doctor-modal-responsive[b-rogdpri7mb],
[data-theme="dark"] .doctor-modal-responsive[b-rogdpri7mb] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .doctor-modal-responsive .modal-header[b-rogdpri7mb],
:host-context([data-theme="dark"]) .doctor-modal-responsive .modal-footer[b-rogdpri7mb],
[data-theme="dark"] .doctor-modal-responsive .modal-header[b-rogdpri7mb],
[data-theme="dark"] .doctor-modal-responsive .modal-footer[b-rogdpri7mb] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .doctor-modal-responsive .modal-body[b-rogdpri7mb],
[data-theme="dark"] .doctor-modal-responsive .modal-body[b-rogdpri7mb] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .doctor-modal-responsive .selected-dates-preview[b-rogdpri7mb],
[data-theme="dark"] .doctor-modal-responsive .selected-dates-preview[b-rogdpri7mb] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .doctor-modal-responsive .calendar-inline[b-rogdpri7mb],
[data-theme="dark"] .doctor-modal-responsive .calendar-inline[b-rogdpri7mb] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .doctor-modal-responsive .slot-row[b-rogdpri7mb],
[data-theme="dark"] .doctor-modal-responsive .slot-row[b-rogdpri7mb] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .doctor-modal-responsive .slot-badge-mobile[b-rogdpri7mb],
[data-theme="dark"] .doctor-modal-responsive .slot-badge-mobile[b-rogdpri7mb] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .doctor-modal-responsive .slot-field-label[b-rogdpri7mb],
[data-theme="dark"] .doctor-modal-responsive .slot-field-label[b-rogdpri7mb] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .doctor-modal-responsive .btn-add-slot-new[b-rogdpri7mb],
[data-theme="dark"] .doctor-modal-responsive .btn-add-slot-new[b-rogdpri7mb] {
    background: #0f172a !important;
    border-color: #0284c7 !important;
    color: #38bdf8 !important;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE REFINEMENTS
   ========================================================================== */
@media (max-width: 768px) {
    .update-slot-modal[b-rogdpri7mb] {
        width: 95% !important;
        max-width: 95% !important;
        max-height: 92vh !important;
        border-radius: 16px !important;
    }

    .update-modal-body[b-rogdpri7mb] {
        max-height: calc(92vh - 120px) !important;
        overflow-y: auto !important;
        padding: 0.85rem !important;
    }

    .vertical-label-cell[b-rogdpri7mb] {
        width: 100px !important;
        min-width: 100px !important;
        font-size: 0.75rem !important;
        padding: 0.45rem 0.6rem !important;
    }

    .vertical-value-cell[b-rogdpri7mb] {
        padding: 0.35rem 0.5rem !important;
    }

    .update-footer[b-rogdpri7mb] {
        padding: 0.65rem 1rem !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }

    .update-footer .btn-save[b-rogdpri7mb],
    .btn-cancel-update[b-rogdpri7mb],
    .btn-delete-vertical[b-rogdpri7mb] {
        flex: 1 1 auto !important;
        text-align: center !important;
    }

    .slot-details-modal-window[b-rogdpri7mb] {
        width: 95% !important;
        max-width: 95% !important;
        max-height: 92vh !important;
        border-radius: 16px !important;
    }

    .slot-details-top-header[b-rogdpri7mb] {
        padding: 1rem !important;
    }

    .slot-details-modal-body[b-rogdpri7mb] {
        padding: 0.85rem !important;
        max-height: calc(92vh - 110px) !important;
        overflow-y: auto !important;
    }

    .stat-summary-container-row[b-rogdpri7mb] {
        gap: 8px !important;
    }

    .stat-num[b-rogdpri7mb] {
        font-size: 1.35rem !important;
    }

    .details-table-card[b-rogdpri7mb] {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .floating-info-btn[b-rogdpri7mb] {
        bottom: 1rem !important;
        right: 1rem !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 1.2rem !important;
    }

    .slot-legend-popover[b-rogdpri7mb] {
        bottom: 4.5rem !important;
        right: 1rem !important;
        left: 1rem !important;
        width: auto !important;
        max-width: calc(100vw - 2rem) !important;
    }
}
/* /Components/Pages/SlotTypeMaster.razor.rz.scp.css */
.page-title[b-jmbhnizeme] {
    font-size: 2rem;
    font-weight: 800;
    color: #004b71;
    margin: 0.5rem 0 1rem 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.filter-card[b-jmbhnizeme] {
    background: white;
    border-radius: 20px;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin: 0 1rem 2rem 1rem;
}

.filter-left[b-jmbhnizeme] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.search-input-wrapper[b-jmbhnizeme] {
    flex: 1;
    max-width: 400px;
}

.search-input[b-jmbhnizeme] {
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    background: #f8fafc;
    transition: all 0.2s;
}

.search-input:focus[b-jmbhnizeme] {
    border-color: #0074b1;
    outline: none;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 116, 177, 0.05);
}

.btn-new-action[b-jmbhnizeme] {
    background: #008b62;
    color: white;
    border: none;
    border-radius: 12px;
    height: 44px;
    padding: 0 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.table-container[b-jmbhnizeme] {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin: 0 1rem 2rem 1rem;
}

.sharp-table[b-jmbhnizeme] {
    width: 100%;
    border-collapse: collapse;
}

.sharp-table thead tr[b-jmbhnizeme] {
    background: #004c7a;
    color: white;
}

.sharp-table th[b-jmbhnizeme] {
    padding: 1.2rem;
    font-weight: 800;
    text-align: left;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.sharp-table td[b-jmbhnizeme] {
    padding: 1.2rem;
    border-bottom: 1px solid #edf2f7;
    color: #334155;
    font-size: 0.95rem;
}

.type-name-cell[b-jmbhnizeme] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: #1e293b;
}

.color-indicator[b-jmbhnizeme] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

.badge-shortname[b-jmbhnizeme] {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.description-cell[b-jmbhnizeme] {
    color: #64748b;
    font-size: 0.85rem;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.action-buttons[b-jmbhnizeme] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.btn-action[b-jmbhnizeme] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-action.edit[b-jmbhnizeme] { color: #026aa7; }
.btn-action.delete[b-jmbhnizeme] { color: #ef4444; }

.btn-action:hover[b-jmbhnizeme] {
    background: #f8fafc;
    transform: translateY(-1px);
}

/* Modal Styles */
.modal-backdrop[b-jmbhnizeme] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(4px);
    z-index: 1000;
}

.doctor-modal[b-jmbhnizeme] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    max-width: 95vw;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-form-container[b-jmbhnizeme] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.modal-header[b-jmbhnizeme] {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.modal-header h3[b-jmbhnizeme] {
    margin: 0;
    font-size: 1.25rem;
    color: #1e293b;
    font-weight: 800;
}

.close-btn[b-jmbhnizeme] {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
}

.modal-body[b-jmbhnizeme] {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.form-grid[b-jmbhnizeme] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.form-col[b-jmbhnizeme] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-col.span-2[b-jmbhnizeme] { grid-column: span 2; }
.form-col.span-4[b-jmbhnizeme] { grid-column: span 4; }

.form-col label[b-jmbhnizeme] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.form-control[b-jmbhnizeme] {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background: #f8fafc;
    transition: all 0.2s;
}

.form-control:focus[b-jmbhnizeme] {
    outline: none;
    border-color: #0074b1;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 116, 177, 0.05);
}

.color-input-wrapper[b-jmbhnizeme] {
    display: flex;
    gap: 0.5rem;
}

.color-picker-input[b-jmbhnizeme] {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    background: none;
}

.modal-footer[b-jmbhnizeme] {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.btn-save-new[b-jmbhnizeme] {
    background: #004b71;
    color: white;
    border: none;
    padding: 0.75rem 2.5rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.btn-delete-text[b-jmbhnizeme] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 700;
    cursor: pointer;
    margin-right: auto;
}

.mobile-cards[b-jmbhnizeme] {
    display: none;
}

/* Responsive Adjustments */

@media (max-width: 992px) {
    .filter-card[b-jmbhnizeme] {
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
    }

    .search-input-wrapper[b-jmbhnizeme] {
        max-width: none;
    }

    .sharp-table th:nth-child(5)[b-jmbhnizeme],
    .sharp-table td:nth-child(5)[b-jmbhnizeme] {
        display: none; /* Hide description on tablet */
    }
}

@media (max-width: 768px) {
    .page-title[b-jmbhnizeme] {
        font-size: 1.5rem;
        margin: 1rem;
    }

    .table-responsive[b-jmbhnizeme] {
        display: none;
    }

    .mobile-cards[b-jmbhnizeme] {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .mobile-card[b-jmbhnizeme] {
        background: white;
        border-radius: 16px;
        padding: 1.25rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.02);
        border: 1px solid #f1f5f9;
    }

    .card-header[b-jmbhnizeme] {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .card-title[b-jmbhnizeme] {
        font-weight: 800;
        color: #1e293b;
        flex: 1;
    }

    .card-body p[b-jmbhnizeme] {
        margin: 0 0 0.5rem 0;
        color: #64748b;
        font-size: 0.85rem;
    }

    .card-meta[b-jmbhnizeme] {
        font-size: 0.7rem;
        color: #94a3b8;
        font-family: monospace;
    }

    .card-actions[b-jmbhnizeme] {
        display: flex;
        gap: 0.75rem;
        margin-top: 1.25rem;
        padding-top: 1rem;
        border-top: 1px solid #f1f5f9;
    }

    .btn-mobile-action[b-jmbhnizeme] {
        flex: 1;
        height: 40px;
        border-radius: 10px;
        border: 1px solid #e2e8f0;
        background: #f8fafc;
        font-weight: 700;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .btn-mobile-action.edit[b-jmbhnizeme] { color: #026aa7; }
    .btn-mobile-action.delete[b-jmbhnizeme] { color: #ef4444; }

    .doctor-modal[b-jmbhnizeme] {
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .form-grid[b-jmbhnizeme] {
        grid-template-columns: 1fr;
    }

    .form-col.span-2[b-jmbhnizeme], .form-col.span-4[b-jmbhnizeme] {
        grid-column: span 1;
    }
}

.badge-visiting[b-jmbhnizeme] {
    background: #fef3c7;
    color: #b45309;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-block;
    border: 1px solid #fde68a;
}

.visiting-yes-badge[b-jmbhnizeme] {
    background: #dcfce7;
    color: #166534;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-block;
    border: 1px solid #bbf7d0;
}

.visiting-no-badge[b-jmbhnizeme] {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-block;
    border: 1px solid #e2e8f0;
}

/* Pagination Styling */
.pagination-container[b-jmbhnizeme] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    border-top: 1px solid #edf2f7;
    background: #f8fafc;
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination-info[b-jmbhnizeme] {
    font-size: 0.85rem;
    color: #64748b;
}

.pagination-info strong[b-jmbhnizeme] {
    color: #1e293b;
    font-weight: 700;
}

.pagination-controls[b-jmbhnizeme] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-page[b-jmbhnizeme] {
    height: 38px;
    padding: 0 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: all 0.2s;
}

.btn-page:hover:not(:disabled)[b-jmbhnizeme] {
    border-color: #026aa7;
    color: #026aa7;
    background: #f0f9ff;
    transform: translateY(-1px);
}

.btn-page:disabled[b-jmbhnizeme] {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8fafc;
}

.btn-page.num[b-jmbhnizeme] {
    width: 38px;
    padding: 0;
}

.btn-page.num.active[b-jmbhnizeme] {
    background: #026aa7;
    color: white;
    border-color: #026aa7;
    box-shadow: 0 4px 10px rgba(2, 106, 167, 0.2);
}

/* Dark Mode Overrides for Slot Type Master */
html[data-theme="dark"] .page-title[b-jmbhnizeme] {
    color: #38bdf8 !important;
}

html[data-theme="dark"] .filter-card[b-jmbhnizeme] {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .search-input[b-jmbhnizeme] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .table-container[b-jmbhnizeme] {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .sharp-table thead tr[b-jmbhnizeme] {
    background: #0f172a !important;
}

html[data-theme="dark"] .sharp-table th[b-jmbhnizeme] {
    color: #38bdf8 !important;
    border-bottom: 2px solid #334155 !important;
}

html[data-theme="dark"] .sharp-table td[b-jmbhnizeme] {
    border-bottom-color: #334155 !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .type-name-cell[b-jmbhnizeme] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .badge-shortname[b-jmbhnizeme] {
    background: #1e293b !important;
    color: #38bdf8 !important;
    border: 1px solid #334155 !important;
}

html[data-theme="dark"] .visiting-yes-badge[b-jmbhnizeme] {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #34d399 !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
}

html[data-theme="dark"] .visiting-no-badge[b-jmbhnizeme] {
    background: #1e293b !important;
    color: #94a3b8 !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .description-cell[b-jmbhnizeme] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .btn-action[b-jmbhnizeme] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .btn-action.edit[b-jmbhnizeme] {
    color: #38bdf8 !important;
}

html[data-theme="dark"] .btn-action.delete[b-jmbhnizeme] {
    color: #f87171 !important;
}

html[data-theme="dark"] .btn-action:hover[b-jmbhnizeme] {
    background: #334155 !important;
}

html[data-theme="dark"] .pagination-container[b-jmbhnizeme] {
    background: #0f172a !important;
    border-top-color: #334155 !important;
}

html[data-theme="dark"] .pagination-info[b-jmbhnizeme] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .pagination-info strong[b-jmbhnizeme] {
    color: #f8fafc !important;
}

html[data-theme="dark"] .btn-page[b-jmbhnizeme] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .btn-page:hover:not(:disabled)[b-jmbhnizeme] {
    background: #334155 !important;
    color: #38bdf8 !important;
    border-color: #38bdf8 !important;
}

html[data-theme="dark"] .btn-page.num.active[b-jmbhnizeme] {
    background: #026aa7 !important;
    color: white !important;
}

/* Modal dark mode for SlotTypeMaster */
html[data-theme="dark"] .doctor-modal[b-jmbhnizeme] {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .modal-header[b-jmbhnizeme] {
    border-bottom-color: #334155 !important;
}

html[data-theme="dark"] .modal-header h3[b-jmbhnizeme] {
    color: #38bdf8 !important;
}

html[data-theme="dark"] .modal-footer[b-jmbhnizeme] {
    background: #1e293b !important;
    border-top-color: #334155 !important;
}

html[data-theme="dark"] .form-col label[b-jmbhnizeme] {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .form-control[b-jmbhnizeme] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}
/* Master dashboard theme */
:global(.main-content):has(.page-title)[b-jmbhnizeme] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.page-title[b-jmbhnizeme] { color: #07547c !important; font-size: 1.85rem !important; font-weight: 800 !important; margin: 0 0 .6rem !important; }
.filter-card[b-jmbhnizeme] { margin: 0 0 .6rem !important; padding: .7rem !important; border: 1px solid #dfe7f1 !important; border-radius: 12px !important; background: #fff !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; }
.search-input[b-jmbhnizeme] { width: 280px !important; height: 40px !important; border: 1px solid #cbd9e8 !important; border-radius: 10px !important; }
.btn-new-action[b-jmbhnizeme] { height: 40px !important; border-radius: 10px !important; background: #087bb5 !important; }
.table-container[b-jmbhnizeme] { border: 1px solid #dfe7f1 !important; border-radius: 12px !important; background: #fff !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; }
.table-responsive[b-jmbhnizeme] { max-height: none !important; overflow: auto !important; }
.sharp-table thead tr[b-jmbhnizeme] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.sharp-table th[b-jmbhnizeme] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.sharp-table td[b-jmbhnizeme] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.sharp-table tbody tr[b-jmbhnizeme] { height: 44px !important; background: #fff !important; }
.sharp-table tbody tr:nth-child(even)[b-jmbhnizeme] { background: #f8fbfe !important; }
.sharp-table tbody tr:hover[b-jmbhnizeme] { background: #f0f8ff !important; }
.badge-shortname[b-jmbhnizeme], .visiting-yes-badge[b-jmbhnizeme] { background: #e4f4ff !important; color: #0876ad !important; }
/* /Components/Pages/StateMaster.razor.rz.scp.css */
/* ========== PAGE LAYOUT ========== */
/* Override the global main-content padding for this page only */
:global(.main-content):has(.cm-page)[b-v9lfiagbz5] {
    padding: 0 !important;
}

.cm-page[b-v9lfiagbz5] {
    padding: 0.8rem 1rem 1rem;
    background: #ffffff;
    min-height: 100vh;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* ========== HEADER CARD ========== */
.cm-header-card[b-v9lfiagbz5] {
    background: linear-gradient(100deg, #e0ebff 0%, #e8f0ff 100%);
    border-radius: 14px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(80, 80, 200, 0.07);
}

.cm-header-left[b-v9lfiagbz5] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.cm-title[b-v9lfiagbz5] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e1b4b;
    margin: 0;
    line-height: 1.2;
}

.cm-subtitle[b-v9lfiagbz5] {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 600;
}

.cm-header-right[b-v9lfiagbz5] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Search Box */
.cm-search-box[b-v9lfiagbz5] {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0.55rem 1.2rem 0.55rem 2.2rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    min-width: 210px;
}

.cm-search-icon[b-v9lfiagbz5] {
    position: absolute;
    left: 0.8rem;
    color: #9ca3af;
    font-size: 0.8rem;
}

.cm-search-input[b-v9lfiagbz5] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.83rem;
    color: #374151;
    width: 100%;
}

/* New Button */
.cm-btn-new[b-v9lfiagbz5] {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.3);
    transition: background 0.2s;
}

.cm-btn-new:hover[b-v9lfiagbz5] {
    background: #4338ca;
}

/* ========== TABLE CARD ========== */
.cm-table-card[b-v9lfiagbz5] {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(80, 80, 200, 0.07);
}

/* ========== TABLE ========== */
.cm-table[b-v9lfiagbz5] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.cm-table tbody tr[b-v9lfiagbz5] {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.cm-table tbody tr:last-child[b-v9lfiagbz5] {
    border-bottom: none;
}

.cm-table tbody tr:hover[b-v9lfiagbz5] {
    background: #fafbff;
}

.cm-table td[b-v9lfiagbz5] {
    padding: 0.75rem 0.9rem;
    font-size: 0.82rem;
    color: #374151;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cm-table th[b-v9lfiagbz5] {
    padding: 0.85rem 0.9rem;
    font-size: 0.68rem;
    font-weight: 800;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: left;
    background: white;
}

/* Column widths */
.cm-table th:nth-child(1)[b-v9lfiagbz5],
.cm-table td.col-orderno[b-v9lfiagbz5] {
    width: 80px;
}

.cm-table th:nth-child(2)[b-v9lfiagbz5],
.cm-table td.col-shortname[b-v9lfiagbz5] {
    width: 130px;
}

.cm-table th:nth-child(3)[b-v9lfiagbz5],
.cm-table td.col-name[b-v9lfiagbz5] {
    width: 250px;
}

.cm-table th:nth-child(4)[b-v9lfiagbz5],
.cm-table td.col-narration[b-v9lfiagbz5] {
    width: auto;
}

.cm-table th:nth-child(5)[b-v9lfiagbz5],
.cm-table td.col-date-entered[b-v9lfiagbz5] {
    width: 185px;
}

.cm-table th:nth-child(6)[b-v9lfiagbz5],
.cm-table td.col-date-modified[b-v9lfiagbz5] {
    width: 185px;
}

.cm-table th:nth-child(7)[b-v9lfiagbz5],
.cm-table td.col-action[b-v9lfiagbz5] {
    width: 100px;
}

.col-date-entered[b-v9lfiagbz5],
.col-date-modified[b-v9lfiagbz5] {
    white-space: nowrap !important;
}

/* Column-specific */
.col-orderno[b-v9lfiagbz5] {
    font-weight: 700;
    color: #4f46e5 !important;
}

.col-shortname[b-v9lfiagbz5] {
    color: #6b7280 !important;
}

.counter-name-text[b-v9lfiagbz5] {
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-narration[b-v9lfiagbz5] {
    color: #374151;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
}

.col-action[b-v9lfiagbz5] {
    display: flex !important;
    gap: 0.35rem;
    align-items: center;
}

/* Date columns */
.date-line[b-v9lfiagbz5] {
    display: inline-block;
    font-size: 0.78rem;
    color: #374151;
    line-height: 1.4;
    white-space: nowrap;
}

.ampm-line[b-v9lfiagbz5] {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    margin-left: 4px;
}

.ampm-line.am[b-v9lfiagbz5] {
    color: #6b7280;
}

.ampm-line.pm[b-v9lfiagbz5] {
    color: #6b7280;
}

/* Action buttons */
.cm-action-btn[b-v9lfiagbz5] {
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    margin-right: 2px;
    color: #9ca3af;
    transition: all 0.15s;
}

.cm-action-btn.edit:hover[b-v9lfiagbz5] {
    border-color: #4f46e5;
    color: #4f46e5;
    background: #eef2ff;
}

.cm-action-btn.delete:hover[b-v9lfiagbz5] {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

/* Empty row */
.cm-empty-row[b-v9lfiagbz5] {
    text-align: center;
    padding: 3rem 1rem !important;
    color: #9ca3af;
    font-size: 0.85rem;
}

.cm-empty-row i[b-v9lfiagbz5] {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

/* ========== MODAL BACKDROP ========== */
.cm-backdrop[b-v9lfiagbz5] {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 40, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

/* ========== MODAL ========== */
.cm-modal[b-v9lfiagbz5] {
    background: white;
    border-radius: 18px;
    width: 880px;
    max-width: 96vw;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    animation: modalIn-b-v9lfiagbz5 0.18s ease;
}

@keyframes modalIn-b-v9lfiagbz5 {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cm-modal-header[b-v9lfiagbz5] {
    padding: 1.6rem 2.2rem 1.2rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cm-modal-title[b-v9lfiagbz5] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
}

.cm-close-btn[b-v9lfiagbz5] {
    background: transparent;
    border: none;
    color: #000000;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.cm-close-btn:hover[b-v9lfiagbz5],
.cm-close-btn:active[b-v9lfiagbz5] {
    color: #ef4444;
}

/* ========== MODAL BODY ========== */
.cm-modal-body[b-v9lfiagbz5] {
    padding: 2rem 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Field group */
.cm-field-group[b-v9lfiagbz5] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cm-label[b-v9lfiagbz5] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-transform: none;
}

.cm-input[b-v9lfiagbz5] {
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cm-input:focus[b-v9lfiagbz5] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.cm-input[b-v9lfiagbz5]::placeholder {
    color: #cbd5e1;
}

.cm-select[b-v9lfiagbz5] {
    appearance: auto;
    cursor: pointer;
    background: #f8fafc;
}

/* Form rows */
.cm-form-row[b-v9lfiagbz5] {
    display: grid;
    gap: 1.25rem;
}

.cm-form-row.three-cols[b-v9lfiagbz5] {
    grid-template-columns: repeat(3, 1fr);
}

.cm-form-row.two-cols[b-v9lfiagbz5] {
    grid-template-columns: 2fr 1fr;
}

.cm-form-row.full-width[b-v9lfiagbz5] {
    grid-template-columns: 1fr;
}

.cm-form-row.two-cols-wide-narrow[b-v9lfiagbz5] {
    grid-template-columns: 2.5fr 1fr;
}

.cm-form-row.two-cols-narrow-wide[b-v9lfiagbz5] {
    grid-template-columns: 1fr 2.5fr;
}

/* ========== MODAL FOOTER ========== */
.cm-modal-footer[b-v9lfiagbz5] {
    padding: 1.2rem 2.2rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cm-btn-delete[b-v9lfiagbz5] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    padding: 0.4rem 0;
    transition: color 0.15s;
}

.cm-btn-delete:hover[b-v9lfiagbz5] {
    color: #dc2626;
}

.cm-btn-cancel[b-v9lfiagbz5] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #64748b;
    border-radius: 10px;
    padding: 0.7rem 2rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.cm-btn-cancel:hover[b-v9lfiagbz5] {
    background: #f1f5f9;
    color: #334155;
    border-color: #94a3b8;
}

.cm-btn-save[b-v9lfiagbz5] {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.7rem 2rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.cm-btn-save:hover[b-v9lfiagbz5] {
    background: #4338ca;
}

/* Autocomplete Dropdown Overlay */
.cm-autocomplete-dropdown[b-v9lfiagbz5] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1100;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-top: 4px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    max-height: 220px;
    overflow-y: auto;
}

.cm-dropdown-header[b-v9lfiagbz5] {
    padding: 0.45rem 0.85rem;
    font-size: 0.68rem;
    font-weight: 800;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cm-dropdown-item[b-v9lfiagbz5] {
    padding: 0.6rem 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.15s ease;
}

.cm-dropdown-item:last-child[b-v9lfiagbz5] {
    border-bottom: none;
}

.cm-dropdown-item:hover[b-v9lfiagbz5] {
    background: #eef2ff;
}

.cm-dropdown-item-main[b-v9lfiagbz5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.cm-dropdown-title[b-v9lfiagbz5] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
}

.cm-dropdown-badge[b-v9lfiagbz5] {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    background: #e0e7ff;
    color: #4f46e5;
}

.cm-dropdown-sub[b-v9lfiagbz5] {
    font-size: 0.75rem;
    color: #64748b;
}

/* ========== TABLE PAGINATION FOOTER ========== */
.cm-table-footer[b-v9lfiagbz5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    background: #ffffff;
    border-top: 1px solid #f3f4f6;
}

.cm-pagination-info[b-v9lfiagbz5] {
    font-size: 0.82rem;
    color: #64748b;
}

.cm-pagination-controls[b-v9lfiagbz5] {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.cm-pg-btn[b-v9lfiagbz5] {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.cm-pg-btn:hover:not(:disabled)[b-v9lfiagbz5] {
    background: #eef2ff;
    color: #4f46e5;
    border-color: #c7d2fe;
}

.cm-pg-btn.active[b-v9lfiagbz5] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
}

.cm-pg-btn:disabled[b-v9lfiagbz5] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* State Master dashboard theme */
:global(html:has(.cm-page))[b-v9lfiagbz5],
:global(body:has(.cm-page))[b-v9lfiagbz5] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.cm-page))[b-v9lfiagbz5],
:global(.app-main-wrapper:has(.cm-page))[b-v9lfiagbz5] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.cm-page)[b-v9lfiagbz5] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.cm-page[b-v9lfiagbz5] {
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    padding: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.cm-header-card[b-v9lfiagbz5] {
    flex: 0 0 auto !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.cm-title[b-v9lfiagbz5] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}

.cm-subtitle[b-v9lfiagbz5] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
}

.cm-header-right[b-v9lfiagbz5] {
    gap: 0.65rem !important;
}

.cm-search-box[b-v9lfiagbz5] {
    min-width: 260px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    padding: 0 1rem 0 2.2rem !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
}

.cm-search-input[b-v9lfiagbz5] {
    font-size: 0.82rem !important;
}

.cm-search-box:focus-within[b-v9lfiagbz5] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.cm-btn-new[b-v9lfiagbz5] {
    height: 36px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
}

.cm-btn-new:hover[b-v9lfiagbz5] {
    background: #05689b !important;
}

.cm-table-card[b-v9lfiagbz5] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.cm-table-wrapper[b-v9lfiagbz5] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
}

.cm-table[b-v9lfiagbz5] {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
}

.cm-table thead[b-v9lfiagbz5],
.cm-table thead tr[b-v9lfiagbz5] {
    background: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
}

.cm-table th[b-v9lfiagbz5] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.7rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
}

.cm-table th:last-child[b-v9lfiagbz5] {
    border-right: none !important;
}

.cm-table tbody[b-v9lfiagbz5] {
    background: #ffffff !important;
}

.cm-table tbody tr[b-v9lfiagbz5] {
    height: 34px !important;
    min-height: 34px !important;
}

.cm-table tbody tr:nth-child(even)[b-v9lfiagbz5] {
    background: #fbfdff !important;
}

.cm-table tbody tr:hover[b-v9lfiagbz5] {
    background: #f0f8ff !important;
}

.cm-table td[b-v9lfiagbz5] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.7rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    font-size: 0.76rem !important;
    color: #334155 !important;
    vertical-align: middle !important;
}

.col-orderno[b-v9lfiagbz5] {
    color: #47627b !important;
    font-weight: 700 !important;
}

.col-shortname[b-v9lfiagbz5] {
    color: #475569 !important;
    font-weight: 700 !important;
}

.counter-name-text[b-v9lfiagbz5] {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.col-narration[b-v9lfiagbz5] {
    color: #647b90 !important;
}

.date-line[b-v9lfiagbz5] {
    color: #64748b !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
}

.col-action[b-v9lfiagbz5] {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    height: 34px !important;
}

.cm-action-btn[b-v9lfiagbz5] {
    width: 26px !important;
    height: 26px !important;
    margin-right: 2px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
}

.cm-action-btn.edit:hover[b-v9lfiagbz5] {
    border-color: #bae6fd !important;
    color: #0369a1 !important;
    background: #f0f9ff !important;
}

.cm-action-btn.delete[b-v9lfiagbz5] {
    color: #dc2626 !important;
}

.cm-action-btn.delete:hover[b-v9lfiagbz5] {
    border-color: #fecaca !important;
    color: #dc2626 !important;
    background: #fef2f2 !important;
}

.cm-table-footer[b-v9lfiagbz5] {
    flex: 0 0 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    box-sizing: border-box !important;
    padding: 0 1rem !important;
    background: #ffffff !important;
    border-top: 1px solid #e5edf5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.cm-pagination-info[b-v9lfiagbz5] {
    font-size: 0.74rem !important;
}

.cm-pg-btn[b-v9lfiagbz5] {
    min-width: 26px !important;
    height: 24px !important;
    padding: 0 0.5rem !important;
    border-radius: 6px !important;
    color: #526b82 !important;
    font-size: 0.72rem !important;
}

.cm-pg-btn:hover:not(:disabled)[b-v9lfiagbz5] {
    background: #e4f4ff !important;
    color: #0876ad !important;
    border-color: #a9ddfa !important;
}

.cm-pg-btn.active[b-v9lfiagbz5] {
    background: #0876ad !important;
    border-color: #0876ad !important;
}

.cm-modal-title[b-v9lfiagbz5],
.cm-btn-save[b-v9lfiagbz5] {
    color: #07547c !important;
}

.cm-btn-save[b-v9lfiagbz5] {
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
}

.cm-btn-save:hover[b-v9lfiagbz5] {
    background: #05689b !important;
}

.cm-input:focus[b-v9lfiagbz5] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

@media (max-width: 900px) {
    .cm-header-card[b-v9lfiagbz5] {
        align-items: flex-start !important;
        flex-direction: column !important;
        flex-basis: auto !important;
        gap: 0.7rem !important;
    }

    .cm-header-right[b-v9lfiagbz5],
    .cm-search-box[b-v9lfiagbz5] {
        width: 100% !important;
    }

    .cm-header-right[b-v9lfiagbz5] {
        flex-wrap: wrap !important;
    }

    .cm-table-card[b-v9lfiagbz5] {
        overflow: auto !important;
    }
}
/* /Components/Pages/Stock.razor.rz.scp.css */
/* Scoped styles for Stock component */

.items-page[b-2pcngun63n] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-2pcngun63n] {
    max-width: 1320px;
    margin: 0 auto;
}

.items-content[b-2pcngun63n] {
    width: min(1240px, 100%);
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-2pcngun63n] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    border-radius: 16px !important;
    padding: 1.25rem 2rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem !important;
    margin-bottom: 1.75rem !important;
}

.header-card-left[b-2pcngun63n] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-card-icon[b-2pcngun63n] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
}

.header-card-icon svg[b-2pcngun63n] {
    stroke: #4f46e5 !important;
}

.header-card-text[b-2pcngun63n] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-2pcngun63n] {
    color: #312e81 !important;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.header-card-subheading[b-2pcngun63n] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-2pcngun63n] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-2pcngun63n] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.items-search-wrap[b-2pcngun63n] {
    position: relative;
    display: flex;
    align-items: center;
}

.items-search[b-2pcngun63n] {
    width: 220px;
    height: 38px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    padding-left: 2.4rem !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.items-search:focus[b-2pcngun63n] {
    outline: none !important;
    width: 280px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.items-search-icon[b-2pcngun63n] {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.view-toggle[b-2pcngun63n] {
    display: inline-flex;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #f8fafc !important;
    height: 38px;
    padding: 2px;
    align-items: center;
}

.view-toggle button[b-2pcngun63n] {
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    width: 36px;
    height: 32px;
    border-radius: 16px !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle button.active[b-2pcngun63n] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.add-item-btn[b-2pcngun63n] {
    height: 38px !important;
    border-radius: 20px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 1.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
}

.add-item-btn:hover[b-2pcngun63n] {
    background: #3f39c5 !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35) !important;
    transform: translateY(-1.5px);
}

.items-main-card[b-2pcngun63n] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-top: 1.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
}

.items-main-card .table-responsive[b-2pcngun63n] {
    max-height: 550px !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
}

.items-table[b-2pcngun63n] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

table.table.items-table thead tr th[b-2pcngun63n],
.items-table th[b-2pcngun63n] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: #ffffff !important;
    color: #8a99ad !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.8px !important;
    padding: 18px 24px !important;
    border-bottom: 2px solid #eef2f6 !important;
    text-align: left !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.items-table td[b-2pcngun63n] {
    border-top: none !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding: 18px 24px !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #64748b !important;
    vertical-align: middle !important;
}

.items-table td:last-child[b-2pcngun63n] {
    white-space: nowrap !important;
    text-align: center !important;
}

.items-table tr td:first-child[b-2pcngun63n] {
    color: #3b82f6 !important;
    font-weight: 700 !important;
}

.action-btn[b-2pcngun63n] {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.action-btn:hover[b-2pcngun63n] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.action-btn i[b-2pcngun63n] {
    font-size: 0.85rem !important;
}

.items-card-grid[b-2pcngun63n] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.item-card[b-2pcngun63n] {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.item-card:hover[b-2pcngun63n] {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.item-card-head[b-2pcngun63n] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    color: #1e293b !important;
    padding: 0.6rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.1) !important;
}

.card-item-code[b-2pcngun63n] {
    color: #4b5563 !important;
    font-weight: 700 !important;
    margin-right: 6px;
}

.card-item-name[b-2pcngun63n] {
    color: #374151 !important;
    font-weight: 700 !important;
}

.item-card-body[b-2pcngun63n] {
    padding: 0.75rem 1rem !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
}

.detail-row[b-2pcngun63n] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.detail-row:last-child[b-2pcngun63n] {
    border-bottom: none !important;
}

.detail-row span[b-2pcngun63n] {
    color: #8a99ad !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.detail-row strong[b-2pcngun63n] {
    color: #000000 !important;
    font-weight: 600 !important;
}

.btn-cancel-modal[b-2pcngun63n] {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: none !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    min-width: 100px !important;
    transition: all 0.2s !important;
}

.btn-cancel-modal:hover[b-2pcngun63n] {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.purchase-bill-wrapper[b-2pcngun63n] {
    display: flex;
    gap: 2.25rem;
    flex-wrap: wrap;
}

.purchase-bill-fields[b-2pcngun63n] {
    flex: 1.5;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.purchase-bill-fields .premium-input[b-2pcngun63n] {
    padding: 0 10px !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
    height: 32px !important;
    line-height: 32px !important;
    background: #f9fafc !important;
    border: 1px solid #e5e7eb !important;
    color: #1f2937 !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
}

.purchase-bill-fields input[type="date"].premium-input[b-2pcngun63n],
.purchase-bill-fields input.premium-input[b-2pcngun63n] {
    padding: 0 10px !important;
    height: 32px !important;
    line-height: normal !important;
    background: #f9fafc !important;
    border: 1px solid #e5e7eb !important;
}

.purchase-bill-fields .field-group[b-2pcngun63n] {
    gap: 4px;
}

.purchase-bill-fields .field-label[b-2pcngun63n] {
    font-size: 0.68rem !important;
    margin-bottom: 4px !important;
    font-weight: 700 !important;
    color: #374151 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.purchase-bill-fields .form-grid[b-2pcngun63n] {
    gap: 12px;
}

.purchase-bill-summary[b-2pcngun63n] {
    flex: 0.85;
    min-width: 300px;
    max-width: 320px;
    display: flex;
    align-items: stretch;
}

.purchase-item-entry-card[b-2pcngun63n] {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0.7rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow-x: hidden;
    box-sizing: border-box;
}

.purchase-item-entry-header[b-2pcngun63n] {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(52px, 0.55fr) minmax(60px, 0.65fr) minmax(52px, 0.55fr) minmax(52px, 0.55fr) minmax(80px, 0.9fr) minmax(110px, 1fr);
    gap: 10px;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.purchase-item-entry-label[b-2pcngun63n] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.purchase-item-entry-label span[b-2pcngun63n] {
    color: #ef4444;
}

.purchase-item-entry-fields[b-2pcngun63n] {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(52px, 0.55fr) minmax(60px, 0.65fr) minmax(52px, 0.55fr) minmax(52px, 0.55fr) minmax(80px, 0.9fr) minmax(110px, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
}

.purchase-item-entry-fields>div[b-2pcngun63n],
.purchase-item-entry-header>div[b-2pcngun63n] {
    min-width: 0;
}

.purchase-item-input[b-2pcngun63n] {
    height: 28px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    font-size: 0.65rem;
    padding: 0 6px;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-input:focus[b-2pcngun63n] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    background: #f8fbff;
}

.purchase-item-select[b-2pcngun63n] {
    height: 28px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    font-size: 0.65rem;
    padding: 0 6px;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-select:focus[b-2pcngun63n] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    background: #f8fbff;
}

.purchase-item-add-btn[b-2pcngun63n] {
    background: #10b981;
    color: white;
    border: none;
    border-radius: 6px;
    height: 28px;
    font-weight: 700;
    font-size: 0.65rem;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.purchase-item-add-btn:hover[b-2pcngun63n] {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.purchase-item-add-btn:active[b-2pcngun63n] {
    transform: translateY(0);
}

.purchase-details-wrapper[b-2pcngun63n] {
    width: 100%;
    margin-bottom: 2rem;
}

.purchase-details-link[b-2pcngun63n] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f678f;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.purchase-details-link:hover[b-2pcngun63n] {
    color: #0ea5e9;
    gap: 8px;
}

.purchase-items-table-wrapper[b-2pcngun63n] {
    border: none !important;
    border-radius: 0;
    overflow: visible;
    background: white;
    margin-bottom: 0.5rem !important;
    box-shadow: none !important;
}

.purchase-items-table-wrapper table[b-2pcngun63n] {
    table-layout: fixed;
    width: 100%;
}

.purchase-items-table-wrapper .purchase-item-input[b-2pcngun63n],
.purchase-items-table-wrapper .purchase-item-select[b-2pcngun63n] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    height: 26px;
    font-size: 0.65rem;
    padding: 0 6px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    outline: none;
    transition: all 0.2s;
}

.purchase-items-table-wrapper .purchase-item-input:focus[b-2pcngun63n],
.purchase-items-table-wrapper .purchase-item-select:focus[b-2pcngun63n] {
    border-color: #0273b2;
    box-shadow: 0 0 0 2px rgba(2, 115, 178, 0.1);
    background: #f4f8fa;
}

.purchase-items-table-wrapper .purchase-item-select[b-2pcngun63n] {
    min-width: 130px;
}

.purchase-items-table-header[b-2pcngun63n] {
    background: #0273b2 !important;
    border-bottom: none;
}

.purchase-items-table-header th[b-2pcngun63n] {
    font-weight: 700;
    font-size: 0.72rem;
    color: #ffffff !important;
    padding: 12px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.purchase-add-row-wrapper[b-2pcngun63n] {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.purchase-add-row-btn[b-2pcngun63n] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 2px dashed #0273b2 !important;
    border-radius: 10px !important;
    background: #f4f8fa !important;
    color: #0273b2 !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.45rem 1.25rem;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.22s ease-in-out;
    box-shadow: 0 2px 4px rgba(2, 115, 178, 0.05);
}

.purchase-add-row-btn:hover[b-2pcngun63n] {
    background: #e6f2fa !important;
    border-color: #015f94 !important;
    color: #015f94 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 115, 178, 0.12);
}

.purchase-add-row-btn i[b-2pcngun63n] {
    font-size: 0.95rem;
    color: #0273b2 !important;
    transition: color 0.22s ease-in-out;
}

.purchase-add-row-btn:hover i[b-2pcngun63n] {
    color: #015f94 !important;
}

.purchase-item-readonly[b-2pcngun63n] {
    display: block;
    width: 100%;
    height: 26px;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0 6px;
    line-height: 24px;
    font-size: 0.65rem;
    color: #475569;
    box-sizing: border-box;
    pointer-events: none;
    user-select: none;
    text-align: right;
}

.purchase-items-table-wrapper .purchase-item-input:disabled[b-2pcngun63n],
.purchase-items-table-wrapper .purchase-item-select:disabled[b-2pcngun63n] {
    pointer-events: none;
    cursor: default;
    background-color: white !important;
    color: #000000 !important;
    border-color: #d1d5db !important;
}

.btn-add-item-blue[b-2pcngun63n] {
    background: #0273b2;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(2, 115, 178, 0.3);
    transition: all 0.2s;
    white-space: nowrap;
    font-size: 0.82rem;
    height: 32px;
}

.btn-add-item-blue:hover[b-2pcngun63n] {
    background: #015c8f;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 115, 178, 0.4);
}

.btn-add-item-blue:active[b-2pcngun63n] {
    transform: translateY(0);
}

.bill-card-premium[b-2pcngun63n] {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 5px solid #3b82f6;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.04);
    transition: all 0.3s ease;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.25rem;
    padding: 0.4rem 0.65rem;
}

.bill-card-premium:hover[b-2pcngun63n] {
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.08);
    border-color: #93c5fd;
    border-left-color: #2563eb;
}

.bill-card-header-premium[b-2pcngun63n] {
    margin-bottom: 0.15rem;
    padding-bottom: 0.35rem;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #4f46e5;
    letter-spacing: 0.8px;
    border-bottom: 1px dashed #bfdbfe;
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-premium-gross[b-2pcngun63n] {
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #1e3a8a !important;
    color: #1e3a8a !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-gross:hover[b-2pcngun63n] {
    transform: translateY(-1.5px);
    background-color: #f1f5f9 !important;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.08);
}

.input-premium-gross:focus[b-2pcngun63n] {
    border-color: #2563eb !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
    outline: none;
}

.input-premium-discount[b-2pcngun63n] {
    background-color: #f0fdf4 !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #059669 !important;
    color: #065f46 !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-discount:hover[b-2pcngun63n] {
    transform: translateY(-1.5px);
    background-color: #ecfdf5 !important;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.08);
}

.input-premium-discount:focus[b-2pcngun63n] {
    border-color: #10b981 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18) !important;
    outline: none;
}

.input-premium-tax[b-2pcngun63n] {
    background-color: #fffbeb !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #d97706 !important;
    color: #92400e !important;
    font-weight: 700 !important;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-premium-tax:hover[b-2pcngun63n] {
    transform: translateY(-1.5px);
    background-color: #fef3c7 !important;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.08);
}

.input-premium-tax:focus[b-2pcngun63n] {
    border-color: #f59e0b !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18) !important;
    outline: none;
}

.net-payable-wrapper-premium[b-2pcngun63n] {
    margin-top: 0.2rem;
    padding-top: 0.5rem;
    border-top: 2px dashed rgba(99, 102, 241, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.net-payable-label-premium[b-2pcngun63n] {
    font-size: 0.74rem;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.net-payable-value-premium[b-2pcngun63n] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #4f46e5;
    text-shadow: 0 1px 2px rgba(79, 70, 229, 0.1);
}

@keyframes premium-pulse-blink-b-2pcngun63n {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.65;
        transform: scale(0.97);
    }
}

.blink-payable-value[b-2pcngun63n] {
    animation: premium-pulse-blink-b-2pcngun63n 1.8s infinite ease-in-out;
    display: inline-block;
}

.btn-dotted-add[b-2pcngun63n] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px dashed #0f678f !important;
    background: #fff !important;
    color: #0f678f !important;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 20px;
    padding: 8px 32px;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-dotted-add:hover[b-2pcngun63n] {
    background: rgba(15, 103, 143, 0.04) !important;
    border-color: #0d587a !important;
    color: #0d587a !important;
    transform: translateY(-1.5px);
}

.btn-dotted-add:active[b-2pcngun63n] {
    transform: translateY(0);
}

.purchase-bill-fields select.premium-input[b-2pcngun63n] {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    background-image: none !important;
    padding-right: 24px !important;
}



/* Premium Modal Styles for Vendor */
.modal-card[b-2pcngun63n] {
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    background: #fff;
}

.modal-header-bar[b-2pcngun63n] {
    background: #fff !important;
    color: #333 !important;
    padding: 24px 32px !important;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-left[b-2pcngun63n] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-badge[b-2pcngun63n] {
    background: var(--sidebar-bg);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.modal-title[b-2pcngun63n] {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.modal-subtitle[b-2pcngun63n] {
    font-size: 0.85rem;
    color: #64748b;
}

.btn-close-modal[b-2pcngun63n] {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-2pcngun63n] {
    background: #e2e8f0;
    color: #1e293b;
}

.modal-inner[b-2pcngun63n] {
    padding: 16px 32px !important;
    background: #fff;
}

.form-section-header[b-2pcngun63n] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    margin-top: 4px;
}

.form-section-icon[b-2pcngun63n] {
    background: var(--sidebar-bg);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.form-section-title[b-2pcngun63n] {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #025091;
}

.form-grid[b-2pcngun63n] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.col-prefix[b-2pcngun63n] {
    grid-column: span 3;
}

.col-main[b-2pcngun63n] {
    grid-column: span 9;
}

.col-2[b-2pcngun63n] {
    grid-column: span 2;
}

.col-3[b-2pcngun63n] {
    grid-column: span 3;
}

.col-4[b-2pcngun63n] {
    grid-column: span 4;
}

.col-5[b-2pcngun63n] {
    grid-column: span 5;
}

.col-6[b-2pcngun63n] {
    grid-column: span 6;
}

.col-7[b-2pcngun63n] {
    grid-column: span 7;
}

.col-8[b-2pcngun63n] {
    grid-column: span 8;
}

.col-9[b-2pcngun63n] {
    grid-column: span 9;
}

.col-10[b-2pcngun63n] {
    grid-column: span 10;
}

.col-11[b-2pcngun63n] {
    grid-column: span 11;
}

.col-12[b-2pcngun63n] {
    grid-column: span 12;
}

.field-group[b-2pcngun63n] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label[b-2pcngun63n] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.field-label.required[b-2pcngun63n]::after {
    content: " *";
    color: #ef4444;
}

.premium-input[b-2pcngun63n] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    color: #4b5563 !important;
    transition: all 0.2s !important;
    height: auto !important;
}

.premium-input[b-2pcngun63n]::placeholder {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

.premium-input:focus[b-2pcngun63n] {
    background: #fff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

.modal-footer-actions[b-2pcngun63n] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.btn-delete-text[b-2pcngun63n] {
    color: #ef4444;
    background: none;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-delete-text:hover[b-2pcngun63n] {
    background: #fef2f2;
}

.btn-save-premium[b-2pcngun63n] {
    background: #1c9f5f;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(28, 159, 95, 0.3);
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-save-premium:hover[b-2pcngun63n] {
    background: #168a52;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(28, 159, 95, 0.4);
}

.btn-save-premium:active[b-2pcngun63n] {
    transform: translateY(0);
}

.btn-save-premium:disabled[b-2pcngun63n] {
    opacity: 0.6;
    cursor: not-allowed;
}


/* Financial Summary Card Styles */
.financial-summary-card[b-2pcngun63n] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    padding: 1.5rem;
    font-family: 'Inter', 'Outfit', sans-serif;
}

.financial-summary-header[b-2pcngun63n] {
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.financial-summary-row[b-2pcngun63n] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.financial-summary-label[b-2pcngun63n] {
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.financial-summary-value[b-2pcngun63n] {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

.financial-summary-input[b-2pcngun63n] {
    width: 80px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #334155;
    outline: none;
    transition: all 0.2s;
    background: #ffffff;
}

.financial-summary-input:focus[b-2pcngun63n] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.financial-summary-net[b-2pcngun63n] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.financial-summary-net-label[b-2pcngun63n] {
    color: #0f172a;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.financial-summary-net-value[b-2pcngun63n] {
    color: #4f46e5;
    font-weight: 800;
    font-size: 1.4rem;
}

/* Purchase Entry Master Compact Summary Card */
.compact-summary-card[b-2pcngun63n] {
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    border: 1.5px solid rgba(99, 102, 241, 0.15);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.compact-summary-card[b-2pcngun63n]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1, #06b6d4);
    border-radius: 14px 0 0 14px;
}

.compact-summary-card:hover[b-2pcngun63n] {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.18);
}

/* Physical Bill Totals - Blue-indigo gradient */
.compact-summary-card.bill-card[b-2pcngun63n] {
    background: linear-gradient(135deg, #eef2ff 0%, #f0fdff 100%);
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.08);
}

.compact-summary-card.bill-card[b-2pcngun63n]::before {
    background: linear-gradient(180deg, #6366f1, #06b6d4);
}

/* Computed Items Total - Teal-green gradient */
.compact-summary-card.items-card[b-2pcngun63n] {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.08);
}

.compact-summary-card.items-card[b-2pcngun63n]::before {
    background: linear-gradient(180deg, #10b981, #06b6d4);
}

.compact-summary-card.items-card:hover[b-2pcngun63n] {
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.18);
}

.compact-summary-header[b-2pcngun63n] {
    font-size: 0.72rem;
    font-weight: 800;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(99, 102, 241, 0.25);
    padding-left: 8px;
}

.compact-summary-card.items-card .compact-summary-header[b-2pcngun63n] {
    color: #10b981;
    border-bottom-color: rgba(16, 185, 129, 0.25);
}

.compact-summary-row[b-2pcngun63n] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-left: 8px;
}

.compact-summary-label[b-2pcngun63n] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.compact-summary-value[b-2pcngun63n] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}

.compact-summary-input[b-2pcngun63n] {
    width: 110px;
    height: 30px;
    border-radius: 8px;
    border: 1.5px solid rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.8);
    text-align: right;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0 10px;
    color: #1e293b;
}

.compact-summary-input:focus[b-2pcngun63n] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    background: #fff;
}

.compact-summary-net[b-2pcngun63n] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    padding-left: 8px;
    border-top: 1.5px solid rgba(99, 102, 241, 0.2);
}

.compact-summary-card.items-card .compact-summary-net[b-2pcngun63n] {
    border-top-color: rgba(16, 185, 129, 0.2);
}

.compact-summary-net-label[b-2pcngun63n] {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compact-summary-net-value[b-2pcngun63n] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #6366f1;
    letter-spacing: -0.5px;
}

.compact-summary-card.items-card .compact-summary-net-value[b-2pcngun63n] {
    color: #10b981;
}

/* Stock Indent Status Badges */
.badge-indent-pending[b-2pcngun63n] {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #d97706 !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-indent-approved[b-2pcngun63n] {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-indent-rejected[b-2pcngun63n] {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

/* Stock volume indicators (Text Only - No Box) */
.badge-stock-high[b-2pcngun63n],
.detail-row strong.badge-stock-high[b-2pcngun63n] {
    background: transparent !important;
    color: #059669 !important;
    border: none !important;
    padding: 0 !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-stock-low[b-2pcngun63n],
.detail-row strong.badge-stock-low[b-2pcngun63n] {
    background: transparent !important;
    color: #d97706 !important;
    border: none !important;
    padding: 0 !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.badge-stock-empty[b-2pcngun63n],
.detail-row strong.badge-stock-empty[b-2pcngun63n] {
    background: transparent !important;
    color: #dc2626 !important;
    border: none !important;
    padding: 0 !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

/* OVERRIDE FOR HIGH-DENSITY PURCHASE BILL FORM (e.g. ItemMaster Modal) */
.purchase-bill-fields .premium-segmented-control-joined[b-2pcngun63n] {
    height: 32px !important;
    border-radius: 6px !important;
    max-width: none !important;
}

.purchase-bill-fields .segment-btn-joined[b-2pcngun63n] {
    font-size: 0.8rem !important;
}

.purchase-bill-fields .segment-btn-joined:first-child[b-2pcngun63n] {
    border-right: 1px solid #e2e8f0 !important;
}

/* Tabular Grid/Real Table styling for purchase details table */
.purchase-items-table-wrapper table[b-2pcngun63n] {
    border-collapse: collapse !important;
    border: 1px solid #cbd5e1 !important;
    width: 100%;
}

.purchase-items-table-wrapper th[b-2pcngun63n],
.purchase-items-table-wrapper td[b-2pcngun63n] {
    border: 1px solid #cbd5e1 !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

.purchase-items-table-header th[b-2pcngun63n] {
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 10px 8px !important;
    font-weight: 700;
    font-size: 0.72rem;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #0273b2 !important;
}

.purchase-items-table-wrapper .purchase-item-input[b-2pcngun63n],
.purchase-items-table-wrapper .purchase-item-select[b-2pcngun63n] {
    width: 100% !important;
    height: 34px !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.purchase-items-table-wrapper .purchase-item-input:focus[b-2pcngun63n],
.purchase-items-table-wrapper .purchase-item-select:focus[b-2pcngun63n] {
    background: #f4f8fa !important;
    box-shadow: inset 0 0 0 2px rgba(2, 115, 178, 0.2) !important;
}

.purchase-items-table-wrapper .purchase-item-readonly[b-2pcngun63n] {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    width: 100% !important;
    height: 34px !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background-color: #f8fafc !important;
    font-weight: 600;
}

.purchase-items-table-wrapper td.purchase-items-table-footer-cell[b-2pcngun63n] {
    padding: 16px 24px !important;
}
.modal-overlay[b-2pcngun63n] {
    position: fixed;
    inset: 0;
    background: rgba(8, 25, 40, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1050;
    overflow-y: auto;
    animation: modalFadeIn-b-2pcngun63n 0.3s ease-out forwards;
}

.modal-card[b-2pcngun63n] {
    width: min(1100px, 96%);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(3, 26, 46, 0.28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 3rem);
    animation: modalScaleIn-b-2pcngun63n 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-header-bar[b-2pcngun63n] {
    background: linear-gradient(90deg, #0f678f 0%, #0b5777 100%);
    color: #fff;
    padding: 1.05rem 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.modal-header-left[b-2pcngun63n] {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.modal-badge[b-2pcngun63n] {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .12);
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
}

.modal-title[b-2pcngun63n] {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
}

.modal-subtitle[b-2pcngun63n] {
    font-size: .92rem;
    color: rgba(255, 255, 255, .88);
    margin-top: .15rem;
}

.modal-inner[b-2pcngun63n] {
    padding: 0.5rem 1rem 0.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    overflow-y: auto;
    flex: 1;
}

.modal-form-wrap[b-2pcngun63n] {
    max-width: 100%;
    margin: 0 auto;
}

.modal-section[b-2pcngun63n] {
    background: #fff;
    border: 1px solid #dce9f4;
    border-radius: 12px;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.modal-row[b-2pcngun63n] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.modal-row.full-width[b-2pcngun63n] {
    grid-column: span 2;
}

.modal-label[b-2pcngun63n] {
    padding-top: 0;
    font-size: .72rem;
    font-weight: 700;
    color: #0b5777;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.modal-field[b-2pcngun63n] {
    width: 100%;
}

.modal-input[b-2pcngun63n],
.modal-select[b-2pcngun63n],
.modal-textarea[b-2pcngun63n] {
    border: 1px solid #e6eef8;
    border-radius: 8px;
    background: #fbfdff;
    min-height: 32px;
    padding: .4rem .6rem;
    width: 100%;
    max-width: 250px;
    font-size: .85rem;
}

.modal-textarea[b-2pcngun63n] {
    max-width: 100%;
    min-height: 64px;
    resize: vertical;
}

.modal-actions[b-2pcngun63n] {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.2rem;
}

.modal-action-btn[b-2pcngun63n] {
    min-width: 130px;
    padding: .65rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
}

/* Popup Styles */
.action-popup-overlay[b-2pcngun63n] {
    position: fixed;
    inset: 0;
    background: rgba(8, 25, 40, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1200;
    animation: modalFadeIn-b-2pcngun63n 0.25s ease-out forwards;
}

.action-popup-card[b-2pcngun63n] {
    width: min(420px, 96%);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #cfe4f2;
    box-shadow: 0 16px 36px rgba(3, 26, 46, 0.28);
    animation: modalScaleIn-b-2pcngun63n 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalFadeIn-b-2pcngun63n {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalScaleIn-b-2pcngun63n {
    from {
        transform: scale(0.95) translateY(12px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.action-popup-header[b-2pcngun63n] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%);
    color: #312e81;
    padding: .9rem 1.2rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    font-family: 'Inter', 'Roboto', 'Segoe UI', sans-serif;
}

.pagination-bar[b-2pcngun63n] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-right: 1.5rem !important;
}

.page-btn[b-2pcngun63n] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #4b5563;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.page-btn:hover:not(:disabled)[b-2pcngun63n] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.page-btn.active[b-2pcngun63n] {
    gap: 1rem;
}

.modal-header-left[b-2pcngun63n] {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.modal-badge[b-2pcngun63n] {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .12);
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
}

.modal-title[b-2pcngun63n] {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
}

.modal-subtitle[b-2pcngun63n] {
    font-size: .92rem;
    color: rgba(255, 255, 255, .88);
    margin-top: .15rem;
}

.modal-inner[b-2pcngun63n] {
    padding: 0.5rem 1rem 0.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    overflow-y: auto;
    flex: 1;
}

.modal-form-wrap[b-2pcngun63n] {
    max-width: 100%;
    margin: 0 auto;
}

.modal-section[b-2pcngun63n] {
    background: #fff;
    border: 1px solid #dce9f4;
    border-radius: 12px;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.modal-row[b-2pcngun63n] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.modal-row.full-width[b-2pcngun63n] {
    grid-column: span 2;
}

.modal-label[b-2pcngun63n] {
    padding-top: 0;
    font-size: .72rem;
    font-weight: 700;
    color: #0b5777;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.modal-field[b-2pcngun63n] {
    width: 100%;
}

.modal-input[b-2pcngun63n],
.modal-select[b-2pcngun63n],
.modal-textarea[b-2pcngun63n] {
    border: 1px solid #e6eef8;
    border-radius: 8px;
    background: #fbfdff;
    min-height: 32px;
    padding: .4rem .6rem;
    width: 100%;
    max-width: 250px;
    font-size: .85rem;
}

.modal-textarea[b-2pcngun63n] {
    max-width: 100%;
    min-height: 64px;
    resize: vertical;
}

.modal-actions[b-2pcngun63n] {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.2rem;
}

.modal-action-btn[b-2pcngun63n] {
    min-width: 130px;
    padding: .65rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
}

/* Popup Styles */
.action-popup-overlay[b-2pcngun63n] {
    position: fixed;
    inset: 0;
    background: rgba(8, 25, 40, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1200;
    animation: modalFadeIn-b-2pcngun63n 0.25s ease-out forwards;
}

.action-popup-card[b-2pcngun63n] {
    width: min(420px, 96%);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #cfe4f2;
    box-shadow: 0 16px 36px rgba(3, 26, 46, 0.28);
    animation: modalScaleIn-b-2pcngun63n 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalFadeIn-b-2pcngun63n {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalScaleIn-b-2pcngun63n {
    from {
        transform: scale(0.95) translateY(12px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.action-popup-header[b-2pcngun63n] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%);
    color: #312e81;
    padding: .9rem 1.2rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    font-family: 'Inter', 'Roboto', 'Segoe UI', sans-serif;
}

.pagination-bar[b-2pcngun63n] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-right: 1.5rem !important;
}

.page-btn[b-2pcngun63n] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #4b5563;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.page-btn:hover:not(:disabled)[b-2pcngun63n] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.page-btn.active[b-2pcngun63n] {
    background: #02659e !important;
    color: #ffffff !important;
    border-color: #02659e !important;
}

/* Report Toolbar & Filter Styling */
.report-toolbar-card[b-2pcngun63n] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    width: 100%;
}

.report-filters-row[b-2pcngun63n] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.filter-group[b-2pcngun63n] {
    display: inline-flex;
    align-items: center;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 16px !important;
    height: 34px !important;
    padding: 0 12px !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.filter-group:focus-within[b-2pcngun63n] {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.filter-label[b-2pcngun63n] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    white-space: nowrap;
    margin-right: 4px;
}

.filter-label i[b-2pcngun63n] {
    color: #4f46e5 !important;
    font-size: 0.85rem !important;
}

.filter-select[b-2pcngun63n] {
    border: none !important;
    background: transparent !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    padding: 0 4px !important;
    height: 100% !important;
    outline: none !important;
    cursor: pointer;
    max-width: 170px;
}

.filter-input-date[b-2pcngun63n] {
    border: none !important;
    background: transparent !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    padding: 0 4px !important;
    height: 100% !important;
    outline: none !important;
    cursor: pointer;
    width: 125px;
}

.report-actions-row[b-2pcngun63n] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
}

.btn-report-preview[b-2pcngun63n] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
    color: #4f46e5 !important;
    border: 1.5px solid #6366f1 !important;
    border-radius: 16px !important;
    padding: 0 14px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(99, 102, 241, 0.08) !important;
    transition: all 0.2s ease !important;
    height: 34px !important;
}

.btn-report-preview:hover:not(:disabled)[b-2pcngun63n] {
    background: #4f46e5 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2) !important;
    transform: translateY(-1px);
}

.btn-report-preview:disabled[b-2pcngun63n] {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-report-download[b-2pcngun63n] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #16a34a !important;
    color: #ffffff !important;
    border: 1.5px solid #16a34a !important;
    border-radius: 16px !important;
    padding: 0 14px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(22, 163, 74, 0.15) !important;
    transition: all 0.2s ease !important;
    height: 34px !important;
}

.btn-report-download:hover:not(:disabled)[b-2pcngun63n] {
    background: #15803d !important;
    border-color: #15803d !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.25) !important;
    transform: translateY(-1px);
}

.btn-report-download:disabled[b-2pcngun63n] {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ========================================================= */
/* REPORT PREVIEW MODAL STYLING                              */
/* ========================================================= */
/* REPORT PREVIEW MODAL STYLING                              */
/* ========================================================= */
.report-preview-modal-backdrop[b-2pcngun63n] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    animation: reportPreviewFadeIn-b-2pcngun63n 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin: 0 !important;
    padding: 1.5rem !important;
    box-sizing: border-box !important;
}

@keyframes reportPreviewFadeIn-b-2pcngun63n {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.report-preview-modal-dialog[b-2pcngun63n] {
    background: #ffffff !important;
    border-radius: 16px !important;
    width: min(1280px, 96vw) !important;
    height: 92vh !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
    overflow: hidden !important;
    border: 1px solid #cbd5e1 !important;
    position: relative !important;
}

.report-preview-modal-header[b-2pcngun63n] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 20px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
    overflow-x: auto !important;
}

.report-preview-header-brand[b-2pcngun63n] {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

.report-preview-header-icon[b-2pcngun63n] {
    font-size: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    background: #eef2ff !important;
    border: 1px solid #c7d2fe !important;
    border-radius: 10px !important;
    line-height: 1 !important;
}

.report-preview-title[b-2pcngun63n] {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    letter-spacing: -0.2px !important;
}

.report-preview-subtitle[b-2pcngun63n] {
    margin: 2px 0 0 0 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
}

.report-preview-header-right[b-2pcngun63n] {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
}

.report-preview-filters[b-2pcngun63n] {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
}

.report-preview-filters .filter-group[b-2pcngun63n] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #f1f5f9 !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    transition: all 0.2s ease !important;
}

.report-preview-filters .filter-group:hover[b-2pcngun63n],
.report-preview-filters .filter-group:focus-within[b-2pcngun63n] {
    border-color: #6366f1 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12) !important;
}

.report-preview-filters .filter-label[b-2pcngun63n] {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
}

.report-preview-filters .filter-label i[b-2pcngun63n] {
    color: #6366f1 !important;
}

.report-preview-filters .filter-select[b-2pcngun63n],
.report-preview-filters .filter-input-date[b-2pcngun63n] {
    height: 28px !important;
    border: none !important;
    background: transparent !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    outline: none !important;
    padding: 0 4px !important;
    font-family: inherit !important;
    cursor: pointer !important;
}

.report-preview-filters .filter-select:focus[b-2pcngun63n],
.report-preview-filters .filter-input-date:focus[b-2pcngun63n] {
    outline: none !important;
}

.report-preview-header-actions[b-2pcngun63n] {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.btn-modal-print[b-2pcngun63n] {
    padding: 7px 16px !important;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3) !important;
    transition: all 0.15s ease !important;
}

.btn-modal-print:hover:not(:disabled)[b-2pcngun63n] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%) !important;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.4) !important;
    transform: translateY(-1px) !important;
}

.btn-modal-print:disabled[b-2pcngun63n] {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

.btn-modal-download[b-2pcngun63n] {
    padding: 7px 16px !important;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3) !important;
    transition: all 0.15s ease !important;
}

.btn-modal-download:hover:not(:disabled)[b-2pcngun63n] {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%) !important;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.4) !important;
    transform: translateY(-1px) !important;
}

.btn-modal-download:disabled[b-2pcngun63n] {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

.btn-modal-close[b-2pcngun63n] {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #64748b !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.15s ease !important;
    padding: 0 !important;
}

.btn-modal-close:hover[b-2pcngun63n] {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border-color: #fca5a5 !important;
    transform: scale(1.05) !important;
}

.report-preview-modal-body[b-2pcngun63n] {
    flex: 1 !important;
    position: relative !important;
    overflow: hidden !important;
    background: #334155 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.report-preview-iframe[b-2pcngun63n] {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block !important;
}

.report-preview-loading-overlay[b-2pcngun63n] {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    gap: 12px !important;
    pointer-events: none !important;
}

.report-preview-loading-overlay .spinner-border[b-2pcngun63n] {
    width: 2.75rem !important;
    height: 2.75rem !important;
    color: #818cf8 !important;
}

.report-preview-loading-overlay .loading-text[b-2pcngun63n] {
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

.report-preview-error-overlay[b-2pcngun63n] {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    gap: 8px !important;
}

/* Dark mode support */
[data-theme="dark"] .report-preview-modal-dialog[b-2pcngun63n] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8) !important;
}

[data-theme="dark"] .report-preview-modal-header[b-2pcngun63n] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
}

[data-theme="dark"] .report-preview-header-icon[b-2pcngun63n] {
    background: #1e1b4b !important;
    border-color: #3730a3 !important;
}

[data-theme="dark"] .report-preview-title[b-2pcngun63n] {
    color: #f8fafc !important;
}

[data-theme="dark"] .report-preview-subtitle[b-2pcngun63n] {
    color: #94a3b8 !important;
}

[data-theme="dark"] .report-preview-filters .filter-group[b-2pcngun63n] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .report-preview-filters .filter-label[b-2pcngun63n] {
    color: #94a3b8 !important;
}

[data-theme="dark"] .report-preview-filters .filter-select[b-2pcngun63n],
[data-theme="dark"] .report-preview-filters .filter-input-date[b-2pcngun63n] {
    color: #f8fafc !important;
}

[data-theme="dark"] .btn-modal-close[b-2pcngun63n] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .btn-modal-close:hover[b-2pcngun63n] {
    background: #450a0a !important;
    color: #f87171 !important;
    border-color: #7f1d1d !important;
}

[data-theme="dark"] .report-preview-loading-overlay[b-2pcngun63n],
[data-theme="dark"] .report-preview-error-overlay[b-2pcngun63n] {
    background: rgba(15, 23, 42, 0.96) !important;
    color: #f8fafc !important;
}

/* ─── EDIT MRP RATE BUTTON ─── */
.btn-edit-mrp[b-2pcngun63n] {
    background: transparent;
    border: none;
    color: #4f46e5;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn-edit-mrp:hover[b-2pcngun63n] {
    background: #eef2ff;
    color: #3730a3;
    transform: scale(1.1);
}

[data-theme="dark"] .btn-edit-mrp[b-2pcngun63n] {
    color: #818cf8;
}

[data-theme="dark"] .btn-edit-mrp:hover[b-2pcngun63n] {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

/* ─── MRP UPDATE MODAL BUTTONS ─── */
.btn-mrp-cancel[b-2pcngun63n] {
    background: #ffffff !important;
    color: #475569 !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 0.55rem 1.35rem !important;
    border-radius: 10px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    min-width: 105px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-mrp-cancel:hover:not(:disabled)[b-2pcngun63n] {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08) !important;
}

.btn-mrp-cancel:active:not(:disabled)[b-2pcngun63n] {
    transform: translateY(0) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.btn-mrp-cancel:disabled[b-2pcngun63n] {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    background: #f8fafc !important;
}

.btn-mrp-update[b-2pcngun63n] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0.55rem 1.5rem !important;
    border-radius: 10px !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    min-width: 140px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-mrp-update:hover:not(:disabled)[b-2pcngun63n] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4) !important;
}

.btn-mrp-update:active:not(:disabled)[b-2pcngun63n] {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25) !important;
}

.btn-mrp-update:disabled[b-2pcngun63n] {
    opacity: 0.65 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

[data-theme="dark"] .btn-mrp-cancel[b-2pcngun63n] {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .btn-mrp-cancel:hover:not(:disabled)[b-2pcngun63n] {
    background: #334155 !important;
    color: #f8fafc !important;
    border-color: #475569 !important;
}


/* /Components/Pages/StockAdjustment.razor.rz.scp.css */
/* Vibrant & Colorful Medico Portal UI Styles for StockAdjustment */

:root[b-w09m978awa] {
    --primary-indigo: #4f46e5;
    --indigo-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --emerald-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --amber-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --rose-gradient: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    --card-bg-gradient: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    --header-bg-gradient: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #f0fdf4 100%);
    --border-indigo: rgba(99, 102, 241, 0.22);
    --border-teal: rgba(13, 148, 136, 0.22);
}

.stock-adj-page[b-w09m978awa] {
    padding: 0.85rem 1.25rem 3rem 1.25rem;
    background: transparent !important;
    min-height: auto;
    overflow: visible;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    width: 100%;
}

.stock-adj-shell[b-w09m978awa] {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Premium Colorful Header Card */
.premium-header-card[b-w09m978awa] {
    background: var(--header-bg-gradient) !important;
    border: 1px solid var(--border-indigo) !important;
    border-radius: 16px !important;
    padding: 0.85rem 1.5rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.12) !important;
    flex-shrink: 0;
}

.header-card-left[b-w09m978awa] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-card-icon[b-w09m978awa] {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #eef2ff !important;
    border: 1px solid #c7d2fe !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15) !important;
    color: #4f46e5 !important;
}

.header-card-icon i[b-w09m978awa] {
    color: #4f46e5 !important;
}

.header-card-heading[b-w09m978awa] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.header-card-subheading[b-w09m978awa] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #4338ca !important;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 3px;
    letter-spacing: 0.4px;
}

.status-dot[b-w09m978awa] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 10px #10b981;
}

/* Button UI Enhancements & Text Visibility Fixes */
.btn-indigo-solid[b-w09m978awa] {
    background-color: #4f46e5 !important;
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%) !important;
    border: 1px solid #312e81 !important;
    color: #ffffff !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4) !important;
    transition: all 0.2s ease-in-out;
    letter-spacing: 0.2px;
}

.btn-indigo-solid i[b-w09m978awa], 
.btn-indigo-solid span[b-w09m978awa],
.btn-indigo-solid *[b-w09m978awa] {
    color: #ffffff !important;
    fill: #ffffff !important;
    opacity: 1 !important;
}

.btn-indigo-solid:hover[b-w09m978awa] {
    background-color: #4338ca !important;
    background: linear-gradient(135deg, #4338ca 0%, #312e81 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6) !important;
    transform: translateY(-2px);
}

.btn-rose-solid[b-w09m978awa] {
    background-color: #e11d48 !important;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%) !important;
    border: 1px solid #be123c !important;
    color: #ffffff !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4) !important;
    transition: all 0.2s ease-in-out;
    letter-spacing: 0.2px;
}

.btn-rose-solid i[b-w09m978awa], 
.btn-rose-solid span[b-w09m978awa],
.btn-rose-solid *[b-w09m978awa] {
    color: #ffffff !important;
    fill: #ffffff !important;
    opacity: 1 !important;
}

.btn-rose-solid:hover[b-w09m978awa] {
    background-color: #be123c !important;
    background: linear-gradient(135deg, #e11d48 0%, #9f1239 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.6) !important;
    transform: translateY(-2px);
}

.btn-indigo-action[b-w09m978awa] {
    background-color: #4f46e5 !important;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    border: 1px solid #3730a3 !important;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.35) !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.btn-indigo-action i[b-w09m978awa],
.btn-indigo-action *[b-w09m978awa] {
    color: #ffffff !important;
    opacity: 1 !important;
}

.btn-indigo-action:hover[b-w09m978awa] {
    background-color: #3730a3 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(79, 70, 229, 0.5) !important;
}

.btn-rose-action[b-w09m978awa] {
    background-color: #fee2e2 !important;
    color: #dc2626 !important;
    border: 1px solid #fca5a5 !important;
    font-size: 0.72rem !important;
    transition: all 0.2s ease;
}

.btn-rose-action i[b-w09m978awa],
.btn-rose-action *[b-w09m978awa] {
    color: #dc2626 !important;
    opacity: 1 !important;
}

.btn-rose-action:hover[b-w09m978awa] {
    background-color: #ef4444 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3) !important;
}

.btn-rose-action:hover i[b-w09m978awa],
.btn-rose-action:hover *[b-w09m978awa] {
    color: #ffffff !important;
}

/* Filter Card */
.filter-card[b-w09m978awa] {
    border: 1px solid var(--border-indigo) !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.05) !important;
    flex-shrink: 0;
}

.filter-label[b-w09m978awa] {
    font-size: 0.72rem;
    font-weight: 800;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.premium-input[b-w09m978awa] {
    border-radius: 10px !important;
    border: 1.5px solid #cbd5e1 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    background-color: #f8fafc !important;
    padding: 0.35rem 0.65rem !important;
    height: 36px !important;
    transition: all 0.2s ease;
}

.premium-input:focus[b-w09m978awa] {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15) !important;
    background-color: #ffffff !important;
}

/* Parallel Table Cards */
.parallel-tables-row[b-w09m978awa] {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
    flex-grow: 1;
    min-height: 0;
}

.parallel-col[b-w09m978awa] {
    flex: 1 1 50% !important;
    width: 50% !important;
    min-width: 0 !important;
    display: flex;
    flex-direction: column;
}

.table-card[b-w09m978awa] {
    border-radius: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
}

.available-card[b-w09m978awa] {
    border-top: 4px solid #6366f1 !important;
}

.adjust-card[b-w09m978awa] {
    border-top: 4px solid #0d9488 !important;
}

.table-card-header[b-w09m978awa] {
    border-bottom: 1px solid #e2e8f0 !important;
}

.table-card-body[b-w09m978awa] {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    min-height: 0 !important;
}

/* Custom Table Vibrant Styling */
.custom-table[b-w09m978awa] {
    font-size: 0.78rem !important;
}

.custom-table th[b-w09m978awa] {
    background-color: #f1f5f9 !important;
    color: #334155 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.65rem 0.75rem !important;
    border-bottom: 2px solid #e2e8f0 !important;
    position: sticky;
    top: 0;
    z-index: 10;
}

.custom-table td[b-w09m978awa] {
    padding: 0.5rem 0.75rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.table-active-row[b-w09m978awa] {
    background-color: #eef2ff !important;
}

.batch-badge-blue[b-w09m978awa] {
    background: #e0e7ff !important;
    color: #3730a3 !important;
    font-weight: 800 !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 6px !important;
    border: 1px solid #c7d2fe !important;
}

.batch-badge-dark[b-w09m978awa] {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 6px !important;
    border: 1px solid #cbd5e1 !important;
}

.btn-indigo-action[b-w09m978awa] {
    background: var(--indigo-gradient) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.2s ease;
}

.btn-indigo-action:hover[b-w09m978awa] {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4) !important;
}

/* Stepper Component Styling */
.qty-stepper-wrapper[b-w09m978awa] {
    background: #ffffff;
    padding: 2px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.btn-stepper[b-w09m978awa] {
    width: 26px;
    height: 26px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    border: none !important;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.btn-stepper.btn-minus[b-w09m978awa] {
    background: #fee2e2 !important;
    color: #ef4444 !important;
}

.btn-stepper.btn-minus:hover[b-w09m978awa] {
    background: #ef4444 !important;
    color: #ffffff !important;
    transform: scale(1.08);
}

.btn-stepper.btn-plus[b-w09m978awa] {
    background: #d1fae5 !important;
    color: #10b981 !important;
}

.btn-stepper.btn-plus:hover[b-w09m978awa] {
    background: #10b981 !important;
    color: #ffffff !important;
    transform: scale(1.08);
}

.stepper-input[b-w09m978awa] {
    width: 58px !important;
    min-width: 48px !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    height: 26px !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    color: #4f46e5 !important;
    -moz-appearance: textfield;
}

.stepper-input[b-w09m978awa]::-webkit-outer-spin-button,
.stepper-input[b-w09m978awa]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.table-card-footer[b-w09m978awa] {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}

/* Adjustment Log Modal Styling */
.log-modal-backdrop[b-w09m978awa] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1050;
}

.log-modal-dialog[b-w09m978awa] {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 92vw !important;
    max-width: 1160px !important;
    height: 80vh !important;
    max-height: 80vh !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    z-index: 1060 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    animation: fadeInModal-b-w09m978awa 0.2s ease-out;
    border: 1px solid #e2e8f0 !important;
}

@keyframes fadeInModal-b-w09m978awa {
    from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.log-modal-header[b-w09m978awa] {
    padding: 14px 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.log-header-left[b-w09m978awa] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

.log-header-icon[b-w09m978awa] {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: #eef2ff !important;
    border: 1px solid #c7d2fe !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #4f46e5 !important;
    font-size: 1.15rem !important;
    flex-shrink: 0 !important;
}

.log-header-title-wrap[b-w09m978awa] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
}

.log-header-title[b-w09m978awa] {
    font-size: 1.08rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin: 0 !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

.log-header-badge[b-w09m978awa] {
    background: #e0e7ff !important;
    color: #4338ca !important;
    font-size: 0.74rem !important;
    padding: 3px 9px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    border: 1px solid #c7d2fe !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

.log-header-right[b-w09m978awa] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    margin-left: auto !important;
}

.log-search-box[b-w09m978awa] {
    position: relative !important;
    width: 270px !important;
    display: flex !important;
    align-items: center !important;
}

.log-search-box input[b-w09m978awa] {
    height: 38px !important;
    font-size: 0.82rem !important;
    padding-left: 34px !important;
    padding-right: 28px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    width: 100% !important;
    color: #1e293b !important;
    outline: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.log-search-box input:focus[b-w09m978awa] {
    border-color: #4f46e5 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.12) !important;
}

.log-search-box .search-icon[b-w09m978awa] {
    position: absolute !important;
    left: 11px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #94a3b8 !important;
    font-size: 0.85rem !important;
    pointer-events: none !important;
}

.log-search-box .clear-icon[b-w09m978awa] {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #94a3b8 !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
}

.log-search-box .clear-icon:hover[b-w09m978awa] {
    color: #ef4444 !important;
}

.log-type-filter[b-w09m978awa] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
}

.log-type-filter label[b-w09m978awa] {
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    color: #475569 !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
}

.log-type-filter select[b-w09m978awa] {
    height: 38px !important;
    font-size: 0.82rem !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #1e293b !important;
    padding: 4px 10px !important;
    outline: none !important;
    width: 130px !important;
    margin: 0 !important;
}

.btn-modal-close-custom[b-w09m978awa] {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    border: none !important;
    background: transparent !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    margin-left: 4px !important;
    padding: 0 !important;
}

.btn-modal-close-custom:hover[b-w09m978awa] {
    background: #fee2e2 !important;
    color: #ef4444 !important;
}

.log-modal-body[b-w09m978awa] {
    padding: 0 !important;
    overflow-y: auto !important;
    flex: 1 1 auto !important;
    position: relative !important;
}

.log-modal-footer[b-w09m978awa] {
    padding: 12px 24px !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
}

.btn-header-log[b-w09m978awa] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    border: 1.5px solid #818cf8 !important;
    border-radius: 50px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    padding: 0.45rem 1.1rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.1) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.btn-header-log:hover[b-w09m978awa] {
    background: #eef2ff !important;
    border-color: #4f46e5 !important;
    color: #3730a3 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2) !important;
}

.badge-log-count[b-w09m978awa] {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-size: 0.7rem !important;
    padding: 1px 7px !important;
    font-weight: 700 !important;
}
/* /Components/Pages/StoreTransfer.razor.rz.scp.css */
/* ==========================================================================
   STOCK TRANSFER REGISTER - CLEAN STYLESHEET
   ========================================================================== */

.transfer-page[b-1fd2czi10f] {
    min-height: 100vh;
    background: transparent !important;
    padding-top: 0.25rem;
}

.transfer-shell[b-1fd2czi10f] {
    max-width: 1360px;
    margin: 0 auto;
}

.transfer-content[b-1fd2czi10f] {
    width: 100%;
    margin: 0 auto;
}

/* Premium Header Card */
.premium-header-card[b-1fd2czi10f] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.18) !important;
    border-radius: 14px !important;
    padding: 0.9rem 1.4rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.05) !important;
    margin-bottom: 0.85rem !important;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.header-card-left[b-1fd2czi10f] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-card-icon[b-1fd2czi10f] {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.2) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.08) !important;
    color: #4f46e5 !important;
}

.header-card-text[b-1fd2czi10f] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-1fd2czi10f] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.header-card-subheading[b-1fd2czi10f] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    margin-top: 2px;
    text-transform: uppercase;
}

.status-dot[b-1fd2czi10f] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 6px #10b981;
}

.header-card-right[b-1fd2czi10f] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-quick-nav[b-1fd2czi10f] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 14px;
    height: 34px;
    border-radius: 18px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-quick-nav:hover[b-1fd2czi10f] {
    background: #f8fafc;
    color: #1e293b;
    border-color: #94a3b8;
}

/* Stats Counter Grid */
.stats-grid[b-1fd2czi10f] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 0.85rem;
}

@media (max-width: 1200px) {
    .stats-grid[b-1fd2czi10f] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .stats-grid[b-1fd2czi10f] {
        grid-template-columns: 1fr;
    }
}

.stat-card[b-1fd2czi10f] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    overflow: hidden;
}

.stat-card:hover[b-1fd2czi10f] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.stat-card.active-stat[b-1fd2czi10f] {
    border-color: #4f46e5;
    background: #fcfcff;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.18);
}

.stat-icon-wrapper[b-1fd2czi10f] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stat-icon-primary[b-1fd2czi10f] {
    background: #eef2ff;
    color: #4f46e5;
}

.stat-icon-warning[b-1fd2czi10f] {
    background: #fffbeb;
    color: #d97706;
}

.stat-icon-success[b-1fd2czi10f] {
    background: #ecfdf5;
    color: #059669;
}

.stat-icon-danger[b-1fd2czi10f] {
    background: #fff1f2;
    color: #e11d48;
}

.stat-icon-indigo[b-1fd2czi10f] {
    background: #f5f3ff;
    color: #6366f1;
}

.stat-info[b-1fd2czi10f] {
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 0;
    flex: 1;
}

.stat-value[b-1fd2czi10f] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
}

.stat-label[b-1fd2czi10f] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tabs Navigation Bar */
.transfer-nav-tabs[b-1fd2czi10f] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    padding: 4px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    overflow-x: auto;
}

.tab-btn[b-1fd2czi10f] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    background: transparent;
    font-size: 0.76rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.tab-btn:hover[b-1fd2czi10f] {
    color: #1e293b;
    background: #f8fafc;
}

.tab-btn.active[b-1fd2czi10f] {
    background: #4f46e5;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
}

.tab-badge[b-1fd2czi10f] {
    font-size: 0.64rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.25);
}

.tab-btn:not(.active) .tab-badge[b-1fd2czi10f] {
    background: #f1f5f9;
    color: #475569;
}

.tab-btn:not(.active) .tab-badge.warning[b-1fd2czi10f] {
    background: #fef3c7;
    color: #b45309;
}

.tab-btn:not(.active) .tab-badge.success[b-1fd2czi10f] {
    background: #d1fae5;
    color: #047857;
}

.tab-btn:not(.active) .tab-badge.danger[b-1fd2czi10f] {
    background: #fee2e2;
    color: #b91c1c;
}

.tab-btn:not(.active) .tab-badge.primary[b-1fd2czi10f] {
    background: #e0e7ff;
    color: #4338ca;
}

/* Filter Toolbar */
.filter-toolbar[b-1fd2czi10f] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 12px;
    margin-bottom: 0.85rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.filter-controls-row[b-1fd2czi10f] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
}

.items-search-wrap[b-1fd2czi10f] {
    position: relative;
    min-width: 240px;
    flex: 1;
    max-width: 300px;
}

.items-search-icon[b-1fd2czi10f] {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.8rem;
}

.items-search[b-1fd2czi10f] {
    height: 34px !important;
    font-size: 0.78rem !important;
    padding-left: 30px !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
}

.items-search:focus[b-1fd2czi10f] {
    background: #ffffff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15) !important;
}

.filter-select-wrap[b-1fd2czi10f] {
    flex-shrink: 0;
}

.filter-select[b-1fd2czi10f] {
    height: 34px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 10px;
    outline: none;
    cursor: pointer;
    max-width: 220px;
}

.filter-select:focus[b-1fd2czi10f] {
    border-color: #6366f1;
    background: #ffffff;
}

.date-range-box[b-1fd2czi10f] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 8px;
    height: 34px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #475569;
}

.date-label[b-1fd2czi10f] {
    font-size: 0.68rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
}

.filter-date-input[b-1fd2czi10f] {
    border: none;
    background: transparent;
    height: 30px;
    font-size: 0.75rem;
    color: #1e293b;
    outline: none;
    padding: 0 2px;
}

.btn-clear-filters[b-1fd2czi10f] {
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px dashed #ef4444;
    background: #fff1f2;
    color: #e11d48;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-clear-filters:hover[b-1fd2czi10f] {
    background: #ffe4e6;
    border-color: #dc2626;
}

.view-toggle[b-1fd2czi10f] {
    display: flex;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 2px;
}

.view-toggle button[b-1fd2czi10f] {
    border: none;
    background: transparent;
    padding: 4px 8px;
    font-size: 0.82rem;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
}

.view-toggle button.active[b-1fd2czi10f] {
    background: #ffffff;
    color: #4f46e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Main Cards Container */
.items-main-card[b-1fd2czi10f] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

/* Clean Centered Empty State Card */
.empty-state-card[b-1fd2czi10f] {
    padding: 3rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.empty-icon-wrap[b-1fd2czi10f] {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #f8fafc;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    border: 1px solid #e2e8f0;
}

.empty-heading[b-1fd2czi10f] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.empty-subtext[b-1fd2czi10f] {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0 0 10px 0;
    max-width: 400px;
    line-height: 1.4;
}

/* Table Styling */
.items-table[b-1fd2czi10f] {
    font-size: 0.78rem;
}

.items-table thead th[b-1fd2czi10f] {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.items-table tbody td[b-1fd2czi10f] {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    vertical-align: middle;
}

.items-table tbody tr:hover td[b-1fd2czi10f] {
    background-color: #f8fafc;
}

/* Badges */
.badge-store-from[b-1fd2czi10f] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    padding: 2px 7px;
    border-radius: 6px;
    white-space: nowrap;
}

.badge-store-to[b-1fd2czi10f] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    padding: 2px 7px;
    border-radius: 6px;
    white-space: nowrap;
}

/* Status Pills */
.status-pill[b-1fd2czi10f] {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.status-draft[b-1fd2czi10f] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.status-pending[b-1fd2czi10f], .status-intransit[b-1fd2czi10f] {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.status-completed[b-1fd2czi10f] {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.status-rejected[b-1fd2czi10f] {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.status-cancelled[b-1fd2czi10f] {
    background: #f1f5f9;
    color: #94a3b8;
}

/* Action Buttons */
.action-btn-group[b-1fd2czi10f] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.action-btn[b-1fd2czi10f] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.8rem;
}

.action-btn:hover[b-1fd2czi10f] {
    transform: translateY(-1px);
}

.btn-view:hover[b-1fd2czi10f] {
    background: #eef2ff;
    color: #4f46e5;
    border-color: #c7d2fe;
}

.btn-slip:hover[b-1fd2czi10f] {
    background: #e0f2fe;
    color: #0284c7;
    border-color: #bae6fd;
}

.btn-inspect-small[b-1fd2czi10f] {
    padding: 3px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #c7d2fe;
    background: #eef2ff;
    color: #4338ca;
    cursor: pointer;
}

.btn-inspect-small:hover[b-1fd2czi10f] {
    background: #e0e7ff;
    color: #3730a3;
}

/* Grid View Cards */
.cards-grid[b-1fd2czi10f] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
    padding: 1.2rem;
}

.transfer-grid-card[b-1fd2czi10f] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.2s ease;
    text-align: left;
}

.transfer-grid-card:hover[b-1fd2czi10f] {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.card-header-row[b-1fd2czi10f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-route-box[b-1fd2czi10f] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.route-point[b-1fd2czi10f] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.route-label[b-1fd2czi10f] {
    font-size: 0.62rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
}

.route-name[b-1fd2czi10f] {
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.route-arrow[b-1fd2czi10f] {
    color: #94a3b8;
    font-size: 0.9rem;
}

.card-reason-box[b-1fd2czi10f] {
    font-size: 0.72rem;
    color: #64748b;
    background: #f8fafc;
    padding: 4px 8px;
    border-radius: 6px;
}

/* Pagination */
.pagination-wrapper[b-1fd2czi10f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.page-btn[b-1fd2czi10f] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.page-btn.active[b-1fd2czi10f] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
}

.page-btn:disabled[b-1fd2czi10f] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Modal Overlay & Base Card */
.modal-overlay[b-1fd2czi10f] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 1.25rem;
    animation: fadeIn-b-1fd2czi10f 0.15s ease-out;
}

@keyframes fadeIn-b-1fd2czi10f {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalPop-b-1fd2czi10f {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-card[b-1fd2czi10f] {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(99, 102, 241, 0.1);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    text-align: left;
    animation: modalPop-b-1fd2czi10f 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-lg-record[b-1fd2czi10f] {
    width: 95%;
    max-width: 1260px;
}

.modal-header-bar[b-1fd2czi10f] {
    padding: 14px 22px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.modal-title-wrap[b-1fd2czi10f] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-title-icon[b-1fd2czi10f] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.1);
}

.modal-title[b-1fd2czi10f] {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e1b4b;
    margin: 0;
    line-height: 1.2;
}

.modal-subtitle[b-1fd2czi10f] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 2px;
}

.btn-modal-print[b-1fd2czi10f] {
    background: #ffffff;
    color: #4f46e5;
    border: 1.5px solid #c7d2fe;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.btn-modal-print:hover[b-1fd2czi10f] {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.25);
}

.btn-close-modal[b-1fd2czi10f] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-close-modal:hover[b-1fd2czi10f] {
    background: #fee2e2;
    border-color: #fecaca;
    color: #dc2626;
    transform: scale(1.06);
}

.modal-scroll-area[b-1fd2czi10f] {
    padding: 18px 22px;
    overflow-y: auto;
    max-height: calc(90vh - 130px);
    flex: 1;
}

.modal-scroll-area[b-1fd2czi10f]::-webkit-scrollbar {
    width: 6px;
}

.modal-scroll-area[b-1fd2czi10f]::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.modal-scroll-area[b-1fd2czi10f]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.modal-scroll-area[b-1fd2czi10f]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Transfer Route Hero Banner */
.transfer-route-hero[b-1fd2czi10f] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.route-store-box[b-1fd2czi10f] {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.route-store-box.route-from[b-1fd2czi10f] {
    border-left: 4px solid #ef4444;
}

.route-store-box.route-to[b-1fd2czi10f] {
    border-left: 4px solid #10b981;
}

.route-store-badge[b-1fd2czi10f] {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.route-from .route-store-badge[b-1fd2czi10f] {
    color: #dc2626;
}

.route-to .route-store-badge[b-1fd2czi10f] {
    color: #059669;
}

.route-store-name[b-1fd2czi10f] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.route-store-code[b-1fd2czi10f] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
}

.route-transit-divider[b-1fd2czi10f] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 8px;
    min-width: 140px;
    flex-shrink: 0;
}

.route-transit-line[b-1fd2czi10f] {
    height: 2px;
    width: 100%;
    background: linear-gradient(to right, #fee2e2, #c7d2fe, #d1fae5);
    border-radius: 2px;
}

.route-transit-badge[b-1fd2czi10f] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #eef2ff;
    color: #4f46e5;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    border: 1px solid #c7d2fe;
}

/* Transfer Metadata Grid */
.transfer-meta-grid[b-1fd2czi10f] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

@media (max-width: 992px) {
    .transfer-meta-grid[b-1fd2czi10f] {
        grid-template-columns: repeat(3, 1fr);
    }
    .transfer-route-hero[b-1fd2czi10f] {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 600px) {
    .transfer-meta-grid[b-1fd2czi10f] {
        grid-template-columns: 1fr;
    }
}

.meta-card[b-1fd2czi10f] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: border-color 0.15s ease;
}

.meta-card:hover[b-1fd2czi10f] {
    border-color: #cbd5e1;
}

.meta-card-label[b-1fd2czi10f] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
}

.meta-card-value[b-1fd2czi10f] {
    font-size: 0.84rem;
    font-weight: 700;
    color: #1e293b;
    word-break: break-word;
}

/* Notes / Callout Section */
.transfer-notes-box[b-1fd2czi10f] {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 0.76rem;
}

.note-item[b-1fd2czi10f] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.note-label[b-1fd2czi10f] {
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
}

.note-val[b-1fd2czi10f] {
    color: #334155;
}

/* Detail Table Section */
.section-title-wrap[b-1fd2czi10f] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 800;
    color: #1e1b4b;
}

.detail-table-wrapper[b-1fd2czi10f] {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.detail-table[b-1fd2czi10f] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
    margin: 0;
}

.detail-table thead tr[b-1fd2czi10f] {
    background: #f8fafc;
    border-bottom: 1px solid #cbd5e1;
    height: 34px;
}

.detail-table thead th[b-1fd2czi10f] {
    font-size: 0.68rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 8px 10px;
    border-right: 1px solid #f1f5f9;
    white-space: nowrap;
}

.detail-table tbody tr[b-1fd2czi10f] {
    height: 38px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.12s ease;
}

.detail-table tbody tr:hover[b-1fd2czi10f] {
    background: #f8fafc;
}

.detail-table tbody td[b-1fd2czi10f] {
    padding: 8px 10px;
    border-right: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #1e293b;
}

.batch-badge[b-1fd2czi10f] {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: monospace;
    display: inline-block;
}

.trf-qty-cell[b-1fd2czi10f] {
    color: #4f46e5;
    font-weight: 800;
    font-size: 0.84rem;
}

.stock-val-cell[b-1fd2czi10f] {
    color: #0f172a;
    font-weight: 800;
    font-size: 0.84rem;
}

.status-indicator-dot[b-1fd2czi10f] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
    background-color: currentColor;
}

/* Modal Summary Card */
.modal-summary-card[b-1fd2czi10f] {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.summary-metric[b-1fd2czi10f] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
}

.summary-metric-label[b-1fd2czi10f] {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
}

.summary-metric-val[b-1fd2czi10f] {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
}

.summary-metric-val.highlight[b-1fd2czi10f] {
    color: #4f46e5;
    font-size: 1.25rem;
}

.summary-divider[b-1fd2czi10f] {
    width: 1px;
    height: 32px;
    background: #cbd5e1;
}

/* Modal Footer Bar */
.modal-footer-bar[b-1fd2czi10f] {
    padding: 12px 22px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

/* Voucher Slip Styles */
.voucher-slip[b-1fd2czi10f] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    font-family: Arial, sans-serif;
    color: #1e293b;
}

.voucher-header[b-1fd2czi10f] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.voucher-title[b-1fd2czi10f] {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: 0.5px;
}

.voucher-info-table[b-1fd2czi10f] {
    width: 100%;
    font-size: 0.8rem;
}

.voucher-info-table td[b-1fd2czi10f] {
    padding: 4px 6px;
}

.voucher-table[b-1fd2czi10f] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
    margin-top: 10px;
}

.voucher-table th[b-1fd2czi10f], .voucher-table td[b-1fd2czi10f] {
    border: 1px solid #cbd5e1;
    padding: 6px 8px;
}

.voucher-table th[b-1fd2czi10f] {
    background: #f8fafc;
    font-weight: 700;
}

.voucher-sign-row[b-1fd2czi10f] {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 10px;
}

.voucher-sign-box[b-1fd2czi10f] {
    border-top: 1.5px dashed #64748b;
    width: 180px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    padding-top: 4px;
}

/* Print Media Styles */
@media print {
    body *[b-1fd2czi10f] {
        visibility: hidden;
    }
    #print-section[b-1fd2czi10f], #print-section *[b-1fd2czi10f] {
        visibility: visible;
    }
    #print-section[b-1fd2czi10f] {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 10px;
        border: none;
    }
}
/* /Components/Pages/TestFee.razor.rz.scp.css */
/* ========== CORE PAGE CONTAINER & LAYOUT ========== */
.dch-page-container[b-wwy62oi03p] {
    padding: 10px 16px;
    background-color: #f8fafc;
    height: 100vh;
    max-height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Utility classes */
.position-fixed[b-wwy62oi03p] { position: fixed; }
.inset-0[b-wwy62oi03p] { top: 0; right: 0; bottom: 0; left: 0; }
.bg-slate-900\/10[b-wwy62oi03p] { background-color: rgba(15, 23, 42, 0.1); }
.backdrop-blur-sm[b-wwy62oi03p] { backdrop-filter: blur(4px); }
.z-\[100\][b-wwy62oi03p] { z-index: 100; }
.display-flex[b-wwy62oi03p] { display: flex; }
.align-center[b-wwy62oi03p] { align-items: center; }
.justify-center[b-wwy62oi03p] { justify-content: center; }
.flex-col[b-wwy62oi03p] { flex-direction: column; }
.bg-white[b-wwy62oi03p] { background-color: #ffffff; }
.p-24[b-wwy62oi03p] { padding: 24px; }
.rounded-16[b-wwy62oi03p] { border-radius: 16px; }
.shadow-2xl[b-wwy62oi03p] { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.gap-16[b-wwy62oi03p] { gap: 16px; }
.w-48[b-wwy62oi03p] { width: 48px; }
.h-48[b-wwy62oi03p] { height: 48px; }
.border-4[b-wwy62oi03p] { border-width: 4px; }
.border-indigo-100[b-wwy62oi03p] { border-color: #e0e7ff; }
.border-t-indigo-600[b-wwy62oi03p] { border-top-color: #4f46e5; }
.rounded-50p[b-wwy62oi03p] { border-radius: 50%; }
.animate-spin[b-wwy62oi03p] { animation: spin-b-wwy62oi03p 1s linear infinite; }

@keyframes spin-b-wwy62oi03p {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========== HEADER SECTION ========== */
.lab-header-card[b-wwy62oi03p] {
    background: #ffffff;
    border-radius: 10px;
    padding: 6px 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.header-icon-box[b-wwy62oi03p] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #4f46e5;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.6), 0 2px 6px rgba(79, 70, 229, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lab-title-text[b-wwy62oi03p] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.02em;
}

.lab-subtitle-text[b-wwy62oi03p] {
    font-size: 0.75rem;
    color: #64748b;
    margin: 1px 0 0;
    font-weight: 500;
}

.flex-between[b-wwy62oi03p] { justify-content: space-between; }
.flex-center[b-wwy62oi03p] {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== TOP CONFIGURATION SECTION ========== */
.dc-top-section[b-wwy62oi03p] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
}

.dc-panel-inner[b-wwy62oi03p] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* TYPE RADIO SELECTION BAR */
.dc-panel-type-container[b-wwy62oi03p] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    flex-wrap: wrap;
}

.dc-type-label[b-wwy62oi03p] {
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.8px;
    margin-right: 4px;
    text-transform: uppercase;
}

.dc-type-radio-label[b-wwy62oi03p] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    padding: 3px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    user-select: none;
}

.dc-type-radio-label:hover[b-wwy62oi03p] {
    background: #eef2ff;
    color: #4f46e5;
}

.dc-type-radio-label.active[b-wwy62oi03p] {
    background: #4f46e5;
    color: #ffffff;
}

.dc-type-radio-input[b-wwy62oi03p] {
    width: 14px;
    height: 14px;
    accent-color: #4f46e5;
    cursor: pointer;
}

/* PANELS WRAPPER */
.dc-panels-wrapper[b-wwy62oi03p] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 1100px) {
    .dc-panels-wrapper[b-wwy62oi03p] {
        grid-template-columns: 1fr;
    }
}

.dc-panel[b-wwy62oi03p] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dc-panel-row[b-wwy62oi03p] {
    display: flex;
    gap: 8px;
    width: 100%;
    align-items: flex-end;
}

.dc-panel-row.cols-2[b-wwy62oi03p] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

@media (max-width: 640px) {
    .dc-panel-row.cols-2[b-wwy62oi03p] {
        grid-template-columns: 1fr;
    }
}

.dc-form-group[b-wwy62oi03p] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    min-width: 0;
}

.dc-form-group label[b-wwy62oi03p] {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    white-space: nowrap;
}

.dc-input[b-wwy62oi03p] {
    width: 100%;
    height: 28px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0 8px;
    font-size: 11.5px;
    color: #0f172a;
    background-color: #ffffff;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.dc-input:focus[b-wwy62oi03p] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* SELECT INPUT DROPDOWN ARROW FIX */
select.dc-input[b-wwy62oi03p],
.dc-table select[b-wwy62oi03p] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 12px 12px !important;
    padding-right: 28px !important;
    cursor: pointer;
}

.btn-add-profile[b-wwy62oi03p] {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 6px;
    background: #e0e7ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-add-profile:hover[b-wwy62oi03p] {
    background: #4f46e5;
    color: #ffffff;
}

.dept-radio-group[b-wwy62oi03p] {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 28px;
    flex-wrap: wrap;
}

.dept-radio-label[b-wwy62oi03p] {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 11.5px;
    color: #334155;
    font-weight: 600;
    user-select: none;
}

.dept-radio-input[b-wwy62oi03p] {
    width: 14px;
    height: 14px;
    accent-color: #4f46e5;
    cursor: pointer;
}

.dc-input-num[b-wwy62oi03p] {
    width: 65px !important;
    min-width: 65px !important;
    text-align: center;
    font-weight: 700;
    flex-shrink: 0;
}

.btn-copy[b-wwy62oi03p] {
    height: 28px;
    padding: 0 12px;
    font-size: 11.5px;
    white-space: nowrap;
    background: #4f46e5 !important;
    border-radius: 6px;
    color: #ffffff !important;
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-copy:hover[b-wwy62oi03p] {
    background: #4338ca !important;
}

.btn-set[b-wwy62oi03p] {
    height: 28px;
    padding: 0 10px;
    min-width: 44px;
    background-color: #2563eb !important;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 11.5px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-set:hover[b-wwy62oi03p] {
    background-color: #1d4ed8 !important;
}

.btn-set-patient-rates[b-wwy62oi03p] {
    width: 100%;
    height: 28px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    font-weight: 700;
    font-size: 10.5px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-set-patient-rates:hover[b-wwy62oi03p] {
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    transform: translateY(-1px);
}

/* ========== BOTTOM SECTION & TABLE ========== */
.dc-bottom-section[b-wwy62oi03p] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.dc-table-wrapper[b-wwy62oi03p] {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow-x: auto;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    max-height: none;
    background: #ffffff;
}

.dc-table[b-wwy62oi03p] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
}

.dch-table-thead th[b-wwy62oi03p] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 8px;
    border-bottom: 2px solid #cbd5e1;
    white-space: nowrap;
    text-align: left;
}

.dch-table-th-center[b-wwy62oi03p] {
    text-align: center !important;
}

.dch-table-tr[b-wwy62oi03p] {
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f1f5f9;
}

.dch-table-tr:hover[b-wwy62oi03p] {
    background-color: #f8fafc;
}

.dc-table td[b-wwy62oi03p] {
    padding: 3px 8px;
    font-size: 11.5px;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
    white-space: nowrap;
}

.dch-table-td-bold[b-wwy62oi03p] {
    font-weight: 700;
    color: #0f172a;
}

.dch-table-td-center[b-wwy62oi03p] {
    text-align: center;
}

.dc-table-checkbox[b-wwy62oi03p] {
    width: 14px;
    height: 14px;
    accent-color: #4f46e5;
    cursor: pointer;
}

/* FOOTER STATS CARDS */
.dc-footers[b-wwy62oi03p] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .dc-footers[b-wwy62oi03p] {
        grid-template-columns: repeat(2, 1fr);
    }
}

.dc-footer-card[b-wwy62oi03p] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.dc-footer-icon[b-wwy62oi03p] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dc-footer-icon.blue[b-wwy62oi03p] {
    background: #e0e7ff;
    color: #4f46e5;
}

.dc-footer-icon.green[b-wwy62oi03p] {
    background: #dcfce7;
    color: #16a34a;
}

.dc-footer-icon.red[b-wwy62oi03p] {
    background: #fee2e2;
    color: #dc2626;
}

.dc-footer-icon.gray[b-wwy62oi03p] {
    background: #f1f5f9;
    color: #64748b;
}

.dc-footer-info[b-wwy62oi03p] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dch-label[b-wwy62oi03p] {
    font-size: 8.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.dc-footer-info .value[b-wwy62oi03p] {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
}

/* FOOTER ACTIONS BAR */
.dc-footer-actions-bar[b-wwy62oi03p] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding-top: 4px;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.dch-btn-print[b-wwy62oi03p] {
    padding: 0 12px;
    font-size: 11.5px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    cursor: pointer;
    color: #334155;
    font-weight: 700;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dch-btn-print:hover[b-wwy62oi03p] {
    background-color: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

.dc-btn-save[b-wwy62oi03p] {
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
    transition: all 0.2s ease;
}

.dc-btn-save:hover[b-wwy62oi03p] {
    box-shadow: 0 6px 12px -1px rgba(79, 70, 229, 0.3);
}

/* MODAL BACKDROP & DIALOG */
.cm-backdrop[b-wwy62oi03p] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.cm-modal[b-wwy62oi03p] {
    background: #ffffff;
    border-radius: 18px;
    width: 880px;
    max-width: 94vw;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    animation: modalIn-b-wwy62oi03p 0.2s ease-out;
}

@keyframes modalIn-b-wwy62oi03p {
    from { opacity: 0; transform: translateY(-10px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.cm-modal-header[b-wwy62oi03p] {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cm-modal-title[b-wwy62oi03p] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.cm-close-btn[b-wwy62oi03p] {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.cm-close-btn:hover[b-wwy62oi03p] { color: #475569; }

.cm-modal-body[b-wwy62oi03p] {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cm-field-group[b-wwy62oi03p] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cm-label[b-wwy62oi03p] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
}

.cm-input[b-wwy62oi03p] {
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.cm-input:focus[b-wwy62oi03p] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.cm-modal-footer[b-wwy62oi03p] {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cm-btn-cancel[b-wwy62oi03p] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #64748b;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.cm-btn-cancel:hover[b-wwy62oi03p] {
    background: #f1f5f9;
    color: #0f172a;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES (FULL SUPPORT FOR DARK THEME)
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .dch-page-container[b-wwy62oi03p],
[data-theme="dark"] .dch-page-container[b-wwy62oi03p] {
    background-color: #0b0f19 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-wwy62oi03p],
[data-theme="dark"] .lab-header-card[b-wwy62oi03p],
:host-context([data-theme="dark"]) .dc-top-section[b-wwy62oi03p],
[data-theme="dark"] .dc-top-section[b-wwy62oi03p],
:host-context([data-theme="dark"]) .dc-bottom-section[b-wwy62oi03p],
[data-theme="dark"] .dc-bottom-section[b-wwy62oi03p],
:host-context([data-theme="dark"]) .dc-footer-card[b-wwy62oi03p],
[data-theme="dark"] .dc-footer-card[b-wwy62oi03p],
:host-context([data-theme="dark"]) .cm-modal[b-wwy62oi03p],
[data-theme="dark"] .cm-modal[b-wwy62oi03p] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

:host-context([data-theme="dark"]) .header-icon-box[b-wwy62oi03p],
[data-theme="dark"] .header-icon-box[b-wwy62oi03p] {
    background: #0f172a !important;
    color: #818cf8 !important;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.1) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-wwy62oi03p],
:host-context([data-theme="dark"]) .cm-modal-title[b-wwy62oi03p],
:host-context([data-theme="dark"]) .dc-footer-info .value[b-wwy62oi03p],
[data-theme="dark"] .lab-title-text[b-wwy62oi03p],
[data-theme="dark"] .cm-modal-title[b-wwy62oi03p],
[data-theme="dark"] .dc-footer-info .value[b-wwy62oi03p] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-subtitle-text[b-wwy62oi03p],
:host-context([data-theme="dark"]) .dc-type-label[b-wwy62oi03p],
:host-context([data-theme="dark"]) .dc-form-group label[b-wwy62oi03p],
:host-context([data-theme="dark"]) .dch-label[b-wwy62oi03p],
:host-context([data-theme="dark"]) .cm-label[b-wwy62oi03p],
[data-theme="dark"] .lab-subtitle-text[b-wwy62oi03p],
[data-theme="dark"] .dc-type-label[b-wwy62oi03p],
[data-theme="dark"] .dc-form-group label[b-wwy62oi03p],
[data-theme="dark"] .dch-label[b-wwy62oi03p],
[data-theme="dark"] .cm-label[b-wwy62oi03p] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .dc-panel-type-container[b-wwy62oi03p],
[data-theme="dark"] .dc-panel-type-container[b-wwy62oi03p],
:host-context([data-theme="dark"]) .dc-panel[b-wwy62oi03p],
[data-theme="dark"] .dc-panel[b-wwy62oi03p] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .dc-type-radio-label[b-wwy62oi03p],
[data-theme="dark"] .dc-type-radio-label[b-wwy62oi03p] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .dc-type-radio-label:hover[b-wwy62oi03p],
[data-theme="dark"] .dc-type-radio-label:hover[b-wwy62oi03p] {
    background: #1e293b !important;
    color: #818cf8 !important;
}

:host-context([data-theme="dark"]) .dc-type-radio-label.active[b-wwy62oi03p],
[data-theme="dark"] .dc-type-radio-label.active[b-wwy62oi03p] {
    background: #4f46e5 !important;
    color: #ffffff !important;
}

:host-context([data-theme="dark"]) .dc-input[b-wwy62oi03p],
:host-context([data-theme="dark"]) .cm-input[b-wwy62oi03p],
:host-context([data-theme="dark"]) .cm-select[b-wwy62oi03p],
[data-theme="dark"] .dc-input[b-wwy62oi03p],
[data-theme="dark"] .cm-input[b-wwy62oi03p],
[data-theme="dark"] .cm-select[b-wwy62oi03p] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) select.dc-input[b-wwy62oi03p],
[data-theme="dark"] select.dc-input[b-wwy62oi03p],
:host-context([data-theme="dark"]) .dc-table select[b-wwy62oi03p],
[data-theme="dark"] .dc-table select[b-wwy62oi03p] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 12px 12px !important;
}

:host-context([data-theme="dark"]) .dept-radio-label[b-wwy62oi03p],
[data-theme="dark"] .dept-radio-label[b-wwy62oi03p] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .btn-add-profile[b-wwy62oi03p],
[data-theme="dark"] .btn-add-profile[b-wwy62oi03p] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #818cf8 !important;
}

:host-context([data-theme="dark"]) .btn-add-profile:hover[b-wwy62oi03p],
[data-theme="dark"] .btn-add-profile:hover[b-wwy62oi03p] {
    background: #4f46e5 !important;
    color: #ffffff !important;
}

:host-context([data-theme="dark"]) .dc-table-wrapper[b-wwy62oi03p],
[data-theme="dark"] .dc-table-wrapper[b-wwy62oi03p] {
    border-color: #334155 !important;
    background: #1e293b !important;
}

:host-context([data-theme="dark"]) .dch-table-thead th[b-wwy62oi03p],
[data-theme="dark"] .dch-table-thead th[b-wwy62oi03p] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .dch-table-tr[b-wwy62oi03p],
[data-theme="dark"] .dch-table-tr[b-wwy62oi03p] {
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .dc-table td[b-wwy62oi03p],
[data-theme="dark"] .dc-table td[b-wwy62oi03p] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .dch-table-td-bold[b-wwy62oi03p],
[data-theme="dark"] .dch-table-td-bold[b-wwy62oi03p] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .dch-table-tr:hover td[b-wwy62oi03p],
[data-theme="dark"] .dch-table-tr:hover td[b-wwy62oi03p] {
    background-color: #0f172a !important;
}

:host-context([data-theme="dark"]) .dc-table td select[b-wwy62oi03p],
:host-context([data-theme="dark"]) .dc-table td input[type="number"][b-wwy62oi03p],
[data-theme="dark"] .dc-table td select[b-wwy62oi03p],
[data-theme="dark"] .dc-table td input[type="number"][b-wwy62oi03p] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .dc-footer-icon.blue[b-wwy62oi03p],
[data-theme="dark"] .dc-footer-icon.blue[b-wwy62oi03p] {
    background: #1e1b4b !important;
    color: #818cf8 !important;
}

:host-context([data-theme="dark"]) .dc-footer-icon.green[b-wwy62oi03p],
[data-theme="dark"] .dc-footer-icon.green[b-wwy62oi03p] {
    background: #064e3b !important;
    color: #34d399 !important;
}

:host-context([data-theme="dark"]) .dc-footer-icon.red[b-wwy62oi03p],
[data-theme="dark"] .dc-footer-icon.red[b-wwy62oi03p] {
    background: #451a1a !important;
    color: #f87171 !important;
}

:host-context([data-theme="dark"]) .dc-footer-icon.gray[b-wwy62oi03p],
[data-theme="dark"] .dc-footer-icon.gray[b-wwy62oi03p] {
    background: #0f172a !important;
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .dch-btn-print[b-wwy62oi03p],
[data-theme="dark"] .dch-btn-print[b-wwy62oi03p] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .dch-btn-print:hover[b-wwy62oi03p],
[data-theme="dark"] .dch-btn-print:hover[b-wwy62oi03p] {
    background: #1e293b !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .dc-footer-actions-bar[b-wwy62oi03p],
:host-context([data-theme="dark"]) .cm-modal-header[b-wwy62oi03p],
:host-context([data-theme="dark"]) .cm-modal-footer[b-wwy62oi03p],
[data-theme="dark"] .dc-footer-actions-bar[b-wwy62oi03p],
[data-theme="dark"] .cm-modal-header[b-wwy62oi03p],
[data-theme="dark"] .cm-modal-footer[b-wwy62oi03p] {
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .cm-btn-cancel[b-wwy62oi03p],
[data-theme="dark"] .cm-btn-cancel[b-wwy62oi03p] {
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .cm-btn-cancel:hover[b-wwy62oi03p],
[data-theme="dark"] .cm-btn-cancel:hover[b-wwy62oi03p] {
    background: #0f172a !important;
    color: #ffffff !important;
}
/* /Components/Pages/TestMaster.razor.rz.scp.css */
:global(.main-content):has(.tm-list-mode)[b-frf9i7enq5] {
    overflow: hidden !important;
    height: calc(100vh - 34px) !important;
    max-height: calc(100vh - 34px) !important;
    padding: 0 !important;
}

.tm-elite-container[b-frf9i7enq5] {
    padding: 0;
    background: linear-gradient(180deg, #eef4ff 0%, #f6f8fc 100%);
    display: flex;
    flex-direction: column;
    font-family: 'Inter', -apple-system, sans-serif;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    color: #1e293b;
}

.tm-elite-container.tm-list-mode[b-frf9i7enq5] {
    height: calc(100vh - 34px);
    max-height: calc(100vh - 34px);
    overflow: hidden !important;
}

.tm-elite-container.tm-editor-mode[b-frf9i7enq5] {
    min-height: calc(100vh - 34px);
    height: auto;
    overflow-y: auto;
    padding-bottom: 24px;
}

.tm-elite-header[b-frf9i7enq5] {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 6px 14px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    width: calc(100% - 16px);
    max-width: 1720px;
    margin: 6px auto 0;
    box-sizing: border-box;
    flex-shrink: 0;
    position: sticky;
    top: 6px;
    z-index: 100;
}

.tm-elite-content[b-frf9i7enq5] {
    flex: 1;
    padding: 6px 10px 24px;
    display: flex;
    flex-direction: column;
    max-width: 1720px;
    width: calc(100% - 16px);
    margin: 0 auto;
    box-sizing: border-box;
    overflow: visible;
    min-height: auto;
}

/* Custom Sleek Scrollbars */
.tm-elite-container[b-frf9i7enq5]::-webkit-scrollbar,
.tm-subtests-table-container[b-frf9i7enq5]::-webkit-scrollbar,
.tm-normal-values-body[b-frf9i7enq5]::-webkit-scrollbar,
.tm-table-scroll-container[b-frf9i7enq5]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.tm-elite-container[b-frf9i7enq5]::-webkit-scrollbar-track,
.tm-subtests-table-container[b-frf9i7enq5]::-webkit-scrollbar-track,
.tm-normal-values-body[b-frf9i7enq5]::-webkit-scrollbar-track,
.tm-table-scroll-container[b-frf9i7enq5]::-webkit-scrollbar-track {
    background: transparent;
}

.tm-elite-container[b-frf9i7enq5]::-webkit-scrollbar-thumb,
.tm-subtests-table-container[b-frf9i7enq5]::-webkit-scrollbar-thumb,
.tm-normal-values-body[b-frf9i7enq5]::-webkit-scrollbar-thumb,
.tm-table-scroll-container[b-frf9i7enq5]::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.4);
    border-radius: 4px;
}

.tm-elite-container[b-frf9i7enq5]::-webkit-scrollbar-thumb:hover,
.tm-subtests-table-container[b-frf9i7enq5]::-webkit-scrollbar-thumb:hover,
.tm-normal-values-body[b-frf9i7enq5]::-webkit-scrollbar-thumb:hover,
.tm-table-scroll-container[b-frf9i7enq5]::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.7);
}

.tm-top-cards-grid[b-frf9i7enq5] {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 8px;
    margin-bottom: 6px;
    flex-shrink: 0;
}

.tm-compact-card[b-frf9i7enq5] {
    background: #ffffff;
    border-radius: 10px;
    padding: 6px 10px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
}

.tm-card-header[b-frf9i7enq5] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.tm-card-icon[b-frf9i7enq5] {
    background: #eef2ff;
    padding: 2px 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
}

.tm-card-icon i[b-frf9i7enq5] {
    font-size: 14px;
}

.tm-card-title-text[b-frf9i7enq5] {
    font-size: 10px;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tm-form-row[b-frf9i7enq5] {
    display: flex;
    gap: 8px;
}

.tm-form-col[b-frf9i7enq5] {
    display: flex;
    flex-direction: column;
}

.tm-input-group[b-frf9i7enq5] {
    display: flex;
    gap: 4px;
    align-items: center;
}

.tm-icon-btn-blue[b-frf9i7enq5] {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 5px;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.15s ease;
}

.tm-icon-btn-blue:hover[b-frf9i7enq5] {
    background: #4338ca;
    transform: translateY(-1px);
}

.tm-btn-collapse[b-frf9i7enq5] {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
    border-radius: 6px;
    padding: 4px 10px;
    font-weight: 700;
    font-size: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.tm-btn-collapse:hover[b-frf9i7enq5] {
    background: #e0e7ff;
    border-color: #a5b4fc;
}

.bl-age-box[b-frf9i7enq5] {
    height: 25px;
    flex: 1;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #f8fafc;
    padding: 0 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bl-age-input[b-frf9i7enq5] {
    width: 100%;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    outline: none;
}

.bl-age-lbl[b-frf9i7enq5] {
    font-size: 7.5px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    margin-top: -3px;
}

.tm-popup-backdrop[b-frf9i7enq5] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.tm-popup-modal[b-frf9i7enq5] {
    width: min(82vw, 760px);
    max-height: 84vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-popup-card[b-frf9i7enq5] {
    width: 100%;
    max-width: 720px;
    max-height: 84vh;
    overflow-y: auto;
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.tm-popup-close[b-frf9i7enq5] {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(99, 102, 241, 0.18);
    background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%);
    color: #4338ca;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.14);
}

.tm-popup-close:hover[b-frf9i7enq5] {
    background: #e0e7ff;
    transform: translateY(-1px);
}

.tm-input-group[b-frf9i7enq5] {
    display: flex;
    gap: 6px;
    align-items: center;
}

.tm-icon-btn-blue[b-frf9i7enq5] {
    height: 30px;
    width: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
    flex-shrink: 0;
}

.tm-icon-btn-blue:hover[b-frf9i7enq5] {
    background: #4338ca;
}

.tm-icon-btn-blue .material-symbols-outlined[b-frf9i7enq5] {
    font-size: 16px;
}

/* User Requested Footer Styles */
.tm-footer[b-frf9i7enq5] {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 0;
    transform: translateX(-50%);
    width: calc(100% - 120px);
    max-width: 1000px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 12px 24px;
    border-top: none;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: none;
    box-sizing: border-box;
}

.tm-footer-left[b-frf9i7enq5] {
    display: flex;
    align-items: center;
}

.tm-footer-right[b-frf9i7enq5] {
    display: flex;
    gap: 12px;
}

.tm-footer-item[b-frf9i7enq5] {
    display: flex;
    align-items: center;
}

.tm-elite-top-controls[b-frf9i7enq5] {
    background: white;
    padding: 12px 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.tm-elite-grid-top[b-frf9i7enq5] {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.tm-file-upload-container[b-frf9i7enq5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.tm-file-upload[b-frf9i7enq5] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 10px;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    text-align: center;
}

.tm-file-upload:hover[b-frf9i7enq5] {
    background: #f1f5f9;
    border-color: #4f46e5;
    color: #4f46e5;
}

.tm-file-upload.selected[b-frf9i7enq5] {
    background: #ecfdf5;
    border-color: #10b981;
    color: #065f46;
}

.tm-elite-card[b-frf9i7enq5] {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.tm-elite-card-title[b-frf9i7enq5] {
    font-size: 12px;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.tm-elite-form-group[b-frf9i7enq5] {
    margin-bottom: 16px;
}

.tm-elite-label[b-frf9i7enq5] {
    font-size: 9.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 3px;
    display: block;
}

[b-frf9i7enq5] .tm-elite-input {
    width: 100%;
    height: 25px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0 8px;
    font-size: 11px;
    color: #334155;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

[b-frf9i7enq5] select.tm-elite-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23cbd5e1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.4rem center;
    background-size: 0.9rem;
    padding-right: 1.5rem;
    cursor: pointer;
}

[b-frf9i7enq5] textarea.tm-elite-input {
    height: auto;
    min-height: 48px;
    padding: 4px 8px;
    resize: vertical;
}

.tm-elite-checkbox-group[b-frf9i7enq5] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.tm-elite-checkbox-item[b-frf9i7enq5] {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 2px 0;
}

.tm-elite-checkbox-box[b-frf9i7enq5] {
    width: 14px;
    height: 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background: white;
}

.tm-elite-checkbox-item.active .tm-elite-checkbox-box[b-frf9i7enq5] {
    background: #4f46e5;
    border-color: #4f46e5;
}

.tm-elite-checkbox-box i[b-frf9i7enq5] {
    color: white;
    font-size: 11px;
    display: none;
}

.tm-elite-checkbox-item.active .tm-elite-checkbox-box i[b-frf9i7enq5] {
    display: block;
}

.tm-elite-checkbox-label[b-frf9i7enq5] {
    font-size: 9.5px;
    font-weight: 600;
    color: #64748b;
}

.tm-elite-checkbox-item.active .tm-elite-checkbox-label[b-frf9i7enq5] {
    color: #1e293b;
}

[b-frf9i7enq5] .tm-elite-input:focus {
    background: #ffffff;
    border-color: #cbd5e1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(200, 213, 225, 0.15);
}

.tm-elite-red-card[b-frf9i7enq5] {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.tm-elite-red-header[b-frf9i7enq5] {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: white;
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 11px;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    box-sizing: border-box;
}

.tm-elite-red-select[b-frf9i7enq5] {
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    color: #1e293b;
    font-size: 9.5px;
    font-weight: 600;
    padding: 1px 6px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s;
    height: 22px;
}

.tm-elite-red-select option[b-frf9i7enq5] {
    background: white;
    color: #1e293b;
}

.tm-elite-red-select:hover[b-frf9i7enq5] {
    background: #f8fafc;
    border-color: #94a3b8;
}

.tm-elite-tab-row[b-frf9i7enq5] {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    gap: 2px;
}

.tm-elite-tab[b-frf9i7enq5] {
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tm-elite-tab.active[b-frf9i7enq5] {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
    background: white;
}

.tm-elite-table[b-frf9i7enq5] {
    width: 100%;
    border-collapse: collapse;
}

.tm-elite-table th[b-frf9i7enq5] {
    background: #f8fafc;
    color: #475569;
    padding: 8px 10px;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
    letter-spacing: 0.05em;
}

.tm-elite-table td[b-frf9i7enq5] {
    padding: 6px 10px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 11px;
    color: #1e293b;
}

.tm-age-table[b-frf9i7enq5] {
    width: 100%;
    border-collapse: collapse;
}

.tm-age-table th[b-frf9i7enq5] {
    background: #f1f5f9;
    color: #475569;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 5px;
    text-align: left;
    border-bottom: 2px solid #cbd5e1;
    white-space: nowrap;
}

.tm-age-table td[b-frf9i7enq5] {
    padding: 1px 3px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.tm-age-input[b-frf9i7enq5] {
    width: 100%;
    height: 23px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 0 6px;
    font-size: 11px;
    background: #fff;
    min-width: 50px;
    box-sizing: border-box;
}

select.tm-age-input[b-frf9i7enq5] {
    padding-right: 14px;
    min-width: 60px;
}

.tm-elite-sticky-footer[b-frf9i7enq5] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.tm-footer-info[b-frf9i7enq5] {
    display: flex;
    gap: 24px;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

.tm-footer-actions[b-frf9i7enq5] {
    display: flex;
    gap: 12px;
}

.tm-btn-primary[b-frf9i7enq5] {
    background: linear-gradient(135deg, #4f46e5 0%, #5b4ee8 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 9px 18px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.22);
}

.tm-btn-primary:hover[b-frf9i7enq5] {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(79, 70, 229, 0.28);
}

.tm-btn-outline[b-frf9i7enq5] {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #1e293b;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.tm-btn-outline:hover[b-frf9i7enq5] {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.tm-btn-danger[b-frf9i7enq5] {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}

.tm-date-input[b-frf9i7enq5] {
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 600;
}

.tm-search-box[b-frf9i7enq5] {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.tm-search-box input[b-frf9i7enq5] {
    width: 100%;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0 8px 0 32px;
    font-size: 12px;
}

.tm-search-box i[b-frf9i7enq5] {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.tm-top-actions-bar[b-frf9i7enq5] {
    background: white;
    padding: 8px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.tm-actions-pill-row[b-frf9i7enq5] {
    background: #f8fafc;
    padding: 4px 12px;
    border-radius: 100px;
    display: flex;
    gap: 16px;
    align-items: center;
    border: 1px solid #e2e8f0;
}

.tm-action-pill-label[b-frf9i7enq5] {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
}

.tm-action-pill-link[b-frf9i7enq5] {
    font-size: 11px;
    font-weight: 700;
    color: #4f46e5;
    text-decoration: none;
    cursor: pointer;
}

.tm-action-pill-link:hover[b-frf9i7enq5] {
    text-decoration: underline;
}

.tm-user-profile[b-frf9i7enq5] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 16px;
    border-left: 1px solid #e2e8f0;
}

.tm-user-info[b-frf9i7enq5] {
    text-align: right;
}

.tm-user-name[b-frf9i7enq5] {
    font-size: 12px;
    font-weight: 800;
    color: #1e293b;
    display: block;
}

.tm-user-role[b-frf9i7enq5] {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    display: block;
}

.tm-section-header[b-frf9i7enq5] {
    background: white;
    padding: 16px 24px;
    border-radius: 16px 16px 0 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-section-title[b-frf9i7enq5] {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
}

.tm-available-badge[b-frf9i7enq5] {
    font-size: 11px;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
}

.tm-search-wrapper[b-frf9i7enq5] {
    position: relative;
    width: 280px;
}

.tm-search-wrapper input[b-frf9i7enq5] {
    width: 100%;
    height: 36px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 12px 0 36px;
    font-size: 12px;
}

.tm-search-wrapper i[b-frf9i7enq5] {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.cursor-pointer[b-frf9i7enq5] {
    cursor: pointer;
}

.font-18[b-frf9i7enq5] {
    font-size: 18px;
}

.font-20[b-frf9i7enq5] {
    font-size: 20px;
}

.text-indigo-600[b-frf9i7enq5] {
    color: #4f46e5;
}

.text-red-500[b-frf9i7enq5] {
    color: #ef4444;
}

.display-flex[b-frf9i7enq5] {
    display: flex;
}

.align-center[b-frf9i7enq5] {
    align-items: center;
}

.justify-between[b-frf9i7enq5] {
    justify-content: space-between;
}

.gap-8[b-frf9i7enq5] {
    gap: 8px;
}

.gap-12[b-frf9i7enq5] {
    gap: 12px;
}

.gap-16[b-frf9i7enq5] {
    gap: 16px;
}

.flex-1[b-frf9i7enq5] {
    flex: 1;
}

.mt-16[b-frf9i7enq5] {
    margin-top: 16px;
}

.mb-16[b-frf9i7enq5] {
    margin-bottom: 16px;
}

.w-100[b-frf9i7enq5] {
    width: 100%;
}

.tm-modal-overlay[b-frf9i7enq5] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.tm-modal-content[b-frf9i7enq5] {
    background: white;
    border-radius: 16px;
    padding: 24px;
    max-width: 1200px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.tm-modal-header[b-frf9i7enq5] {
    font-size: 18px;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-modal-close[b-frf9i7enq5] {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #94a3b8;
}

.tm-modal-table[b-frf9i7enq5] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.tm-modal-table th[b-frf9i7enq5] {
    background: #f8fafc;
    padding: 10px 12px;
    text-align: left;
    font-weight: 700;
    color: #64748b;
    border-bottom: 2px solid #e2e8f0;
}

.tm-modal-table td[b-frf9i7enq5] {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
}

.tm-modal-row-action[b-frf9i7enq5] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    color: #4f46e5;
    transition: all 0.2s;
}

.tm-modal-row-action:hover[b-frf9i7enq5] {
    background: #f5f3ff;
    border-color: #4f46e5;
}

.tm-param-table[b-frf9i7enq5] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.tm-param-table th[b-frf9i7enq5] {
    background: #f8fafc;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 10px 12px;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.tm-param-table th:first-child[b-frf9i7enq5] {
    text-align: center;
}

.tm-param-row[b-frf9i7enq5] {
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid #f1f5f9;
    display: table-row !important;
}

.tm-param-row:hover[b-frf9i7enq5] {
    background: #f8fafc;
}

.tm-param-row.active[b-frf9i7enq5] {
    background: #f1f3fe;
}

.tm-param-row.active td[b-frf9i7enq5] {
    background: #f1f3fe;
}

.tm-param-row td[b-frf9i7enq5] {
    padding: 6px 10px;
    vertical-align: middle;
    height: 36px;
}

.tm-param-sno[b-frf9i7enq5] {
    text-align: center;
    font-weight: 700;
    color: #64748b;
    font-size: 12px;
}

.tm-param-row.active .tm-param-sno[b-frf9i7enq5] {
    color: #4f46e5;
}

.tm-param-row.active td:first-child[b-frf9i7enq5] {
    border-left: 4px solid #4f46e5;
}

.tm-param-type[b-frf9i7enq5] {
    font-size: 9px;
    color: #475569;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tm-param-unit[b-frf9i7enq5] {
    font-size: 8px;
    color: #94a3b8;
    font-weight: 600;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tm-inline-input[b-frf9i7enq5] {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 4px 8px;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.15s ease-in-out;
}

.tm-inline-input:hover[b-frf9i7enq5] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.tm-inline-input:focus[b-frf9i7enq5] {
    background: white;
    border-color: #4f46e5;
    outline: none;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

/* Hide number input spinners */
.tm-inline-input[b-frf9i7enq5]::-webkit-outer-spin-button,
.tm-inline-input[b-frf9i7enq5]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tm-inline-input[type=number][b-frf9i7enq5] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.text-right[b-frf9i7enq5] {
    text-align: right;
}

@keyframes tm-spin-b-frf9i7enq5 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.tm-spin-animate[b-frf9i7enq5] {
    animation: tm-spin-b-frf9i7enq5 1s linear infinite;
    display: inline-block;
}

.tm-action-btn[b-frf9i7enq5] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.tm-action-btn:hover[b-frf9i7enq5] {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.tm-action-btn.delete:hover[b-frf9i7enq5] {
    background: #fef2f2;
    border-color: #fca5a5;
}

/* ============================================================
   DIRECTORY LIST VIEW AND STYLED TABLES
   ============================================================ */
.referral-page[b-frf9i7enq5] {
    padding: 14px 20px 10px;
    background-color: #f8fafc;
    height: 100%;
    max-height: 100%;
    flex: 1;
    min-height: 0;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Lab header card */
.lab-header-card[b-frf9i7enq5] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.18) !important;
    box-shadow: 0 4px 14px -2px rgba(79, 70, 229, 0.1), 0 2px 6px -1px rgba(0, 0, 0, 0.04) !important;
    padding: 0.9rem 1.4rem !important;
    border-radius: 0.85rem !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.lab-title-text[b-frf9i7enq5] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.01em;
}

.bg-indigo-50[b-frf9i7enq5] {
    background-color: #eef2ff;
    border: 1px solid #c7d2fe;
}

.text-indigo-600[b-frf9i7enq5] {
    color: #4f46e5;
}

.icon-lg[b-frf9i7enq5] {
    font-size: 24px;
}

.status-pulse-dot[b-frf9i7enq5] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-frf9i7enq5 2s infinite;
}

@keyframes lc-pulse-b-frf9i7enq5 {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.status-text[b-frf9i7enq5] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-frf9i7enq5] {
    z-index: 2;
}

.btn-new-entry[b-frf9i7enq5] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    transition: all 0.2s ease;
    height: 36px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-new-entry:hover[b-frf9i7enq5] {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

/* Directory Section & Directory Table */
.directory-section[b-frf9i7enq5] {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.table-wrapper[b-frf9i7enq5] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.table-wrapper[b-frf9i7enq5]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.table-wrapper[b-frf9i7enq5]::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.table-wrapper[b-frf9i7enq5]::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.5);
    border-radius: 4px;
}

.table-wrapper[b-frf9i7enq5]::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.8);
}

.directory-table[b-frf9i7enq5] {
    width: 100%;
    min-width: 1080px;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    table-layout: fixed;
}

.directory-table thead[b-frf9i7enq5] {
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Explicit Table Column Sizing */
.tm-col-sr[b-frf9i7enq5] {
    width: 58px;
    text-align: center;
}

.tm-col-code[b-frf9i7enq5] {
    width: 90px;
    text-align: center;
}

.tm-col-order[b-frf9i7enq5] {
    width: 72px;
    text-align: center;
}

.tm-col-short[b-frf9i7enq5] {
    width: 95px;
}

.tm-col-name[b-frf9i7enq5] {
    min-width: 320px;
    width: auto;
}

.tm-col-dept[b-frf9i7enq5] {
    width: 135px;
}

.tm-col-group[b-frf9i7enq5] {
    width: 145px;
}

.tm-col-amount[b-frf9i7enq5] {
    width: 95px;
    text-align: right;
}

.tm-col-actions[b-frf9i7enq5] {
    width: 85px;
    text-align: center;
}

.directory-table th[b-frf9i7enq5] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 50%, #6366f1 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 12px 14px;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    vertical-align: middle;
    white-space: nowrap;
}

.directory-table th:last-child[b-frf9i7enq5] {
    border-right: none;
}

.directory-table td[b-frf9i7enq5] {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    color: #334155;
    vertical-align: middle;
}

.directory-table tbody tr[b-frf9i7enq5] {
    transition: background-color 0.15s ease;
}

.directory-table tbody tr:hover[b-frf9i7enq5] {
    background: #f1f5f9;
}

.directory-table tbody tr:nth-child(even)[b-frf9i7enq5] {
    background: #fbfcfe;
}

.directory-table tbody tr:nth-child(even):hover[b-frf9i7enq5] {
    background: #eef2ff;
}

.td-order-no[b-frf9i7enq5] {
    color: #4338ca;
    font-weight: 800;
    font-size: 11.5px;
    background: #eef2ff;
    padding: 3px 6px;
    border-radius: 6px;
    display: inline-block;
    min-width: 24px;
    text-align: center;
    border: 1px solid #e0e7ff;
}

.tm-code-pill[b-frf9i7enq5] {
    color: #4f46e5;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.02em;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    background: #f8fafc;
    padding: 3px 7px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    display: inline-block;
}

/* Cell Elements & Test Name Layout */
.tm-test-name-cell[b-frf9i7enq5] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.tm-cell-ellipsis[b-frf9i7enq5] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tm-dept-badge[b-frf9i7enq5] {
    display: inline-block;
    max-width: 100%;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
}

.tm-dept-badge.tm-dept-empty[b-frf9i7enq5] {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-style: italic;
    padding: 0;
}

.tm-group-name-text[b-frf9i7enq5] {
    display: block;
    max-width: 100%;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Specific Inline Inputs */
.tm-order-input[b-frf9i7enq5] {
    font-weight: 700;
    text-align: center;
}

.tm-shortname-input[b-frf9i7enq5] {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

.tm-test-name-input[b-frf9i7enq5] {
    font-weight: 700;
    font-size: 13px;
    color: #0f172a;
    min-width: 160px;
    letter-spacing: -0.01em;
}

.tm-amount-input[b-frf9i7enq5] {
    font-weight: 800;
    color: #0f172a;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Action Buttons inside Directory Table */
.tm-actions-cell[b-frf9i7enq5] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.btn-action[b-frf9i7enq5] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    color: #64748b;
    font-size: 13px;
    padding: 5px 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.btn-action:hover[b-frf9i7enq5] {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.btn-edit:hover[b-frf9i7enq5] {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4f46e5;
}

.btn-delete-action:hover[b-frf9i7enq5] {
    background: #fef2f2;
    border-color: #fecdd3;
    color: #ef4444;
}

/* Header search input default styles */
.tm-header-search-input[b-frf9i7enq5] {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #1e293b;
    transition: all 0.2s ease;
}

.tm-header-search-input:focus[b-frf9i7enq5] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* ==========================================================================
   DARK MODE OVERRIDES FOR TEST MASTER
   ========================================================================== */

:host-context([data-theme="dark"]) .tm-elite-container[b-frf9i7enq5],
[data-theme="dark"] .tm-elite-container[b-frf9i7enq5] {
    background: #090d16 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-frf9i7enq5],
[data-theme="dark"] .lab-header-card[b-frf9i7enq5] {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-frf9i7enq5],
[data-theme="dark"] .lab-title-text[b-frf9i7enq5] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .tm-header-search-input[b-frf9i7enq5],
[data-theme="dark"] .tm-header-search-input[b-frf9i7enq5] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .tm-footer[b-frf9i7enq5],
[data-theme="dark"] .tm-footer[b-frf9i7enq5] {
    background: #0f172a !important;
    border-top: 1px solid #334155 !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4) !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .tm-footer-label[b-frf9i7enq5],
[data-theme="dark"] .tm-footer-label[b-frf9i7enq5] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .tm-footer-value[b-frf9i7enq5],
[data-theme="dark"] .tm-footer-value[b-frf9i7enq5] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .directory-section[b-frf9i7enq5],
[data-theme="dark"] .directory-section[b-frf9i7enq5] {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .directory-table th[b-frf9i7enq5],
[data-theme="dark"] .directory-table th[b-frf9i7enq5] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-bottom: 2px solid #334155 !important;
    border-right: 1px solid #1e293b !important;
}

:host-context([data-theme="dark"]) .table-pagination-footer[b-frf9i7enq5],
[data-theme="dark"] .table-pagination-footer[b-frf9i7enq5] {
    background: #1e293b !important;
    border-top: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .table-wrapper[b-frf9i7enq5]::-webkit-scrollbar-track,
[data-theme="dark"] .table-wrapper[b-frf9i7enq5]::-webkit-scrollbar-track {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .table-wrapper[b-frf9i7enq5]::-webkit-scrollbar-thumb,
[data-theme="dark"] .table-wrapper[b-frf9i7enq5]::-webkit-scrollbar-thumb {
    background: #334155 !important;
}

:host-context([data-theme="dark"]) .directory-table td[b-frf9i7enq5],
[data-theme="dark"] .directory-table td[b-frf9i7enq5] {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border-bottom: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .directory-table tbody tr:nth-child(even)[b-frf9i7enq5],
[data-theme="dark"] .directory-table tbody tr:nth-child(even)[b-frf9i7enq5] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .directory-table tbody tr:nth-child(odd)[b-frf9i7enq5],
[data-theme="dark"] .directory-table tbody tr:nth-child(odd)[b-frf9i7enq5] {
    background: #1e293b !important;
}

:host-context([data-theme="dark"]) .directory-table tbody tr:hover[b-frf9i7enq5],
[data-theme="dark"] .directory-table tbody tr:hover[b-frf9i7enq5] {
    background: #334155 !important;
}

:host-context([data-theme="dark"]) .td-order-no[b-frf9i7enq5],
[data-theme="dark"] .td-order-no[b-frf9i7enq5] {
    background: #312e81 !important;
    color: #a5b4fc !important;
    border-color: #4338ca !important;
}

:host-context([data-theme="dark"]) .tm-code-pill[b-frf9i7enq5],
[data-theme="dark"] .tm-code-pill[b-frf9i7enq5] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .tm-inline-input[b-frf9i7enq5],
[data-theme="dark"] .tm-inline-input[b-frf9i7enq5] {
    background: transparent !important;
    border-color: transparent !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .tm-inline-input:hover[b-frf9i7enq5],
[data-theme="dark"] .tm-inline-input:hover[b-frf9i7enq5] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .tm-inline-input:focus[b-frf9i7enq5],
[data-theme="dark"] .tm-inline-input:focus[b-frf9i7enq5] {
    background: #0f172a !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;
}

:host-context([data-theme="dark"]) .tm-test-name-input[b-frf9i7enq5],
[data-theme="dark"] .tm-test-name-input[b-frf9i7enq5] {
    color: #ffffff !important;
}

:host-context([data-theme="dark"]) .tm-dept-badge[b-frf9i7enq5],
[data-theme="dark"] .tm-dept-badge[b-frf9i7enq5] {
    background: #0f172a !important;
    color: #94a3b8 !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .tm-group-name-text[b-frf9i7enq5],
[data-theme="dark"] .tm-group-name-text[b-frf9i7enq5] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .btn-action[b-frf9i7enq5],
[data-theme="dark"] .btn-action[b-frf9i7enq5] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .btn-edit:hover[b-frf9i7enq5],
[data-theme="dark"] .btn-edit:hover[b-frf9i7enq5] {
    background: #312e81 !important;
    border-color: #4f46e5 !important;
    color: #a5b4fc !important;
}

:host-context([data-theme="dark"]) .btn-delete-action:hover[b-frf9i7enq5],
[data-theme="dark"] .btn-delete-action:hover[b-frf9i7enq5] {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: #ef4444 !important;
    color: #fca5a5 !important;
}

/* Editor View Dark Mode Overrides */
:host-context([data-theme="dark"]) .tm-elite-header[b-frf9i7enq5],
[data-theme="dark"] .tm-elite-header[b-frf9i7enq5] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .tm-compact-card[b-frf9i7enq5],
[data-theme="dark"] .tm-compact-card[b-frf9i7enq5],
:host-context([data-theme="dark"]) .tm-elite-card[b-frf9i7enq5],
[data-theme="dark"] .tm-elite-card[b-frf9i7enq5] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .tm-card-title-text[b-frf9i7enq5],
[data-theme="dark"] .tm-card-title-text[b-frf9i7enq5] {
    color: #818cf8 !important;
}

:host-context([data-theme="dark"]) .tm-card-icon[b-frf9i7enq5],
[data-theme="dark"] .tm-card-icon[b-frf9i7enq5] {
    background: #312e81 !important;
    color: #818cf8 !important;
}

:host-context([data-theme="dark"]) .tm-elite-label[b-frf9i7enq5],
[data-theme="dark"] .tm-elite-label[b-frf9i7enq5] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .tm-elite-input[b-frf9i7enq5],
[data-theme="dark"] .tm-elite-input[b-frf9i7enq5],
:host-context([data-theme="dark"]) select.tm-elite-input[b-frf9i7enq5],
[data-theme="dark"] select.tm-elite-input[b-frf9i7enq5],
:host-context([data-theme="dark"]) textarea.tm-elite-input[b-frf9i7enq5],
[data-theme="dark"] textarea.tm-elite-input[b-frf9i7enq5] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) select.tm-elite-input option[b-frf9i7enq5],
[data-theme="dark"] select.tm-elite-input option[b-frf9i7enq5],
:host-context([data-theme="dark"]) select.tm-elite-red-select option[b-frf9i7enq5],
[data-theme="dark"] select.tm-elite-red-select option[b-frf9i7enq5] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .tm-btn-outline[b-frf9i7enq5],
[data-theme="dark"] .tm-btn-outline[b-frf9i7enq5] {
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .tm-btn-collapse[b-frf9i7enq5],
[data-theme="dark"] .tm-btn-collapse[b-frf9i7enq5] {
    background: #312e81 !important;
    color: #c7d2fe !important;
    border-color: #4338ca !important;
}

:host-context([data-theme="dark"]) .bl-age-box[b-frf9i7enq5],
[data-theme="dark"] .bl-age-box[b-frf9i7enq5] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .bl-age-input[b-frf9i7enq5],
[data-theme="dark"] .bl-age-input[b-frf9i7enq5] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .bl-age-lbl[b-frf9i7enq5],
[data-theme="dark"] .bl-age-lbl[b-frf9i7enq5] {
    color: #64748b !important;
}

:host-context([data-theme="dark"]) .tm-elite-checkbox-box[b-frf9i7enq5],
[data-theme="dark"] .tm-elite-checkbox-box[b-frf9i7enq5] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .tm-elite-checkbox-label[b-frf9i7enq5],
[data-theme="dark"] .tm-elite-checkbox-label[b-frf9i7enq5] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .tm-elite-checkbox-item.active .tm-elite-checkbox-label[b-frf9i7enq5],
[data-theme="dark"] .tm-elite-checkbox-item.active .tm-elite-checkbox-label[b-frf9i7enq5] {
    color: #38bdf8 !important;
}

/* Sub Tests Column */
:host-context([data-theme="dark"]) .tm-param-table th[b-frf9i7enq5],
[data-theme="dark"] .tm-param-table th[b-frf9i7enq5] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-bottom: 2px solid #334155 !important;
}

:host-context([data-theme="dark"]) .tm-param-table td[b-frf9i7enq5],
[data-theme="dark"] .tm-param-table td[b-frf9i7enq5] {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-bottom: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .tm-param-row:hover td[b-frf9i7enq5],
[data-theme="dark"] .tm-param-row:hover td[b-frf9i7enq5] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .tm-param-row.active td[b-frf9i7enq5],
[data-theme="dark"] .tm-param-row.active td[b-frf9i7enq5] {
    background: #1e3a8a !important;
}

:host-context([data-theme="dark"]) .tm-param-sno[b-frf9i7enq5],
[data-theme="dark"] .tm-param-sno[b-frf9i7enq5] {
    color: #cbd5e1 !important;
}

/* Normal Values Red Card */
:host-context([data-theme="dark"]) .tm-elite-red-card[b-frf9i7enq5],
[data-theme="dark"] .tm-elite-red-card[b-frf9i7enq5] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .tm-elite-red-header[b-frf9i7enq5],
[data-theme="dark"] .tm-elite-red-header[b-frf9i7enq5] {
    background: linear-gradient(135deg, #312e81 0%, #1e1b4b 100%) !important;
}

:host-context([data-theme="dark"]) .tm-elite-red-select[b-frf9i7enq5],
[data-theme="dark"] .tm-elite-red-select[b-frf9i7enq5] {
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .tm-elite-tab-row[b-frf9i7enq5],
[data-theme="dark"] .tm-elite-tab-row[b-frf9i7enq5] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .tm-elite-tab[b-frf9i7enq5],
[data-theme="dark"] .tm-elite-tab[b-frf9i7enq5] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .tm-elite-tab.active[b-frf9i7enq5],
[data-theme="dark"] .tm-elite-tab.active[b-frf9i7enq5] {
    color: #38bdf8 !important;
    background: #1e293b !important;
    border-bottom-color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .normal-values-body[b-frf9i7enq5],
[data-theme="dark"] .normal-values-body[b-frf9i7enq5] {
    background: #1e293b !important;
}

:host-context([data-theme="dark"]) .tm-age-table th[b-frf9i7enq5],
[data-theme="dark"] .tm-age-table th[b-frf9i7enq5] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-bottom: 2px solid #334155 !important;
}

:host-context([data-theme="dark"]) .tm-age-table td[b-frf9i7enq5],
[data-theme="dark"] .tm-age-table td[b-frf9i7enq5] {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-bottom: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .tm-age-input[b-frf9i7enq5],
[data-theme="dark"] .tm-age-input[b-frf9i7enq5] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .tm-calc-box[b-frf9i7enq5],
[data-theme="dark"] .tm-calc-box[b-frf9i7enq5],
:host-context([data-theme="dark"]) .tm-range-box[b-frf9i7enq5],
[data-theme="dark"] .tm-range-box[b-frf9i7enq5] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .tm-section-title[b-frf9i7enq5],
[data-theme="dark"] .tm-section-title[b-frf9i7enq5] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .tm-rte-wrapper[b-frf9i7enq5],
[data-theme="dark"] .tm-rte-wrapper[b-frf9i7enq5] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

.tm-specimen-pill[b-frf9i7enq5] {
    background: #fff1f2;
    color: #e11d48;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
    display: inline-block;
}

:host-context([data-theme="dark"]) .tm-specimen-pill[b-frf9i7enq5],
[data-theme="dark"] .tm-specimen-pill[b-frf9i7enq5] {
    background: rgba(225, 29, 72, 0.2) !important;
    color: #fecdd3 !important;
    border: 1px solid rgba(225, 29, 72, 0.4) !important;
}
/* Master dashboard theme */
:global(.main-content):has(.tm-elite-container)[b-frf9i7enq5] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.tm-elite-container[b-frf9i7enq5] { background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.tm-elite-container .referral-page[b-frf9i7enq5] { height: calc(100vh - 1.5rem) !important; min-height: 0 !important; padding: 0 !important; gap: .6rem !important; background: transparent !important; }
.tm-elite-container .lab-header-card[b-frf9i7enq5] { flex: 0 0 78px !important; padding: .15rem 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.tm-elite-container .icon-box-container[b-frf9i7enq5] { background: #e4f4ff !important; }
.tm-elite-container .text-indigo-600[b-frf9i7enq5] { color: #0876ad !important; }
.tm-elite-container .lab-title-text[b-frf9i7enq5] { color: #07547c !important; font-size: 1.85rem !important; font-weight: 800 !important; }
.tm-elite-container .status-text[b-frf9i7enq5] { color: #647b90 !important; font-size: .78rem !important; text-transform: none !important; letter-spacing: 0 !important; }
.tm-header-search-input[b-frf9i7enq5] { width: 280px !important; height: 40px !important; box-sizing: border-box !important; border: 1px solid #cbd9e8 !important; border-radius: 10px !important; }
.tm-elite-container .btn-new-entry[b-frf9i7enq5] { height: 40px !important; border-radius: 10px !important; background: #087bb5 !important; }
.tm-elite-container .directory-section[b-frf9i7enq5] { flex: 1 1 auto !important; min-height: 0 !important; margin: 0 !important; border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; background: #fff !important; }
.tm-elite-container .table-wrapper[b-frf9i7enq5] { max-height: none !important; overflow: auto !important; }
.tm-elite-container .directory-table thead tr[b-frf9i7enq5] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.tm-elite-container .directory-table th[b-frf9i7enq5] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.tm-elite-container .directory-table td[b-frf9i7enq5] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.tm-elite-container .directory-table tbody tr[b-frf9i7enq5] { height: 44px !important; background: #fff !important; }
.tm-elite-container .directory-table tbody tr:nth-child(even)[b-frf9i7enq5] { background: #f8fbfe !important; }
.tm-elite-container .directory-table tbody tr:hover[b-frf9i7enq5] { background: #f0f8ff !important; }
/* /Components/Pages/TestTypeMaster.razor.rz.scp.css */
.referral-page[b-k7kzdwnata] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-k7kzdwnata] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-k7kzdwnata] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-k7kzdwnata] {
    display: flex;
}

.align-center[b-k7kzdwnata] {
    align-items: center;
}

.flex-center[b-k7kzdwnata] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-k7kzdwnata] {
    gap: 8px;
}

.gap-12[b-k7kzdwnata] {
    gap: 12px;
}

.gap-16[b-k7kzdwnata] {
    gap: 16px;
}

.p-2[b-k7kzdwnata] {
    padding: 8px;
}

.p-4[b-k7kzdwnata] {
    padding: 16px;
}

.p-48[b-k7kzdwnata] {
    padding: 48px;
}

.rounded-lg[b-k7kzdwnata] {
    border-radius: 8px;
}

.shadow-sm[b-k7kzdwnata] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-k7kzdwnata] {
    margin: 0;
}

.mt-2px[b-k7kzdwnata] {
    margin-top: 2px;
}

.mb-0[b-k7kzdwnata] {
    margin-bottom: 0;
}

.mt-0[b-k7kzdwnata] {
    margin-top: 0;
}

.relative-positioned[b-k7kzdwnata] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-k7kzdwnata] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04);
    padding: 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
}

.lab-title-text[b-k7kzdwnata] {
    color: #312e81;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-k7kzdwnata] {
    background-color: #eef2ff;
}

.text-indigo-600[b-k7kzdwnata] {
    color: #4f46e5;
}

.icon-lg[b-k7kzdwnata] {
    font-size: 24px;
}

.status-pulse-dot[b-k7kzdwnata] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-k7kzdwnata 2s infinite;
}

.status-text[b-k7kzdwnata] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-k7kzdwnata] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-k7kzdwnata] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-k7kzdwnata] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-k7kzdwnata] {
    width: 220px;
}

.btn-new-entry[b-k7kzdwnata] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-k7kzdwnata] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-k7kzdwnata] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.lc-table-container[b-k7kzdwnata] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-k7kzdwnata] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-k7kzdwnata] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-k7kzdwnata] {
    padding: 1rem 1.5rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lc-table td[b-k7kzdwnata] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    vertical-align: middle;
}

.lc-table tbody tr:last-child td[b-k7kzdwnata] {
    border-bottom: none;
}

.lc-table-row:hover[b-k7kzdwnata] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-k7kzdwnata] {
    font-weight: 700;
}

.text-indigo-600[b-k7kzdwnata] {
    color: #4f46e5;
}

.lc-color-slate-500[b-k7kzdwnata] {
    color: #64748b;
}

.lc-font-mono[b-k7kzdwnata] {
    font-family: monospace;
}

.lc-font-700[b-k7kzdwnata] {
    font-weight: 700;
}

.lc-font-13[b-k7kzdwnata] {
    font-size: 13px;
}

.text-slate-800[b-k7kzdwnata] {
    color: #1e293b;
}

.text-slate-500[b-k7kzdwnata] {
    color: #64748b;
}

.text-slate-400[b-k7kzdwnata] {
    color: #94a3b8;
}

.font-12[b-k7kzdwnata] {
    font-size: 12px;
}

.font-18[b-k7kzdwnata] {
    font-size: 18px;
}

.italic[b-k7kzdwnata] {
    font-style: italic;
}

/* Action buttons */
.lc-btn[b-k7kzdwnata] {
    padding: 8px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-k7kzdwnata] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-k7kzdwnata] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-k7kzdwnata] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-k7kzdwnata] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-k7kzdwnata] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-k7kzdwnata 0.3s ease-out;
}

.modal-header-bar[b-k7kzdwnata] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-k7kzdwnata] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-k7kzdwnata] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-k7kzdwnata] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-k7kzdwnata] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-section[b-k7kzdwnata] {
    margin-bottom: 0;
}

.form-group[b-k7kzdwnata] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-k7kzdwnata] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[b-k7kzdwnata] .lab-input {
    width: 100%;
    height: 2.5rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: #334155;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

[b-k7kzdwnata] select.lab-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23cbd5e1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

[b-k7kzdwnata] textarea.lab-input {
    height: auto;
    min-height: 80px;
    padding: 10px 16px;
    resize: vertical;
}

[b-k7kzdwnata] .lab-input:focus {
    background-color: #ffffff;
    border-color: #cbd5e1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(200, 213, 225, 0.15);
}

.um-grid-row[b-k7kzdwnata] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.um-grid-cols-2[b-k7kzdwnata] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.modal-footer-bar[b-k7kzdwnata] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-k7kzdwnata] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-k7kzdwnata] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-k7kzdwnata] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-delete[b-k7kzdwnata] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.btn-delete:hover:not(:disabled)[b-k7kzdwnata] {
    text-decoration: underline;
}

.btn-delete:disabled[b-k7kzdwnata] {
    opacity: 0.4;
    cursor: not-allowed;
}

.text-danger[b-k7kzdwnata] {
    color: #ef4444;
}

.alert[b-k7kzdwnata] {
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
}

.alert-danger[b-k7kzdwnata] {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success[b-k7kzdwnata] {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

/* Animations */
@keyframes lc-pulse-b-k7kzdwnata {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-k7kzdwnata] {
    animation: lc-fadeInUp-b-k7kzdwnata 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-k7kzdwnata {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   DARK MODE OVERRIDES FOR TEST TYPE MASTER
   ========================================================================== */

:host-context([data-theme="dark"]) .referral-page[b-k7kzdwnata],
[data-theme="dark"] .referral-page[b-k7kzdwnata] {
    background-color: #090d16 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-k7kzdwnata],
[data-theme="dark"] .lab-header-card[b-k7kzdwnata] {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-k7kzdwnata],
[data-theme="dark"] .lab-title-text[b-k7kzdwnata] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .bg-indigo-50[b-k7kzdwnata],
[data-theme="dark"] .bg-indigo-50[b-k7kzdwnata] {
    background-color: #0f172a !important;
}

:host-context([data-theme="dark"]) .status-text[b-k7kzdwnata],
[data-theme="dark"] .status-text[b-k7kzdwnata] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input[b-k7kzdwnata],
[data-theme="dark"] .lc-rounded-pill-input[b-k7kzdwnata] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input:focus[b-k7kzdwnata],
[data-theme="dark"] .lc-rounded-pill-input:focus[b-k7kzdwnata] {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
}

:host-context([data-theme="dark"]) .directory-section[b-k7kzdwnata],
[data-theme="dark"] .directory-section[b-k7kzdwnata] {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table thead tr[b-k7kzdwnata],
[data-theme="dark"] .lc-table thead tr[b-k7kzdwnata] {
    background: #0f172a !important;
    border-bottom: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table th[b-k7kzdwnata],
[data-theme="dark"] .lc-table th[b-k7kzdwnata] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-table td[b-k7kzdwnata],
[data-theme="dark"] .lc-table td[b-k7kzdwnata] {
    border-bottom: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .text-slate-800[b-k7kzdwnata],
[data-theme="dark"] .text-slate-800[b-k7kzdwnata] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .text-slate-500[b-k7kzdwnata],
[data-theme="dark"] .text-slate-500[b-k7kzdwnata],
:host-context([data-theme="dark"]) .lc-color-slate-500[b-k7kzdwnata],
[data-theme="dark"] .lc-color-slate-500[b-k7kzdwnata] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .text-slate-400[b-k7kzdwnata],
[data-theme="dark"] .text-slate-400[b-k7kzdwnata] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lc-table-row:hover[b-k7kzdwnata],
[data-theme="dark"] .lc-table-row:hover[b-k7kzdwnata] {
    background: #334155 !important;
}

:host-context([data-theme="dark"]) .lc-btn[b-k7kzdwnata],
[data-theme="dark"] .lc-btn[b-k7kzdwnata] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .lc-btn:hover[b-k7kzdwnata],
[data-theme="dark"] .lc-btn:hover[b-k7kzdwnata] {
    background: #334155 !important;
    border-color: #475569 !important;
}

/* Modal Dark Mode */
:host-context([data-theme="dark"]) .modal-form-card[b-k7kzdwnata],
[data-theme="dark"] .modal-form-card[b-k7kzdwnata] {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.7) !important;
}

:host-context([data-theme="dark"]) .modal-header-bar[b-k7kzdwnata],
[data-theme="dark"] .modal-header-bar[b-k7kzdwnata] {
    background-color: #1e293b !important;
    border-bottom: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header-bar h3[b-k7kzdwnata],
[data-theme="dark"] .modal-header-bar h3[b-k7kzdwnata] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-body[b-k7kzdwnata],
[data-theme="dark"] .modal-body[b-k7kzdwnata] {
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .modal-footer-bar[b-k7kzdwnata],
[data-theme="dark"] .modal-footer-bar[b-k7kzdwnata] {
    background-color: #0f172a !important;
    border-top: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .form-group label[b-k7kzdwnata],
[data-theme="dark"] .form-group label[b-k7kzdwnata] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"])[b-k7kzdwnata]  .lab-input,
[data-theme="dark"][b-k7kzdwnata]  .lab-input,
:host-context([data-theme="dark"]) .lab-input[b-k7kzdwnata],
[data-theme="dark"] .lab-input[b-k7kzdwnata] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"])[b-k7kzdwnata]  .lab-input:focus,
[data-theme="dark"][b-k7kzdwnata]  .lab-input:focus,
:host-context([data-theme="dark"]) .lab-input:focus[b-k7kzdwnata],
[data-theme="dark"] .lab-input:focus[b-k7kzdwnata] {
    background-color: #1e293b !important;
    border-color: #6366f1 !important;
}
/* Master dashboard theme */
:global(.main-content):has(.referral-page)[b-k7kzdwnata] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.referral-page[b-k7kzdwnata] { height: calc(100vh - 1.5rem) !important; min-height: 0 !important; padding: 0 !important; gap: .6rem !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.lab-header-card[b-k7kzdwnata] { flex: 0 0 78px !important; padding: .15rem 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.icon-box-container[b-k7kzdwnata] { background: #e4f4ff !important; }
.text-indigo-600[b-k7kzdwnata] { color: #0876ad !important; }
.lab-title-text[b-k7kzdwnata] { color: #07547c !important; font-size: 1.85rem !important; font-weight: 800 !important; }
.status-text[b-k7kzdwnata] { color: #647b90 !important; font-size: .78rem !important; text-transform: none !important; letter-spacing: 0 !important; }
.lc-rounded-pill-input[b-k7kzdwnata] { width: 280px !important; height: 40px !important; border-radius: 10px !important; border-color: #cbd9e8 !important; }
.btn-new-entry[b-k7kzdwnata] { height: 40px !important; padding: 0 1.15rem !important; border-radius: 10px !important; background: #087bb5 !important; }
.directory-section[b-k7kzdwnata] { flex: 1 1 auto !important; min-height: 0 !important; margin: 0 !important; border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; background: #fff !important; }
.lc-table-container[b-k7kzdwnata] { max-height: none !important; overflow: auto !important; }
.lc-table thead tr[b-k7kzdwnata] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.lc-table th[b-k7kzdwnata] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.lc-table td[b-k7kzdwnata] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.lc-table tbody tr[b-k7kzdwnata] { height: 44px !important; background: #fff !important; }
.lc-table tbody tr:nth-child(even)[b-k7kzdwnata] { background: #f8fbfe !important; }
.lc-table-row:hover[b-k7kzdwnata] { background: #f0f8ff !important; }
.text-slate-800[b-k7kzdwnata] { color: #1e293b !important; }
.lc-btn[b-k7kzdwnata], .lc-circle-btn-32[b-k7kzdwnata] { width: 28px !important; height: 28px !important; padding: 0 !important; border: 1px solid #dbe8f3 !important; border-radius: 8px !important; background: #f8fbff !important; color: #0876ad !important; }
/* /Components/Pages/TokenDisplay.razor.rz.scp.css */
/* /Components/Pages/UnpaidUnbilledPatients.razor.rz.scp.css */
/* ==========================================================================
   Unpaid & Unbilled Patients Register Stylesheet
   ========================================================================== */

.unpaid-page-wrapper[b-qr09zqknwz] {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    min-height: calc(100vh - 60px);
    background: #f8fafc;
    box-sizing: border-box;
}

/* 1. Header Card */
.page-header-card[b-qr09zqknwz] {
    background: #ffffff;
    border: 1px solid #eaecf0;
    border-radius: 14px;
    padding: 0.85rem 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.header-title-group[b-qr09zqknwz] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.header-icon-box[b-qr09zqknwz] {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1.5px solid #bfdbfe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #026aa7;
    font-size: 1.35rem;
    box-shadow: 0 2px 6px rgba(2, 106, 167, 0.08);
    flex-shrink: 0;
}

.header-title[b-qr09zqknwz] {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.header-subtitle[b-qr09zqknwz] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
    white-space: nowrap;
}

.status-pulse-dot[b-qr09zqknwz] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #eab308;
    box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.2);
    flex-shrink: 0;
}

/* Header Metrics Row (Single horizontal row with cards + close button on right) */
.header-metrics-row[b-qr09zqknwz] {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.metric-card[b-qr09zqknwz] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    height: 48px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.metric-card:hover[b-qr09zqknwz] {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.metric-icon[b-qr09zqknwz] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.metric-content[b-qr09zqknwz] {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.metric-label[b-qr09zqknwz] {
    font-size: 0.6rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
}

.metric-val[b-qr09zqknwz] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    white-space: nowrap;
}

.metric-card.total-card .metric-icon[b-qr09zqknwz] {
    background: #f1f5f9;
    color: #475569;
}

.metric-card.unbilled-card[b-qr09zqknwz] {
    border-color: #fef08a;
    background: #fefce8;
}

.metric-card.unbilled-card .metric-icon[b-qr09zqknwz] {
    background: #fef9c3;
    color: #ca8a04;
}

.metric-card.unbilled-card .metric-val[b-qr09zqknwz] {
    color: #a16207;
}

.metric-card.ip-card[b-qr09zqknwz] {
    border-color: #e9d5ff;
    background: #faf5ff;
}

.metric-card.ip-card .metric-icon[b-qr09zqknwz] {
    background: #f3e8ff;
    color: #7e22ce;
}

.metric-card.ip-card .metric-label[b-qr09zqknwz] {
    color: #7e22ce;
}

.metric-card.ip-card .metric-val[b-qr09zqknwz] {
    color: #581c87;
}

.metric-card.unpaid-card[b-qr09zqknwz] {
    border-color: #fecdd3;
    background: #fff1f2;
}

.metric-card.unpaid-card .metric-icon[b-qr09zqknwz] {
    background: #ffe4e6;
    color: #e11d48;
}

.metric-card.unpaid-card .metric-val[b-qr09zqknwz] {
    color: #be123c;
}

.metric-card.amount-card[b-qr09zqknwz] {
    border-color: #bae6fd;
    background: #f0f9ff;
}

.metric-card.amount-card .metric-icon[b-qr09zqknwz] {
    background: #e0f2fe;
    color: #0284c7;
}

.metric-card.amount-card .metric-val[b-qr09zqknwz] {
    color: #0369a1;
}

/* 2. Filters Card */
.filters-card[b-qr09zqknwz] {
    background: #ffffff;
    border: 1px solid #eaecf0;
    border-radius: 14px;
    padding: 0.85rem 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filters-grid[b-qr09zqknwz] {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-group[b-qr09zqknwz] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 140px;
}

.filter-search-group[b-qr09zqknwz] {
    flex: 2;
    min-width: 220px;
}

.filter-label[b-qr09zqknwz] {
    font-size: 0.68rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.input-with-icon[b-qr09zqknwz] {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i[b-qr09zqknwz] {
    position: absolute;
    left: 0.65rem;
    color: #94a3b8;
    font-size: 0.82rem;
    pointer-events: none;
}

.filter-control[b-qr09zqknwz] {
    width: 100%;
    height: 34px;
    padding: 0 0.65rem 0 2rem;
    border: 1.2px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
}

.filter-control:focus[b-qr09zqknwz] {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.btn-clear-search[b-qr09zqknwz] {
    position: absolute;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
}

.btn-clear-search:hover[b-qr09zqknwz] {
    color: #475569;
}

.filter-actions-group[b-qr09zqknwz] {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.btn-filter-action[b-qr09zqknwz] {
    height: 34px;
    padding: 0 0.85rem;
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-refresh[b-qr09zqknwz] {
    background: #026aa7;
    color: #ffffff;
    border: 1px solid #026aa7;
}

.btn-refresh:hover[b-qr09zqknwz] {
    background: #025585;
}

.btn-reset[b-qr09zqknwz] {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.btn-reset:hover[b-qr09zqknwz] {
    background: #f1f5f9;
    border-color: #94a3b8;
}

/* Quick Chips */
.quick-chips-row[b-qr09zqknwz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.6rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chips-left[b-qr09zqknwz] {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex-wrap: wrap;
}

.quick-chip[b-qr09zqknwz] {
    padding: 3px 9px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.quick-chip:hover[b-qr09zqknwz] {
    color: #026aa7;
    background: #e0f2fe;
    border-color: #bae6fd;
}

.quick-chip.active[b-qr09zqknwz] {
    background: #026aa7;
    color: #ffffff;
    border-color: #026aa7;
}

.active-count-badge[b-qr09zqknwz] {
    font-size: 0.74rem;
    color: #64748b;
}

.active-count-badge strong[b-qr09zqknwz] {
    color: #0f172a;
}

/* 3. Main Data Table Card */
.data-table-card[b-qr09zqknwz] {
    background: #ffffff;
    border: 1px solid #eaecf0;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 400px;
}

.table-bar-header[b-qr09zqknwz] {
    padding: 0.65rem 1rem;
    background: #ffffff;
    border-bottom: 1px solid #eaecf0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.table-bar-title[b-qr09zqknwz] {
    font-size: 0.88rem;
    font-weight: 800;
    color: #1e293b;
    margin-right: 0.5rem;
}

/* Kutty Status Badges */
.kutty-user-badge[b-qr09zqknwz] {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    transition: all 0.2s ease;
}

.kutty-user-badge:hover[b-qr09zqknwz],
.kutty-user-badge.active-filter[b-qr09zqknwz] {
    background: #026aa7;
    color: #ffffff;
    border-color: #026aa7;
}

.kutty-user-badge.status-unbilled[b-qr09zqknwz] {
    background: #fefce8;
    color: #a16207;
    border-color: #fef08a;
}

.kutty-user-badge.status-unbilled:hover[b-qr09zqknwz],
.kutty-user-badge.status-unbilled.active-filter[b-qr09zqknwz] {
    background: #ca8a04;
    color: #ffffff;
    border-color: #ca8a04;
}

.kutty-user-badge.status-unpaid[b-qr09zqknwz] {
    background: #fff1f2;
    color: #be123c;
    border-color: #fecdd3;
}

.kutty-user-badge.status-unpaid:hover[b-qr09zqknwz],
.kutty-user-badge.status-unpaid.active-filter[b-qr09zqknwz] {
    background: #e11d48;
    color: #ffffff;
    border-color: #e11d48;
}

/* Pagination Toggle Button */
.btn-pagination-toggle[b-qr09zqknwz] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    height: 28px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-pagination-toggle:hover[b-qr09zqknwz] {
    background: #f8fafc;
    border-color: #026aa7;
    color: #026aa7;
}

.btn-pagination-toggle.show-all-active[b-qr09zqknwz] {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

.btn-pagination-toggle .badge[b-qr09zqknwz] {
    font-size: 0.6rem;
    padding: 1px 4px;
    border-radius: 4px;
}

/* Table Responsive */
.table-responsive[b-qr09zqknwz] {
    overflow-x: hidden !important;
    overflow-y: auto;
    max-height: calc(100vh - 360px);
    min-height: 300px;
    flex: 1;
}

.medico-table[b-qr09zqknwz] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.78rem;
}

.medico-table th[b-qr09zqknwz] {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0.45rem 0.65rem;
    background: #026aa7;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
}

.medico-table th:last-child[b-qr09zqknwz] {
    border-right: none;
}

.medico-table td[b-qr09zqknwz] {
    padding: 0.38rem 0.65rem;
    border-bottom: 1px solid #eaecf0;
    background-color: #ffffff;
    color: #334155;
    font-weight: 500;
    font-size: 0.76rem;
    vertical-align: middle;
    white-space: nowrap;
}

.medico-table tr:hover td[b-qr09zqknwz] {
    background: #f8fafc;
}

/* Badges & Cell Formats */
.badge-op[b-qr09zqknwz] {
    color: #0369a1;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1.2px solid #7dd3fc;
    padding: 0 6px;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 25px;
    box-shadow: 0 1px 3px rgba(2, 132, 199, 0.1);
}

.patient-name-block[b-qr09zqknwz] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pat-name[b-qr09zqknwz] {
    font-weight: 700;
    color: #0f172a;
}

.vip-badge[b-qr09zqknwz] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #d97706;
    padding: 1px 4px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.62rem;
}

.ip-referred-badge[b-qr09zqknwz] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 1px 4px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.62rem;
}

.patient-sub-block[b-qr09zqknwz] {
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-type[b-qr09zqknwz] {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.12rem 0.4rem;
    border-radius: 4px;
}

.badge-type.op[b-qr09zqknwz] {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}

.badge-type.walkin[b-qr09zqknwz] {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fef3c7;
}

.badge-type.dressing[b-qr09zqknwz] {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #dcfce7;
}

.badge-type.ip[b-qr09zqknwz] {
    background: #f3e8ff;
    color: #7e22ce;
    border: 1px solid #e9d5ff;
}

.text-purple[b-qr09zqknwz] {
    color: #7e22ce !important;
}

.bg-purple-subtle[b-qr09zqknwz] {
    background: #f3e8ff !important;
}

/* Status Pills */
.status-badge-pill[b-qr09zqknwz] {
    padding: 2px 7px;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.status-badge-pill.unbilled[b-qr09zqknwz] {
    background: #fef9c3;
    color: #854d0e;
    border: 1px solid #fde047;
}

.status-badge-pill.partially-billed[b-qr09zqknwz],
.status-badge-pill.partial-billed[b-qr09zqknwz] {
    background: #ffedd5;
    color: #9a3412;
    border: 1px solid #fdba74;
}

.status-badge-pill.billed[b-qr09zqknwz] {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.btn-bill-status[b-qr09zqknwz] {
    padding: 2px 7px;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid transparent;
}

.btn-bill-status.paid[b-qr09zqknwz] {
    background: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

.btn-bill-status.partially-paid[b-qr09zqknwz],
.btn-bill-status.partial-paid[b-qr09zqknwz] {
    background: #ffedd5;
    color: #c2410c;
    border-color: #fed7aa;
}

.btn-bill-status.unpaid[b-qr09zqknwz] {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

.btn-unbilled-chip[b-qr09zqknwz] {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.72rem;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.15s ease;
}

.btn-unbilled-chip:hover[b-qr09zqknwz] {
    background: #e0f2fe;
    border-color: #7dd3fc;
    color: #0369a1;
}

.outstanding-val[b-qr09zqknwz] {
    font-weight: 800;
    font-size: 0.8rem;
}

.outstanding-val.due[b-qr09zqknwz] {
    color: #dc2626;
}

.outstanding-val.zero[b-qr09zqknwz] {
    color: #64748b;
}

/* Action Buttons */
.btn-action-primary[b-qr09zqknwz] {
    background: #026aa7;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-action-primary:hover[b-qr09zqknwz] {
    background: #025585;
}

.btn-action-pay[b-qr09zqknwz] {
    background: #16a34a;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: background 0.15s ease;
}

.btn-action-pay:hover[b-qr09zqknwz] {
    background: #15803d;
}

.btn-action-secondary[b-qr09zqknwz] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    width: 26px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.15s ease;
}

.btn-action-secondary:hover[b-qr09zqknwz] {
    background: #e2e8f0;
    color: #0f172a;
}

/* Pagination Footer */
.pagination-footer[b-qr09zqknwz] {
    padding: 0.6rem 1rem;
    border-top: 1px solid #eaecf0;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pagination-info[b-qr09zqknwz] {
    font-size: 0.76rem;
    color: #64748b;
}

.pagination-info-highlight[b-qr09zqknwz] {
    font-weight: 700;
    color: #1e293b;
}

.pagination-btns[b-qr09zqknwz] {
    display: flex;
    gap: 4px;
    align-items: center;
}

.pagination-btns .page-btn[b-qr09zqknwz] {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #475569;
    font-weight: 600;
    font-size: 0.76rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pagination-btns .page-btn:hover:not(.active):not(:disabled)[b-qr09zqknwz] {
    background: #f0f9ff;
    border-color: #0284c7;
    color: #0284c7;
}

.pagination-btns .page-btn:disabled[b-qr09zqknwz] {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-btns .page-btn.active[b-qr09zqknwz] {
    background: #026aa7;
    border-color: #026aa7;
    color: #ffffff;
    font-weight: 700;
}

/* Empty & Loading States */
.table-loading-container[b-qr09zqknwz],
.empty-state-box[b-qr09zqknwz] {
    padding: 3.5rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-icon-circle[b-qr09zqknwz] {
    width: 60px;
    height: 60px;
    background: #dcfce7;
    border: 2px solid #86efac;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.empty-state-box h4[b-qr09zqknwz] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.empty-state-box p[b-qr09zqknwz] {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
}

.spin[b-qr09zqknwz] {
    animation: spin-b-qr09zqknwz 0.8s linear infinite;
}

@keyframes spin-b-qr09zqknwz {
    100% { transform: rotate(360deg); }
}

/* Modal Dialog */
.modal-backdrop[b-qr09zqknwz] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    z-index: 1050;
}

.glass-modal.charges-details-modal[b-qr09zqknwz] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 14px;
    width: 95vw;
    max-width: 640px;
    z-index: 1060;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-token-pill[b-qr09zqknwz] {
    background: #e0f2fe;
    border: 1.5px solid #7dd3fc;
    border-radius: 8px;
    padding: 2px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-token-pill .label[b-qr09zqknwz] {
    font-size: 0.55rem;
    font-weight: 800;
    color: #0284c7;
}

.modal-token-pill .val[b-qr09zqknwz] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0369a1;
    line-height: 1;
}

.modal-patient-title[b-qr09zqknwz] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.charges-summary-bar[b-qr09zqknwz] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: #475569;
}

/* ==========================================================================
   Cash Counter Payment Modal Styles
   ========================================================================== */
.payment-modal[b-qr09zqknwz] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    width: 90%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(99, 102, 241, 0.05);
    z-index: 1060;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    animation: modalSlideIn-b-qr09zqknwz 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlideIn-b-qr09zqknwz {
    from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.payment-modal.animated-modal[b-qr09zqknwz] {
    max-width: 620px;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: #ffffff;
}

.modal-header-gradient[b-qr09zqknwz] {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    padding: 1.25rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.modal-header-left[b-qr09zqknwz] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-header-icon[b-qr09zqknwz] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-title-text[b-qr09zqknwz] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.modal-subtitle-text[b-qr09zqknwz] {
    margin: 2px 0 0 0;
    font-size: 0.78rem;
    color: #c7d2fe;
    font-weight: 500;
}

.modal-close-icon-btn[b-qr09zqknwz] {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-icon-btn:hover[b-qr09zqknwz] {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.modal-body-custom[b-qr09zqknwz] {
    padding: 1.5rem 1.75rem;
    max-height: 82vh;
    overflow-y: auto;
}

.payment-form[b-qr09zqknwz] {
    display: flex;
    flex-direction: column;
}

.modal-footer-actions[b-qr09zqknwz] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 1.15rem;
    border-top: 1px solid #e2e8f0;
}

.btn-modal-cancel[b-qr09zqknwz] {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 0.65rem 1.4rem;
    font-weight: 700;
    font-size: 0.82rem;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.btn-modal-cancel:hover[b-qr09zqknwz] {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

.btn-modal-submit[b-qr09zqknwz] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0.65rem 1.6rem;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    transition: all 0.25s ease;
}

.btn-modal-submit:hover:not(:disabled)[b-qr09zqknwz] {
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.btn-modal-submit:disabled[b-qr09zqknwz] {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Dark mode adjustments */
[data-theme="dark"] .payment-modal[b-qr09zqknwz] {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

[data-theme="dark"] .btn-modal-cancel[b-qr09zqknwz] {
    background: #0f172a;
    border-color: #334155;
    color: #cbd5e1;
}

[data-theme="dark"] .btn-modal-cancel:hover[b-qr09zqknwz] {
    background: #1e293b;
    color: #f8fafc;
}

/* ==========================================================================
   Popup Modal Mode Styles (When embedded in Billing Portal)
   ========================================================================== */
.unpaid-modal-backdrop[b-qr09zqknwz] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    box-sizing: border-box;
    animation: fadeInUnpaid-b-qr09zqknwz 0.2s ease-out;
}

.unpaid-modal-dialog[b-qr09zqknwz] {
    background: #f8fafc;
    border-radius: 16px;
    width: 96vw;
    max-width: 1480px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    z-index: 1201;
    border: 1px solid #cbd5e1;
    animation: scaleInUnpaid-b-qr09zqknwz 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.unpaid-modal-header-bar[b-qr09zqknwz] {
    background: #ffffff;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.unpaid-modal-icon-badge[b-qr09zqknwz] {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1.5px solid #bfdbfe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #026aa7;
    font-size: 1.15rem;
}

.unpaid-modal-heading[b-qr09zqknwz] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.2px;
}

.unpaid-modal-subheading[b-qr09zqknwz] {
    font-size: 0.76rem;
    color: #64748b;
    font-weight: 500;
    display: block;
}

.btn-close-modal-custom[b-qr09zqknwz] {
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: #64748b;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-close-modal-custom:hover[b-qr09zqknwz] {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #ef4444;
    transform: scale(1.08) rotate(90deg);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.22);
}

.btn-new-bill[b-qr09zqknwz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: 38px;
    padding: 0 0.9rem;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.2);
    transition: filter 0.15s ease, transform 0.15s ease;
}

.btn-new-bill:hover[b-qr09zqknwz] {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.patient-name-clickable[b-qr09zqknwz] {
    cursor: pointer;
}

[data-theme="dark"] .btn-close-modal-custom[b-qr09zqknwz] {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

[data-theme="dark"] .btn-close-modal-custom:hover[b-qr09zqknwz] {
    background: #450a0a;
    border-color: #7f1d1d;
    color: #f87171;
}

.glass-modal .modal-header[b-qr09zqknwz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.unpaid-modal-body-scroll[b-qr09zqknwz] {
    overflow-y: auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
    box-sizing: border-box;
}

.unpaid-standalone-wrapper[b-qr09zqknwz] {
    display: contents;
}

.unpaid-page-content-wrapper[b-qr09zqknwz] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Ensure inner submodals pop over the parent modal */
.unpaid-modal-dialog .modal-backdrop[b-qr09zqknwz] {
    z-index: 1300 !important;
}

.unpaid-modal-dialog .charges-details-modal[b-qr09zqknwz] {
    z-index: 1301 !important;
}

.unpaid-modal-dialog .payment-modal[b-qr09zqknwz] {
    z-index: 1301 !important;
}

@keyframes fadeInUnpaid-b-qr09zqknwz {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleInUnpaid-b-qr09zqknwz {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* /Components/Pages/UomMaster.razor.rz.scp.css */
/* Isolated styles for UOMMaster component */

.items-page[b-uetkqq5n8q] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-uetkqq5n8q] {
    max-width: 1320px;
    margin: 0 auto;
}

.items-content[b-uetkqq5n8q] {
    width: min(1240px, 100%);
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-uetkqq5n8q] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    padding: 1.25rem 2rem;
    color: #1e1b4b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.06);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
}

.header-card-left[b-uetkqq5n8q] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-card-icon[b-uetkqq5n8q] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(99, 102, 241, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
}

.header-card-icon svg[b-uetkqq5n8q] {
    stroke: #4f46e5;
}

.header-card-text[b-uetkqq5n8q] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-uetkqq5n8q] {
    color: #312e81;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.header-card-subheading[b-uetkqq5n8q] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-uetkqq5n8q] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-uetkqq5n8q] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.items-search-wrap[b-uetkqq5n8q] {
    position: relative;
    display: flex;
    align-items: center;
}

.items-search[b-uetkqq5n8q] {
    width: 220px;
    height: 38px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
    padding-left: 2.4rem;
    font-size: 0.8rem;
    background: #ffffff;
    color: #1e293b;
    box-shadow: none;
    transition: all 0.25s ease;
}

.items-search:focus[b-uetkqq5n8q] {
    outline: none;
    width: 280px;
    background: #ffffff;
    color: #1e293b;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.items-search-icon[b-uetkqq5n8q] {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.view-toggle[b-uetkqq5n8q] {
    display: inline-flex;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    overflow: hidden;
    background: #f8fafc;
    height: 38px;
    padding: 2px;
    align-items: center;
}

.view-toggle button[b-uetkqq5n8q] {
    border: 0;
    background: transparent;
    color: #64748b;
    width: 36px;
    height: 32px;
    border-radius: 16px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle button.active[b-uetkqq5n8q] {
    background: #ffffff;
    color: #4f46e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.add-item-btn[b-uetkqq5n8q] {
    height: 38px;
    border-radius: 20px;
    background: #4f46e5;
    color: #ffffff;
    border: none;
    padding: 0 1.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    transition: all 0.2s ease-in-out;
}

.add-item-btn:hover[b-uetkqq5n8q] {
    background: #3f39c5;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
    transform: translateY(-1.5px);
}

.items-main-card[b-uetkqq5n8q] {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 1.5rem;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
}

.items-table[b-uetkqq5n8q] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

table.table.items-table thead tr th[b-uetkqq5n8q],
.items-table th[b-uetkqq5n8q] {
    background: #ffffff;
    color: #8a99ad;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.74rem;
    letter-spacing: 0.8px;
    padding: 10px 16px;
    border-bottom: 2px solid #eef2f6;
    text-align: center;
}

.items-table td[b-uetkqq5n8q] {
    border-top: none;
    border-bottom: 1px solid #eef2f6;
    padding: 10px 16px;
    font-size: 0.8rem;
    background: #ffffff;
    color: #64748b;
    vertical-align: middle;
    text-align: center;
}

.items-table td:last-child[b-uetkqq5n8q] {
    white-space: nowrap;
    text-align: center;
}

.items-table tr td.td-order-no[b-uetkqq5n8q] {
    color: #3b82f6;
    font-weight: 700;
}

.items-table tr td.td-shortname[b-uetkqq5n8q],
.items-table tr td.td-unitname[b-uetkqq5n8q] {
    color: #1e293b;
    font-weight: 700;
}

.action-btn[b-uetkqq5n8q] {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.action-btn:hover[b-uetkqq5n8q] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.action-btn i[b-uetkqq5n8q] {
    font-size: 0.85rem !important;
}

.items-card-grid[b-uetkqq5n8q] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.item-card[b-uetkqq5n8q] {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.item-card:hover[b-uetkqq5n8q] {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.item-card-head[b-uetkqq5n8q] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    color: #1e293b !important;
    padding: 0.6rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.1) !important;
}

.card-item-code[b-uetkqq5n8q] {
    color: #4b5563 !important;
    font-weight: 700 !important;
    margin-right: 6px;
}

.card-item-name[b-uetkqq5n8q] {
    color: #374151 !important;
    font-weight: 700 !important;
}

.item-card-body[b-uetkqq5n8q] {
    padding: 0.75rem 1rem !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
}

.detail-row[b-uetkqq5n8q] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.detail-row:last-child[b-uetkqq5n8q] {
    border-bottom: none !important;
}

.detail-row span[b-uetkqq5n8q] {
    color: #8a99ad !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.detail-row strong[b-uetkqq5n8q] {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Modal styles */
.modal-overlay[b-uetkqq5n8q] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.modal-card[b-uetkqq5n8q] {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    background: #fff;
}

.modal-header-bar[b-uetkqq5n8q] {
    background: #fff !important;
    color: #333 !important;
    padding: 16px 32px !important;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-left[b-uetkqq5n8q] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-title[b-uetkqq5n8q] {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: #000000 !important;
    letter-spacing: -0.2px;
}

.btn-close-modal[b-uetkqq5n8q] {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-uetkqq5n8q] {
    background: #e2e8f0;
    color: #1e293b;
}

.modal-inner[b-uetkqq5n8q] {
    padding: 16px 32px !important;
    background: #fff;
}

.form-section-header[b-uetkqq5n8q] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid #f1f5f9;
}

.form-section-title[b-uetkqq5n8q] {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #4f46e5;
}

.form-grid[b-uetkqq5n8q] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 12px;
    row-gap: 12px;
}

.col-1[b-uetkqq5n8q] {
    grid-column: span 1;
}

.col-2[b-uetkqq5n8q] {
    grid-column: span 2;
}

.col-3[b-uetkqq5n8q] {
    grid-column: span 3;
}

.col-4[b-uetkqq5n8q] {
    grid-column: span 4;
}

.col-5[b-uetkqq5n8q] {
    grid-column: span 5;
}

.col-6[b-uetkqq5n8q] {
    grid-column: span 6;
}

.col-7[b-uetkqq5n8q] {
    grid-column: span 7;
}

.col-8[b-uetkqq5n8q] {
    grid-column: span 8;
}

.col-9[b-uetkqq5n8q] {
    grid-column: span 9;
}

.col-10[b-uetkqq5n8q] {
    grid-column: span 10;
}

.col-11[b-uetkqq5n8q] {
    grid-column: span 11;
}

.col-12[b-uetkqq5n8q] {
    grid-column: span 12;
}

.field-group[b-uetkqq5n8q] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label[b-uetkqq5n8q] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.field-label.required[b-uetkqq5n8q]::after {
    content: " *";
    color: #ef4444;
}

.premium-input[b-uetkqq5n8q] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    color: #4b5563 !important;
    transition: all 0.2s !important;
    height: auto !important;
}

.premium-input[b-uetkqq5n8q]::placeholder {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

.premium-input:focus[b-uetkqq5n8q] {
    background: #fff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

.modal-footer-actions[b-uetkqq5n8q] {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 16px !important;
    padding: 24px 32px !important;
    border-top: 1px solid #f0f0f0 !important;
    background: #ffffff !important;
}

.btn-cancel-modal[b-uetkqq5n8q] {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: none !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    min-width: 100px !important;
    transition: all 0.2s !important;
}

.btn-cancel-modal:hover[b-uetkqq5n8q] {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.btn-save-premium[b-uetkqq5n8q] {
    background: #1c9f5f !important;
    color: white !important;
    border: none !important;
    padding: 10px 28px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(28, 159, 95, 0.3) !important;
    transition: all 0.2s !important;
    white-space: nowrap;
}

.btn-save-premium:hover[b-uetkqq5n8q] {
    background: #168a52 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(28, 159, 95, 0.4) !important;
}

/* Pagination bar */
.page-btn[b-uetkqq5n8q] {
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #64748b !important;
    border-radius: 8px !important;
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0 2px;
    transition: all 0.2s;
}

.page-btn.active[b-uetkqq5n8q] {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
}

.page-btn:hover:not(.active):not(:disabled)[b-uetkqq5n8q] {
    background: #f8fafc !important;
    color: #1e293b !important;
}

/* Special Symbols styling */
.symbols-grid[b-uetkqq5n8q] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 6px 0 !important;
}

.symbol-btn[b-uetkqq5n8q] {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 8px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}

.display-controls[b-uetkqq5n8q] {
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-top: 1px solid #e2e8f0;
}

.symbol-btn:hover[b-uetkqq5n8q] {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
    transform: translateY(-2px) scale(1.08) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
}

.symbol-btn:active[b-uetkqq5n8q] {
    transform: translateY(0) scale(0.98) !important;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR UOM MASTER (UNIT MASTER)
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .items-page[b-uetkqq5n8q],
[data-theme="dark"] .items-page[b-uetkqq5n8q] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .premium-header-card[b-uetkqq5n8q],
[data-theme="dark"] .premium-header-card[b-uetkqq5n8q] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .header-card-icon[b-uetkqq5n8q],
[data-theme="dark"] .header-card-icon[b-uetkqq5n8q] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .header-card-heading[b-uetkqq5n8q],
[data-theme="dark"] .header-card-heading[b-uetkqq5n8q] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .header-card-subheading[b-uetkqq5n8q],
[data-theme="dark"] .header-card-subheading[b-uetkqq5n8q] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .items-search[b-uetkqq5n8q],
[data-theme="dark"] .items-search[b-uetkqq5n8q] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .view-toggle[b-uetkqq5n8q],
[data-theme="dark"] .view-toggle[b-uetkqq5n8q] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .view-toggle button[b-uetkqq5n8q],
[data-theme="dark"] .view-toggle button[b-uetkqq5n8q] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .view-toggle button.active[b-uetkqq5n8q],
[data-theme="dark"] .view-toggle button.active[b-uetkqq5n8q] {
    background: #1e293b !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .items-main-card[b-uetkqq5n8q],
[data-theme="dark"] .items-main-card[b-uetkqq5n8q] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) table.table.items-table thead tr th[b-uetkqq5n8q],
:host-context([data-theme="dark"]) .items-table th[b-uetkqq5n8q],
[data-theme="dark"] table.table.items-table thead tr th[b-uetkqq5n8q],
[data-theme="dark"] .items-table th[b-uetkqq5n8q] {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .items-table td[b-uetkqq5n8q],
[data-theme="dark"] .items-table td[b-uetkqq5n8q] {
    background: #1e293b !important;
    border-bottom-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .items-table tr td.td-order-no[b-uetkqq5n8q],
[data-theme="dark"] .items-table tr td.td-order-no[b-uetkqq5n8q] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .items-table tr td.td-shortname[b-uetkqq5n8q],
:host-context([data-theme="dark"]) .items-table tr td.td-unitname[b-uetkqq5n8q],
[data-theme="dark"] .items-table tr td.td-shortname[b-uetkqq5n8q],
[data-theme="dark"] .items-table tr td.td-unitname[b-uetkqq5n8q] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .items-table tr td.td-narration[b-uetkqq5n8q],
:host-context([data-theme="dark"]) .items-table tr td.td-date[b-uetkqq5n8q],
[data-theme="dark"] .items-table tr td.td-narration[b-uetkqq5n8q],
[data-theme="dark"] .items-table tr td.td-date[b-uetkqq5n8q] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .action-btn[b-uetkqq5n8q],
[data-theme="dark"] .action-btn[b-uetkqq5n8q] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .action-btn:hover[b-uetkqq5n8q],
[data-theme="dark"] .action-btn:hover[b-uetkqq5n8q] {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #7dd3fc !important;
}

:host-context([data-theme="dark"]) .display-controls[b-uetkqq5n8q],
[data-theme="dark"] .display-controls[b-uetkqq5n8q] {
    background: #0f172a !important;
    border-top-color: #334155 !important;
}

:host-context([data-theme="dark"]) .total-count-text[b-uetkqq5n8q],
[data-theme="dark"] .total-count-text[b-uetkqq5n8q] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .page-btn[b-uetkqq5n8q],
[data-theme="dark"] .page-btn[b-uetkqq5n8q] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .page-btn.active[b-uetkqq5n8q],
[data-theme="dark"] .page-btn.active[b-uetkqq5n8q] {
    background: #4f46e5 !important;
    border-color: #4f46e5 !important;
    color: #ffffff !important;
}

:host-context([data-theme="dark"]) .item-card[b-uetkqq5n8q],
[data-theme="dark"] .item-card[b-uetkqq5n8q] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .item-card-head[b-uetkqq5n8q],
[data-theme="dark"] .item-card-head[b-uetkqq5n8q] {
    background: #0f172a !important;
    color: #f8fafc !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .item-card-body[b-uetkqq5n8q],
[data-theme="dark"] .item-card-body[b-uetkqq5n8q] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .detail-row[b-uetkqq5n8q],
[data-theme="dark"] .detail-row[b-uetkqq5n8q] {
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .detail-row span[b-uetkqq5n8q],
[data-theme="dark"] .detail-row span[b-uetkqq5n8q] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .detail-row strong[b-uetkqq5n8q],
[data-theme="dark"] .detail-row strong[b-uetkqq5n8q] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-card[b-uetkqq5n8q],
[data-theme="dark"] .modal-card[b-uetkqq5n8q] {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header-bar[b-uetkqq5n8q],
:host-context([data-theme="dark"]) .modal-inner[b-uetkqq5n8q],
:host-context([data-theme="dark"]) .modal-footer-actions[b-uetkqq5n8q],
[data-theme="dark"] .modal-header-bar[b-uetkqq5n8q],
[data-theme="dark"] .modal-inner[b-uetkqq5n8q],
[data-theme="dark"] .modal-footer-actions[b-uetkqq5n8q] {
    background: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .modal-title[b-uetkqq5n8q],
[data-theme="dark"] .modal-title[b-uetkqq5n8q] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .premium-input[b-uetkqq5n8q],
[data-theme="dark"] .premium-input[b-uetkqq5n8q] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .field-label[b-uetkqq5n8q],
[data-theme="dark"] .field-label[b-uetkqq5n8q] {
    color: #cbd5e1 !important;
}

:host-context([data-theme="dark"]) .uom-symbols-section[b-uetkqq5n8q],
[data-theme="dark"] .uom-symbols-section[b-uetkqq5n8q] {
    background: #0f172a !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .symbol-btn[b-uetkqq5n8q],
[data-theme="dark"] .symbol-btn[b-uetkqq5n8q] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}
/* Master dashboard theme */
:global(.main-content):has(.items-page)[b-uetkqq5n8q] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.items-page[b-uetkqq5n8q] { min-height: calc(100vh - 1.5rem) !important; padding: 0 !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.items-shell[b-uetkqq5n8q], .items-content[b-uetkqq5n8q] { max-width: none !important; padding: 0 !important; }
.premium-header-card[b-uetkqq5n8q] { height: 78px !important; box-sizing: border-box !important; padding: .15rem 0 !important; margin-bottom: .6rem !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.header-card-icon[b-uetkqq5n8q] { background: linear-gradient(135deg,#087bb5,#07547c) !important; }
.header-card-heading[b-uetkqq5n8q] { color: #07547c !important; font-size: 1.85rem !important; }
.header-card-subheading[b-uetkqq5n8q] { color: #647b90 !important; }
.items-search[b-uetkqq5n8q] { width: 280px !important; height: 40px !important; border-radius: 10px !important; border-color: #cbd9e8 !important; }
.add-item-btn[b-uetkqq5n8q] { height: 40px !important; border-radius: 10px !important; background: #087bb5 !important; }
.items-main-card[b-uetkqq5n8q] { border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; }
.items-table thead tr[b-uetkqq5n8q] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.items-table thead th[b-uetkqq5n8q] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.items-table tbody tr[b-uetkqq5n8q] { height: 44px !important; background: #fff !important; }
.items-table tbody tr:nth-child(even)[b-uetkqq5n8q] { background: #f8fbfe !important; }
.items-table tbody td[b-uetkqq5n8q] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.items-table tbody tr:hover[b-uetkqq5n8q] { background: #f0f8ff !important; }
/* /Components/Pages/UserLogin.razor.rz.scp.css */
/* Medico Next-Gen Cyber-Quantum Live Holographic UI Theme */
.login-page-container[b-4rwelcnfs3] {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 48px;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #030712;
}

/* Full-Screen Live Video & Canvas Background */
.fullscreen-live-video[b-4rwelcnfs3],
.fullscreen-live-canvas[b-4rwelcnfs3] {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%) scale(1.05);
    object-fit: cover;
    z-index: 0;
}

.fullscreen-live-video[b-4rwelcnfs3] {
    filter: brightness(0.65) contrast(1.15) saturate(1.3);
    opacity: 0.85;
}

/* Dark Cyber Vignette & Radial Light Overlay */
.dark-cyber-overlay[b-4rwelcnfs3] {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 40%,
        rgba(6, 182, 212, 0.06) 0%,
        rgba(3, 7, 18, 0.72) 65%,
        rgba(3, 7, 18, 0.96) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Light Particle Grid Matrix */
.ambient-light-particles[b-4rwelcnfs3] {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(6, 182, 212, 0.22) 1.2px, transparent 1.2px);
    background-size: 32px 32px;
    z-index: 1;
    opacity: 0.65;
    pointer-events: none;
    animation: liveParticleMove-b-4rwelcnfs3 24s linear infinite;
}

@keyframes liveParticleMove-b-4rwelcnfs3 {
    0% { background-position: 0 0; }
    100% { background-position: 64px 64px; }
}

/* Sci-Fi Holographic Overlay Layer */
.live-medical-canvas-layer[b-4rwelcnfs3] {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Concentric HUD Cyber Rings */
.hud-cyber-ring[b-4rwelcnfs3] {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
}

.hud-cyber-ring.ring-1[b-4rwelcnfs3] {
    width: 600px;
    height: 600px;
    border: 1.5px dashed rgba(6, 182, 212, 0.25);
    box-shadow: inset 0 0 40px rgba(6, 182, 212, 0.08);
    animation: rotateRing-b-4rwelcnfs3 35s linear infinite;
}

.hud-cyber-ring.ring-2[b-4rwelcnfs3] {
    width: 420px;
    height: 420px;
    border: 2px solid transparent;
    border-top-color: rgba(59, 130, 246, 0.4);
    border-bottom-color: rgba(6, 182, 212, 0.4);
    animation: rotateRingReverse-b-4rwelcnfs3 25s linear infinite;
}

@keyframes rotateRing-b-4rwelcnfs3 {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateRingReverse-b-4rwelcnfs3 {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* 3D Cyber Perspective Grid */
.cyber-perspective-grid[b-4rwelcnfs3] {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(to right, rgba(6, 182, 212, 0.09) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(6, 182, 212, 0.09) 1px, transparent 1px);
    background-size: 44px 44px;
    transform: perspective(600px) rotateX(55deg);
    animation: gridScroll-b-4rwelcnfs3 20s linear infinite;
    opacity: 0.5;
    pointer-events: none;
}

@keyframes gridScroll-b-4rwelcnfs3 {
    0% { transform: perspective(600px) rotateX(55deg) translateY(0); }
    100% { transform: perspective(600px) rotateX(55deg) translateY(44px); }
}

/* Floating Vibrant Aurora Orbs */
.aurora-orb[b-4rwelcnfs3] {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    opacity: 0.45;
}

.orb-1[b-4rwelcnfs3] {
    width: 500px;
    height: 500px;
    top: -120px;
    left: -80px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.5) 0%, rgba(37, 99, 235, 0.2) 65%, transparent 100%);
    animation: floatOrb1-b-4rwelcnfs3 18s ease-in-out infinite alternate;
}

.orb-2[b-4rwelcnfs3] {
    width: 550px;
    height: 550px;
    bottom: -160px;
    right: 10%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.45) 0%, rgba(16, 185, 129, 0.2) 65%, transparent 100%);
    animation: floatOrb2-b-4rwelcnfs3 22s ease-in-out infinite alternate;
}

.orb-3[b-4rwelcnfs3] {
    width: 380px;
    height: 380px;
    top: 25%;
    left: 40%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.4) 0%, rgba(168, 85, 247, 0.18) 70%, transparent 100%);
    animation: floatOrb3-b-4rwelcnfs3 19s ease-in-out infinite alternate;
}

@keyframes floatOrb1-b-4rwelcnfs3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(140px, 90px) scale(1.18); }
}

@keyframes floatOrb2-b-4rwelcnfs3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-120px, -100px) scale(1.12); }
}

@keyframes floatOrb3-b-4rwelcnfs3 {
    0% { transform: translate(0, 0) scale(0.9); }
    100% { transform: translate(90px, -70px) scale(1.22); }
}

.light-beam[b-4rwelcnfs3] {
    position: absolute;
    background: linear-gradient(90deg, transparent 0%, rgba(6, 182, 212, 0.16) 50%, transparent 100%);
    pointer-events: none;
}

.beam-1[b-4rwelcnfs3] {
    width: 300px;
    height: 1300px;
    top: -250px;
    left: 8%;
    transform: rotate(-35deg);
    animation: beamSweep-b-4rwelcnfs3 15s ease-in-out infinite alternate;
}

.beam-2[b-4rwelcnfs3] {
    width: 220px;
    height: 1100px;
    top: -150px;
    left: 58%;
    transform: rotate(-35deg);
    animation: beamSweep-b-4rwelcnfs3 19s ease-in-out infinite alternate-reverse;
}

@keyframes beamSweep-b-4rwelcnfs3 {
    0% { transform: rotate(-35deg) translateX(-110px); opacity: 0.3; }
    50% { opacity: 0.85; }
    100% { transform: rotate(-35deg) translateX(140px); opacity: 0.4; }
}

.ecg-wave-container[b-4rwelcnfs3] {
    position: absolute;
    bottom: 18%;
    left: 0;
    width: 100%;
    height: 130px;
    pointer-events: none;
    opacity: 0.9;
}

.ecg-wave-svg[b-4rwelcnfs3] {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.6));
}

/* Main Content Layout Container */
.login-content-layout[b-4rwelcnfs3] {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 0 auto;
}

/* Left Brand Panel */
.login-left-brand-panel[b-4rwelcnfs3] {
    flex: 1;
    max-width: 560px;
    color: #f8fafc;
    padding-right: 20px;
}

.brand-badge-large[b-4rwelcnfs3] {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.brand-logo-img[b-4rwelcnfs3] {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.45);
    background: rgba(10, 25, 47, 0.8);
    padding: 4px;
    border: 1px solid rgba(6, 182, 212, 0.35);
}

.brand-text[b-4rwelcnfs3] {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.brand-highlight[b-4rwelcnfs3] {
    background: linear-gradient(135deg, #06b6d4 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.live-status-pill[b-4rwelcnfs3] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(10, 25, 47, 0.65);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(6, 182, 212, 0.35);
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
    margin-bottom: 28px;
}

.live-pulse-dot[b-4rwelcnfs3] {
    width: 9px;
    height: 9px;
    background-color: #06b6d4;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px #06b6d4;
}

.live-pulse-dot[b-4rwelcnfs3]::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background-color: rgba(6, 182, 212, 0.5);
    animation: pulse-ring-b-4rwelcnfs3 1.8s infinite ease-out;
}

@keyframes pulse-ring-b-4rwelcnfs3 {
    0% { transform: scale(0.8); opacity: 0.9; }
    100% { transform: scale(2.4); opacity: 0; }
}

.live-status-text[b-4rwelcnfs3] {
    font-size: 11px;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-headline[b-4rwelcnfs3] {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(6, 182, 212, 0.2);
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    user-select: none;
    -webkit-user-select: none;
}

.hero-subtext[b-4rwelcnfs3] {
    font-size: 15px;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.65;
    margin-bottom: 36px;
}

.live-metrics-row[b-4rwelcnfs3] {
    display: flex;
    gap: 18px;
}

.metric-card[b-4rwelcnfs3] {
    background: rgba(10, 25, 47, 0.65);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 16px 22px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
}

.metric-card:hover[b-4rwelcnfs3] {
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.25);
    transform: translateY(-2px);
}

.metric-icon-wrap[b-4rwelcnfs3] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(6, 182, 212, 0.15);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.metric-info[b-4rwelcnfs3] {
    display: flex;
    flex-direction: column;
}

.metric-num[b-4rwelcnfs3] {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

.metric-lbl[b-4rwelcnfs3] {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

/* Right Side Floating Login Card - Dark Cyber Glassmorphism */
.login-right-card-panel[b-4rwelcnfs3] {
    flex-shrink: 0;
    width: 100%;
    max-width: 440px;
    margin-left: auto;
}

.login-card[b-4rwelcnfs3] {
    background: rgba(10, 25, 47, 0.75);
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
    border-radius: 26px;
    padding: 42px 40px;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 35px rgba(6, 182, 212, 0.18);
    border: 1px solid rgba(6, 182, 212, 0.35);
    transition: all 0.3s ease;
}

.login-card:hover[b-4rwelcnfs3] {
    border-color: rgba(6, 182, 212, 0.55);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.7),
        0 0 45px rgba(6, 182, 212, 0.3);
}

.login-card-header[b-4rwelcnfs3] {
    margin-bottom: 26px;
}

.welcome-title[b-4rwelcnfs3] {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.4px;
}

.welcome-subtitle[b-4rwelcnfs3] {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
    margin: 0;
}

.form-group[b-4rwelcnfs3] {
    margin-bottom: 20px;
}

.form-label[b-4rwelcnfs3] {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #cbd5e1;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper[b-4rwelcnfs3] {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon[b-4rwelcnfs3] {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: #64748b;
    transition: color 0.2s ease;
    pointer-events: none;
}

.custom-input[b-4rwelcnfs3] {
    width: 100%;
    height: 48px;
    padding: 10px 14px 10px 42px;
    background-color: rgba(15, 32, 60, 0.7);
    border: 1.5px solid rgba(6, 182, 212, 0.25);
    border-radius: 12px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.2s ease;
}

.custom-input[b-4rwelcnfs3]::placeholder {
    color: #64748b;
}

.custom-input:focus[b-4rwelcnfs3] {
    background-color: rgba(15, 32, 60, 0.9);
    border-color: #06b6d4;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.25), 0 0 15px rgba(6, 182, 212, 0.3);
    outline: none;
}

.input-wrapper:focus-within .input-icon[b-4rwelcnfs3] {
    color: #06b6d4;
}

.password-input-wrapper .custom-input[b-4rwelcnfs3] {
    padding-right: 44px;
}

.btn-eye[b-4rwelcnfs3] {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #64748b;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.btn-eye:hover[b-4rwelcnfs3] {
    color: #38bdf8;
}

.btn-eye svg[b-4rwelcnfs3] {
    width: 18px;
    height: 18px;
}

.form-options[b-4rwelcnfs3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.stay-signed-in[b-4rwelcnfs3] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox[b-4rwelcnfs3] {
    width: 17px;
    height: 17px;
    border-radius: 5px;
    border: 1.5px solid #475569;
    background-color: rgba(15, 32, 60, 0.7);
    cursor: pointer;
    accent-color: #06b6d4;
}

.btn-continue[b-4rwelcnfs3] {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.45);
    transition: all 0.25s ease;
    margin-bottom: 22px;
}

.btn-continue:hover:not(:disabled)[b-4rwelcnfs3] {
    background: linear-gradient(135deg, #0891b2 0%, #1d4ed8 100%);
    box-shadow: 0 0 35px rgba(6, 182, 212, 0.65);
    transform: translateY(-2px);
}

.btn-continue:disabled[b-4rwelcnfs3] {
    background: #334155;
    color: #64748b;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-arrow[b-4rwelcnfs3] {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.btn-continue:hover .btn-arrow[b-4rwelcnfs3] {
    transform: translateX(4px);
}

.login-footer-links[b-4rwelcnfs3] {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
}

.staff-login-link[b-4rwelcnfs3] {
    display: inline-block;
    font-size: 13px;
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
}

.staff-login-link:hover[b-4rwelcnfs3] {
    color: #67e8f9;
    text-decoration: underline;
}

.register-text[b-4rwelcnfs3] {
    font-size: 13px;
    color: #94a3b8;
    margin: 4px 0;
}

.register-link[b-4rwelcnfs3] {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
}

.register-link:hover[b-4rwelcnfs3] {
    color: #67e8f9;
    text-decoration: underline;
}

.form-footer-mini[b-4rwelcnfs3] {
    margin-top: 18px;
    text-align: center;
    font-size: 11px;
    color: #64748b;
}

.form-footer-mini a[b-4rwelcnfs3] {
    color: #64748b;
    text-decoration: none;
}

.form-footer-mini a:hover[b-4rwelcnfs3] {
    color: #94a3b8;
}

/* Alert Styles */
.alert[b-4rwelcnfs3] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: alertSlideDown-b-4rwelcnfs3 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.alert-success[b-4rwelcnfs3] {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.85) 0%, rgba(16, 185, 129, 0.25) 100%);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #ecfdf5;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.alert-success[b-4rwelcnfs3]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #10b981, #34d399);
    box-shadow: 0 0 12px #10b981;
}

.alert-icon[b-4rwelcnfs3] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
    color: #34d399;
    filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.6));
}

.alert-content[b-4rwelcnfs3] {
    flex: 1;
    line-height: 1.45;
}

@keyframes alertSlideDown-b-4rwelcnfs3 {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Layout */
@media (max-width: 992px) {
    .login-content-layout[b-4rwelcnfs3] {
        flex-direction: column;
        align-items: center;
    }
    .login-left-brand-panel[b-4rwelcnfs3] {
        max-width: 100%;
        text-align: center;
        padding-right: 0;
    }
    .hero-headline[b-4rwelcnfs3] {
        font-size: 30px;
    }
    .live-metrics-row[b-4rwelcnfs3] {
        justify-content: center;
    }
    .login-right-card-panel[b-4rwelcnfs3] {
        margin-left: 0;
    }
    .hud-cyber-ring[b-4rwelcnfs3] {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   LOGIN PAGE BRIGHT MODE / LIGHT THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="light"]) .login-page-container[b-4rwelcnfs3],
[data-theme="light"] .login-page-container[b-4rwelcnfs3] {
    background: linear-gradient(135deg, #e0f2fe 0%, #f1f5f9 50%, #e0f2fe 100%) !important;
}

:host-context([data-theme="light"]) .fullscreen-live-video[b-4rwelcnfs3],
[data-theme="light"] .fullscreen-live-video[b-4rwelcnfs3] {
    filter: brightness(1.2) contrast(0.95) saturate(1.1) !important;
    opacity: 0.35 !important;
}

:host-context([data-theme="light"]) .dark-cyber-overlay[b-4rwelcnfs3],
[data-theme="light"] .dark-cyber-overlay[b-4rwelcnfs3] {
    background: radial-gradient(
        circle at 50% 40%,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(241, 245, 249, 0.75) 65%,
        rgba(226, 232, 240, 0.95) 100%
    ) !important;
}

:host-context([data-theme="light"]) .ambient-light-particles[b-4rwelcnfs3],
[data-theme="light"] .ambient-light-particles[b-4rwelcnfs3] {
    background-image: radial-gradient(rgba(2, 132, 199, 0.18) 1.2px, transparent 1.2px) !important;
    opacity: 0.4 !important;
}

:host-context([data-theme="light"]) .brand-text[b-4rwelcnfs3],
[data-theme="light"] .brand-text[b-4rwelcnfs3] {
    color: #0f172a !important;
}

:host-context([data-theme="light"]) .brand-logo-img[b-4rwelcnfs3],
[data-theme="light"] .brand-logo-img[b-4rwelcnfs3] {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 0 20px rgba(2, 132, 199, 0.25) !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
}

:host-context([data-theme="light"]) .hero-headline[b-4rwelcnfs3],
[data-theme="light"] .hero-headline[b-4rwelcnfs3] {
    background: linear-gradient(135deg, #034f75 0%, #0284c7 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

:host-context([data-theme="light"]) .hero-subtext[b-4rwelcnfs3],
[data-theme="light"] .hero-subtext[b-4rwelcnfs3] {
    color: #475569 !important;
}

:host-context([data-theme="light"]) .live-status-pill[b-4rwelcnfs3],
[data-theme="light"] .live-status-pill[b-4rwelcnfs3] {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.1) !important;
}

:host-context([data-theme="light"]) .metric-card[b-4rwelcnfs3],
[data-theme="light"] .metric-card[b-4rwelcnfs3] {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(2, 132, 199, 0.25) !important;
    box-shadow: 0 10px 30px rgba(0, 75, 113, 0.08) !important;
}

:host-context([data-theme="light"]) .metric-card:hover[b-4rwelcnfs3],
[data-theme="light"] .metric-card:hover[b-4rwelcnfs3] {
    border-color: #0284c7 !important;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.18) !important;
}

:host-context([data-theme="light"]) .metric-icon-wrap[b-4rwelcnfs3],
[data-theme="light"] .metric-icon-wrap[b-4rwelcnfs3] {
    background: #e0f2fe !important;
    color: #0284c7 !important;
}

:host-context([data-theme="light"]) .metric-num[b-4rwelcnfs3],
[data-theme="light"] .metric-num[b-4rwelcnfs3] {
    color: #034f75 !important;
}

:host-context([data-theme="light"]) .metric-lbl[b-4rwelcnfs3],
[data-theme="light"] .metric-lbl[b-4rwelcnfs3] {
    color: #64748b !important;
}

:host-context([data-theme="light"]) .login-card[b-4rwelcnfs3],
[data-theme="light"] .login-card[b-4rwelcnfs3] {
    background: rgba(255, 255, 255, 0.88) !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
    box-shadow: 0 25px 60px rgba(2, 132, 199, 0.14) !important;
}

:host-context([data-theme="light"]) .login-card:hover[b-4rwelcnfs3],
[data-theme="light"] .login-card:hover[b-4rwelcnfs3] {
    border-color: rgba(2, 132, 199, 0.5) !important;
    box-shadow: 0 30px 70px rgba(2, 132, 199, 0.22) !important;
}

:host-context([data-theme="light"]) .welcome-title[b-4rwelcnfs3],
[data-theme="light"] .welcome-title[b-4rwelcnfs3] {
    color: #0f172a !important;
}

:host-context([data-theme="light"]) .welcome-subtitle[b-4rwelcnfs3],
[data-theme="light"] .welcome-subtitle[b-4rwelcnfs3] {
    color: #64748b !important;
}

:host-context([data-theme="light"]) .form-label[b-4rwelcnfs3],
[data-theme="light"] .form-label[b-4rwelcnfs3] {
    color: #334155 !important;
}

:host-context([data-theme="light"]) .custom-input[b-4rwelcnfs3],
[data-theme="light"] .custom-input[b-4rwelcnfs3] {
    background-color: rgba(248, 250, 252, 0.95) !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

:host-context([data-theme="light"]) .custom-input[b-4rwelcnfs3]::placeholder,
[data-theme="light"] .custom-input[b-4rwelcnfs3]::placeholder {
    color: #94a3b8 !important;
}

:host-context([data-theme="light"]) .custom-input:focus[b-4rwelcnfs3],
[data-theme="light"] .custom-input:focus[b-4rwelcnfs3] {
    background-color: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15) !important;
}

:host-context([data-theme="light"]) .input-icon[b-4rwelcnfs3],
[data-theme="light"] .input-icon[b-4rwelcnfs3] {
    color: #64748b !important;
}

:host-context([data-theme="light"]) .input-wrapper:focus-within .input-icon[b-4rwelcnfs3],
[data-theme="light"] .input-wrapper:focus-within .input-icon[b-4rwelcnfs3] {
    color: #0284c7 !important;
}

:host-context([data-theme="light"]) .stay-signed-in[b-4rwelcnfs3],
[data-theme="light"] .stay-signed-in[b-4rwelcnfs3] {
    color: #475569 !important;
}

:host-context([data-theme="light"]) .custom-checkbox[b-4rwelcnfs3],
[data-theme="light"] .custom-checkbox[b-4rwelcnfs3] {
    background-color: #ffffff !important;
    border-color: #94a3b8 !important;
}

:host-context([data-theme="light"]) .btn-continue[b-4rwelcnfs3],
[data-theme="light"] .btn-continue[b-4rwelcnfs3] {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.35) !important;
}

:host-context([data-theme="light"]) .btn-continue:hover:not(:disabled)[b-4rwelcnfs3],
[data-theme="light"] .btn-continue:hover:not(:disabled)[b-4rwelcnfs3] {
    background: linear-gradient(135deg, #0369a1 0%, #02456c 100%) !important;
    box-shadow: 0 6px 25px rgba(2, 132, 199, 0.5) !important;
}

:host-context([data-theme="light"]) .login-footer-links[b-4rwelcnfs3],
[data-theme="light"] .login-footer-links[b-4rwelcnfs3] {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}

:host-context([data-theme="light"]) .staff-login-link[b-4rwelcnfs3],
:host-context([data-theme="light"]) .register-link[b-4rwelcnfs3],
[data-theme="light"] .staff-login-link[b-4rwelcnfs3],
[data-theme="light"] .register-link[b-4rwelcnfs3] {
    color: #0284c7 !important;
}

:host-context([data-theme="light"]) .register-text[b-4rwelcnfs3],
:host-context([data-theme="light"]) .form-footer-mini[b-4rwelcnfs3],
:host-context([data-theme="light"]) .form-footer-mini a[b-4rwelcnfs3],
[data-theme="light"] .register-text[b-4rwelcnfs3],
[data-theme="light"] .form-footer-mini[b-4rwelcnfs3],
[data-theme="light"] .form-footer-mini a[b-4rwelcnfs3] {
    color: #64748b !important;
}

:host-context([data-theme="light"]) .theme-icon-btn[b-4rwelcnfs3],
[data-theme="light"] .theme-icon-btn[b-4rwelcnfs3] {
    background: rgba(2, 132, 199, 0.1) !important;
    border: 1px solid rgba(2, 132, 199, 0.3) !important;
    color: #0284c7 !important;
}

/* ═══════════════════════════════════════════════════════════════
   TOP-RIGHT FLOATING THEME SWITCHER BUTTON
   ═══════════════════════════════════════════════════════════════ */
.top-right-theme-toggle[b-4rwelcnfs3] {
    position: absolute;
    top: 24px;
    right: 32px;
    z-index: 1060;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s ease;
}

.top-right-theme-toggle:hover[b-4rwelcnfs3] {
    transform: translateY(-2px) scale(1.03);
}

:host-context([data-theme="dark"]) .top-right-theme-toggle[b-4rwelcnfs3],
[data-theme="dark"] .top-right-theme-toggle[b-4rwelcnfs3] {
    background: rgba(15, 23, 42, 0.85) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5) !important;
}

:host-context([data-theme="light"]) .top-right-theme-toggle[b-4rwelcnfs3],
[data-theme="light"] .top-right-theme-toggle[b-4rwelcnfs3] {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(2, 132, 199, 0.35) !important;
    color: #0284c7 !important;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.2) !important;
}

/* Version indicator below login card end */
.login-card-version[b-4rwelcnfs3] {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card-version .version-badge[b-4rwelcnfs3] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(10, 25, 47, 0.65);
    border: 1px solid rgba(6, 182, 212, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
    user-select: none;
}

.login-card-version .version-badge:hover[b-4rwelcnfs3] {
    color: #38bdf8;
    border-color: rgba(6, 182, 212, 0.55);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.25);
    transform: translateY(-1px);
}

.login-card-version .version-dot[b-4rwelcnfs3] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #06b6d4;
    box-shadow: 0 0 8px #06b6d4;
}

:host-context([data-theme="light"]) .login-card-version .version-badge[b-4rwelcnfs3],
[data-theme="light"] .login-card-version .version-badge[b-4rwelcnfs3] {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(2, 132, 199, 0.28) !important;
    color: #475569 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}

:host-context([data-theme="light"]) .login-card-version .version-badge:hover[b-4rwelcnfs3],
[data-theme="light"] .login-card-version .version-badge:hover[b-4rwelcnfs3] {
    color: #0284c7 !important;
    border-color: rgba(2, 132, 199, 0.5) !important;
}

:host-context([data-theme="light"]) .login-card-version .version-dot[b-4rwelcnfs3],
[data-theme="light"] .login-card-version .version-dot[b-4rwelcnfs3] {
    background-color: #0284c7 !important;
    box-shadow: 0 0 8px #0284c7 !important;
}

/* /Components/Pages/UserMaster.razor.rz.scp.css */
/* ============================================================
   LABCARE ELITE — PAGE-SPECIFIC STYLES (page.css)
   ============================================================
   All page-level and component-level styles live here.
   The shared design system (lc-*) lives in app.css.
   ============================================================ */

/* ============================================================
   1. MAIN LAYOUT
   ============================================================ */
.page[b-p0xz57tnzi] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-p0xz57tnzi] {
    flex: 1;
}

.content[b-p0xz57tnzi] {
    padding: 24px 32px !important;
    background-color: #f8fafc !important;
    display: block;
}

.custom-layout-wrapper[b-p0xz57tnzi] {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 641px) {
    .page[b-p0xz57tnzi] {
        flex-direction: row;
    }

    .sidebar[b-p0xz57tnzi] {
        width: 220px;
        height: 100vh;
        position: sticky;
        top: 0;
    }
}


/* ============================================================
   2. SIDEBAR / NAV MENU
   ============================================================ */

/* ── Sidebar toggle button — absolute at sidebar's right edge, half-protruding ── */
.sidebar-wrapper[b-p0xz57tnzi] {
    position: relative;
    overflow: visible !important;
    /* allow button to peek out on the right */
}

.sidebar-toggle-btn[b-p0xz57tnzi] {
    position: absolute;
    top: 40px;
    /* just below the branding bar */
    right: -29px;
    /* moved further right */
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0e7ff;
    border: 2px solid #a5b4fc;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    z-index: 200;
}

.sidebar-toggle-btn:hover[b-p0xz57tnzi] {
    background: #c7d2fe;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    transform: scale(1.12);
}

.sidebar-toggle-btn:active[b-p0xz57tnzi] {
    transform: scale(0.92);
}

/* Collapsed state: button automatically moves with sidebar — no extra needed */
.nav-collapsed .sidebar-toggle-btn[b-p0xz57tnzi] {
    right: -29px;
}

/* ══════════════════════════════════════════════════
   ✦ PREMIUM TOOLTIP — Collapsed Nav (Ultra Modern)
   ══════════════════════════════════════════════════ */

#sidebar.nav-collapsed .v-nav-link[b-p0xz57tnzi],
#sidebar.nav-collapsed .logout-btn[b-p0xz57tnzi] {
    position: relative;
    overflow: visible;
}

.logout-btn-proper[b-p0xz57tnzi] {
    border: none !important;
    outline: none !important;
    color: #ef4444 !important;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
}

.logout-btn-proper:hover[b-p0xz57tnzi] {
    background-color: rgba(239, 68, 68, 0.08) !important;
    color: #dc2626 !important;
}

.logout-btn-proper span[b-p0xz57tnzi] {
    color: inherit !important;
}

/* ── Main tooltip bubble ── */
#sidebar.nav-collapsed .v-nav-link[b-p0xz57tnzi]::after,
#sidebar.nav-collapsed .logout-btn[b-p0xz57tnzi]::after {
    content: attr(data-title);
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(-8px) scale(0.9);

    /* Soft light gradient */
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    box-shadow:
        0 10px 25px -5px rgba(99, 102, 241, 0.2),
        0 8px 10px -6px rgba(99, 102, 241, 0.1),
        0 0 0 1px rgba(165, 180, 252, 0.5),
        /* inner top highlight for 3D effect */
        inset 0 1px 1px rgba(255, 255, 255, 0.4);

    color: #312e81;
    /* Deep indigo instead of black */
    padding: 8px 16px;
    border-radius: 8px;
    /* sharp but smooth corners */
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    white-space: nowrap;

    opacity: 0;
    pointer-events: none;

    /* Spring-like transition for a premium feel */
    transition:
        opacity 0.25s ease-out,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
}

/* ── Glowing left arrow ── */
#sidebar.nav-collapsed .v-nav-link[b-p0xz57tnzi]::before,
#sidebar.nav-collapsed .logout-btn[b-p0xz57tnzi]::before {
    content: '';
    position: absolute;
    left: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    border-style: solid;
    border-width: 6px 6px 6px 0;
    /* Match the gradient's start color */
    border-color: transparent #e0e7ff transparent transparent;
    filter: drop-shadow(-1px 0px 1px rgba(165, 180, 252, 0.5));
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.25s ease-out,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
}

/* ── Hover: show tooltip with bounce ── */
#sidebar.nav-collapsed .v-nav-link:hover[b-p0xz57tnzi]::after,
#sidebar.nav-collapsed .logout-btn:hover[b-p0xz57tnzi]::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
}

#sidebar.nav-collapsed .v-nav-link:hover[b-p0xz57tnzi]::before,
#sidebar.nav-collapsed .logout-btn:hover[b-p0xz57tnzi]::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ── Active link tooltip: vibrant indigo accent ── */
#sidebar.nav-collapsed .v-nav-link.active[b-p0xz57tnzi]::after {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    box-shadow:
        0 10px 25px -5px rgba(79, 70, 229, 0.5),
        0 0 0 1px rgba(129, 140, 248, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

#sidebar.nav-collapsed .v-nav-link.active[b-p0xz57tnzi]::before {
    border-right-color: #4f46e5;
    filter: drop-shadow(-1px 0px 1px rgba(129, 140, 248, 0.6));
}


.sidebar[b-p0xz57tnzi] {
    background-color: #000000;
    padding: 0 !important;
    background: transparent !important;
}

.sidebar-wrapper[b-p0xz57tnzi] {
    width: 220px;
    height: 100vh;
    background-color: #f1f5f9;
    /* soft slate instead of white */
    color: #334155;
    /* slate 700 instead of black */
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(148, 163, 184, 0.15);
    border-right: 1px solid #cbd5e1;
    z-index: 100;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* overflow:visible lets the toggle button peek outside the sidebar edge */
}

/* ── Collapsed state ── */
.sidebar-wrapper.nav-collapsed[b-p0xz57tnzi] {
    width: 68px;
}

/* Hide text/labels when collapsed */
.nav-collapsed .nav-link-text[b-p0xz57tnzi],
.nav-collapsed .nav-text-fade[b-p0xz57tnzi],
.nav-collapsed .nav-user-text[b-p0xz57tnzi] {
    opacity: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 0.15s ease, width 0.3s ease;
}

.nav-link-text[b-p0xz57tnzi],
.nav-text-fade[b-p0xz57tnzi],
.nav-user-text[b-p0xz57tnzi] {
    opacity: 1;
    transition: opacity 0.2s ease 0.05s, width 0.3s ease;
}

/* Center icons when collapsed */
.nav-collapsed .v-nav-link[b-p0xz57tnzi] {
    justify-content: center;
    padding: 12px;
}

.nav-collapsed .v-nav-link .mr-3[b-p0xz57tnzi] {
    margin-right: 0;
}

.nav-collapsed .menu-scroll[b-p0xz57tnzi] {
    padding: 24px 8px;
}

/* Collapsed user avatar centering */
.nav-collapsed .px-4.mb-4[b-p0xz57tnzi] {
    padding: 0 8px 16px;
}

.nav-collapsed .px-4.mb-4 .p-4[b-p0xz57tnzi] {
    padding: 8px;
}

.nav-collapsed .px-4.mb-4 .flex.items-center.gap-3[b-p0xz57tnzi] {
    justify-content: center;
}

/* Logout button collapsed */
.nav-collapsed .mt-auto.p-4 button[b-p0xz57tnzi] {
    justify-content: center;
    padding: 10px;
}

/* ── Toggle Button ── */
.nav-toggle-btn[b-p0xz57tnzi] {
    margin-left: auto;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid rgba(148, 163, 184, 0.25);
    background: rgba(241, 245, 249, 0.10);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.nav-toggle-btn:hover[b-p0xz57tnzi] {
    background: rgba(99, 102, 241, 0.18);
    border-color: #6366f1;
    color: #a5b4fc;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.nav-toggle-btn:active[b-p0xz57tnzi] {
    transform: scale(0.93);
}

.nav-toggle-icon[b-p0xz57tnzi] {
    font-size: 20px !important;
    transition: transform 0.3s ease;
}

/* Collapsed sidebar branding: center logo */
.nav-collapsed .sidebar-branding[b-p0xz57tnzi] {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    padding: 16px 8px;
}

.nav-collapsed .logo-box[b-p0xz57tnzi] {
    flex-shrink: 0;
}

.sidebar-branding[b-p0xz57tnzi] {
    padding: 20px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #cbd5e1;
    position: relative;
}

.logo-box[b-p0xz57tnzi] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box .material-symbols-outlined[b-p0xz57tnzi] {
    color: white;
    font-size: 24px;
}

.logo-text[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
}

.main-title[b-p0xz57tnzi] {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #1e293b;
}

.main-title .highlight[b-p0xz57tnzi] {
    color: #4f46e5;
}

.sub-title[b-p0xz57tnzi] {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    font-weight: 600;
}

.sidebar-branch-badge[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 16px 4px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(124, 58, 237, 0.15) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    animation: badgeFadeIn 0.4s ease;
}

.branch-badge-icon[b-p0xz57tnzi] {
    font-size: 14px !important;
    color: #818cf8;
    flex-shrink: 0;
}

.branch-badge-text[b-p0xz57tnzi] {
    font-size: 11px;
    font-weight: 700;
    color: #c7d2fe;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-scroll[b-p0xz57tnzi] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 16px;
}

.menu-group[b-p0xz57tnzi] {
    margin-bottom: 32px;
}

.group-label[b-p0xz57tnzi] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    margin-bottom: 8px;
    padding-left: 10px;
}

.v-nav[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.v-nav-link[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 8px;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 12.5px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.v-nav-link:hover[b-p0xz57tnzi] {
    background-color: rgba(99, 102, 241, 0.08);
    color: #1e293b !important;
}

.v-nav-link.active[b-p0xz57tnzi] {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), transparent) !important;
    color: #4338ca !important;
    border-left: 3px solid #4f46e5;
    padding-left: 13px !important;
}

.v-nav-link .material-symbols-outlined[b-p0xz57tnzi] {
    font-size: 18px;
}

.mr-3[b-p0xz57tnzi] {
    margin-right: 0.75rem;
}

.user-profile-section[b-p0xz57tnzi] {
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid #232635;
    margin-top: auto;
}

.user-avatar[b-p0xz57tnzi] {
    width: 38px;
    height: 38px;
    background-color: #2D334A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-size: 18px;
}

.user-details[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
}

.user-name[b-p0xz57tnzi] {
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.user-terminal[b-p0xz57tnzi] {
    font-size: 10px;
    color: #64748B;
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.navbar-toggler[b-p0xz57tnzi] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-p0xz57tnzi] {
    background-color: rgba(255, 255, 255, 0.5);
}

.nav-scrollable[b-p0xz57tnzi] {
    display: none;
}

.navbar-toggler:checked~.nav-scrollable[b-p0xz57tnzi] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-p0xz57tnzi] {
        display: none;
    }

    .nav-scrollable[b-p0xz57tnzi] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

.no-scrollbar[b-p0xz57tnzi]::-webkit-scrollbar {
    display: none !important;
}

.no-scrollbar[b-p0xz57tnzi] {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.menu-scroll[b-p0xz57tnzi]::-webkit-scrollbar {
    width: 6px;
}

.menu-scroll[b-p0xz57tnzi]::-webkit-scrollbar-track {
    background: transparent;
}

.menu-scroll[b-p0xz57tnzi]::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

.menu-scroll[b-p0xz57tnzi]::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

/* ============================================================
   4. REGISTER PAGE (Commented out to prevent conflict with SharedComponents.Rcl)
   ============================================================
.register-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    padding: 2rem;
    font-family: 'Inter', sans-serif;
}

.register-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    border: none;
    animation: fadeInUp 0.6s ease-out;
}

.register-card .card-header {
    padding: 2.5rem 3rem 1rem;
    background: transparent;
    border-bottom: none;
}

.register-card .card-body {
    padding: 0 3rem 1.5rem;
}

.register-card .card-footer {
    padding: 1.5rem 3rem 3rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    background: transparent;
    border: none;
}

.register-card .login-prompt {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}


.register-card .progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.register-card .step-badge {
    background-color: #eef2ff;
    color: #4f46e5;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.register-card .step-text {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.register-card .progress-bar {
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.register-card .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.register-card .page-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.register-card .page-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 32px;
}

.register-card .section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.register-card .section-title h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.register-card .section-title .material-icons-outlined {
    color: #4f46e5;
    font-size: 20px;
}

.register-card .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
}

.register-card .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.register-card .form-label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.register-card .form-label .optional {
    color: #94a3b8;
    font-weight: 400;
    font-size: 11px;
}

.register-card .form-control {
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.2s ease;
    width: 100%;
}

.register-card .input-icon-wrapper .form-control {
    padding-left: 44px;
    padding-right: 44px;
}


.register-card .form-control:focus {
    background: white;
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.register-card .btn-text {
    background: transparent;
    border: none;
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.register-card .btn-primary {
    background: #4f46e5;
    color: white;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    transition: all 0.2s;
    width: auto;
    min-width: 160px;
}

.register-success-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #f8fafc;
    text-align: center;
    padding: 24px;
}

.success-illustration {
    width: 350px;
    max-width: 90%;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.success-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.success-subtitle {
    color: #64748b;
    font-size: 18px;
    font-weight: 500;
}
*/





.form-section-card[b-p0xz57tnzi] {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    max-width: 500px;
    margin: 40px auto;
}

.progress-header[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.step-badge[b-p0xz57tnzi] {
    padding: 0.25rem 0.75rem;
    background-color: #EFF6FF;
    color: #2563EB;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.step-text[b-p0xz57tnzi] {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
}

.progress-bar[b-p0xz57tnzi] {
    height: 0.375rem;
    background-color: #F1F5F9;
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.progress-fill[b-p0xz57tnzi] {
    height: 100%;
    background-color: var(--lc-primary);
    transition: width 0.3s ease;
}

.page-title[b-p0xz57tnzi] {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.page-subtitle[b-p0xz57tnzi] {
    color: #94a3b8;
    margin: 0 0 2rem;
}

.security-reqs[b-p0xz57tnzi] {
    background-color: #F8FAFC;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--lc-border);
    margin-top: 1.5rem;
}

.security-reqs h4[b-p0xz57tnzi] {
    font-size: 0.625rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1rem 0;
}

.req-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
}

.req-item[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.req-icon[b-p0xz57tnzi] {
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    border: 1px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.req-item.valid .req-icon[b-p0xz57tnzi] {
    border-color: var(--lc-success);
    background-color: #ECFDF5;
}

.req-item.valid .req-icon span[b-p0xz57tnzi] {
    font-size: 0.625rem;
    color: var(--lc-success);
    font-weight: 700;
}

.req-item:not(.valid) .req-icon span[b-p0xz57tnzi] {
    display: none;
}

.input-icon-wrapper[b-p0xz57tnzi] {
    position: relative;
}

.input-icon-wrapper input[b-p0xz57tnzi] {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.input-icon-left[b-p0xz57tnzi] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
}

.input-icon-right[b-p0xz57tnzi] {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.input-icon-right:hover[b-p0xz57tnzi] {
    color: #64748b;
}

.bg-decorator[b-p0xz57tnzi] {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    opacity: 0.1;
    pointer-events: none;
}

.password-step-container[b-p0xz57tnzi] {
    max-width: 28rem;
    margin: 2rem auto 0;
}

.password-group[b-p0xz57tnzi] {
    margin-bottom: 1.5rem;
}


/* ============================================================
   5. FORGOT PASSWORD PAGE
   ============================================================ */
.auth-page-wrapper[b-p0xz57tnzi] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.background-mesh[b-p0xz57tnzi] {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 0.1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0.1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0.1) 0, transparent 50%);
    z-index: 0;
}

.auth-container[b-p0xz57tnzi] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.auth-card[b-p0xz57tnzi] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.brand-section[b-p0xz57tnzi] {
    padding: 40px 40px 20px;
    text-align: center;
}

.logo-circle[b-p0xz57tnzi] {
    width: 64px;
    height: 64px;
    background: #4F46E5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.brand-section h2[b-p0xz57tnzi] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.brand-section p[b-p0xz57tnzi] {
    color: #64748b;
    font-size: 0.875rem;
}

.auth-form-content[b-p0xz57tnzi] {
    padding: 0 40px 40px;
}

.form-title[b-p0xz57tnzi] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-subtitle[b-p0xz57tnzi] {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.auth-form-content .form-group[b-p0xz57tnzi] {
    margin-bottom: 20px;
}

.auth-form-content .form-group label[b-p0xz57tnzi] {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
}

.auth-form-content .input-container[b-p0xz57tnzi] {
    position: relative;
}

.auth-form-content .input-container i[b-p0xz57tnzi] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.auth-form-content .form-control[b-p0xz57tnzi] {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.auth-form-content .form-control:focus[b-p0xz57tnzi] {
    background: #fff;
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.btn-primary[b-p0xz57tnzi] {
    width: 100%;
    padding: 12px;
    background: #4F46E5;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-primary:hover:not(:disabled)[b-p0xz57tnzi] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.2);
}

.btn-primary:active[b-p0xz57tnzi] {
    transform: translateY(0);
}

.btn-link[b-p0xz57tnzi] {
    background: none;
    border: none;
    color: #4F46E5;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    cursor: pointer;
}

.auth-form-content .alert[b-p0xz57tnzi] {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-form-content .alert-danger[b-p0xz57tnzi] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.auth-form-content .alert-success[b-p0xz57tnzi] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #dcfce7;
}

.auth-footer[b-p0xz57tnzi] {
    margin-top: 32px;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.auth-footer a[b-p0xz57tnzi] {
    color: #4F46E5;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover[b-p0xz57tnzi] {
    text-decoration: underline;
}

.reset-account-info[b-p0xz57tnzi] {
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #4F46E5;
}

.reset-account-info i[b-p0xz57tnzi] {
    font-size: 1.1rem;
}


/* ============================================================
   6. REFERRAL / MASTER PAGES
   ============================================================ */
.referral-page[b-p0xz57tnzi] {
    padding: 24px 32px;
    background-color: #f8fafc;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.referral-header[b-p0xz57tnzi] {
    margin-bottom: 24px;
}

.referral-header h2[b-p0xz57tnzi] {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.referral-header p[b-p0xz57tnzi] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.referral-header .branch-label[b-p0xz57tnzi],
.referral-header .header-counter[b-p0xz57tnzi] {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.referral-header .branch-pill[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
    vertical-align: middle;
    min-width: 30px;
    justify-content: center;
}

.header-actions[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-search-input[b-p0xz57tnzi] {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    outline: none;
    width: 250px;
    background-color: #f8fafc;
    transition: width 0.3s, border-color 0.2s;
}

.header-search-input:focus[b-p0xz57tnzi] {
    width: 300px;
    border-color: var(--lc-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.add-referral-section[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.add-referral-section:hover[b-p0xz57tnzi] {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.section-header[b-p0xz57tnzi] {
    display: flex;
    gap: 16px;
    align-items: center;
}

.section-icon-large[b-p0xz57tnzi] {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

.section-header h3[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
}

.section-header p[b-p0xz57tnzi] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    margin-left: 64px;
}

.referral-content[b-p0xz57tnzi] {
    background-color: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 32px;
}

.btn-new-entry[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-new-entry:hover[b-p0xz57tnzi] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.search-controls[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* ============================================================
   7. MASTER FORM MODAL
   ============================================================ */
.modal-overlay[b-p0xz57tnzi] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

/* Modal container (form-card inside overlay) */
.modal-form-card[b-p0xz57tnzi] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: slideDownFade 0.3s ease-out;
}

/* Lab Test Master Table Styles */
.tm-table-input[b-p0xz57tnzi],
.tm-table-select[b-p0xz57tnzi] {
    width: 100%;
    height: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 11px;
    background-color: #fff;
    color: #1e293b;
    outline: none;
    transition: all 0.2s;
}

.tm-table-input:focus[b-p0xz57tnzi],
.tm-table-select:focus[b-p0xz57tnzi] {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.tm-btn-icon-red[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 4px;
    background-color: #fef2f2;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-icon-red:hover[b-p0xz57tnzi] {
    background-color: #fee2e2;
    color: #dc2626;
    transform: scale(1.05);
}

.tm-param-input[b-p0xz57tnzi] {
    width: 100%;
    height: 24px;
    border: none;
    background: transparent;
    font-size: 11px;
    color: #1e293b;
    outline: none;
    padding: 0 4px;
}

.modal-form-card form[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

/* Modal header bar */
.modal-header-bar[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-p0xz57tnzi] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-p0xz57tnzi] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-p0xz57tnzi] {
    color: #ef4444;
    background: #fef2f2;
}

/* Master Autocomplete Dropdown */
.master-search-dropdown[b-p0xz57tnzi] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    padding: 0;
    margin-top: 4px;
}

.master-search-item[b-p0xz57tnzi] {
    width: 100%;
    text-align: left;
    padding: 10px 16px;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    color: #475569;
    transition: background 0.2s;
}

.master-search-item:hover[b-p0xz57tnzi] {
    background: #f8fafc;
    color: #4f46e5;
}

.master-search-item:last-child[b-p0xz57tnzi] {
    border-bottom: none;
}

/* Modal scrollable body */
.modal-body[b-p0xz57tnzi] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

/* Modal footer / action bar */
.modal-footer-bar[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

/* Billing Patient Search Dropdown */
.customer-search-dropdown[b-p0xz57tnzi] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    max-height: 280px;
    overflow-y: auto;
    margin-top: 8px;
    padding: 8px;
}

.customer-search-item[b-p0xz57tnzi] {
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8fafc;
}

.customer-search-item:last-child[b-p0xz57tnzi] {
    border-bottom: none;
}

.customer-search-item:hover[b-p0xz57tnzi] {
    background-color: #f1f5f9;
}

.cs-name[b-p0xz57tnzi] {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.cs-details[b-p0xz57tnzi] {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Test Search Dropdown */
.test-search-dropdown[b-p0xz57tnzi] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1060;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    margin-top: 8px;
    padding: 8px;
}

.test-search-item[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8fafc;
}

.test-search-item:last-child[b-p0xz57tnzi] {
    border-bottom: none;
}

.test-search-item:hover[b-p0xz57tnzi] {
    background-color: #f1f5f9;
}

.ts-info[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ts-name[b-p0xz57tnzi] {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.ts-code[b-p0xz57tnzi] {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
}

.ts-price[b-p0xz57tnzi] {
    font-size: 14px;
    font-weight: 800;
    color: #4f46e5;
}


/* ============================================================
   8. FORM CARD (inline, non-modal)
   ============================================================ */
.form-card[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    animation: slideDownFade 0.4s ease-out;
}

.form-section[b-p0xz57tnzi] {
    margin-bottom: 32px;
}

.form-section:last-child[b-p0xz57tnzi] {
    margin-bottom: 0;
}

.section-title[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.section-icon[b-p0xz57tnzi] {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

.section-icon svg[b-p0xz57tnzi] {
    width: 14px;
    height: 14px;
}

.form-row[b-p0xz57tnzi] {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.form-row:last-child[b-p0xz57tnzi] {
    margin-bottom: 0;
}

.form-group[b-p0xz57tnzi] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width[b-p0xz57tnzi] {
    flex: 1 1 100%;
}

.form-group label[b-p0xz57tnzi] {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

/* Form control (legacy) */
.form-control[b-p0xz57tnzi] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    width: 100%;
}

.form-control:focus[b-p0xz57tnzi] {
    background: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-control[b-p0xz57tnzi]::placeholder {
    color: #94a3b8;
}

select.form-control[b-p0xz57tnzi] {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    color: #1e293b !important;
    background-color: #ffffff !important;
    height: 40px !important;
    font-size: 14px !important;
    padding: 0 40px 0 16px !important;
    line-height: 40px !important;
}

select.form-control option[b-p0xz57tnzi] {
    color: #1e293b !important;
    background-color: #ffffff !important;
    padding: 8px !important;
}

textarea.form-control[b-p0xz57tnzi] {
    min-height: 80px;
    resize: vertical;
}

/* Form column layouts */
.form-cols-4[b-p0xz57tnzi] {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.form-cols-5[b-p0xz57tnzi] {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.form-cols-4-area[b-p0xz57tnzi] {
    grid-template-columns: 120px 1.5fr 1.5fr 2fr;
}

.form-cols-3-city[b-p0xz57tnzi] {
    grid-template-columns: 1fr 1fr;
}

/* ============================================================
   17. BRANCH MASTER - REFACTORED
   ============================================================ */
.branch-master-container[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 5rem);
    /* Adjust based on MainLayout header if any */
    background-color: #f8fafc;
}

.branch-master-header[b-p0xz57tnzi] {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.branch-master-content[b-p0xz57tnzi] {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ============================================================
   17. TEST MASTER REDESIGN (Dynamic Dashboard)
   ============================================================ */
.tm-container[b-p0xz57tnzi] {
    padding: 24px;
    background-color: #f8fafc;
    min-height: 100vh;
}

.tm-dashboard-card[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.tm-grid-row-1[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.tm-grid-row-2[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.tm-grid-row-3[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 32px;
}

.tm-label-upper[b-p0xz57tnzi] {
    font-size: 10px;
    font-weight: 800;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.tm-input-premium[b-p0xz57tnzi] {
    height: 44px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    padding: 0 16px !important;
    transition: all 0.2s ease;
}

.tm-input-premium:focus[b-p0xz57tnzi] {
    background: #ffffff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}

.tm-radio-tile-group[b-p0xz57tnzi] {
    display: flex;
    gap: 24px;
    align-items: center;
}

.tm-radio-item[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.tm-radio-dot[b-p0xz57tnzi] {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.tm-radio-item:hover .tm-radio-dot[b-p0xz57tnzi] {
    border-color: #6366f1;
}

input[type="radio"]:checked+.tm-radio-dot[b-p0xz57tnzi] {
    border-color: #6366f1;
    background-color: #ffffff;
}

input[type="radio"]:checked+.tm-radio-dot[b-p0xz57tnzi]::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #6366f1;
    border-radius: 50%;
}

/* Split Layout */
.tm-split-layout[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

.tm-left-panel[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tm-panel-card[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.tm-panel-header[b-p0xz57tnzi] {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.tm-param-list-premium[b-p0xz57tnzi] {
    padding: 8px 0;
}

.tm-param-row[b-p0xz57tnzi] {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.2s;
}

.tm-param-row:hover[b-p0xz57tnzi] {
    background: #f8fafc;
}

.tm-check-circle[b-p0xz57tnzi] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.tm-check-circle.checked[b-p0xz57tnzi] {
    background: #6366f1;
    border-color: #6366f1;
}

.tm-check-circle.checked span[b-p0xz57tnzi] {
    font-size: 14px;
}

.tm-panel-footer[b-p0xz57tnzi] {
    padding: 16px 20px;
    background: #fdfdfd;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Settings Card (Right Side) */
.tm-settings-card[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.tm-settings-top[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.tm-tabs-row[b-p0xz57tnzi] {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 24px;
    padding: 0 8px;
}

.tm-tab-item[b-p0xz57tnzi] {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    padding: 12px 0;
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
}

.tm-tab-item.active[b-p0xz57tnzi] {
    color: #6366f1;
}

.tm-tab-item.active[b-p0xz57tnzi]::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #6366f1;
    border-radius: 3px 3px 0 0;
}

.tm-template-box[b-p0xz57tnzi] {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 24px;
}

.tm-editor-toolbar[b-p0xz57tnzi] {
    padding: 8px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-editor-textarea[b-p0xz57tnzi] {
    width: 100%;
    min-height: 140px;
    padding: 20px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    color: #475569;
    resize: none;
    background: #ffffff;
}

.tm-settings-footer[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.btn-update-premium[b-p0xz57tnzi] {
    padding: 12px 32px;
    background: #ffffff;
    border: 1px solid #ffedd5;
    color: #f97316;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-update-premium:hover[b-p0xz57tnzi] {
    background: #fff7ed;
    border-color: #fdba74;
}

.btn-profile-black[b-p0xz57tnzi] {
    background: #1e293b;
    color: white;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s;
}

.btn-profile-black:hover[b-p0xz57tnzi] {
    background: var(--lc-secondary);
    transform: translateY(-1px);
}

.branch-master-footer[b-p0xz57tnzi] {
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-cols-branch-1[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.form-cols-branch-2[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.btn-branch-save[b-p0xz57tnzi] {
    background-color: #4C51BF !important;
    color: white !important;
}

.btn-branch-delete[b-p0xz57tnzi] {
    background-color: #E53E3E !important;
    color: white !important;
}

.btn-branch-close[b-p0xz57tnzi] {
    background-color: #4A5568 !important;
    color: white !important;
}

.branch-alert[b-p0xz57tnzi] {
    background-color: #FFF5F5 !important;
    border: 1px solid #FED7D7 !important;
    color: #C53030 !important;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.header-search-icon[b-p0xz57tnzi] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lc-slate-400);
}

.branch-color-preview[b-p0xz57tnzi] {
    width: 38px;
    height: 38px;
    padding: 2px;
    border-radius: 8px;
    border: 1px solid var(--lc-border);
    background: white;
    cursor: pointer;
}

.form-group-span-2[b-p0xz57tnzi] {
    grid-column: span 2;
}

.branch-table-wrapper[b-p0xz57tnzi] {
    max-height: 400px;
    overflow-y: auto;
}

.btn-table-action[b-p0xz57tnzi] {
    min-width: 32px;
}

.form-cols-counter-1[b-p0xz57tnzi] {
    grid-template-columns: 2fr 1fr 2fr 1fr;
}

.form-cols-counter-2[b-p0xz57tnzi] {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.form-cols-counter-3[b-p0xz57tnzi] {
    grid-template-columns: 1fr 3fr;
}

.custom-grid-general-1[b-p0xz57tnzi] {
    grid-template-columns: 80px 1.2fr 1.2fr 1fr 1.2fr 1fr;
}

.custom-grid-general-2[b-p0xz57tnzi] {
    grid-template-columns: 1fr 1fr 2fr;
}

.custom-grid-billing-1[b-p0xz57tnzi] {
    grid-template-columns: 1.2fr 1.5fr 1fr 1fr;
}

.custom-grid-billing-2[b-p0xz57tnzi] {
    grid-template-columns: 1fr 1fr 2fr;
}

.custom-grid-comm-1[b-p0xz57tnzi],
.custom-grid-comm-2[b-p0xz57tnzi],
.custom-grid-comm-3[b-p0xz57tnzi] {
    grid-template-columns: repeat(4, 1fr);
}

.custom-grid-comm-4[b-p0xz57tnzi] {
    grid-template-columns: 2fr 1fr 1fr;
}

/* Pay type buttons */
.pay-type-buttons[b-p0xz57tnzi] {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
    box-sizing: border-box;
}

.pay-btn[b-p0xz57tnzi] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.pay-btn:hover[b-p0xz57tnzi] {
    color: #1e293b;
}

.pay-btn.active[b-p0xz57tnzi] {
    background: #ffffff;
    color: #6366f1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.sms-alert[b-p0xz57tnzi] {
    color: #ef4444;
    font-size: 10px;
    margin-top: 6px;
}

/* Form actions bar */
.form-actions[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.running-total[b-p0xz57tnzi] {
    margin-right: auto;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.total-label[b-p0xz57tnzi] {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
}

.total-amount[b-p0xz57tnzi] {
    font-size: 20px;
    font-weight: 700;
    color: #6366f1;
}

.btn-delete[b-p0xz57tnzi] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-close[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    transition: all 0.2s;
}

.btn-close:hover[b-p0xz57tnzi] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-save[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-p0xz57tnzi] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.error-input[b-p0xz57tnzi] {
    border-color: #ef4444 !important;
    background-color: #ffffff !important;
}

.error-text[b-p0xz57tnzi] {
    color: #ef4444 !important;
}


/* ============================================================
   9. DIRECTORY TABLE
   ============================================================ */
.directory-section[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.directory-header[b-p0xz57tnzi] {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.directory-header h3[b-p0xz57tnzi] {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.directory-controls[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-controls[b-p0xz57tnzi] {
    display: flex;
    gap: 12px;
}

.show-entries[b-p0xz57tnzi] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 13px;
    color: #475569;
    outline: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-filter[b-p0xz57tnzi],
.btn-export[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-filter:hover[b-p0xz57tnzi],
.btn-export:hover[b-p0xz57tnzi] {
    background: #f1f5f9;
}

.table-wrapper[b-p0xz57tnzi] {
    overflow-x: auto;
}

.directory-table[b-p0xz57tnzi] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.directory-table th[b-p0xz57tnzi] {
    background: #6366f1;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 24px;
}

.directory-table td[b-p0xz57tnzi] {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
    color: #475569;
    vertical-align: middle;
}

.directory-table tbody tr:hover[b-p0xz57tnzi] {
    background: #f8fafc;
}

/* Directory table cell helpers */
.td-order-no[b-p0xz57tnzi] {
    color: #6366f1;
    font-weight: 700;
}

.td-name[b-p0xz57tnzi] {
    font-weight: 600;
    color: #1e293b;
}

.td-narration[b-p0xz57tnzi] {
    color: #94a3b8;
    font-size: 13px;
}

.code-link[b-p0xz57tnzi] {
    color: #6366f1;
    font-weight: 700;
    cursor: pointer;
}

.doctor-name[b-p0xz57tnzi] {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.doctor-email[b-p0xz57tnzi] {
    font-size: 12px;
    color: #94a3b8;
}

/* Status badges */
.status-badge[b-p0xz57tnzi] {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-active[b-p0xz57tnzi] {
    background: #dcfce7;
    color: #16a34a;
}

.status-inactive[b-p0xz57tnzi] {
    background: #fee2e2;
    color: #dc2626;
}

.status-progress[b-p0xz57tnzi] {
    background: #fef3c7;
    color: #d97706;
}

/* Table action buttons */
.btn-action[b-p0xz57tnzi] {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 14px;
    padding: 4px 8px;
    transition: color 0.2s;
}

.btn-edit:hover[b-p0xz57tnzi] {
    color: #6366f1;
}

.btn-delete-action:hover[b-p0xz57tnzi] {
    color: #ef4444;
}


/* ============================================================
   10. CUSTOM CARD (Counter / Branch inline layout)
   ============================================================ */
.custom-card[b-p0xz57tnzi] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.custom-card .form-control[b-p0xz57tnzi] {
    height: 32px;
    padding: 0.25rem 0.5rem;
    font-size: 13px;
    border-radius: 6px;
}

.custom-card .form-label[b-p0xz57tnzi] {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.custom-card select.form-control[b-p0xz57tnzi] {
    height: 40px !important;
    line-height: normal !important;
}

/* Lab header card */
.lab-header-card[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04) !important;
    padding: 1.25rem !important;
    border-radius: 0.75rem !important;
    display: flex;
    align-items: center;
}

.lab-title-text[b-p0xz57tnzi] {
    color: #312e81 !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

/* Lab Header Variations */
.lab-header-card.flex-between[b-p0xz57tnzi] {
    justify-content: space-between;
    margin-bottom: 24px;
}

/* Lab header sub-elements */
.lab-header-ops-badge[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.lab-header-ops-label[b-p0xz57tnzi] {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
}

.lab-header-ops-value[b-p0xz57tnzi] {
    color: var(--lc-secondary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.lab-header-ops-placeholder[b-p0xz57tnzi] {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
}

.lab-header-tenant-pill[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.lab-header-active-pill[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

/* Lab input (shared) */
.lab-input[b-p0xz57tnzi] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lab-input:focus[b-p0xz57tnzi] {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lab-input-lg[b-p0xz57tnzi] {
    padding: 1rem 1rem;
    font-size: 1rem;
    min-height: 48px;
}

.lab-input-lg:focus[b-p0xz57tnzi] {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Tab buttons */
.btn-tab[b-p0xz57tnzi] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-right: none;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    outline: none;
}

.btn-tab:last-child[b-p0xz57tnzi] {
    border-right: 1px solid #e2e8f0;
}

.active-tab[b-p0xz57tnzi] {
    background: white;
    color: #1e293b;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid white;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
}

.active-tab+.btn-tab[b-p0xz57tnzi] {
    border-left: none;
}


/* ============================================================
   11. BRANCH / COUNTER PAGE — SECTION CARDS
   ============================================================ */
.page-section-card[b-p0xz57tnzi] {
    background: white;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-section-card-header[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    background: #f8fafc;
}

.page-section-card-header h3[b-p0xz57tnzi] {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #1e293b;
    margin: 0;
}

.page-section-card-count[b-p0xz57tnzi] {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary, #4f46e5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Global Spacing Utilities */
.mb-0[b-p0xz57tnzi] {
    margin-bottom: 0 !important;
}

.mb-6[b-p0xz57tnzi] {
    margin-bottom: 24px !important;
}

.mt-6[b-p0xz57tnzi] {
    margin-top: 24px !important;
}

.text-center[b-p0xz57tnzi] {
    text-align: center !important;
}

.p-24[b-p0xz57tnzi] {
    padding: 24px !important;
}

/* Color dot used in branch/counter lists */
.color-dot[b-p0xz57tnzi] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Branch / counter table scrollable wrapper */
.scrollable-table-wrapper[b-p0xz57tnzi] {
    max-height: 400px;
    overflow-y: auto;
}

/* Branch form sub-heading */
.form-section-heading[b-p0xz57tnzi] {
    margin: 0 0 1.5rem 0;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #1e293b;
}

/* Branch Type checkbox row */
.branch-type-row[b-p0xz57tnzi] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    height: 40px;
    padding-left: 4px;
}

.branch-type-label[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
}

/* Card footer actions */
.card-footer-actions[b-p0xz57tnzi] {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color, #e2e8f0);
    background: white;
    border-radius: 1rem;
}

.footer-left-controls[b-p0xz57tnzi] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-right-controls[b-p0xz57tnzi] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.display-active-label[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
}

.btn-footer-cancel[b-p0xz57tnzi] {
    background: transparent;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    cursor: pointer;
}

.btn-footer-delete[b-p0xz57tnzi] {
    background: #ef4444;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn-footer-save[b-p0xz57tnzi] {
    background: var(--primary, #4f46e5);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn-footer-close[b-p0xz57tnzi] {
    background: #64748b;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn-footer-delete:disabled[b-p0xz57tnzi],
.btn-footer-save:disabled[b-p0xz57tnzi] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Alert messages (branch / counter inline) */
.alert[b-p0xz57tnzi] {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.alert-error[b-p0xz57tnzi] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.alert-success[b-p0xz57tnzi] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #dcfce7;
}


/* ============================================================
   12. COUNTER PAGE — CARD HEADER / BODY
   ============================================================ */
.card-header-bar[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    padding: 1.5rem;
    background: white;
}

.card-header-left[b-p0xz57tnzi] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.card-header-title[b-p0xz57tnzi] {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.card-header-subtitle[b-p0xz57tnzi] {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.card-header-right[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-input-wrapper[b-p0xz57tnzi] {
    position: relative;
    width: 250px;
}

.search-input-wrapper .search-icon[b-p0xz57tnzi] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted, #64748b);
    font-size: 1.25rem;
    pointer-events: none;
}

/* Color input row */
.color-input-row[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 40px;
}

.color-input-value[b-p0xz57tnzi] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
}

.active-checkbox-label[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.active-checkbox-label span[b-p0xz57tnzi] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary, #4f46e5);
}


/* ============================================================
   13. BADGES (legacy support)
   ============================================================ */
.badge[b-p0xz57tnzi] {
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-success[b-p0xz57tnzi] {
    background-color: #dcfce7;
    color: #15803d;
}

.badge-warning[b-p0xz57tnzi] {
    background-color: #fef3c7;
    color: #b45309;
}

.badge-danger[b-p0xz57tnzi] {
    background-color: #fee2e2;
    color: #b91c1c;
}



/* ============================================================
   14. FORGOT PASSWORD PAGE
   ============================================================ */
.auth-page-wrapper[b-p0xz57tnzi] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.background-mesh[b-p0xz57tnzi] {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 0.1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0.1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0.1) 0, transparent 50%);
    z-index: 0;
}

.auth-container[b-p0xz57tnzi] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.auth-card[b-p0xz57tnzi] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.brand-section[b-p0xz57tnzi] {
    padding: 40px 40px 20px;
    text-align: center;
}

.logo-circle[b-p0xz57tnzi] {
    width: 64px;
    height: 64px;
    background: #4F46E5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.brand-section h2[b-p0xz57tnzi] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.brand-section p[b-p0xz57tnzi] {
    color: #64748b;
    font-size: 0.875rem;
}

.auth-form-content[b-p0xz57tnzi] {
    padding: 0 40px 40px;
}

.form-title[b-p0xz57tnzi] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-subtitle[b-p0xz57tnzi] {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.auth-page-wrapper .form-group[b-p0xz57tnzi] {
    margin-bottom: 20px;
}

.auth-page-wrapper .form-group label[b-p0xz57tnzi] {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
}

.input-container[b-p0xz57tnzi] {
    position: relative;
}

.input-container i[b-p0xz57tnzi] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.auth-page-wrapper .form-control[b-p0xz57tnzi] {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.auth-page-wrapper .form-control:focus[b-p0xz57tnzi] {
    background: #fff;
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.auth-page-wrapper .btn-primary[b-p0xz57tnzi] {
    width: 100%;
    padding: 12px;
    background: #4F46E5;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    transition: all 0.2s;
    margin-top: 10px;
}

.auth-page-wrapper .btn-primary:hover:not(:disabled)[b-p0xz57tnzi] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.2);
}

.auth-page-wrapper .btn-primary:active[b-p0xz57tnzi] {
    transform: translateY(0);
}

.btn-link[b-p0xz57tnzi] {
    background: none;
    border: none;
    color: #4F46E5;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    cursor: pointer;
}

.alert-danger[b-p0xz57tnzi] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.auth-footer[b-p0xz57tnzi] {
    margin-top: 32px;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.auth-footer a[b-p0xz57tnzi] {
    color: #4F46E5;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover[b-p0xz57tnzi] {
    text-decoration: underline;
}

.reset-account-info[b-p0xz57tnzi] {
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #4F46E5;
}

.reset-account-info i[b-p0xz57tnzi] {
    font-size: 1.1rem;
}


/* ============================================================
   15. LOGIN PAGE
   ============================================================ */
.login-page-wrapper[b-p0xz57tnzi] {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--lc-secondary) 0%, #1e1b4b 50%, var(--lc-secondary) 100%);
}

.login-bg-pattern[b-p0xz57tnzi] {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 60% at 10% 20%, rgba(99, 102, 241, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 90% 80%, rgba(124, 58, 237, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    z-index: 0;
    animation: bgShift-b-p0xz57tnzi 12s ease-in-out infinite alternate;
}

@keyframes bgShift-b-p0xz57tnzi {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.7;
    }
}

.login-container[b-p0xz57tnzi] {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    min-height: 100vh;
}

.login-content[b-p0xz57tnzi] {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-card[b-p0xz57tnzi] {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 44px 40px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.5s ease-out;
}

.brand-logo[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.brand-logo-rect[b-p0xz57tnzi] {
    fill: #6366f1;
}

.brand-logo-path[b-p0xz57tnzi] {
    fill: white;
}

.brand-name[b-p0xz57tnzi] {
    font-size: 1.375rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.brand-subtitle[b-p0xz57tnzi] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #818cf8;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.login-title[b-p0xz57tnzi] {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: -0.75px;
}

.login-subtitle[b-p0xz57tnzi] {
    color: rgba(148, 163, 184, 0.9);
    font-size: 0.825rem;
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.6;
}

.login-form-group[b-p0xz57tnzi] {
    margin-bottom: 14px;
}

.input-wrapper[b-p0xz57tnzi] {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon[b-p0xz57tnzi] {
    position: absolute;
    left: 14px;
    color: rgba(148, 163, 184, 0.7);
    pointer-events: none;
    display: flex;
    align-items: center;
    z-index: 1;
}

.login-input[b-p0xz57tnzi] {
    width: 100%;
    padding: 14px 16px 14px 46px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    font-size: 0.875rem;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.25s ease;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.login-input:focus[b-p0xz57tnzi] {
    background: rgba(255, 255, 255, 0.12);
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.login-input[b-p0xz57tnzi]::placeholder {
    color: rgba(148, 163, 184, 0.6);
    font-weight: 400;
}

.password-toggle[b-p0xz57tnzi] {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(148, 163, 184, 0.7);
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.password-toggle:hover[b-p0xz57tnzi] {
    color: #a5b4fc;
}

.status-message[b-p0xz57tnzi] {
    color: #fca5a5;
    font-size: 0.8rem;
    text-align: center;
    padding: 10px 14px;
    margin-bottom: 8px;
    font-weight: 500;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
}

.btn-login[b-p0xz57tnzi] {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 60%, #4338ca 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-login[b-p0xz57tnzi]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover:not(:disabled)[b-p0xz57tnzi]::before {
    left: 100%;
}

.btn-login:hover:not(:disabled)[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 60%, #4f46e5 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

.btn-login:active[b-p0xz57tnzi] {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
}

.btn-login:disabled[b-p0xz57tnzi] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.forgot-password[b-p0xz57tnzi] {
    text-align: right;
    margin: 14px 0 0;
}

.forgot-password a[b-p0xz57tnzi] {
    color: rgba(148, 163, 184, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password a:hover[b-p0xz57tnzi] {
    color: #a5b4fc;
}

.login-footer-text[b-p0xz57tnzi] {
    text-align: center;
    margin-top: 28px;
    font-size: 0.825rem;
    color: rgba(148, 163, 184, 0.7);
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.register-link[b-p0xz57tnzi] {
    color: #a5b4fc;
    font-weight: 700;
    text-decoration: none;
}

.register-link:hover[b-p0xz57tnzi] {
    color: #818cf8;
    text-decoration: underline;
}

.login-bottom-footer[b-p0xz57tnzi] {
    text-align: center;
    padding: 24px 0 8px;
}

.footer-link[b-p0xz57tnzi] {
    color: rgba(100, 116, 139, 0.7);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover[b-p0xz57tnzi] {
    color: #818cf8;
}

.footer-separator[b-p0xz57tnzi] {
    color: rgba(203, 213, 225, 0.3);
    margin: 0 12px;
    font-size: 0.5rem;
}

/* Branch color input */
.branch-color-input[b-p0xz57tnzi] {
    width: 42px;
    height: 42px;
    padding: 2px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.branch-color-input:hover[b-p0xz57tnzi] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Table status indicator dot (replaces color-dot) */
.table-status-indicator[b-p0xz57tnzi] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}


/* ============================================================
   16. REFERRAL MASTER PAGE
   ============================================================ */
.referral-header-details[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
}

.referral-subtitle[b-p0xz57tnzi] {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 600;
    margin: 0;
}

.search-wrapper[b-p0xz57tnzi] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-icon-inline[b-p0xz57tnzi] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.search-input-pill[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    color: #1e293b;
    outline: none;
    width: 200px;
    transition: all 0.2s;
}

.search-input-pill:focus[b-p0xz57tnzi] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.doctor-detail-cell[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.doctor-avatar[b-p0xz57tnzi] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e7ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.tm-dropdown-item[b-p0xz57tnzi] {
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-dropdown-item:hover[b-p0xz57tnzi] {
    background: #f1f5f9;
}

.tm-dropdown-name[b-p0xz57tnzi] {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
}

.tm-dropdown-shortname[b-p0xz57tnzi] {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.tm-input-accent[b-p0xz57tnzi] {
    border: 1.5px solid #cbd5e1 !important;
    background: white !important;
    font-weight: 500 !important;
}

.tm-input-accent:focus[b-p0xz57tnzi] {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

.doctor-info-text[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
}

/* ============================================================
   12. TEST MASTER PANEL ACTIONS
   ============================================================ */
.tm-panel-header[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-center: items-center;
    padding: 16px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.tm-panel-badge[b-p0xz57tnzi] {
    padding: 4px 12px;
    background: #eef2ff;
    color: #4f46e5;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.tm-panel-title[b-p0xz57tnzi] {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.tm-btn-outline[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-outline:hover[b-p0xz57tnzi] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.tm-btn-primary[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #4f46e5;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    transition: all 0.2s;
}

.tm-btn-primary:hover[b-p0xz57tnzi] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.tm-btn-danger[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff1f2;
    border: 1.5px solid #fecdd3;
    border-radius: 12px;
    color: #e11d48;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-danger:hover[b-p0xz57tnzi] {
    background: #ffe4e6;
    border-color: #fda4af;
    color: #be123c;
}

.doctor-name-text[b-p0xz57tnzi] {
    font-weight: 600;
    color: #1e293b;
}

.doctor-email-text[b-p0xz57tnzi] {
    font-size: 11px;
    color: #64748b;
}

.form-grid-prefix[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
}

.form-grid-doctor-details[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.form-grid-two-cols[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pay-type-buttons[b-p0xz57tnzi] {
    display: flex;
    gap: 8px;
}

.pay-btn[b-p0xz57tnzi] {
    flex: 1;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    color: #64748b;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.pay-btn.active[b-p0xz57tnzi] {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}

/* Directory Section & Table */
.directory-section[b-p0xz57tnzi] {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-top: 24px;
}

.directory-header[b-p0xz57tnzi] {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.directory-header h3[b-p0xz57tnzi] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.table-wrapper[b-p0xz57tnzi] {
    overflow-x: auto;
    padding: 0;
}

.directory-table[b-p0xz57tnzi] {
    width: 100%;
    border-collapse: collapse;
}

.directory-table th[b-p0xz57tnzi] {
    background-color: #f8fafc;
    padding: 12px 24px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #f1f5f9;
}

.directory-table td[b-p0xz57tnzi] {
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #475569;
}

.directory-table tr:hover[b-p0xz57tnzi] {
    background-color: #f8fafc;
}

.code-link[b-p0xz57tnzi] {
    font-weight: 700;
    color: #4f46e5;
}

.btn-action[b-p0xz57tnzi] {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0 2px;
}

.btn-edit:hover:not(:disabled)[b-p0xz57tnzi] {
    border-color: #6366f1;
    color: #6366f1;
}

.btn-delete-action:hover:not(:disabled)[b-p0xz57tnzi] {
    border-color: #ef4444;
    color: #ef4444;
}

.btn-action:disabled[b-p0xz57tnzi] {
    opacity: 0.5;
    cursor: not-allowed;
}

.doctor-name[b-p0xz57tnzi] {
    font-weight: 700;
    color: #1e293b;
}

.doctor-email[b-p0xz57tnzi] {
    font-size: 12px;
    color: #64748b;
}

.pagination-footer[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid #f1f5f9;
    background-color: #fff;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.pagination-info[b-p0xz57tnzi] {
    font-size: 13px;
    color: #64748b;
}

.pagination-info-highlight[b-p0xz57tnzi] {
    font-weight: 600;
    color: #334155;
}

.pagination-btns[b-p0xz57tnzi] {
    display: flex;
    gap: 6px;
}

.page-btn[b-p0xz57tnzi] {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    font-weight: 500;
}

.page-btn:hover:not(:disabled)[b-p0xz57tnzi] {
    border-color: #6366f1;
    color: #6366f1;
}

.page-btn:disabled[b-p0xz57tnzi] {
    cursor: not-allowed;
    opacity: 0.5;
}

.page-btn.active[b-p0xz57tnzi] {
    border-color: #6366f1;
    background: #6366f1;
    color: #fff;
    cursor: default;
    font-weight: 600;
}

.page-btn-icon[b-p0xz57tnzi] {
    width: 32px;
}

/* ============================================================
   17. BRANCH MASTER PAGE
   ============================================================ */
.branch-ops-tag[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.branch-ops-label[b-p0xz57tnzi] {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
}

.branch-ops-value[b-p0xz57tnzi] {
    color: var(--lc-secondary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.branch-ops-placeholder[b-p0xz57tnzi] {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
}

.tenant-pill[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.form-cols-branch-1[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.form-cols-branch-2[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.color-input-container[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.branch-color-input[b-p0xz57tnzi] {
    width: 3rem;
    height: 2.25rem;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 0.5rem;
    padding: 2px;
    background: white;
    cursor: pointer;
}

.branch-type-group[b-p0xz57tnzi] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    height: 40px;
    padding-left: 4px;
}

.branch-type-label[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
}

.table-status-indicator[b-p0xz57tnzi] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.btn-delete-solid[b-p0xz57tnzi] {
    background: #ef4444;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

.btn-save-solid[b-p0xz57tnzi] {
    background: var(--primary, #4f46e5);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

.btn-close-solid[b-p0xz57tnzi] {
    background: #64748b;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

/* ============================================================
   18. MODIFY TEST MASTER PAGE
   ============================================================ */
.test-master-actions[b-p0xz57tnzi] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.test-master-action-item[b-p0xz57tnzi] {
    color: var(--primary, #4f46e5);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.8125rem;
    text-transform: uppercase;
}

.test-master-grid-1[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.5fr 2fr 2fr 1fr;
    gap: 1rem;
}

.test-master-grid-2[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.test-master-grid-settings[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.test-dropdown-overlay[b-p0xz57tnzi] {
    position: absolute;
    background: #ffffff;
    border: 1px solid var(--primary, #4f46e5);
    border-top: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    top: 100%;
    left: 0;
    right: -150%;
    z-index: 100;
    max-height: 15rem;
    overflow-y: auto;
}

.test-dropdown-item[b-p0xz57tnzi] {
    display: flex;
    cursor: pointer;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.875rem;
}

.test-dropdown-name[b-p0xz57tnzi] {
    flex-grow: 1;
    padding: 0.5rem 0.75rem;
    border-right: 1px solid #e2e8f0;
    color: #1e293b;
}

.test-dropdown-group[b-p0xz57tnzi] {
    padding: 0.5rem 0.75rem;
    color: #64748b;
    width: 150px;
}

.param-list-card[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 0.75rem;
    overflow: hidden;
    width: 320px;
}

.param-header[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.param-circle[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
}

.template-editor-header[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color, #e2e8f0);
    border-bottom: 0;
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 0.5rem 0.75rem;
    background-color: #f8fafc;
}

.template-editor-toolbar[b-p0xz57tnzi] {
    display: flex;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    color: #1e293b;
}

.template-editor-textarea[b-p0xz57tnzi] {
    border-color: var(--border-color, #e2e8f0);
    border-top: 0;
    border-radius: 0 0 0.5rem 0.5rem;
    resize: none;
    box-shadow: none;
}

.graph-toggle[b-p0xz57tnzi] {
    position: relative;
    display: inline-block;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    width: 28px;
    height: 16px;
    background-color: #f1f5f9;
}

.graph-toggle-thumb[b-p0xz57tnzi] {
    position: absolute;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    width: 12px;
    height: 12px;
    left: 1px;
    top: 1px;
}

.btn-update-orange[b-p0xz57tnzi] {
    background: transparent;
    border: 1px solid #f97316;
    color: #f97316;
    font-weight: 600;
    padding: 0.25rem 1.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    height: 32px;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-update-orange:hover[b-p0xz57tnzi] {
    background: #f97316;
    color: #ffffff;
}

/* ============================================================
   20. COUNTER MASTER PAGE
   ============================================================ */
.form-cols-counter-1[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 1fr;
    gap: 1.5rem;
}

.form-cols-counter-2[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.form-cols-counter-3[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 1.5rem;
}

.counter-color-preview[b-p0xz57tnzi] {
    width: 3rem;
    height: 2.25rem;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 0.5rem;
    padding: 2px;
    background: #ffffff;
    cursor: pointer;
}

.counter-dot[b-p0xz57tnzi] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

/* ============================================================
   21. RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1200px) {
    .custom-grid-general-1[b-p0xz57tnzi] {
        grid-template-columns: 80px 1fr 1.2fr 1fr;
    }

    .custom-grid-general-2[b-p0xz57tnzi] {
        grid-template-columns: 1fr 1fr;
    }

    .custom-grid-billing-1[b-p0xz57tnzi] {
        grid-template-columns: 1fr 1fr;
    }

    .custom-grid-comm-1[b-p0xz57tnzi],
    .custom-grid-comm-2[b-p0xz57tnzi],
    .custom-grid-comm-3[b-p0xz57tnzi] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .referral-page[b-p0xz57tnzi] {
        padding: 16px;
    }

    .referral-header[b-p0xz57tnzi] {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .header-actions[b-p0xz57tnzi] {
        width: 100%;
        flex-wrap: wrap;
    }

    .header-search-input[b-p0xz57tnzi] {
        width: 100% !important;
    }

    .form-row[b-p0xz57tnzi] {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .form-cols-4[b-p0xz57tnzi],
    .form-cols-4-area[b-p0xz57tnzi],
    .form-cols-3-city[b-p0xz57tnzi],
    .form-cols-branch-1[b-p0xz57tnzi],
    .form-cols-branch-2[b-p0xz57tnzi],
    .form-cols-branch-3[b-p0xz57tnzi],
    .form-cols-counter-1[b-p0xz57tnzi],
    .form-cols-counter-2[b-p0xz57tnzi],
    .form-cols-counter-3[b-p0xz57tnzi],
    .custom-grid-general-1[b-p0xz57tnzi],
    .custom-grid-general-2[b-p0xz57tnzi],
    .custom-grid-billing-1[b-p0xz57tnzi],
    .custom-grid-billing-2[b-p0xz57tnzi],
    .custom-grid-comm-1[b-p0xz57tnzi],
    .custom-grid-comm-2[b-p0xz57tnzi],
    .custom-grid-comm-3[b-p0xz57tnzi],
    .custom-grid-comm-4[b-p0xz57tnzi] {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   22. MASTER DATA COMMON STYLES (Area, City, State, Country)
   ============================================================ */
.form-cols-4-area[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.form-cols-3-city[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: repeat(2, 1fr) 2fr;
    gap: 1.5rem;
}

.master-search-dropdown[b-p0xz57tnzi] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 50;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.master-search-dropdown.show[b-p0xz57tnzi] {
    display: block;
}

.master-search-item[b-p0xz57tnzi] {
    width: 100%;
    padding: 10px 16px;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid var(--lc-slate-100);
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.master-search-item:hover[b-p0xz57tnzi] {
    background: var(--lc-slate-50);
}

.master-search-item:last-child[b-p0xz57tnzi] {
    border-bottom: none;
}

/* ============================================================
   23. MODIFY TEST MASTER - TABS CONTENT
   ============================================================ */
.tab-scroller[b-p0xz57tnzi] {
    margin-bottom: -1px;
}

.ref-table-wrapper[b-p0xz57tnzi] {
    height: 15rem;
    overflow: auto;
    border: 1px solid var(--lc-border);
}

.ref-table[b-p0xz57tnzi] {
    width: 100%;
    font-size: 0.75rem;
    border-collapse: collapse;
}

.ref-table th[b-p0xz57tnzi],
.ref-table td[b-p0xz57tnzi] {
    border: 1px solid var(--lc-border);
    padding: 0.25rem;
}

.ref-table .col-icon[b-p0xz57tnzi] {
    width: 2rem;
}

.ref-table .col-sex[b-p0xz57tnzi] {
    width: 25%;
}

.ref-table .star-big[b-p0xz57tnzi] {
    font-size: 1rem;
}

.lab-checkbox-sm[b-p0xz57tnzi] {
    width: 13px !important;
    height: 13px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    cursor: pointer !important;
}

.lab-radio-sm[b-p0xz57tnzi] {
    margin: 0 !important;
    cursor: pointer !important;
}

.lab-textarea-bordered[b-p0xz57tnzi] {
    border: 1px solid #a1a1aa !important;
    resize: none !important;
    border-radius: 0 !important;
    background: white;
}

.specimen-table-container[b-p0xz57tnzi] {
    border: 1px solid var(--lc-border);
    margin-bottom: 1.25rem;
    width: 100%;
    max-width: 500px;
}

.bg-specimen-active[b-p0xz57tnzi] {
    background: #0ea5e9 !important;
    color: white !important;
}

.btn-row-action[b-p0xz57tnzi] {
    width: 100%;
    background: #e2e8f0;
    height: 1.25rem;
    border: 1px solid var(--lc-slate-400);
    outline: none;
    cursor: pointer;
}

.text-update-orange[b-p0xz57tnzi] {
    color: #f97316 !important;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ============================================================
   24. MODIFY TEST MASTER - CONSOLE STYLES
   ============================================================ */
.custom-card[b-p0xz57tnzi] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    height: 100%;
}

.test-master-actions[b-p0xz57tnzi] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.test-master-action-item[b-p0xz57tnzi] {
    color: var(--lc-primary);
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.test-master-action-item:hover[b-p0xz57tnzi] {
    opacity: 0.8;
}

.avatar-pink[b-p0xz57tnzi] {
    background: #FFD1DC;
    color: #E83F6F;
}

.test-master-grid-1[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.5fr 2fr 2fr 1fr;
    gap: 1rem;
}

.test-master-grid-2[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.test-master-grid-settings[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.test-dropdown-overlay[b-p0xz57tnzi] {
    position: absolute;
    background: white;
    border: 1px solid var(--lc-primary);
    border-top: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    top: 100%;
    left: 0;
    right: -150%;
    z-index: 100;
    max-height: 15rem;
    overflow-y: auto;
}

.test-dropdown-item[b-p0xz57tnzi] {
    display: flex;
    cursor: pointer;
    border-bottom: 1px solid var(--lc-border);
    font-size: 13px;
    transition: background 0.2s;
}

.test-dropdown-item:hover[b-p0xz57tnzi] {
    background: var(--lc-slate-50);
}

.test-dropdown-name[b-p0xz57tnzi] {
    flex-grow: 1;
    padding: 8px 16px;
    border-right: 1px solid var(--lc-border);
    color: var(--lc-slate-900);
}

.test-dropdown-group[b-p0xz57tnzi] {
    padding: 8px 16px;
    color: var(--lc-slate-500);
    width: 150px;
}

.param-list-card[b-p0xz57tnzi] {
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 12px;
    overflow: hidden;
}

.param-header[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lc-border);
}

.param-circle[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    border: 1px solid var(--lc-border);
}

.template-editor-header[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--lc-border);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 8px 12px;
    background-color: #f8fafc;
}

.template-editor-toolbar[b-p0xz57tnzi] {
    display: flex;
    gap: 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    color: var(--lc-slate-900);
}

.template-editor-textarea[b-p0xz57tnzi] {
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: none !important;
    resize: none !important;
    height: 100px;
}

.graph-toggle[b-p0xz57tnzi] {
    position: relative;
    display: inline-block;
    border-radius: 9999px;
    border: 1px solid var(--lc-border);
    width: 28px;
    height: 16px;
    background-color: #f1f5f9;
}

.graph-toggle-thumb[b-p0xz57tnzi] {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    width: 12px;
    height: 12px;
    left: 1px;
    top: 1px;
}

.btn-update-orange[b-p0xz57tnzi] {
    background: transparent;
    font-weight: 600;
    border: 1px solid #f97316;
    color: #f97316 !important;
    padding: 4px 24px;
    border-radius: 4px;
    font-size: 12px;
    height: 32px;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-update-orange:hover[b-p0xz57tnzi] {
    background: #f97316;
    color: white !important;
}

.btn-tab[b-p0xz57tnzi] {
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    color: var(--lc-slate-400);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-tab:hover[b-p0xz57tnzi] {
    color: var(--lc-primary);
}

.btn-tab.active-tab[b-p0xz57tnzi] {
    color: var(--lc-primary);
    border-bottom-color: var(--lc-primary);
    background: rgba(79, 70, 229, 0.05);
}

.hover-primary:hover[b-p0xz57tnzi] {
    color: var(--lc-primary) !important;
}

.right-1[b-p0xz57tnzi] {
    right: 1px !important;
    left: auto !important;
}

.left-1[b-p0xz57tnzi] {
    left: 1px !important;
    right: auto !important;
}

.bg-specimen-active[b-p0xz57tnzi] {
    background-color: #f0fdf4 !important;
    color: #166534 !important;
    font-weight: 700;
}

.ref-table[b-p0xz57tnzi] {
    width: 100%;
    border-collapse: collapse;
}

.ref-table th[b-p0xz57tnzi] {
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--lc-slate-400);
    text-transform: uppercase;
    border-bottom: 1px solid var(--lc-border);
}

.ref-table td[b-p0xz57tnzi] {
    padding: 8px 12px;
    font-size: 13px;
    border-bottom: 1px solid var(--lc-slate-100);
}

.hover-slate-50:hover[b-p0xz57tnzi] {
    background-color: var(--lc-slate-50);
}

.col-icon[b-p0xz57tnzi] {
    width: 40px;
    text-align: center;
}

.col-sex[b-p0xz57tnzi] {
    width: 100px;
}

/* ============================================================
   24.1 DIRECT MAPPING - TEST MASTER REFACTOR
   ============================================================ */
.tm-page-container[b-p0xz57tnzi] {
    padding: 1.5rem;
    background: #f1f5f9;
    min-height: 100vh;
}

.tm-main-card[b-p0xz57tnzi] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.tm-header-bar[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--lc-border);
    padding: 1.5rem;
}

.tm-actions-row[b-p0xz57tnzi] {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.875rem;
}

.tm-action-label[b-p0xz57tnzi] {
    font-weight: 600;
    color: var(--lc-slate-500);
    text-transform: uppercase;
}

.tm-action-item[b-p0xz57tnzi] {
    color: var(--lc-primary);
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.tm-action-item:hover[b-p0xz57tnzi] {
    opacity: 0.8;
}

.tm-profile-section[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tm-user-info[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.tm-user-details[b-p0xz57tnzi] {
    text-align: right;
}

.tm-user-name[b-p0xz57tnzi] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lc-slate-900);
}

.tm-user-role[b-p0xz57tnzi] {
    font-size: 0.625rem;
    color: var(--lc-slate-500);
    text-transform: uppercase;
}

.tm-avatar-circle[b-p0xz57tnzi] {
    width: 2.5rem;
    height: 2.5rem;
    background: #FFD1DC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #E83F6F;
    font-weight: 600;
}

.tm-section-inner[b-p0xz57tnzi] {
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.tm-grid-layout-1[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.5fr 2fr 2fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tm-form-label-small[b-p0xz57tnzi] {
    font-size: 0.65rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tm-input-accent[b-p0xz57tnzi] {
    background-color: white !important;
    border: 1px solid var(--lc-primary) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    color: var(--lc-primary) !important;
    font-weight: 700;
    height: 48px !important;
}

.tm-input-muted[b-p0xz57tnzi] {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    height: 48px !important;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

textarea.tm-input-muted[b-p0xz57tnzi] {
    height: auto !important;
    min-height: 80px !important;
    padding: 12px 16px !important;
    line-height: 1.5;
}

.tm-grid-layout-2[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.tm-special-ops[b-p0xz57tnzi] {
    background: #fdfdfd;
    border: 1px dashed #e2e8f0;
    padding: 1rem;
    border-radius: 12px;
}

.tm-dropdown-box[b-p0xz57tnzi] {
    position: absolute;
    top: 100%;
    left: 0;
    right: -150%;
    background: white;
    border: 1px solid var(--lc-primary);
    border-top: none;
    z-index: 100;
    max-height: 15rem;
    overflow-y: auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.tm-dropdown-row[b-p0xz57tnzi] {
    display: flex;
    cursor: pointer;
    border-bottom: 1px solid var(--lc-border);
    font-size: 0.875rem;
}

.tm-dropdown-cell-primary[b-p0xz57tnzi] {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border-right: 1px solid var(--lc-border);
    color: var(--lc-slate-900);
}

.tm-dropdown-cell-secondary[b-p0xz57tnzi] {
    width: 150px;
    padding: 0.5rem 0.75rem;
    color: var(--lc-slate-500);
}

.tm-split-panel[b-p0xz57tnzi] {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.tm-side-panel[b-p0xz57tnzi] {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tm-content-panel[b-p0xz57tnzi] {
    flex: 1;
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 1rem;
    padding: 1.5rem;
}

.tm-settings-hdr[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tm-footer-bar[b-p0xz57tnzi] {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--lc-border);
}

.tm-btn-row[b-p0xz57tnzi] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.tm-btn-row .lc-btn[b-p0xz57tnzi] {
    height: 44px !important;
    padding: 0 24px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.tm-grid-layout-2[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.tm-special-ops[b-p0xz57tnzi] {
    background: #fdfdfd;
    border: 1px dashed #e2e8f0;
    padding: 1.25rem;
    border-radius: 12px;
}

.tm-param-card[b-p0xz57tnzi] {
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 12px;
    overflow: hidden;
}

.tm-param-header[b-p0xz57tnzi] {
    background: #f8fafc;
    border-bottom: 1px solid var(--lc-border);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-param-list[b-p0xz57tnzi] {
    padding: 0.5rem 0;
}

.tm-param-item[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.tm-param-check[b-p0xz57tnzi] {
    width: 1.25rem;
    height: 1.25rem;
    background: var(--lc-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.tm-param-circle[b-p0xz57tnzi] {
    width: 1.25rem;
    height: 1.25rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
}

.tm-tab-btn[b-p0xz57tnzi] {
    background: transparent;
    border: none;
    padding: 0.75rem 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

.tm-tab-btn:hover[b-p0xz57tnzi] {
    color: var(--lc-primary);
}

.tm-tab-btn.active-tab[b-p0xz57tnzi] {
    color: var(--lc-primary);
    border-bottom-color: var(--lc-primary);
}

/* LC Section Dividers */
.lc-section-divider[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lc-divider-label[b-p0xz57tnzi] {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.lc-divider-line[b-p0xz57tnzi] {
    height: 1px;
    background: linear-gradient(to right, #e2e8f0, transparent);
    flex-grow: 1;
}

/* Input with Prefix Icons */
.input-with-icon[b-p0xz57tnzi] {
    position: relative;
    display: flex;
    align-items: center;
}

.prefix-icon[b-p0xz57tnzi] {
    position: absolute;
    left: 12px;
    font-size: 18px !important;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s;
}

.lab-input:focus+.prefix-icon[b-p0xz57tnzi] {
    color: var(--lc-primary);
}

.pl-36[b-p0xz57tnzi] {
    padding-left: 36px !important;
}

/* Select Wrapper Customization */
.lc-select-wrapper[b-p0xz57tnzi] {
    position: relative;
}

.lc-select-wrapper[b-p0xz57tnzi]::after {
    content: 'expand_more';
    font-family: 'Material Symbols Rounded';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 18px;
}

.lc-select-wrapper .lab-input[b-p0xz57tnzi] {
    appearance: none;
    background-image: none !important;
    padding-right: 36px;
}

.h-40[b-p0xz57tnzi] {
    height: 40px !important;
}

/* Container Master Image Specific Styles */
.image-preview-mt[b-p0xz57tnzi] {
    margin-top: 8px;
    border-radius: 8px;
    overflow: hidden;
    width: 64px;
    height: 64px;
    border: 1px solid var(--lc-border);
}

.container-img-thumb[b-p0xz57tnzi] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container-img-small[b-p0xz57tnzi] {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--lc-border);
    background-color: white;
}

/* ============================================================
   BILLING PAGE STYLES
   ============================================================ */
.billing-page-wrapper[b-p0xz57tnzi] {
    background-color: #f1f5f9;
    min-height: calc(100vh - 60px);
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    position: relative;
    padding-bottom: 80px;
    /* Space for bottom bar */
}

/* TOP HEADER */
.bl-header-bar[b-p0xz57tnzi] {
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 6px 20px;
    /* Reduced vertical padding (header width) */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    gap: 20px;
    max-width: 100%;
}

.bl-header-item[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bl-label[b-p0xz57tnzi] {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bl-value[b-p0xz57tnzi] {
    font-size: 12px;
    color: #1e293b;
}

.bl-header-divider[b-p0xz57tnzi] {
    width: 1px;
    height: 20px;
    background: #e2e8f0;
}

.bl-header-spacer[b-p0xz57tnzi] {
    flex: 1;
}

.bl-system-status[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #059669;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.bl-status-dot[b-p0xz57tnzi] {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 4px #10b981;
}

/* MAIN GRID */
.bl-main-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 360px 1fr 280px;
    gap: 16px;
    padding: 16px 0;
    align-items: start;
}

/* CARDS COMMON */
.bl-card[b-p0xz57tnzi] {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
}

.bl-card-title[b-p0xz57tnzi] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.bl-card-title .material-symbols-outlined[b-p0xz57tnzi] {
    font-size: 16px;
}

.text-blue[b-p0xz57tnzi] {
    color: #4f46e5 !important;
}

.text-gray[b-p0xz57tnzi] {
    color: #64748b !important;
}

.text-green[b-p0xz57tnzi] {
    color: #059669 !important;
}

.text-red[b-p0xz57tnzi] {
    color: #ef4444 !important;
}

.text-white[b-p0xz57tnzi] {
    color: #ffffff !important;
}

.fw-600[b-p0xz57tnzi] {
    font-weight: 600 !important;
}

.fw-700[b-p0xz57tnzi] {
    font-weight: 700 !important;
}

.mt-12[b-p0xz57tnzi] {
    margin-top: 10px !important;
}

.mt-16[b-p0xz57tnzi] {
    margin-top: 14px !important;
}

.mb-16[b-p0xz57tnzi] {
    margin-bottom: 14px !important;
}

.mb-20[b-p0xz57tnzi] {
    margin-bottom: 16px !important;
}

.ml-16[b-p0xz57tnzi] {
    margin-left: 12px !important;
}

.ml-24[b-p0xz57tnzi] {
    margin-left: 18px !important;
}

.ml-32[b-p0xz57tnzi] {
    margin-left: 24px !important;
}

.ml-auto[b-p0xz57tnzi] {
    margin-left: auto !important;
}

.m-0[b-p0xz57tnzi] {
    margin: 0 !important;
}

.py-4[b-p0xz57tnzi] {
    padding-top: 12px;
    padding-bottom: 12px;
}

.flex-1[b-p0xz57tnzi] {
    flex: 1;
}

.flex-2[b-p0xz57tnzi] {
    flex: 2;
}

.text-center[b-p0xz57tnzi] {
    text-align: center;
}

.text-right[b-p0xz57tnzi] {
    text-align: right;
}

.text-sm[b-p0xz57tnzi] {
    font-size: 11px !important;
}

.no-underline[b-p0xz57tnzi] {
    text-decoration: none;
}

/* FORMS & INPUTS */
.bl-form-group[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bl-input-label[b-p0xz57tnzi] {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bl-input[b-p0xz57tnzi] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 11px;
    color: #1e293b;
    font-weight: 500;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
}

.bl-input:focus[b-p0xz57tnzi] {
    border-color: #4f46e5;
    background: #ffffff;
}

.bl-input-with-icon[b-p0xz57tnzi] {
    position: relative;
    display: flex;
    align-items: center;
}

.bl-input-with-icon .search-icon[b-p0xz57tnzi] {
    position: absolute;
    left: 10px;
    font-size: 16px;
    color: #94a3b8;
    pointer-events: none;
}

.bl-input-with-icon .bl-input[b-p0xz57tnzi] {
    padding-left: 30px;
}

.bl-select-wrapper[b-p0xz57tnzi] {
    position: relative;
    width: 100%;
}

.bl-select-wrapper[b-p0xz57tnzi]::after {
    content: 'expand_more';
    font-family: 'Material Symbols Outlined';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 16px;
}

.bl-select[b-p0xz57tnzi] {
    appearance: none;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 30px 8px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #1e293b;
    width: 100%;
    outline: none;
}

.bl-select:focus[b-p0xz57tnzi] {
    border-color: #4f46e5;
    background: #ffffff;
}

.bl-select.small[b-p0xz57tnzi] {
    padding: 4px 30px 4px 10px;
}

/* PATIENT CARD SPECIFIC */
.bl-patient-badges[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.bl-segmented-control[b-p0xz57tnzi] {
    display: inline-flex;
    background: #e2e8f0;
    border-radius: 6px;
    padding: 2px;
    gap: 2px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.bl-segment-btn[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 2px 8px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    height: 20px;
    line-height: 1;
}

.bl-segment-btn:hover[b-p0xz57tnzi] {
    color: #0f172a;
}

.bl-segment-btn.active[b-p0xz57tnzi] {
    background: #ffffff;
    color: #4f46e5;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.bl-segment-btn .material-symbols-outlined[b-p0xz57tnzi] {
    font-size: 12px !important;
}

.bl-badge-paid[b-p0xz57tnzi] {
    background: #10b981;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.bl-badge-uid[b-p0xz57tnzi] {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.bl-gender-age-row[b-p0xz57tnzi] {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.bl-gender-age-row>div:first-child[b-p0xz57tnzi] {
    flex: 1 1 30% !important;
}

.bl-gender-age-row>div:last-child[b-p0xz57tnzi] {
    flex: 2 1 70% !important;
}

.bl-gender-age-row .bl-select[b-p0xz57tnzi] {
    height: 36px;
    box-sizing: border-box;
}

.bl-age-group[b-p0xz57tnzi] {
    display: flex;
    gap: 8px;
}

.bl-age-box[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    height: 36px;
    padding: 0 8px;
    flex: 1;
    transition: all 0.2s;
}

.bl-age-box:focus-within[b-p0xz57tnzi] {
    border-color: #4f46e5;
    background: #ffffff;
}

.bl-age-input[b-p0xz57tnzi] {
    border: none;
    background: transparent;
    width: 24px;
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    outline: none;
    height: 100%;
    padding: 0;
}

.bl-age-lbl[b-p0xz57tnzi] {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 2px;
}

.bl-patient-info-row[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bl-id-type-combo[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.bl-id-type-header[b-p0xz57tnzi] {
    background: #4f46e5;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
    width: 60px;
    height: 28px;
    box-sizing: border-box;
}

.bl-id-type-header .bl-id-type-select[b-p0xz57tnzi] {
    font-size: 10px;
    padding: 0 4px;
}

.bl-id-type-header .material-symbols-outlined[b-p0xz57tnzi] {
    font-size: 14px !important;
    color: #ffffff;
}

.bl-id-label[b-p0xz57tnzi] {
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.bl-id-input[b-p0xz57tnzi] {
    border: none;
    background: #f8fafc;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #1e293b;
    outline: none;
}

.bl-more-info[b-p0xz57tnzi] {
    font-size: 11px;
    color: #4f46e5;
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 2px;
}

/* REFERRAL CARD */
.bl-grid-2[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bl-grid-3[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.bl-hospital-combo[b-p0xz57tnzi] {
    display: flex;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    height: 36px;
    box-sizing: border-box;
}

.bl-hospital-sel[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    border-right: 1px solid #e2e8f0;
    cursor: pointer;
    background: #f8fafc;
}

.bl-hospital-sel .material-symbols-outlined[b-p0xz57tnzi] {
    font-size: 14px;
}

.bl-hospital-input[b-p0xz57tnzi] {
    border: none;
    background: transparent;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 500;
    color: #1e293b;
    width: 100%;
    outline: none;
    height: 100%;
}

/* TESTS SELECTION CARD */
.bl-tests-header[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed #e2e8f0;
    padding-bottom: 12px;
}

.bl-tests-stats[b-p0xz57tnzi] {
    display: flex;
    gap: 20px;
}

.stat-item[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-lbl[b-p0xz57tnzi] {
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}

.stat-val[b-p0xz57tnzi] {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
}

.bl-search-test-row[b-p0xz57tnzi] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bl-input-with-icon.full-width[b-p0xz57tnzi] {
    flex: 1;
}

.bl-btn-add[b-p0xz57tnzi] {
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.bl-sample-grid-header[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 4px;
    border-bottom: 1px solid #e2e8f0;
}

.sg-title[b-p0xz57tnzi] {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
}

.sg-action[b-p0xz57tnzi] {
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

/* TABLE */
.bl-table-container[b-p0xz57tnzi] {
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 6px 6px;
    overflow-y: auto;
    min-height: 280px;
    background: #ffffff;
}

.bl-table[b-p0xz57tnzi] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.bl-table thead[b-p0xz57tnzi] {
    background: #4f46e5;
    color: #ffffff;
}

.bl-table th[b-p0xz57tnzi] {
    padding: 8px 10px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.5px;
}

.bl-table th:last-child[b-p0xz57tnzi],
.bl-table td:last-child[b-p0xz57tnzi] {
    text-align: center;
}

.bl-table td[b-p0xz57tnzi] {
    padding: 8px 10px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.test-name[b-p0xz57tnzi] {
    font-weight: 600;
    color: #1e293b;
}

.comm-text[b-p0xz57tnzi] {
    font-weight: 600;
}

.hover-delete[b-p0xz57tnzi] {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.hover-delete:hover[b-p0xz57tnzi] {
    opacity: 1;
}

.bl-remarks-row[b-p0xz57tnzi] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bl-report-date[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0 10px;
    height: 36px;
}

.bl-report-date .lbl[b-p0xz57tnzi] {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    margin-right: 6px;
}

.bl-report-date .small-input[b-p0xz57tnzi] {
    border: none;
    background: transparent;
    width: 70px;
    font-size: 11px;
    font-weight: 600;
    padding: 0;
    outline: none;
}

.bl-report-date .icon[b-p0xz57tnzi] {
    color: #94a3b8;
    font-size: 16px;
    margin-left: 6px;
}

/* RIGHT COLUMN: Collection */
.c-header-row[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bl-toggle[b-p0xz57tnzi] {
    position: relative;
    width: 36px;
    height: 20px;
}

.bl-toggle input[b-p0xz57tnzi] {
    opacity: 0;
    width: 0;
    height: 0;
}

.bl-toggle label[b-p0xz57tnzi] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.bl-toggle label[b-p0xz57tnzi]:before {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bl-toggle input:checked+label[b-p0xz57tnzi] {
    background: #4f46e5;
}

.bl-toggle input:checked+label[b-p0xz57tnzi]:before {
    transform: translateX(16px);
}

.bl-area-row[b-p0xz57tnzi] {
    display: flex;
    gap: 6px;
}

/* FINANCIAL SUMMARY */
.fin-title[b-p0xz57tnzi] {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.fin-row[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #1e293b;
}

.fin-concession[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.conc-header[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
}

.conc-labels span[b-p0xz57tnzi] {
    display: inline-block;
    width: 50px;
    text-align: center;
    background: #f1f5f9;
    border-radius: 4px;
    padding: 2px 0;
    margin-left: 6px;
}

.conc-inputs[b-p0xz57tnzi] {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.conc-inputs .bl-input[b-p0xz57tnzi] {
    width: 50px;
}

.fin-discount[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
}

.fin-net[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
}

.net-val[b-p0xz57tnzi] {
    font-size: 16px;
    color: #4f46e5;
}

/* PAYMENT INTERFACE */
.payment-card[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    position: relative;
    overflow: hidden;
    border: none;
}

.pay-bg-pattern[b-p0xz57tnzi] {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 10.01%);
    background-size: 16px 16px;
    opacity: 0.5;
    pointer-events: none;
}

.pay-title-row[b-p0xz57tnzi] {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #c7d2fe;
    position: relative;
    z-index: 1;
}

.pay-split-row[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    font-weight: 600;
    color: #e0e7ff;
}

.pay-add-btn[b-p0xz57tnzi] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pay-mode-row[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 10px;
}

.pay-mode-lbl[b-p0xz57tnzi] {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
}

.pay-input-wrap[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pay-input[b-p0xz57tnzi] {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    width: 80px;
    text-align: right;
    outline: none;
}

.pay-check[b-p0xz57tnzi] {
    font-size: 16px;
}

.pay-due-row[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 20px;
}

.due-title[b-p0xz57tnzi] {
    font-size: 11px;
    font-weight: 700;
    color: #c7d2fe;
}

.due-sub[b-p0xz57tnzi] {
    font-size: 9px;
    color: #818cf8;
}

.due-val[b-p0xz57tnzi] {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

/* BOTTOM BAR */
.bl-bottom-bar[b-p0xz57tnzi] {
    position: fixed;
    bottom: 0;
    left: 220px;
    /* offset by sidebar */
    right: 0;
    background: #ffffff;
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.03);
    z-index: 100;
}

.nav-collapsed~main .bl-bottom-bar[b-p0xz57tnzi] {
    left: 68px;
    /* if sidebar matches this class structure */
}

.bbar-stats[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
}

.bbar-stat-item[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bbar-lbl[b-p0xz57tnzi] {
    font-size: 8px;
    font-weight: 700;
    color: #94a3b8;
    line-height: 1.2;
}

.bbar-val[b-p0xz57tnzi] {
    font-size: 16px;
    font-weight: 800;
}

.text-black[b-p0xz57tnzi] {
    color: var(--lc-secondary) !important;
}

.bbar-printer[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 180px;
}

.bbar-printer label[b-p0xz57tnzi] {
    font-size: 8px;
    font-weight: 700;
    color: #94a3b8;
}

.bbar-links[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
}

.bbar-actions[b-p0xz57tnzi] {
    display: flex;
    gap: 8px;
}

/* ── LabCare Design System: Action Buttons ── */
.bl-btn[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 18px;
    height: 36px;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    user-select: none;
    -webkit-font-smoothing: antialiased;
}

.bl-btn:active[b-p0xz57tnzi] {
    transform: scale(0.96);
}

.bl-btn:disabled[b-p0xz57tnzi],
.bl-btn[disabled][b-p0xz57tnzi] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

/* SAVE — indigo primary */
.bl-btn-save[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35),
                inset 0 1px 0 rgba(255,255,255,0.15);
}

.bl-btn-save:hover:not(:disabled)[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.45);
    transform: translateY(-1px);
}

/* CLEAR — rose danger */
.bl-btn-clear[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.30),
                inset 0 1px 0 rgba(255,255,255,0.12);
}

.bl-btn-clear:hover:not(:disabled)[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.40);
    transform: translateY(-1px);
}

/* PRINT — slate neutral */
.bl-btn-print[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(71, 85, 105, 0.25),
                inset 0 1px 0 rgba(255,255,255,0.10);
}

.bl-btn-print:hover:not(:disabled)[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    box-shadow: 0 4px 14px rgba(71, 85, 105, 0.35);
    transform: translateY(-1px);
}

/* ============================================================
   X. RATE PAGE
   ============================================================ */
.rate-container[b-p0xz57tnzi] {
    background-color: #f8fafc;
    min-height: 100vh;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rate-header[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
}

.rate-header-title[b-p0xz57tnzi] {
    color: #1e293b;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rate-header-radios[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
}

.rate-radio-label[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 11px;
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rate-radio-input[b-p0xz57tnzi] {
    width: 12px;
    height: 12px;
    accent-color: #4f46e5;
}

.rate-main-card[b-p0xz57tnzi] {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
}

.rate-form-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.rate-form-col[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rate-form-group[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
}

.rate-form-group-gap[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rate-label[b-p0xz57tnzi] {
    width: 8rem;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rate-label-small[b-p0xz57tnzi] {
    width: 6rem;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rate-input[b-p0xz57tnzi] {
    flex: 1;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    color: #1e293b;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
}

.rate-input:focus[b-p0xz57tnzi] {
    background: white;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.rate-input-small[b-p0xz57tnzi] {
    width: 4rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    color: #1e293b;
    font-weight: 600;
    outline: none;
    text-align: right;
    transition: all 0.2s ease;
}

.rate-input-small:focus[b-p0xz57tnzi] {
    background: white;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.rate-radio-group[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.rate-radio-item[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 11px;
    color: #475569;
    font-weight: 600;
}

.rate-radio-item-input[b-p0xz57tnzi] {
    width: 12px;
    height: 12px;
    accent-color: #4f46e5;
}

.rate-btn-default[b-p0xz57tnzi] {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 16px;
    background: #f8fafc;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-btn-default:hover[b-p0xz57tnzi] {
    background: #e2e8f0;
    color: #1e293b;
}

.rate-btn-set[b-p0xz57tnzi] {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 16px;
    background: #ffffff;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-btn-set:hover[b-p0xz57tnzi] {
    background: #f8fafc;
}

.rate-btn-set-blue[b-p0xz57tnzi] {
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    background: #eff6ff;
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-btn-set-blue:hover[b-p0xz57tnzi] {
    background: #dbeafe;
}

.rate-right-action-group[b-p0xz57tnzi] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 8px;
}

.rate-nested-group[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.rate-btn-big[b-p0xz57tnzi] {
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.rate-btn-big:hover[b-p0xz57tnzi] {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.4);
}

.rate-grid-container[b-p0xz57tnzi] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rate-grid-scroll[b-p0xz57tnzi] {
    overflow: auto;
    max-height: calc(100vh - 340px);
}

.rate-grid-scroll[b-p0xz57tnzi]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.rate-grid-scroll[b-p0xz57tnzi]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.rate-grid-scroll[b-p0xz57tnzi]::-webkit-scrollbar-track {
    background: transparent;
}

.rate-table[b-p0xz57tnzi] {
    width: 100%;
    text-align: left;
    border-collapse: separate;
    border-spacing: 0;
    min-width: max-content;
}

.rate-table thead[b-p0xz57tnzi] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f8fafc;
}

.rate-table th[b-p0xz57tnzi] {
    padding: 10px 12px;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px dashed #e2e8f0;
}

.rate-table th:last-child[b-p0xz57tnzi] {
    border-right: none;
}

.rate-table th.col-w-10[b-p0xz57tnzi] {
    width: 3rem;
}

.rate-table th.col-w-12[b-p0xz57tnzi] {
    width: 4rem;
}

.rate-table th.col-w-16[b-p0xz57tnzi] {
    width: 4.5rem;
}

.rate-table th.col-w-24[b-p0xz57tnzi] {
    width: 6rem;
}

.rate-table th.col-w-32[b-p0xz57tnzi] {
    width: 8rem;
}

.rate-table th.text-center[b-p0xz57tnzi] {
    text-align: center;
}

.rate-table th.text-right[b-p0xz57tnzi] {
    text-align: right;
}

.rate-table tbody tr[b-p0xz57tnzi] {
    transition: background-color 0.2s ease;
}

.rate-table td[b-p0xz57tnzi] {
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
    border-right: 1px dashed #f1f5f9;
    color: #1e293b;
}

.rate-table td:last-child[b-p0xz57tnzi] {
    border-right: none;
}

.rate-table tbody tr:hover:not(.rate-row-active)[b-p0xz57tnzi] {
    background-color: #f8fafc;
}

.rate-table tbody tr.rate-row-active td[b-p0xz57tnzi] {
    background: #eff6ff;
    color: #1e293b;
    border-bottom: 1px solid #bfdbfe;
    border-right: 1px dashed #bfdbfe;
}

.rate-table tbody tr.rate-row-active td:last-child[b-p0xz57tnzi] {
    border-right: none;
}

.rate-table td.text-center[b-p0xz57tnzi] {
    text-align: center;
}

.rate-table td.text-right[b-p0xz57tnzi] {
    text-align: right;
}

.rate-table td.col-sno[b-p0xz57tnzi] {
    font-weight: 700;
    color: #64748b;
    position: relative;
}

.rate-row-pointer[b-p0xz57tnzi] {
    position: absolute;
    left: 4px;
    color: #4f46e5;
    font-size: 10px;
}

.rate-table td.col-group-name[b-p0xz57tnzi],
.rate-table td.col-margin-type[b-p0xz57tnzi] {
    color: #64748b;
    font-weight: 500;
}

.rate-table td.col-patient-rate[b-p0xz57tnzi],
.rate-table td.col-special-amount[b-p0xz57tnzi] {
    color: #4f46e5;
    font-weight: 700;
}

.rate-footer-actions[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 8px 0;
}

.rate-btn-footer[b-p0xz57tnzi] {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 16px;
    background: white;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.rate-btn-footer:hover[b-p0xz57tnzi] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.rate-btn-footer.wide[b-p0xz57tnzi] {
    padding-left: 24px;
    padding-right: 24px;
}

.rate-btn-footer.primary[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.rate-btn-footer.primary:hover[b-p0xz57tnzi] {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.4);
    color: white;
}

.rate-btn-footer.danger[b-p0xz57tnzi] {
    background: #ef4444;
    color: white;
    border: none;
}

.rate-btn-footer.danger:hover[b-p0xz57tnzi] {
    background: #dc2626;
    color: white;
}

.cm-container[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    padding: 1rem 0;
}

.cm-col-2[b-p0xz57tnzi] {
    grid-column: span 2;
}

.cm-col-3[b-p0xz57tnzi] {
    grid-column: span 3;
}

.cm-col-4[b-p0xz57tnzi] {
    grid-column: span 4;
}

.cm-col-6[b-p0xz57tnzi] {
    grid-column: span 6;
}

.cm-col-10[b-p0xz57tnzi] {
    grid-column: span 10;
}

.cm-col-12[b-p0xz57tnzi] {
    grid-column: span 12;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.cm-field[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cm-field-inline[b-p0xz57tnzi] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.cm-label-top[b-p0xz57tnzi] {
    font-size: 0.75rem;
    /* 12px for smaller labels like screenshot */
    font-weight: 600;
    color: #7c8fa3;
    /* slate-500 - matches screenshot exactly */
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.cm-input[b-p0xz57tnzi] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: #334155;
    width: 100%;
    outline: none;
    transition: all 0.2s ease;
    height: 2.5rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.cm-input[b-p0xz57tnzi]::placeholder {
    color: #cbd5e1;
}

.cm-input:focus[b-p0xz57tnzi] {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 0 0 2px rgba(200, 213, 225, 0.15);
}

/* Date input styling */
input[type="date"].cm-input[b-p0xz57tnzi] {
    padding: 0.5rem 0.75rem;
}

input[type="date"].cm-input[b-p0xz57tnzi]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    filter: invert(0.2);
}

select.cm-input[b-p0xz57tnzi] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23cbd5e1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

.cm-flex-1[b-p0xz57tnzi] {
    flex: 1;
}

/* Width utilities for different field sizes */
.cm-w-prefix[b-p0xz57tnzi] {
    flex: 0 0 auto;
    width: 5.5rem;
}

.cm-w-initial[b-p0xz57tnzi] {
    flex: 0 0 auto;
    width: 4.5rem;
}

.cm-w-age[b-p0xz57tnzi] {
    flex: 0 0 auto;
    width: 2.75rem;
    /* 44px */
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
    text-align: center;
}

.cm-w-custcode[b-p0xz57tnzi] {
    flex: 0 0 auto;
    width: 100px;
}

.cm-w-cardno[b-p0xz57tnzi] {
    flex: 0 0 auto;
    width: 120px;
}

.cm-w-dob[b-p0xz57tnzi] {
    flex: 0 0 auto;
    width: 100px;
}

.cm-w-gender[b-p0xz57tnzi] {
    flex: 1 1 auto;
    min-width: 120px;
}

.cm-field-small[b-p0xz57tnzi] {
    flex: 0 0 auto;
    width: 110px;
}

.cm-field-medium[b-p0xz57tnzi] {
    flex: 1 1 auto;
    min-width: 150px;
    max-width: 200px;
}

.cm-field-large[b-p0xz57tnzi] {
    flex: 2 1 auto;
    min-width: 250px;
}

.cm-file-upload[b-p0xz57tnzi] {
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    padding: 1.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    background: #fafbfc;
    transition: all 0.2s ease;
}

.cm-file-upload:hover[b-p0xz57tnzi] {
    background: #f3f4f6;
    border-color: #cbd5e1;
    color: #6b7280;
}

.cm-checkbox-label[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.cm-checkbox[b-p0xz57tnzi] {
    width: 1.125rem;
    height: 1.125rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 0.375rem;
    cursor: pointer;
    accent-color: #4f46e5;
}

/* ============================================================
   9. SEARCH & FILTER INPUTS
   ============================================================ */
.search-input[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    color: #1e293b;
    outline: none;
    width: 220px;
    transition: all 0.2s;
}

.search-input:focus[b-p0xz57tnzi] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* ============================================================
   10. ALERT MESSAGES
   ============================================================ */
.alert-message[b-p0xz57tnzi] {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
}

/* ============================================================
   11. CUSTOMER MASTER FORM - WIDTH UTILITIES
   ============================================================ */
.cm-w-custcode[b-p0xz57tnzi] {
    width: 120px !important;
}

.cm-w-cardno[b-p0xz57tnzi] {
    width: 200px !important;
}

.cm-w-dob[b-p0xz57tnzi] {
    width: 100%;
}

.cm-w-gender[b-p0xz57tnzi] {
    width: 100%;
}

/* ============================================================
   12. DIRECTORY SECTION
   ============================================================ */
.directory-section-form[b-p0xz57tnzi] {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: -4px;
}

/* ============================================================
   13. TABLE HEADERS
   ============================================================ */
.th-custcode[b-p0xz57tnzi] {
    width: 64px;
}

.th-actions[b-p0xz57tnzi] {
    width: 128px;
}

/* ============================================================
   14. MODAL FOOTER BUTTON ICONS
   ============================================================ */
.btn-icon-save[b-p0xz57tnzi] {
    margin-right: 8px;
}

/* ============================================================
   15. CHECKBOX ROW SPACING
   ============================================================ */
.cm-checkbox-row[b-p0xz57tnzi] {
    margin-top: 0.5rem;
}

/* ============================================================
   16. UNIT MASTER STYLES
   ============================================================ */
.um-grid-row[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.um-grid-cols-2[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.um-grid-cols-3[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

/* ============================================================
   25. IMAGE UPLOAD STYLES (CONTAINER MASTER)
   ============================================================ */
.image-upload-section[b-p0xz57tnzi] {
    grid-column: 1 / -1;
}

.image-upload-empty[b-p0xz57tnzi] {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 48px 24px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.image-upload-icon[b-p0xz57tnzi] {
    width: 40px;
    height: 40px;
    color: #94a3b8;
    position: relative;
    z-index: 1;
}

.image-upload-text[b-p0xz57tnzi] {
    text-align: center;
    position: relative;
    z-index: 1;
}

.image-upload-title[b-p0xz57tnzi] {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 0;
}

.image-upload-subtitle[b-p0xz57tnzi] {
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 0;
    display: none;
}

.image-upload-hint[b-p0xz57tnzi] {
    font-size: 12px;
    color: #cbd5e1;
    display: none;
}

.image-upload-input[b-p0xz57tnzi] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.image-upload-success[b-p0xz57tnzi] {
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 24px;
    background: #f0fdf4;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}

.image-upload-status[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.image-upload-status-header[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.image-upload-status-icon[b-p0xz57tnzi] {
    width: 18px;
    height: 18px;
    color: #10b981;
}

.image-upload-status-text[b-p0xz57tnzi] {
    font-size: 13px;
    font-weight: 600;
    color: #10b981;
}

.image-upload-status-subtext[b-p0xz57tnzi] {
    font-size: 11px;
    color: #059669;
}

.image-upload-preview[b-p0xz57tnzi] {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #dcfce7;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.image-upload-actions[b-p0xz57tnzi] {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}

.btn-remove-image[b-p0xz57tnzi] {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-remove-image:hover[b-p0xz57tnzi] {
    background-color: #fecaca;
    color: #991b1b;
}

.btn-remove-image-icon[b-p0xz57tnzi] {
    width: 12px;
    height: 12px;
}

.sym-container[b-p0xz57tnzi] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.sym-btn[b-p0xz57tnzi] {
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sym-btn:hover[b-p0xz57tnzi] {
    background-color: #6366f1;
    color: white;
    border-color: #6366f1;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.2);
}

.sym-btn:active[b-p0xz57tnzi] {
    transform: translateY(0);
}

/* Unit Master specific styles extracted from inline css */
.um-label-row[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.um-label[b-p0xz57tnzi] {
    margin-bottom: 0;
}

.um-error-text[b-p0xz57tnzi] {
    font-size: 11px;
    font-weight: 500;
}

.symbol-helper-section[b-p0xz57tnzi] {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.symbol-helper-header[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.symbol-title[b-p0xz57tnzi] {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

.symbol-subtitle[b-p0xz57tnzi] {
    font-size: 12px;
    color: #94a3b8;
    font-style: italic;
    margin-left: 8px;
}

.sym-btn-new[b-p0xz57tnzi] {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.sym-btn-new:hover[b-p0xz57tnzi] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: var(--lc-secondary);
}

/* ============================================================
   26. BILLING SEARCH DROPDOWN
   ============================================================ */
.bl-search-dropdown[b-p0xz57tnzi] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 4px;
    animation: slideDownFade 0.2s ease-out;
}

.bl-search-item[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bl-search-item:hover[b-p0xz57tnzi] {
    background: #f8fafc;
    padding-left: 20px;
}

.bl-search-item:last-child[b-p0xz57tnzi] {
    border-bottom: none;
}

.bl-item-info[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bl-item-name[b-p0xz57tnzi] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bl-item-meta[b-p0xz57tnzi] {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.bl-item-date[b-p0xz57tnzi] {
    font-size: 10px;
    font-weight: 700;
    color: #6366f1;
    background: #eef2ff;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
}

.bl-search-no-results[b-p0xz57tnzi] {
    padding: 24px 16px;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- DUE COLLECTION SCREEN --- */
.dc-top-section[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dc-type-header[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dc-type-radios[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dc-type-radios label[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
}

.dc-type-radios input[type="radio"][b-p0xz57tnzi] {
    width: 18px;
    height: 18px;
    accent-color: #4f46e5;
    cursor: pointer;
}

.dc-filter-btn[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.dc-panels-wrapper[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.dc-panel[b-p0xz57tnzi] {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.dc-panel-row[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.dc-panel-row.cols-2[b-p0xz57tnzi] {
    grid-template-columns: 1fr 1fr;
}

.dc-panel-row.cols-3[b-p0xz57tnzi] {
    grid-template-columns: 1fr 1fr 1fr;
}

.dc-form-group[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
}

.dc-form-group label[b-p0xz57tnzi] {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dc-input[b-p0xz57tnzi] {
    width: 100%;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dc-input:focus[b-p0xz57tnzi] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

select.dc-input[b-p0xz57tnzi] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.dc-search-btn-wrapper[b-p0xz57tnzi] {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.dc-btn-search[b-p0xz57tnzi] {
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    height: 40px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dc-btn-search:hover[b-p0xz57tnzi] {
    background-color: #4338ca;
}

/* Bottom Card */
.dc-bottom-section[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dc-actions-bar[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    width: 100%;
}

.dc-actions-left-group[b-p0xz57tnzi] {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    flex: 1;
    min-width: 280px;
}

.dc-actions-right-group[b-p0xz57tnzi] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.dc-search-input-container[b-p0xz57tnzi] {
    position: relative;
    width: 240px;
}

.dc-search-input-container svg[b-p0xz57tnzi] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.dc-search-input-container input[b-p0xz57tnzi] {
    width: 100%;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px 0 36px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
}

.dc-search-input-container input:focus[b-p0xz57tnzi] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.dc-filter-circle-btn[b-p0xz57tnzi] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dc-filter-circle-btn:hover[b-p0xz57tnzi] {
    background: #f8fafc;
    color: #4f46e5;
    border-color: #cbd5e1;
}

.dc-btn-auto-select[b-p0xz57tnzi] {
    color: #4f46e5;
    font-weight: 700;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 8px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.dc-btn-auto-select:hover:not(:disabled)[b-p0xz57tnzi] {
    color: #312e81;
}

.dc-btn-auto-select:disabled[b-p0xz57tnzi] {
    color: #cbd5e1;
    cursor: not-allowed;
}

.dc-btn-save[b-p0xz57tnzi] {
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.15);
}

.dc-btn-save:hover:not(:disabled)[b-p0xz57tnzi] {
    background-color: #4338ca;
}

.dc-btn-save:disabled[b-p0xz57tnzi] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Table */
.dc-table-wrapper[b-p0xz57tnzi] {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 24px;
}

.dc-table[b-p0xz57tnzi] {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.dc-table th[b-p0xz57tnzi] {
    background: #f8fafc;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.dc-table td[b-p0xz57tnzi] {
    padding: 12px 16px;
    font-size: 13px;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.dc-table tr:last-child td[b-p0xz57tnzi] {
    border-bottom: none;
}

.dc-table input[type="text"][b-p0xz57tnzi],
.dc-table input[type="number"][b-p0xz57tnzi] {
    width: 80px;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 13px;
    text-align: right;
}

.dc-table input[type="checkbox"][b-p0xz57tnzi] {
    width: 16px;
    height: 16px;
    accent-color: #4f46e5;
    cursor: pointer;
}

.text-red[b-p0xz57tnzi] {
    color: #ef4444;
    font-weight: 600;
}

.font-bold[b-p0xz57tnzi] {
    font-weight: 700;
}

.text-slate[b-p0xz57tnzi] {
    color: #64748b;
}

/* Footers */
.dc-footers[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.dc-footer-card[b-p0xz57tnzi] {
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.dc-footer-icon[b-p0xz57tnzi] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dc-footer-icon.red[b-p0xz57tnzi] {
    background: #fee2e2;
    color: #ef4444;
}

.dc-footer-icon.blue[b-p0xz57tnzi] {
    background: #e0e7ff;
    color: #3b82f6;
}

.dc-footer-icon.green[b-p0xz57tnzi] {
    background: #dcfce3;
    color: #22c55e;
}

.dc-footer-icon.gray[b-p0xz57tnzi] {
    background: #f1f5f9;
    color: #64748b;
}

.dc-footer-info label[b-p0xz57tnzi] {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.dc-footer-info .value[b-p0xz57tnzi] {
    font-size: 20px;
    font-weight: 700;
    color: var(--lc-secondary);
}

/* ============================================================
   DUE COLLECTION HISTORY
   ============================================================ */
.filter-body-anim[b-p0xz57tnzi] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.filter-body-anim.open[b-p0xz57tnzi] {
    grid-template-rows: 1fr;
    opacity: 1;
}

.filter-body-anim.closed[b-p0xz57tnzi] {
    grid-template-rows: 0fr;
    opacity: 0;
}

.filter-body-inner[b-p0xz57tnzi] {
    overflow: hidden;
}

.dch-filter-card[b-p0xz57tnzi] {
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dch-row[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    align-items: flex-end;
}

.dch-row-2[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dch-form-group[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dch-label[b-p0xz57tnzi] {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.dch-input[b-p0xz57tnzi] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    background: #f8fafc;
    outline: none;
    color: #334155;
    transition: border-color 0.2s, background-color 0.2s;
}

.dch-input:focus[b-p0xz57tnzi] {
    border-color: #4f46e5;
    background: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.dch-actions[b-p0xz57tnzi] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

/* ── LabCare Design System: Page-level Buttons (dch) ── */
.dch-btn-search[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 20px;
    background: #ffffff;
    color: #334155;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    user-select: none;
}

.dch-btn-search:hover[b-p0xz57tnzi] {
    background: #f8fafc;
    border-color: #94a3b8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.dch-btn-search:active[b-p0xz57tnzi] {
    transform: scale(0.97);
}

.dch-btn-print[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 20px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.30),
                inset 0 1px 0 rgba(255,255,255,0.15);
    cursor: pointer;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    user-select: none;
}

.dch-btn-print:hover[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.40);
    transform: translateY(-1px);
}

.dch-btn-print:active[b-p0xz57tnzi] {
    transform: scale(0.97);
}

.master-search-item-title[b-p0xz57tnzi] {
    font-weight: 600;
    font-size: 13px;
    color: #1e293b;
}

.master-search-item-subtitle[b-p0xz57tnzi] {
    font-size: 11px;
    color: #64748b;
}

/* Extra classes for DueCollectionHistory UI */
.dch-page-container[b-p0xz57tnzi] {
    padding: 32px;
    background-color: #f8fafc;
    min-height: calc(100vh - 64px);
}

.dch-header-margin[b-p0xz57tnzi] {
    margin-bottom: 24px;
}

.dch-filter-toggle-container[b-p0xz57tnzi] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.dch-btn-filter-toggle[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 16px;
    background: #ffffff;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    user-select: none;
}

.dch-btn-filter-toggle:hover[b-p0xz57tnzi] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

.dch-btn-filter-toggle:active[b-p0xz57tnzi] {
    transform: scale(0.97);
}

.dch-grid-2-cols[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dch-table-wrapper[b-p0xz57tnzi] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    padding: 24px;
    margin-bottom: 24px;
}

.dch-table-inner[b-p0xz57tnzi] {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.dch-table[b-p0xz57tnzi] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 11.5px;
}

.dch-table-thead[b-p0xz57tnzi] {
    background: #4169e1;
    border-bottom: 1px solid #2e4cad;
}

.dch-table-th[b-p0xz57tnzi] {
    padding: 8px 10px;
    font-size: 10.5px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.dch-table-th-center[b-p0xz57tnzi] {
    padding: 8px 10px;
    font-size: 10.5px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    text-align: center;
}

.dch-table-tr[b-p0xz57tnzi] {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.dch-table-td[b-p0xz57tnzi] {
    padding: 8px 10px;
    color: #64748b;
}

.dch-table-td-bold[b-p0xz57tnzi] {
    padding: 8px 10px;
    font-weight: 600;
    color: #334155;
}

.dch-table-td-blue[b-p0xz57tnzi] {
    padding: 8px 10px;
    font-weight: 700;
    color: #2563eb;
}

.dch-table-td-dark[b-p0xz57tnzi] {
    padding: 8px 10px;
    font-weight: 700;
    color: #1e293b;
}

.dch-table-td-center[b-p0xz57tnzi] {
    padding: 8px 10px;
    text-align: center;
}

.dch-btn-tr-icon[b-p0xz57tnzi],
.dch-btn-tr-icon-danger[b-p0xz57tnzi] {
    background: none;
    border: none;
    color: #4f46e5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    outline: none;
    transition: all 0.2s;
    padding: 4px;
    border-radius: 4px;
}

.dch-btn-tr-icon:hover[b-p0xz57tnzi] {
    background: #f1f5f9;
    color: #312e81;
}

.dch-btn-tr-icon-danger[b-p0xz57tnzi] {
    color: #ef4444;
}

.dch-btn-tr-icon-danger:hover[b-p0xz57tnzi] {
    background: #fee2e2;
    color: #991b1b;
}

.dch-btn-tr-icon .material-symbols-outlined[b-p0xz57tnzi],
.dch-btn-tr-icon-danger .material-symbols-outlined[b-p0xz57tnzi] {
    font-size: 18px !important;
}

.dch-table-empty[b-p0xz57tnzi] {
    text-align: center;
    padding: 32px;
    color: #64748b;
    font-size: 14px;
}

.dch-footer-summary[b-p0xz57tnzi] {
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.dch-summary-card[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: #f0fdf4;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #dcfce3;
    min-width: 250px;
}

.dch-summary-icon[b-p0xz57tnzi] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: white;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(22, 163, 74, 0.1);
}

.dch-summary-content[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dch-summary-label[b-p0xz57tnzi] {
    font-size: 11px;
    font-weight: 800;
    color: #14532d;
    text-transform: uppercase;
}

.dch-summary-value[b-p0xz57tnzi] {
    font-size: 24px;
    font-weight: 800;
    color: #052e16;
}

/* ============================================================
   DUE COLLECTION
   ============================================================ */
.filter-types-anim[b-p0xz57tnzi] {
    transition: max-width 0.4s ease-in-out, opacity 0.3s ease-in-out, margin 0.4s ease-in-out;
    overflow: hidden;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.filter-types-anim.open[b-p0xz57tnzi] {
    max-width: 600px;
    opacity: 1;
}

.filter-types-anim.closed[b-p0xz57tnzi] {
    max-width: 0;
    opacity: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
}

.dc-pagination-footer[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    padding-top: 16px;
    margin-bottom: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   27. NAVIGATION MENU (SUBMENUS)
   ============================================================ */
.nav-submenu-btn[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    color: #475569;
    background: transparent;
    border: none;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    justify-content: space-between;
}

.nav-submenu-btn:hover[b-p0xz57tnzi] {
    background-color: rgba(99, 102, 241, 0.08);
    color: #1e293b;
}

.nav-submenu-icon[b-p0xz57tnzi] {
    font-size: 16px !important;
    transition: transform 0.3s ease;
}

.nav-submenu-icon.is-expanded[b-p0xz57tnzi] {
    transform: rotate(90deg);
}

.nav-submenu-items[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
    padding-left: 28px;
    border-left: 1px solid #e2e8f0;
    margin-left: 20px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-submenu-items.is-expanded[b-p0xz57tnzi] {
    max-height: 800px;
}

.v-nav-link.submenu-item[b-p0xz57tnzi] {
    font-size: 11.5px;
    padding: 7px 12px;
}

.nav-collapsed .nav-submenu-btn[b-p0xz57tnzi] {
    justify-content: center;
    padding: 12px;
}

.nav-collapsed .nav-submenu-icon[b-p0xz57tnzi] {
    display: none;
}

.nav-collapsed .nav-submenu-items[b-p0xz57tnzi] {
    display: none;
}

/* ============================================================
   28. BILLING PAGE
   ============================================================ */
.billing-page-wrapper[b-p0xz57tnzi] {
    padding: 24px;
    background-color: #f8fafc;
    min-height: 100vh;
}

.bl-header-bar[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    background: white;
    padding: 12px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    max-width: 100%;
}

.bl-header-item[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.bl-label[b-p0xz57tnzi] {
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.bl-select[b-p0xz57tnzi] {
    border: none;
    font-weight: 700;
    color: #1e293b;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    outline: none;
}

.bl-card[b-p0xz57tnzi] {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.bl-card:hover[b-p0xz57tnzi] {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.bl-card-title[b-p0xz57tnzi] {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.bl-input[b-p0xz57tnzi] {
    width: 100%;
    height: 42px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 16px;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.2s;
}

.bl-input:focus[b-p0xz57tnzi] {
    background: white;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* bl-btn-save override for finance section — inherits from .bl-btn above */
.bl-btn-save[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 0 28px;
    height: 38px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35),
                inset 0 1px 0 rgba(255,255,255,0.15);
}

.bl-btn-save:hover[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.45);
    transform: translateY(-1px);
}

.finance-card[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.pay-val[b-p0xz57tnzi] {
    font-size: 24px;
    font-weight: 900;
    color: #1e293b;
}

.payment-card[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #1e293b 0%, var(--lc-secondary) 100%);
    color: white;
}

/* ============================================================
   29. MODIFY TEST MASTER
   ============================================================ */
.tm-page-container[b-p0xz57tnzi] {
    padding: 32px;
    background: #f1f5f9;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.tm-main-card[b-p0xz57tnzi] {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.tm-header-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 0.5fr 2fr 1.2fr 1fr 1fr 0.8fr 0.5fr 0.8fr;
    gap: 16px;
    margin-bottom: 24px;
}

.tm-flags-container[b-p0xz57tnzi] {
    background: #f8fafc;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.tm-flags-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tm-split-panel[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 32px;
}

.tm-param-card[b-p0xz57tnzi] {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tm-param-header[b-p0xz57tnzi] {
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-param-item[b-p0xz57tnzi] {
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.active-param[b-p0xz57tnzi] {
    background: #eff6ff !important;
    border-left: 4px solid #2563eb;
}

.tm-red-header[b-p0xz57tnzi] {
    background: #ef4444;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.tm-tab-btn[b-p0xz57tnzi] {
    background: none;
    border: none;
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.1em;
    padding-bottom: 12px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    margin-right: 32px;
}

.active-tab[b-p0xz57tnzi] {
    color: #6366f1;
    border-bottom-color: #6366f1;
}

.tm-footer-bar[b-p0xz57tnzi] {
    padding: 20px 32px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-form-label-tiny[b-p0xz57tnzi] {
    font-size: 9px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
    display: block;
}

.tm-subtab-bar[b-p0xz57tnzi] {
    padding: 0 32px;
    border-top: 1px solid #e2e8f0;
}

/* ============================================================
   30. CUSTOMER MASTER
   ============================================================ */
.cm-input option[b-p0xz57tnzi] {
    color: #1e293b !important;
    background: #ffffff !important;
}

/* ============================================================
   31. RECONNECT MODAL
   ============================================================ */
#components-reconnect-modal[b-p0xz57tnzi] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-p0xz57tnzi 0.5s both;
}

#components-reconnect-modal[open][b-p0xz57tnzi] {
    animation: components-reconnect-modal-slideUp-b-p0xz57tnzi 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-p0xz57tnzi 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-p0xz57tnzi]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-p0xz57tnzi 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-p0xz57tnzi {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-p0xz57tnzi {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-p0xz57tnzi {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-p0xz57tnzi] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-p0xz57tnzi] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

#components-reconnect-modal button:hover[b-p0xz57tnzi] {
    background-color: #3b6ea2;
}

.components-rejoining-animation[b-p0xz57tnzi] {
    position: relative;
    width: 80px;
    height: 80px;
}

.components-rejoining-animation div[b-p0xz57tnzi] {
    position: absolute;
    border: 3px solid #0087ff;
    opacity: 1;
    border-radius: 50%;
    animation: components-rejoining-animation-b-p0xz57tnzi 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-p0xz57tnzi] {
    animation-delay: -0.5s;
}

@keyframes components-rejoining-animation-b-p0xz57tnzi {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}


.dc-type-label[b-p0xz57tnzi] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.dc-type-radio-label[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
}

.dc-type-radio-input[b-p0xz57tnzi] {
    width: 16px;
    height: 16px;
    accent-color: #4f46e5;
    margin: 0;
    cursor: pointer;
}

.dc-panel-inner[b-p0xz57tnzi] {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    margin-bottom: 20px;
}

.dc-panel-type-container[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 20px;
}

.dc-actions-group[b-p0xz57tnzi] {
    display: flex;
    gap: 16px;
    min-width: 300px;
}

.dc-actions-select[b-p0xz57tnzi] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    background: white;
    outline: none;
}

.dc-actions-input[b-p0xz57tnzi] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    background: white;
    outline: none;
}

.dc-table-thead[b-p0xz57tnzi] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.dc-table-tr[b-p0xz57tnzi] {
    border-bottom: 1px solid #f1f5f9;
}

.dc-table-th-checkbox[b-p0xz57tnzi] {
    width: 48px;
    padding: 12px 16px;
}

.dc-table-checkbox[b-p0xz57tnzi] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
}

.dc-table-td[b-p0xz57tnzi] {
    padding: 12px 16px;
}

.dc-table-td-bold[b-p0xz57tnzi] {
    padding: 12px 16px;
    font-weight: 700;
}

.dc-table-td-number[b-p0xz57tnzi] {
    width: 80px;
    text-align: right;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 4px 8px;
}

.dc-search-input[b-p0xz57tnzi] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 36px 8px 12px;
    font-size: 14px;
    background: white;
    outline: none;
}



.dc-footers-container[b-p0xz57tnzi] {
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.dc-footer-card-inner[b-p0xz57tnzi] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.dc-empty-row[b-p0xz57tnzi] {
    text-align: center;
    padding: 20px;
    color: #64748b;
}

/* ============================================================
   32. GLOBAL UTILITY CLASSES (LC-*)
   ============================================================ */
.lc-flex-between-center[b-p0xz57tnzi] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.lc-mb-0[b-p0xz57tnzi] {
    margin-bottom: 0 !important;
}

.lc-mb-4[b-p0xz57tnzi] {
    margin-bottom: 4px !important;
}

.lc-font-11[b-p0xz57tnzi] {
    font-size: 11px !important;
}

.lc-font-14[b-p0xz57tnzi] {
    font-size: 14px !important;
}

.lc-font-16[b-p0xz57tnzi] {
    font-size: 16px !important;
}

.lc-font-500[b-p0xz57tnzi] {
    font-weight: 500 !important;
}

.lc-font-700[b-p0xz57tnzi] {
    font-weight: 700 !important;
}

.lc-cursor-pointer[b-p0xz57tnzi] {
    cursor: pointer !important;
}

.lc-grid-span-2[b-p0xz57tnzi] {
    grid-column: span 2 !important;
}

.lc-overflow-auto-max-480[b-p0xz57tnzi] {
    max-height: 480px !important;
    overflow-y: auto !important;
}

.lc-text-uppercase[b-p0xz57tnzi] {
    text-transform: uppercase !important;
}

.lc-letter-spacing-05[b-p0xz57tnzi] {
    letter-spacing: 0.5px !important;
}

.lc-bg-none[b-p0xz57tnzi] {
    background: none !important;
}

.lc-border-slate[b-p0xz57tnzi] {
    border: 1px solid #e2e8f0 !important;
}

.lc-width-100[b-p0xz57tnzi] {
    width: 100px !important;
}

.lc-position-relative[b-p0xz57tnzi] {
    position: relative !important;
}

.lc-top-100[b-p0xz57tnzi] {
    top: 100% !important;
}

.lc-left-0[b-p0xz57tnzi] {
    left: 0 !important;
}

.lc-right-0[b-p0xz57tnzi] {
    right: 0 !important;
}

.lc-bg-success-light[b-p0xz57tnzi] {
    background: rgba(34, 197, 94, 0.1) !important;
}

.lc-bg-danger-light[b-p0xz57tnzi] {
    background: rgba(239, 68, 68, 0.1) !important;
}

.lc-status-pill[b-p0xz57tnzi] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 10px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
}

.lc-status-pill-success[b-p0xz57tnzi] {
    background: #ecfdf5 !important;
    color: #059669 !important;
}

.lc-status-pill-danger[b-p0xz57tnzi] {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

.lc-dot[b-p0xz57tnzi] {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

.lc-dot-success[b-p0xz57tnzi] {
    background: #059669 !important;
}

.lc-dot-danger[b-p0xz57tnzi] {
    background: #dc2626 !important;
}

.lc-font-13[b-p0xz57tnzi] {
    font-size: 13px !important;
}

.lc-color-slate-500[b-p0xz57tnzi] {
    color: #64748b !important;
}

.lc-text-blue[b-p0xz57tnzi] {
    color: #2563eb !important;
}

.lc-text-white[b-p0xz57tnzi] {
    color: white !important;
}

.lc-text-red[b-p0xz57tnzi] {
    color: #ef4444 !important;
}

.lc-search-input[b-p0xz57tnzi] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 8px 16px 8px 36px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    outline: none !important;
    width: 220px !important;
}

.lc-alert[b-p0xz57tnzi] {
    margin: 20px 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-textarea[b-p0xz57tnzi] {
    height: auto !important;
    min-height: 80px !important;
}

.lc-mr-8[b-p0xz57tnzi] {
    margin-right: 8px !important;
}

.lc-mr-4[b-p0xz57tnzi] {
    margin-right: 4px !important;
}

.lc-font-10[b-p0xz57tnzi] {
    font-size: 10px !important;
}

.lc-font-12[b-p0xz57tnzi] {
    font-size: 12px !important;
}

.lc-mt-neg-4[b-p0xz57tnzi] {
    margin-top: -4px !important;
}

.lc-initials-avatar[b-p0xz57tnzi] {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #eef2ff !important;
    color: #4f46e5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 11px !important;
}

.lc-m-0[b-p0xz57tnzi] {
    margin: 0 !important;
}

.lc-mt-3[b-p0xz57tnzi] {
    margin-top: 3px !important;
}

.lc-mt-2[b-p0xz57tnzi] {
    margin-top: 2px !important;
}

.lc-max-width-150-ellipsis[b-p0xz57tnzi] {
    max-width: 150px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.lc-pt-0[b-p0xz57tnzi] {
    padding-top: 0 !important;
}

.lc-shadow-none[b-p0xz57tnzi] {
    box-shadow: none !important;
}

.lc-border-none[b-p0xz57tnzi] {
    border: none !important;
}

.lc-flex-start[b-p0xz57tnzi] {
    display: flex !important;
    justify-content: flex-start !important;
}

.lc-gap-16[b-p0xz57tnzi] {
    gap: 16px !important;
}

.lc-flex-center-inline[b-p0xz57tnzi] {
    display: inline-flex !important;
    align-items: center !important;
}

.lc-gap-6[b-p0xz57tnzi] {
    gap: 6px !important;
}

.lc-bg-slate-50[b-p0xz57tnzi] {
    background: #f8fafc !important;
}

.lc-rounded-8[b-p0xz57tnzi] {
    border-radius: 8px !important;
}

.lc-color-slate-800[b-p0xz57tnzi] {
    color: #1e293b !important;
}

.lc-mb-12[b-p0xz57tnzi] {
    margin-bottom: 12px !important;
}

.lc-gap-8[b-p0xz57tnzi] {
    gap: 8px !important;
}

.lc-marker-icon-purple[b-p0xz57tnzi] {
    font-size: 18px !important;
    color: #4f46e5 !important;
}

.lc-alert-info[b-p0xz57tnzi] {
    background: #eff6ff !important;
    border: 1px solid #3b82f6 !important;
    color: #1e40af !important;
    border-left-width: 4px !important;
    border-radius: 8px !important;
}

.lc-text-blue-500[b-p0xz57tnzi] {
    color: #3b82f6 !important;
}

.lc-color-indigo-900[b-p0xz57tnzi] {
    color: #1e3a8a !important;
}

.lc-alert-warning[b-p0xz57tnzi] {
    background: #fffbeb !important;
    border: 1px solid #f59e0b !important;
    color: #92400e !important;
    border-left-width: 4px !important;
    border-radius: 8px !important;
}

.lc-text-orange-500[b-p0xz57tnzi] {
    color: #f59e0b !important;
}

.lc-color-orange-900[b-p0xz57tnzi] {
    color: #78350f !important;
}

.lc-color-slate-400[b-p0xz57tnzi] {
    color: #94a3b8 !important;
}

.lc-p-10[b-p0xz57tnzi] {
    padding: 10px !important;
}

.lc-checkbox-scroll-container[b-p0xz57tnzi] {
    max-height: 100px !important;
    overflow-y: auto !important;
    border: 1px solid #e2e8f0 !important;
    padding: 6px !important;
    border-radius: 4px !important;
    background: white !important;
}

.lc-btn-indigo-sm[b-p0xz57tnzi] {
    padding: 4px 12px !important;
    height: auto !important;
    font-size: 12px !important;
    background: #4f46e5 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}

.lc-bg-indigo-50[b-p0xz57tnzi] {
    background: #eef2ff !important;
}

.lc-border-indigo-200[b-p0xz57tnzi] {
    border: 1px solid #c7d2fe !important;
}

.lc-mx-neg-5[b-p0xz57tnzi] {
    margin-left: -5px !important;
    margin-right: -5px !important;
}

.lc-color-indigo-700[b-p0xz57tnzi] {
    color: #4338ca !important;
}

.lc-font-800[b-p0xz57tnzi] {
    font-weight: 800 !important;
}

.lc-color-indigo-800[b-p0xz57tnzi] {
    color: #1e40af !important;
}

.lc-block[b-p0xz57tnzi] {
    display: block !important;
}

.lc-grid-auto-fill-180[b-p0xz57tnzi] {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
}

.lc-overflow-auto-max-150[b-p0xz57tnzi] {
    max-height: 150px !important;
    overflow-y: auto !important;
}

.lc-mapping-tag[b-p0xz57tnzi] {
    background: #eef2ff !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.lc-gap-2[b-p0xz57tnzi] {
    gap: 2px !important;
}

.lc-color-blue-400[b-p0xz57tnzi] {
    color: #60a5fa !important;
}

.lc-btn-cancel-icon[b-p0xz57tnzi] {
    color: #f87171 !important;
    border: none !important;
    background: transparent !important;
    padding: 0 4px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
}

.lc-pt-16[b-p0xz57tnzi] {
    padding-top: 16px !important;
}

.lc-rounded-t-0[b-p0xz57tnzi] {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.lc-width-80[b-p0xz57tnzi] {
    width: 80px !important;
}

.lc-color-slate-600[b-p0xz57tnzi] {
    color: #475569 !important;
}

.lc-search-input-field-custom[b-p0xz57tnzi] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 8px 16px 8px 36px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    outline: none !important;
    width: 220px !important;
}

.lc-role-filter-select[b-p0xz57tnzi] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    outline: none !important;
}

.lc-alert-danger-custom[b-p0xz57tnzi] {
    margin: 20px 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-modal-max-700[b-p0xz57tnzi] {
    max-width: 700px !important;
}

.lc-alert-danger-sm[b-p0xz57tnzi] {
    padding: 10px 15px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
}

.lc-text-danger[b-p0xz57tnzi] {
    color: #ef4444 !important;
}

.lc-relative[b-p0xz57tnzi] {
    position: relative !important;
}

.lc-pr-40[b-p0xz57tnzi] {
    padding-right: 40px !important;
}

.lc-pwd-toggle-btn[b-p0xz57tnzi] {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
}

.lc-width-fit[b-p0xz57tnzi] {
    width: fit-content !important;
}

.lc-mt-0[b-p0xz57tnzi] {
    margin-top: 0 !important;
}

.lc-mt-16[b-p0xz57tnzi] {
    margin-top: 16px !important;
}

.lc-mt-8[b-p0xz57tnzi] {
    margin-top: 8px !important;
}

.lc-p-8-18[b-p0xz57tnzi] {
    padding: 8px 18px !important;
}

.lc-vertical-middle[b-p0xz57tnzi] {
    vertical-align: middle !important;
}

.lc-mr-4[b-p0xz57tnzi] {
    margin-right: 4px !important;
}

.lc-color-green-500[b-p0xz57tnzi] {
    color: #22c55e !important;
}

.lc-mr-6[b-p0xz57tnzi] {
    margin-right: 6px !important;
}

.lc-animate-spin[b-p0xz57tnzi] {
    animation: spin 1s linear infinite !important;
}

.lc-avatar-initials-mini[b-p0xz57tnzi] {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #e0e7ff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #4f46e5 !important;
    flex-shrink: 0 !important;
}

.lc-color-orange-500[b-p0xz57tnzi] {
    color: #f59e0b !important;
}

.lc-width-120[b-p0xz57tnzi] {
    width: 120px !important;
}

.lc-role-badge[b-p0xz57tnzi] {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    display: inline-block !important;
}

.lc-role-badge-admin[b-p0xz57tnzi] {
    background: #ede9fe !important;
    color: #7c3aed !important;
}

.lc-role-badge-staff[b-p0xz57tnzi] {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
}

.lc-role-badge-labtech[b-p0xz57tnzi] {
    background: #dcfce7 !important;
    color: #15803d !important;
}

.lc-role-badge-receptionist[b-p0xz57tnzi] {
    background: #fef9c3 !important;
    color: #b45309 !important;
}

.lc-role-badge-unknown[b-p0xz57tnzi] {
    background: #f1f5f9 !important;
    color: #64748b !important;
}

.lc-status-pill-gray[b-p0xz57tnzi] {
    background: rgba(15, 23, 42, 0.05) !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    cursor: pointer !important;
    gap: 10px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
}

.lc-status-dot-green[b-p0xz57tnzi] {
    background: #10b981 !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
}

.lc-dropdown-pos-top-100[b-p0xz57tnzi] {
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
}

.lc-toast-success[b-p0xz57tnzi] {
    border: 1px solid #16a34a !important;
    padding: 6px 8px !important;
    display: block !important;
    border-radius: 6px !important;
    background: #f0fdf4 !important;
}

.lc-gap-10[b-p0xz57tnzi] {
    gap: 10px !important;
}

.lc-height-40[b-p0xz57tnzi] {
    height: 40px !important;
}

.lc-width-64[b-p0xz57tnzi] {
    width: 64px !important;
}

.lc-width-128[b-p0xz57tnzi] {
    width: 128px !important;
}

.lc-p-48[b-p0xz57tnzi] {
    padding: 48px !important;
}

.lc-italic[b-p0xz57tnzi] {
    font-style: italic !important;
}

.lc-font-mono[b-p0xz57tnzi] {
    font-family: monospace !important;
}

.lc-color-slate-900[b-p0xz57tnzi] {
    color: #1e293b !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   VIEW BILLS PAGE STYLES
   ───────────────────────────────────────────────────────────────────────── */
.view-bills-page[b-p0xz57tnzi] {
    padding: 24px;
    background: #f8fafc;
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.view-bills-page .header-section[b-p0xz57tnzi] {
    margin-bottom: 24px;
}

.view-bills-page .page-title[b-p0xz57tnzi] {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.view-bills-page .page-subtitle[b-p0xz57tnzi] {
    font-size: 14px;
    color: #64748b;
    margin-top: 4px;
}

.view-bills-page .filter-card[b-p0xz57tnzi] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin-bottom: 24px;
}

.view-bills-page .filter-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 20px;
}

.view-bills-page .filter-item label[b-p0xz57tnzi] {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.view-bills-page .form-control[b-p0xz57tnzi],
.view-bills-page .form-select[b-p0xz57tnzi] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 13px;
    color: #1e293b;
}

.view-bills-page .btn-refresh[b-p0xz57tnzi],
.view-bills-page .btn-close-counter[b-p0xz57tnzi] {
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 12px;
    text-transform: uppercase;
}

.view-bills-page .btn-refresh[b-p0xz57tnzi] {
    background: #2563eb;
}

.view-bills-page .btn-refresh:hover[b-p0xz57tnzi] {
    background: #1d4ed8;
}

.view-bills-page .btn-close-counter[b-p0xz57tnzi] {
    background: #475569;
}

.view-bills-page .btn-close-counter:hover[b-p0xz57tnzi] {
    background: #334155;
}

.view-bills-page .filter-action[b-p0xz57tnzi] {
    display: flex;
    gap: 12px;
}

.view-bills-page .search-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.view-bills-page .search-item[b-p0xz57tnzi] {
    position: relative;
}

.view-bills-page .search-icon[b-p0xz57tnzi] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 20px;
}

.view-bills-page .search-input[b-p0xz57tnzi] {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    font-size: 13px;
    transition: 0.2s;
}

.view-bills-page .table-container[b-p0xz57tnzi] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    max-width: 100%;
}

.view-bills-page .premium-table[b-p0xz57tnzi] {
    width: 100%;
    min-width: 1200px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.view-bills-page .premium-table th[b-p0xz57tnzi] {
    background: #ffffff;
    border-bottom: 2px solid #f1f5f9;
    padding: 16px;
    text-align: left;
    font-weight: 700;
    color: #475569;
    font-size: 11px;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    z-index: 5;
}

.view-bills-page .premium-table td[b-p0xz57tnzi] {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.view-bills-page .sid-text[b-p0xz57tnzi] {
    font-weight: 700;
    color: #2563eb;
}

.view-bills-page .pat-id[b-p0xz57tnzi] {
    font-weight: 600;
    color: #1e293b;
}

.view-bills-page .pat-name[b-p0xz57tnzi] {
    font-weight: 700;
    color: var(--lc-secondary);
}

.view-bills-page .mobile-text[b-p0xz57tnzi] {
    color: #64748b;
    font-size: 12px;
}

.view-bills-page .action-icons[b-p0xz57tnzi] {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.view-bills-page .icon-btn[b-p0xz57tnzi] {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    transition: 0.2s;
    padding: 4px;
    border-radius: 4px;
}

.view-bills-page .icon-btn:hover[b-p0xz57tnzi] {
    background: #f1f5f9;
    color: #1e293b;
}

.view-bills-page .icon-btn.text-danger:hover[b-p0xz57tnzi] {
    background: #fee2e2;
    color: #ef4444;
}

.view-bills-page .footer-section[b-p0xz57tnzi] {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-bills-page .results-info[b-p0xz57tnzi] {
    font-size: 13px;
    color: #64748b;
}

.view-bills-page .pagination[b-p0xz57tnzi] {
    display: flex;
    gap: 4px;
}

.view-bills-page .pg-btn[b-p0xz57tnzi] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: 0.2s;
}

.view-bills-page .pg-btn:hover[b-p0xz57tnzi] {
    border-color: #2563eb;
    color: #2563eb;
}

.view-bills-page .pg-btn.active[b-p0xz57tnzi] {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.view-bills-page .loader-overlay[b-p0xz57tnzi] {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.view-bills-page .loader[b-p0xz57tnzi] {
    width: 32px;
    height: 32px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.view-bills-page .settled-row[b-p0xz57tnzi] {
    border-left: 4px solid #10b981;
}

.view-bills-page .pending-row[b-p0xz57tnzi] {
    border-left: 4px solid #f59e0b;
}

.lc-text-center[b-p0xz57tnzi] {
    text-align: center !important;
}

.lc-text-right[b-p0xz57tnzi] {
    text-align: right !important;
}

.lc-text-left[b-p0xz57tnzi] {
    text-align: left !important;
}

.lc-font-700[b-p0xz57tnzi] {
    font-weight: 700 !important;
}

.lc-font-600[b-p0xz57tnzi] {
    font-weight: 600 !important;
}

.lc-font-800[b-p0xz57tnzi] {
    font-weight: 800 !important;
}

.lc-color-green-500[b-p0xz57tnzi] {
    color: #10b981 !important;
}

.lc-color-red-500[b-p0xz57tnzi] {
    color: #ef4444 !important;
}

.lc-color-orange-500[b-p0xz57tnzi] {
    color: #f97316 !important;
}

.lc-cursor-pointer[b-p0xz57tnzi] {
    cursor: pointer !important;
}

.lc-rounded-pill-input[b-p0xz57tnzi] {
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    padding: 10px 18px !important;
    transition: all 0.2s ease !important;
}

.lc-rounded-pill-input:focus[b-p0xz57tnzi] {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    background: white !important;
    outline: none !important;
}

.lc-modal-close-btn-effect[b-p0xz57tnzi] {
    transition: transform 0.2s !important;
}

.lc-modal-close-btn-effect:hover[b-p0xz57tnzi] {
    transform: scale(1.1) !important;
    color: #ef4444 !important;
}

.lc-fadeInUp[b-p0xz57tnzi] {
    animation: fadeInUp 0.4s ease-out !important;
}

.lc-width-100[b-p0xz57tnzi] {
    width: 100px !important;
}

.lc-width-150[b-p0xz57tnzi] {
    width: 150px !important;
}

.lc-width-180[b-p0xz57tnzi] {
    width: 180px !important;
}

.lc-w-220[b-p0xz57tnzi] {
    width: 220px !important;
}

.lc-circle-btn-32[b-p0xz57tnzi] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    background: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   RATE MASTER PAGE STYLES
   ───────────────────────────────────────────────────────────────────────── */
.rate-container[b-p0xz57tnzi] {
    background: #f8fafc;
    padding: 24px;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.rate-header[b-p0xz57tnzi] {
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: white;
    background: white;
}

.rate-header-radios[b-p0xz57tnzi] {
    display: flex;
    gap: 24px;
}

.rate-radio-label[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
}

.rate-radio-input[b-p0xz57tnzi] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    outline: none;
    transition: 0.2s;
}

.rate-radio-input:checked[b-p0xz57tnzi] {
    background: #4f46e5;
    border-color: #4f46e5;
    box-shadow: inset 0 0 0 3px white;
}

.rate-main-card[b-p0xz57tnzi] {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px #00000010;
    border: 1px solid #e2e8f0;
}

.rate-form-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 48px;
}

.rate-form-col[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rate-form-group[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.rate-label[b-p0xz57tnzi] {
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    color: #475569;
    width: 100px;
}

.rate-input[b-p0xz57tnzi] {
    flex: 1;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 12px;
    outline: none;
}

.rate-input:focus[b-p0xz57tnzi] {
    border-color: #4f46e5;
}

.rate-radio-group[b-p0xz57tnzi] {
    display: flex;
    gap: 16px;
    flex: 1;
}

.rate-radio-item[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 11px;
}

.rate-radio-item-input[b-p0xz57tnzi] {
    cursor: pointer;
    width: 14px;
    height: 14px;
}

.rate-form-group-gap[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
}

.rate-label-small[b-p0xz57tnzi] {
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    color: #475569;
    width: 100px;
}

.rate-btn-default[b-p0xz57tnzi] {
    height: 36px;
    padding: 0 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.rate-right-action-group[b-p0xz57tnzi] {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.rate-nested-group[b-p0xz57tnzi] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rate-input-small[b-p0xz57tnzi] {
    width: 60px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    text-align: center;
}

.rate-btn-set[b-p0xz57tnzi] {
    height: 36px;
    padding: 0 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
}

.rate-btn-set-blue[b-p0xz57tnzi] {
    height: 36px;
    padding: 0 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
}

.rate-btn-big[b-p0xz57tnzi] {
    width: 140px;
    height: 84px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rate-grid-container[b-p0xz57tnzi] {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px #00000010;
}

.rate-grid-scroll[b-p0xz57tnzi] {
    max-height: 500px;
    overflow-y: auto;
}

.rate-table[b-p0xz57tnzi] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.rate-table th[b-p0xz57tnzi] {
    padding: 12px 16px;
    text-align: left;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 800;
    white-space: nowrap;
}

.rate-table td[b-p0xz57tnzi] {
    padding: 8px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
    white-space: nowrap;
}

.rate-row-active[b-p0xz57tnzi] {
    background: #f1f5f9;
}

.rate-row-pointer[b-p0xz57tnzi] {
    color: #555;
    margin-right: 4px;
}

.rate-footer-actions[b-p0xz57tnzi] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.rate-btn-footer[b-p0xz57tnzi] {
    height: 40px;
    padding: 0 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    cursor: pointer;
}

.rate-btn-footer.wide[b-p0xz57tnzi] {
    min-width: 100px;
}

.rate-btn-footer.primary[b-p0xz57tnzi] {
    background: #4f46e5;
    color: white;
    border: none;
}

.cm-input option[b-p0xz57tnzi],
.form-control option[b-p0xz57tnzi] {
    color: #1e293b !important;
    background: #ffffff !important;
}

.lc-width-25p[b-p0xz57tnzi] {
    width: 25% !important;
}

.lc-width-15p[b-p0xz57tnzi] {
    width: 15% !important;
}

.lc-width-20p[b-p0xz57tnzi] {
    width: 20% !important;
}

.lc-width-140[b-p0xz57tnzi] {
    width: 140px !important;
}

.lc-p-40[b-p0xz57tnzi] {
    padding: 40px !important;
}

.lc-mb-0[b-p0xz57tnzi] {
    margin-bottom: 0px !important;
}

.lc-mb-20[b-p0xz57tnzi] {
    margin-bottom: 20px !important;
}

.lc-mt-2px[b-p0xz57tnzi] {
    margin-top: 2px !important;
}

.lc-mt-neg-4[b-p0xz57tnzi] {
    margin-top: -4px !important;
}

.lc-mr-8[b-p0xz57tnzi] {
    margin-right: 8px !important;
}

.lc-gap-16[b-p0xz57tnzi] {
    gap: 16px !important;
}

.lc-gap-12[b-p0xz57tnzi] {
    gap: 12px !important;
}

.lc-gap-8[b-p0xz57tnzi] {
    gap: 8px !important;
}

.lc-rounded-lg[b-p0xz57tnzi] {
    border-radius: 8px !important;
}

.lc-rounded-12[b-p0xz57tnzi] {
    border-radius: 12px !important;
}

.lc-rounded-20[b-p0xz57tnzi] {
    border-radius: 20px !important;
}

.lc-rounded-full[b-p0xz57tnzi] {
    border-radius: 50% !important;
}

.lc-rounded-t-0[b-p0xz57tnzi] {
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
}

.lc-shadow-sm[b-p0xz57tnzi] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.lc-icon-24[b-p0xz57tnzi] {
    font-size: 24px !important;
}

.lc-icon-18[b-p0xz57tnzi] {
    font-size: 18px !important;
}

.lc-text-10[b-p0xz57tnzi] {
    font-size: 10px !important;
}

.lc-text-11[b-p0xz57tnzi] {
    font-size: 11px !important;
}

.lc-text-12[b-p0xz57tnzi] {
    font-size: 12px !important;
}

.lc-text-13[b-p0xz57tnzi] {
    font-size: 13px !important;
}

.lc-text-18[b-p0xz57tnzi] {
    font-size: 18px !important;
}

.lc-uppercase[b-p0xz57tnzi] {
    text-transform: uppercase !important;
}

.lc-ls-05[b-p0xz57tnzi] {
    letter-spacing: 0.5px !important;
}

.lc-w-40[b-p0xz57tnzi] {
    width: 40px !important;
}

.lc-h-40[b-p0xz57tnzi] {
    height: 40px !important;
}

.lc-w-6[b-p0xz57tnzi] {
    width: 6px !important;
}

.lc-h-6[b-p0xz57tnzi] {
    height: 6px !important;
}

.lc-w-200[b-p0xz57tnzi] {
    width: 200px !important;
}

.lc-w-220[b-p0xz57tnzi] {
    width: 220px !important;
}

.lc-text-white[b-p0xz57tnzi] {
    color: #ffffff !important;
}

.lc-animate-pulse[b-p0xz57tnzi] {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

.lc-alert-danger-custom[b-p0xz57tnzi] {
    margin: 20px 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-alert-danger-sm[b-p0xz57tnzi] {
    padding: 10px 15px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
}

.lc-alert-success-custom[b-p0xz57tnzi] {
    margin-bottom: 20px !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-bg-danger-light[b-p0xz57tnzi] {
    background-color: #fef2f2 !important;
}

.lc-bg-success-light[b-p0xz57tnzi] {
    background-color: #f0fdf4 !important;
}

.lc-abs-center-y[b-p0xz57tnzi] {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.lc-left-12[b-p0xz57tnzi] {
    left: 12px !important;
}

.lc-right-12[b-p0xz57tnzi] {
    right: 12px !important;
}

.lc-p-8-16-8-36[b-p0xz57tnzi] {
    padding: 8px 16px 8px 36px !important;
}

.lc-grid[b-p0xz57tnzi] {
    display: grid !important;
}

.lc-grid-cols-80-1fr[b-p0xz57tnzi] {
    grid-template-columns: 80px 1fr !important;
}

.lc-grid-cols-3[b-p0xz57tnzi] {
    grid-template-columns: repeat(3, 1fr) !important;
}

.lc-grid-cols-4[b-p0xz57tnzi] {
    grid-template-columns: repeat(4, 1fr) !important;
}

.lc-grid-cols-5[b-p0xz57tnzi] {
    grid-template-columns: repeat(5, 1fr) !important;
}

.lc-flex-between[b-p0xz57tnzi] {
    justify-content: space-between !important;
}

.lc-mb-4px[b-p0xz57tnzi] {
    margin-bottom: 4px !important;
}

.lc-font-500[b-p0xz57tnzi] {
    font-weight: 500 !important;
}





/* Styles from Billing.razor */
.no-spin[b-p0xz57tnzi]::-webkit-inner-spin-button,
.no-spin[b-p0xz57tnzi]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spin[b-p0xz57tnzi] {
    -moz-appearance: textfield;
}

.pay-input.no-spin[b-p0xz57tnzi] {
    appearance: textfield;
}

.bl-id-type-select[b-p0xz57tnzi] {
    background: transparent;
    color: white;
    border: none;
    width: 100%;
    height: 100%;
    padding: 0 8px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    outline: none;
}

.bl-id-type-select option[b-p0xz57tnzi] {
    color: #1e293b !important;
    background: #ffffff !important;
    text-transform: none;
}



.bl-id-input[b-p0xz57tnzi] {
    flex: 1;
    border: none;
    padding: 10px 12px;
    font-size: 13px;
    outline: none;
}

.lc-bg-white[b-p0xz57tnzi] {
    background-color: #ffffff !important;
}

.lc-border-slate-200[b-p0xz57tnzi] {
    border: 1px solid #e2e8f0 !important;
}

.lc-outline-none[b-p0xz57tnzi] {
    outline: none !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   TOAST NOTIFICATION STYLES
   ───────────────────────────────────────────────────────────────────────── */
.toast-container[b-p0xz57tnzi] {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-item[b-p0xz57tnzi] {
    min-width: 300px;
    max-width: 450px;
    padding: 16px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
    animation: toast-in-b-p0xz57tnzi 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 6px solid #ccc;
}

.toast-item.show[b-p0xz57tnzi] {
    opacity: 1;
    transform: translateX(0);
}

.toast-item.hide[b-p0xz57tnzi] {
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast-item.success[b-p0xz57tnzi] {
    border-left-color: #22c55e;
}

.toast-item.error[b-p0xz57tnzi] {
    border-left-color: #ef4444;
}

.toast-item.warning[b-p0xz57tnzi] {
    border-left-color: #f59e0b;
}

.toast-item.info[b-p0xz57tnzi] {
    border-left-color: #3b82f6;
}

.toast-item.success .icon[b-p0xz57tnzi] {
    color: #22c55e;
}

.toast-item.error .icon[b-p0xz57tnzi] {
    color: #ef4444;
}

.toast-item.warning .icon[b-p0xz57tnzi] {
    color: #f59e0b;
}

.toast-item.info .icon[b-p0xz57tnzi] {
    color: #3b82f6;
}

.toast-content[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-content .icon[b-p0xz57tnzi] {
    font-variation-settings: 'FILL' 1;
}

.toast-content .message[b-p0xz57tnzi] {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.toast-item .close-btn[b-p0xz57tnzi] {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.toast-item .close-btn:hover[b-p0xz57tnzi] {
    color: #475569;
}

@keyframes toast-in-b-p0xz57tnzi {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   PREMIUM BILLING SHARED STYLES
   ───────────────────────────────────────────────────────────────────────── */
:root[b-p0xz57tnzi] {
    --premium-blue: #2563eb;
    --premium-blue-light: #eff6ff;
    --premium-blue-dark: #1e40af;
    --premium-green: #10b981;
    --premium-green-light: #ecfdf5;
    --premium-red: #ef4444;
    --premium-red-light: #fef2f2;
    --premium-gray-text: #64748b;
    --premium-dark-text: #1e293b;
    --premium-border: #e2e8f0;
    --premium-bg: #f8fafc;
    --premium-card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --premium-card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.premium-page-container[b-p0xz57tnzi] {
    padding: 24px;
    background-color: var(--premium-bg);
    min-height: 100vh;
    font-family: 'Public Sans', sans-serif;
}

.premium-header[b-p0xz57tnzi] {
    margin-bottom: 32px;
}

.premium-title[b-p0xz57tnzi] {
    font-size: 28px;
    font-weight: 800;
    color: var(--premium-dark-text);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.premium-subtitle[b-p0xz57tnzi] {
    font-size: 14px;
    color: var(--premium-gray-text);
    font-weight: 500;
}

.premium-filter-card[b-p0xz57tnzi] {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--premium-card-shadow);
    border: 1px solid var(--premium-border);
    margin-bottom: 24px;
}

.premium-filter-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    align-items: flex-end;
}

.premium-form-group[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.premium-label[b-p0xz57tnzi] {
    font-size: 11px;
    font-weight: 700;
    color: var(--premium-gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-input[b-p0xz57tnzi],
.premium-select[b-p0xz57tnzi] {
    height: 44px;
    border-radius: 8px;
    border: 1.5px solid var(--premium-border);
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--premium-dark-text);
    background-color: #fff;
    transition: all 0.2s;
    outline: none;
}

.premium-input:focus[b-p0xz57tnzi],
.premium-select:focus[b-p0xz57tnzi] {
    border-color: var(--premium-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.premium-search-wrapper[b-p0xz57tnzi] {
    position: relative;
    display: flex;
    align-items: center;
}

.premium-search-icon[b-p0xz57tnzi] {
    position: absolute;
    left: 12px;
    color: var(--premium-gray-text);
    font-size: 18px;
}

.premium-search-input[b-p0xz57tnzi] {
    padding-left: 40px !important;
}

.premium-btn-refresh[b-p0xz57tnzi] {
    height: 44px;
    background: var(--premium-blue);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-btn-refresh:hover[b-p0xz57tnzi] {
    background: var(--premium-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.premium-search-bar-row[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.premium-table-card[b-p0xz57tnzi] {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--premium-card-shadow);
    border: 1px solid var(--premium-border);
}

.premium-table[b-p0xz57tnzi] {
    width: 100%;
    border-collapse: collapse;
}

.premium-table th[b-p0xz57tnzi] {
    background: #f8fafc;
    padding: 16px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: var(--premium-gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--premium-border);
}

.premium-table td[b-p0xz57tnzi] {
    padding: 16px 12px;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--premium-dark-text);
    vertical-align: middle;
}

.premium-table tbody tr:hover[b-p0xz57tnzi] {
    background-color: #f8fafc;
}

.sid-text[b-p0xz57tnzi] {
    font-weight: 700;
    color: #475569;
}

.patient-id[b-p0xz57tnzi] {
    font-weight: 800;
    color: #1e293b;
}

.patient-name[b-p0xz57tnzi] {
    font-weight: 700;
    display: block;
}

.mobile-text[b-p0xz57tnzi] {
    font-size: 12px;
    color: var(--premium-gray-text);
    font-weight: 500;
}

.amount-text[b-p0xz57tnzi] {
    font-weight: 700;
}

.discount-text[b-p0xz57tnzi] {
    color: var(--premium-red);
    font-weight: 600;
}

.total-text[b-p0xz57tnzi] {
    font-weight: 800;
    color: var(--premium-dark-text);
}

.paid-text[b-p0xz57tnzi] {
    font-weight: 700;
    color: var(--premium-green);
}

.balance-text[b-p0xz57tnzi] {
    font-weight: 700;
}

.action-buttons[b-p0xz57tnzi] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.action-btn[b-p0xz57tnzi] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--premium-border);
    background: white;
    color: var(--premium-gray-text);
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover[b-p0xz57tnzi] {
    background: var(--premium-blue-light);
    color: var(--premium-blue);
    border-color: var(--premium-blue);
}

.premium-footer[b-p0xz57tnzi] {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-top: 1px solid var(--premium-border);
}

.pagination-info[b-p0xz57tnzi] {
    font-size: 13px;
    color: var(--premium-gray-text);
    font-weight: 500;
}

.pagination-controls[b-p0xz57tnzi] {
    display: flex;
    gap: 4px;
}

.page-btn[b-p0xz57tnzi] {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--premium-border);
    background: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.page-btn.active[b-p0xz57tnzi] {
    background: var(--premium-blue);
    color: white;
    border-color: var(--premium-blue);
}

.page-btn:hover:not(.active)[b-p0xz57tnzi] {
    background: #f1f5f9;
}

.totals-row[b-p0xz57tnzi] {
    background: #f8fafc !important;
}

.totals-label[b-p0xz57tnzi] {
    font-weight: 800;
    text-transform: uppercase;
    text-align: right;
    padding-right: 24px !important;
}

.total-val[b-p0xz57tnzi] {
    font-weight: 800;
    font-size: 15px;
}

.bl-datetime-inline[b-p0xz57tnzi] {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    cursor: pointer !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   TEST MASTER (MODIFY TEST) UI STYLES
   ───────────────────────────────────────────────────────────────────────── */
.tm-page-wrapper[b-p0xz57tnzi] {
    padding: 20px;
    background: #f8fafc;
    min-height: 100vh;
    font-family: 'Public Sans', sans-serif;
}

.tm-top-actions[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tm-action-links[b-p0xz57tnzi] {
    display: flex;
    gap: 20px;
}

.tm-action-link[b-p0xz57tnzi] {
    font-size: 11px;
    font-weight: 700;
    color: #4f46e5;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.tm-action-link:hover[b-p0xz57tnzi] {
    text-decoration: underline;
}

.tm-user-profile[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tm-user-info[b-p0xz57tnzi] {
    text-align: right;
}

.tm-user-name[b-p0xz57tnzi] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    display: block;
}

.tm-user-role[b-p0xz57tnzi] {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

.tm-user-avatar[b-p0xz57tnzi] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tm-main-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
}

.tm-card[b-p0xz57tnzi] {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 24px;
    position: relative;
}

/* Test Details Header Section */
.tm-test-details-card[b-p0xz57tnzi] {
    grid-column: 1 / span 2;
    margin-bottom: 20px;
}

.tm-test-row[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 8px;
}

.tm-form-group[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tm-label[b-p0xz57tnzi] {
    font-size: 10px;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tm-input[b-p0xz57tnzi] {
    height: 36px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.2s;
    background: #f8fafc;
}

.tm-input:focus[b-p0xz57tnzi] {
    border-color: #4f46e5;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

.tm-input-accent[b-p0xz57tnzi] {
    border-color: #4f46e5;
    background: #eff6ff;
}

.tm-table-select[b-p0xz57tnzi] {
    width: 100%;
    height: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 4px;
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    cursor: pointer;
}

.tm-table-select:focus[b-p0xz57tnzi] {
    border-color: #4f46e5;
    background: #fff;
}

/* Type & Status Section */
.tm-flex-row[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 12px;
}

.tm-type-item[b-p0xz57tnzi],
.tm-status-item[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.tm-type-item span[b-p0xz57tnzi],
.tm-status-item span[b-p0xz57tnzi] {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.tm-radio[b-p0xz57tnzi],
.tm-checkbox[b-p0xz57tnzi] {
    width: 16px;
    height: 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.tm-radio:checked[b-p0xz57tnzi] {
    border-color: #4f46e5;
    border-width: 5px;
}

.tm-checkbox[b-p0xz57tnzi] {
    border-radius: 4px;
}

.tm-checkbox:checked[b-p0xz57tnzi] {
    background-color: #4f46e5;
    border-color: #4f46e5;
}

.tm-checkbox:checked[b-p0xz57tnzi]::after {
    content: '✔';
    position: absolute;
    color: white;
    font-size: 10px;
    left: 2px;
    top: -1px;
}

/* Parameters Panel */
.tm-params-panel[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tm-params-card[b-p0xz57tnzi] {
    padding: 0;
    overflow: hidden;
}

.tm-card-header-slim[b-p0xz57tnzi] {
    padding: 12px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.tm-card-title-slim[b-p0xz57tnzi] {
    font-size: 12px;
    font-weight: 800;
    color: #1e293b;
}

.tm-link-blue[b-p0xz57tnzi] {
    font-size: 10px;
    font-weight: 700;
    color: #4f46e5;
    cursor: pointer;
    text-decoration: none;
}

.tm-link-red[b-p0xz57tnzi] {
    font-size: 10px;
    font-weight: 700;
    color: #ef4444;
    cursor: pointer;
    text-decoration: none;
}

.tm-param-table[b-p0xz57tnzi] {
    width: 100%;
    border-collapse: collapse;
}

.tm-param-table th[b-p0xz57tnzi] {
    background: #f8fafc;
    padding: 10px 16px;
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e8f0;
}

.tm-param-row[b-p0xz57tnzi] {
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s;
}

.tm-param-row:hover[b-p0xz57tnzi] {
    background: #f8fafc;
}

.tm-param-row.active[b-p0xz57tnzi] {
    background: #eff6ff;
}

.tm-param-cell[b-p0xz57tnzi] {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.tm-param-input[b-p0xz57tnzi] {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

/* Normal Values Panel */
.tm-values-card[b-p0xz57tnzi] {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tm-values-header[b-p0xz57tnzi] {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-tabs[b-p0xz57tnzi] {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 24px;
    background: #f8fafc;
}

.tm-tab[b-p0xz57tnzi] {
    padding: 14px 0;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    border: none;
    background: transparent;
}

.tm-tab.active[b-p0xz57tnzi] {
    color: #4f46e5;
}

.tm-tab.active[b-p0xz57tnzi]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #4f46e5;
}

.tm-value-row[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px;
}

.tm-quill-editor[b-p0xz57tnzi] {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    min-height: 120px;
    margin-top: 8px;
}

.tm-editor-toolbar[b-p0xz57tnzi] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 4px 8px;
    display: flex;
    gap: 12px;
}

.tm-editor-btn[b-p0xz57tnzi] {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.tm-editor-btn:hover[b-p0xz57tnzi] {
    background: #e2e8f0;
}

.tm-editor-content[b-p0xz57tnzi] {
    padding: 16px;
    min-height: 100px;
    font-size: 14px;
    outline: none;
}

/* Bottom Action Bar */
.tm-bottom-bar[b-p0xz57tnzi] {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 16px 16px;
    margin-top: 20px;
}

.tm-date-range[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px 12px;
}

.tm-date-input[b-p0xz57tnzi] {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    width: 90px;
    cursor: pointer;
}

.tm-btn-row[b-p0xz57tnzi] {
    display: flex;
    gap: 10px;
}

.tm-btn[b-p0xz57tnzi] {
    height: 38px;
    padding: 0 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.tm-btn-outline[b-p0xz57tnzi] {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.tm-btn-primary[b-p0xz57tnzi] {
    background: #4f46e5;
    color: #fff;
}

.tm-btn-danger[b-p0xz57tnzi] {
    background: #ef4444;
    color: #fff;
}

.tm-btn-dark[b-p0xz57tnzi] {
    background: #1e293b;
    color: #fff;
}

.tm-btn-secondary[b-p0xz57tnzi] {
    background: #f3f4f6;
    color: #4b5563;
}

.tm-update-btn[b-p0xz57tnzi] {
    background: #fff;
    border: 1.5px solid #f97316;
    color: #f97316;
    padding: 8px 24px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-end;
    margin: 24px;
    margin-top: 0;
}

.tm-update-btn:hover[b-p0xz57tnzi] {
    background: #fff7ed;
    transform: translateY(-1px);
}

/* Special styling for input groups in image */
.tm-input-group[b-p0xz57tnzi] {
    position: relative;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    padding: 0 12px;
    height: 36px;
}

.tm-input-group input[b-p0xz57tnzi] {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 13px;
    font-weight: 600;
}

.tm-input-group .material-symbols-outlined[b-p0xz57tnzi] {
    color: #94a3b8;
    font-size: 18px;
}

.tm-btn-blue[b-p0xz57tnzi] {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.tm-btn-black[b-p0xz57tnzi] {
    background: #000;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

/* Status section checkboxes specifically matching the image style */
.tm-status-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    align-items: center;
    margin-left: 20px;
    margin-top: 4px;
}

.tm-status-box[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 2px 0;
}

.tm-status-check[b-p0xz57tnzi] {
    width: 12px;
    height: 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.tm-status-box:hover .tm-status-check[b-p0xz57tnzi] {
    border-color: #4f46e5;
}

.tm-status-box.active .tm-status-check[b-p0xz57tnzi] {
    border-color: #4f46e5;
    border-width: 4px;
}

.tm-status-label[b-p0xz57tnzi] {
    font-size: 10px;
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
}

.tm-sep-row[b-p0xz57tnzi] {
    height: 1px;
    background: #f1f5f9;
    width: 100%;
    margin: 2px 0;
}

/* Flex & Layout Utilities */
.display-flex[b-p0xz57tnzi] {
    display: flex;
}

.flex-col[b-p0xz57tnzi] {
    flex-direction: column;
}

.flex-1[b-p0xz57tnzi] {
    flex: 1;
}

.align-center[b-p0xz57tnzi] {
    align-items: center;
}

.justify-center[b-p0xz57tnzi] {
    justify-content: center;
}

.justify-between[b-p0xz57tnzi] {
    justify-content: space-between;
}

.justify-end[b-p0xz57tnzi] {
    justify-content: flex-end;
}

.gap-4[b-p0xz57tnzi] {
    gap: 4px;
}

.gap-8[b-p0xz57tnzi] {
    gap: 8px;
}

.gap-12[b-p0xz57tnzi] {
    gap: 12px;
}

.gap-16[b-p0xz57tnzi] {
    gap: 16px;
}

.gap-24[b-p0xz57tnzi] {
    gap: 24px;
}

.gap-32[b-p0xz57tnzi] {
    gap: 32px;
}

/* Spacing Utilities */
.mt-4[b-p0xz57tnzi] {
    margin-top: 4px;
}

.mt-8[b-p0xz57tnzi] {
    margin-top: 8px;
}

.mt-12[b-p0xz57tnzi] {
    margin-top: 12px;
}

.mt-20[b-p0xz57tnzi] {
    margin-top: 20px;
}

.mb-16[b-p0xz57tnzi] {
    margin-bottom: 16px;
}

.my-16[b-p0xz57tnzi] {
    margin: 16px 0;
}

.ml-4[b-p0xz57tnzi] {
    margin-left: 4px;
}

.ml-20[b-p0xz57tnzi] {
    margin-left: 20px;
}

.p-12[b-p0xz57tnzi] {
    padding: 12px;
}

.p-24[b-p0xz57tnzi] {
    padding: 24px;
}

/* Sizing Utilities */
.w-full[b-p0xz57tnzi] {
    width: 100%;
}

.w-48[b-p0xz57tnzi] {
    width: 48px;
}

.h-24[b-p0xz57tnzi] {
    height: 24px;
}

.h-28[b-p0xz57tnzi] {
    height: 28px;
}

.h-32[b-p0xz57tnzi] {
    height: 32px;
}

.h-80[b-p0xz57tnzi] {
    height: 80px;
}

/* Font Utilities */
.font-11[b-p0xz57tnzi] {
    font-size: 11px;
}

.font-14[b-p0xz57tnzi] {
    font-size: 14px;
}

.lc-outline-none[b-p0xz57tnzi] {
    outline: none;
}

/* NORMAL VALUES TAB LAYOUTS */
.tm-tab-content-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    flex: 1;
}

.tm-tab-left-col[b-p0xz57tnzi],
.tm-tab-right-col[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
}

.tm-specimen-table-wrapper[b-p0xz57tnzi] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.tm-specimen-table[b-p0xz57tnzi] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.tm-specimen-table th[b-p0xz57tnzi] {
    background: #f8fafc;
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.tm-specimen-table td[b-p0xz57tnzi] {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
}

.tm-specimen-table tr:last-child td[b-p0xz57tnzi] {
    border-bottom: none;
}

.tm-specimen-table tr:hover[b-p0xz57tnzi] {
    background: #f1f5f9;
}

.tm-checkbox[b-p0xz57tnzi] {
    width: 14px;
    height: 14px;
    accent-color: #2563eb;
    cursor: pointer;
}

.tm-btn-icon-gray[b-p0xz57tnzi] {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    color: #64748b;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.tm-btn-icon-gray:hover[b-p0xz57tnzi] {
    background: #e2e8f0;
    color: #1e293b;
}

.tm-btn-icon-red[b-p0xz57tnzi] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: #fee2e2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-icon-red:hover[b-p0xz57tnzi] {
    background: #fecaca;
    color: #dc2626;
    transform: scale(1.05);
}

.tm-update-btn[b-p0xz57tnzi] {
    background: #fff;
    border: 1px solid #f97316;
    color: #f97316;
    padding: 4px 20px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-update-btn:hover[b-p0xz57tnzi] {
    background: #fff7ed;
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.1);
}

.tm-values-header-accent[b-p0xz57tnzi] {
    background: #e11d48;
    color: #fff;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tm-values-subheader[b-p0xz57tnzi] {
    padding: 12px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tm-link-orange[b-p0xz57tnzi] {
    color: #f97316;
    text-decoration: none;
}

.tm-link-orange:hover[b-p0xz57tnzi] {
    text-decoration: underline;
}

.tm-detailed-range-section[b-p0xz57tnzi] {
    border-top: 1px solid #e2e8f0;
}

.tm-specimen-table-container[b-p0xz57tnzi] {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 12px;
}

.tm-specimen-table-modern[b-p0xz57tnzi] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.tm-specimen-table-modern th[b-p0xz57tnzi] {
    background: #fff;
    padding: 6px 10px;
    text-align: left;
    font-weight: 500;
    color: #1e293b;
    border-bottom: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
}

.tm-specimen-table-modern th:last-child[b-p0xz57tnzi] {
    border-right: none;
}

.tm-specimen-table-modern td[b-p0xz57tnzi] {
    padding: 4px 10px;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #cbd5e1;
    color: #334155;
}

.tm-specimen-table-modern td:last-child[b-p0xz57tnzi] {
    border-right: none;
}

.tm-specimen-table-modern tr:last-child td[b-p0xz57tnzi] {
    border-bottom: none;
}

.tm-specimen-table-modern tr:hover td[b-p0xz57tnzi] {
    background: #f8fafc;
}

.tm-specimen-row-active td[b-p0xz57tnzi] {
    background: #eff6ff !important;
    border-left: 3px solid #4f46e5;
}

.text-red[b-p0xz57tnzi] {
    color: #ef4444 !important;
}

.fw-600[b-p0xz57tnzi] {
    font-weight: 600;
}

.bl-scan-btn[b-p0xz57tnzi] {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
}

.bl-scan-btn:hover[b-p0xz57tnzi] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

.bl-scan-btn .material-symbols-outlined[b-p0xz57tnzi] {
    font-size: 16px;
}


.bl-scan-icon-only[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2), 0 2px 4px -1px rgba(79, 70, 229, 0.1);
}

.bl-scan-icon-only:hover[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.bl-yt-search-group[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    height: 40px;
}

.bl-yt-search-group:focus-within[b-p0xz57tnzi] {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: white;
}

.bl-yt-input[b-p0xz57tnzi] {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    outline: none !important;
    height: 100% !important;
}

.bl-yt-button[b-p0xz57tnzi] {
    background: #f1f5f9;
    border: none;
    border-left: 1.5px solid #e2e8f0;
    color: #4f46e5;
    width: 44px;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.bl-yt-button:hover[b-p0xz57tnzi] {
    background: #e2e8f0;
    color: #1e293b;
}

.bl-yt-button.has-scan[b-p0xz57tnzi] {
    color: #10b981;
}

.bl-yt-button .material-icons[b-p0xz57tnzi] {
    font-size: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    width: 24px;
    height: 24px;
}

.bl-scan-status-container[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #10b981;
}

.bl-scan-tick[b-p0xz57tnzi] {
    color: #10b981;
    font-size: 18px !important;
}

.bl-scan-cancel[b-p0xz57tnzi] {
    color: #ef4444;
    font-size: 16px !important;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.bl-scan-cancel:hover[b-p0xz57tnzi] {
    opacity: 1;
}

.bl-scan-path-badge[b-p0xz57tnzi] {
    background: #f1f5f9;
    color: #64748b;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
}

/* ===============================================
   Result Entry - Premium Modern Design
   =============================================== */

/* Container */
.re-container[b-p0xz57tnzi] {
    padding: 16px 20px 80px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1e293b;
    background: #f8fafc;
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Common form elements */
.re-label[b-p0xz57tnzi] {
    font-size: 0.7rem;
    font-weight: 650;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.re-input[b-p0xz57tnzi],
.re-select[b-p0xz57tnzi],
.re-input-date[b-p0xz57tnzi],
.re-input-time[b-p0xz57tnzi],
.re-textarea[b-p0xz57tnzi] {
    padding: 4px 8px;
    border-radius: 6px;
    border: 1.5px solid #e2e8f0;
    font-size: 0.8rem;
    color: #1e293b;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.re-input:focus[b-p0xz57tnzi],
.re-select:focus[b-p0xz57tnzi],
.re-input-date:focus[b-p0xz57tnzi],
.re-input-time:focus[b-p0xz57tnzi],
.re-textarea:focus[b-p0xz57tnzi] {
    border-color: #6366f1;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.re-input[b-p0xz57tnzi],
.re-select[b-p0xz57tnzi],
.re-input-date[b-p0xz57tnzi],
.re-input-time[b-p0xz57tnzi] {
    height: 30px;
}

.re-select[b-p0xz57tnzi] {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%2394a3b8' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 24px;
    cursor: pointer;
}

.re-input-yellow[b-p0xz57tnzi] {
    background-color: #fefce8;
    border-color: #fde68a;
    color: #92400e;
}

.re-input-yellow:focus[b-p0xz57tnzi] {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* Header Section */
.re-header-section[b-p0xz57tnzi] {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.re-breadcrumb[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    font-family: inherit;
    font-size: 0.9rem;
}

.re-breadcrumb i.fa-home[b-p0xz57tnzi] {
    color: #4f46e5;
    font-size: 1rem;
    margin-right: 12px;
}

.re-breadcrumb span.text-muted[b-p0xz57tnzi] {
    color: #64748b;
    margin-right: 12px;
}

.re-breadcrumb i.fa-chevron-right[b-p0xz57tnzi] {
    color: #cbd5e1;
    font-size: 0.7rem;
    margin-right: 12px;
}

.re-breadcrumb span.text-active[b-p0xz57tnzi] {
    color: var(--lc-secondary);
    font-weight: 600;
}

.re-header-right[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1;
}

/* Sample Card */
.re-sample-card[b-p0xz57tnzi] {
    background: #fff;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #e9edf3;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.re-field-group[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Custom Checkbox/Radio */
.re-check-label[b-p0xz57tnzi],
.re-radio-label[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    user-select: none;
}

.re-check-label input[type="checkbox"][b-p0xz57tnzi],
.re-radio-label input[type="radio"][b-p0xz57tnzi] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    outline: none;
    transition: all 0.2s;
    position: relative;
    cursor: pointer;
}

.re-radio-label input[type="radio"][b-p0xz57tnzi] {
    border-radius: 50%;
}

.re-check-label input[type="checkbox"]:checked[b-p0xz57tnzi],
.re-radio-label input[type="radio"]:checked[b-p0xz57tnzi] {
    background-color: #6366f1;
    border-color: #6366f1;
}

.re-check-label input[type="checkbox"]:checked[b-p0xz57tnzi]::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
}

.re-radio-label input[type="radio"]:checked[b-p0xz57tnzi]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Tabs */
.re-tabs-container[b-p0xz57tnzi] {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 2px;
    padding: 0 4px;
}

.re-tab[b-p0xz57tnzi] {
    background: transparent;
    border: none;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.re-tab:hover[b-p0xz57tnzi] {
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.05);
}

.re-tab.active[b-p0xz57tnzi] {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
    background: rgba(99, 102, 241, 0.08);
}

/* Main Content Area */
.re-main-content[b-p0xz57tnzi] {
    display: flex;
    gap: 24px;
    flex-grow: 1;
    align-items: flex-start;
    position: relative;
}

.re-panel-card[b-p0xz57tnzi] {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9edf3;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.re-left-panel[b-p0xz57tnzi] {
    width: 100%;
    min-height: 390px;
}

.re-right-panel[b-p0xz57tnzi] {
    position: absolute;
    top: 10px;
    right: 16px;
    width: 320px;
    z-index: 50;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
    border: 1px solid #cbd5e1;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

/* Table Actions */
.re-panel-header[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    background: #fafbff;
}

/* ===== BILLED TESTS DROPDOWN ===== */
.re-bt-wrapper[b-p0xz57tnzi] {
    position: relative;
}

.re-billed-tests[b-p0xz57tnzi] {
    color: #ef4444;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fef2f2;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #fecaca;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
}

.re-billed-tests:hover[b-p0xz57tnzi],
.re-billed-tests.active[b-p0xz57tnzi] {
    background: #fee2e2;
    border-color: #fca5a5;
}

.re-bt-chevron[b-p0xz57tnzi] {
    font-size: 0.6rem;
    transition: transform 0.25s ease;
    margin-left: 2px;
}

.re-bt-chevron.up[b-p0xz57tnzi] {
    transform: rotate(180deg);
}

/* ===== ADVANCE FILTER DROPDOWN ===== */
.re-af-wrapper[b-p0xz57tnzi] {
    position: relative;
}

.re-advance-filter[b-p0xz57tnzi] {
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    padding: 0 12px;
    height: 30px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 650;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    user-select: none;
}

.re-advance-filter:hover[b-p0xz57tnzi],
.re-advance-filter.active[b-p0xz57tnzi] {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #1e293b;
}

.re-af-chevron[b-p0xz57tnzi] {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
    color: #94a3b8;
}

.re-af-chevron.up[b-p0xz57tnzi] {
    transform: rotate(180deg);
}

.re-af-dropdown[b-p0xz57tnzi] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 200;
    overflow: hidden;
    animation: re-bt-appear-b-p0xz57tnzi 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.re-af-dropdown-header[b-p0xz57tnzi] {
    padding: 8px 12px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.re-af-dropdown-body[b-p0xz57tnzi] {
    max-height: 280px;
    overflow-y: auto;
}

.re-af-item[b-p0xz57tnzi] {
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s;
}

.re-af-item:hover[b-p0xz57tnzi] {
    background: #f8fafc;
    color: #4f46e5;
}

.re-af-item.selected[b-p0xz57tnzi] {
    background: #eff6ff;
    color: #2563eb;
    position: relative;
    padding-left: 28px;
}

.re-af-item.selected[b-p0xz57tnzi]::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 10px;
    font-size: 0.7rem;
}

.re-af-overlay[b-p0xz57tnzi] {
    position: fixed;
    inset: 0;
    z-index: 199;
}

/* ===== TEST SEARCH ===== */
.re-search-wrapper[b-p0xz57tnzi] {
    position: relative;
    display: flex;
    align-items: center;
}

.re-test-search[b-p0xz57tnzi] {
    min-width: 180px;
    padding-right: 28px !important;
}

.re-clear-search[b-p0xz57tnzi] {
    position: absolute;
    right: 6px;
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 4px;
    font-size: 0.75rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.re-clear-search:hover[b-p0xz57tnzi] {
    color: #ef4444;
}

/* Dropdown Panel */
.re-bt-dropdown[b-p0xz57tnzi] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 240px;
    max-width: 320px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
    z-index: 200;
    overflow: hidden;
    animation: re-bt-appear-b-p0xz57tnzi 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes re-bt-appear-b-p0xz57tnzi {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Dropdown Header */
.re-bt-dropdown-header[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: linear-gradient(to right, #fef2f2, #fff);
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ef4444;
    gap: 8px;
}

.re-bt-count[b-p0xz57tnzi] {
    background: #fecaca;
    color: #b91c1c;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
}

/* Dropdown Body */
.re-bt-dropdown-body[b-p0xz57tnzi] {
    max-height: 220px;
    overflow-y: auto;
    padding: 4px 0;
}

.re-bt-dropdown-body[b-p0xz57tnzi]::-webkit-scrollbar {
    width: 4px;
}

.re-bt-dropdown-body[b-p0xz57tnzi]::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

/* Individual Test Item */
.re-bt-item[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s;
    user-select: none;
}

.re-bt-item:hover[b-p0xz57tnzi] {
    background: #f8fafc;
}

.re-bt-item.selected[b-p0xz57tnzi] {
    color: #1e293b;
}

.re-bt-item input[type="checkbox"][b-p0xz57tnzi] {
    width: 14px;
    height: 14px;
    accent-color: #ef4444;
    cursor: pointer;
    flex-shrink: 0;
}

.re-bt-item-name[b-p0xz57tnzi] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Empty State */
.re-bt-empty[b-p0xz57tnzi] {
    padding: 16px 12px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Dropdown Footer */
.re-bt-dropdown-footer[b-p0xz57tnzi] {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid #f1f5f9;
    background: #fafbff;
}

.re-bt-apply-btn[b-p0xz57tnzi] {
    flex: 1;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s;
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.25);
}

.re-bt-apply-btn:hover[b-p0xz57tnzi] {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(239, 68, 68, 0.35);
}

.re-bt-reset-btn[b-p0xz57tnzi] {
    background: #fff;
    color: #64748b;
    border: 1.5px solid #e2e8f0;
    border-radius: 7px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.re-bt-reset-btn:hover[b-p0xz57tnzi] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #334155;
}

/* Click-outside Overlay */
.re-bt-overlay[b-p0xz57tnzi] {
    position: fixed;
    inset: 0;
    z-index: 199;
    background: transparent;
    cursor: default;
}

.re-delta-link[b-p0xz57tnzi] {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    padding: 6px 10px;
    border-radius: 6px;
}

.re-delta-link:hover[b-p0xz57tnzi] {
    color: #4338ca;
    background: #eef2ff;
}

.re-btn-danger[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.re-btn-danger:hover[b-p0xz57tnzi] {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

/* Table Area */
.re-table-wrapper[b-p0xz57tnzi] {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 500px;
}

.re-data-table[b-p0xz57tnzi] {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
}

.re-data-table th[b-p0xz57tnzi] {
    padding: 10px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f1f5f9;
    border-bottom: 2px solid #94a3b8;
    text-align: left;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2;
}

.re-data-table td[b-p0xz57tnzi] {
    padding: 6px 12px;
    font-size: 0.8rem;
    color: #334155;
    font-weight: 600;
    border-bottom: 1px solid #b8c4d0;
    border-right: 1px solid #c8d2dc;
    vertical-align: middle;
    background: #fff;
}

.re-data-table td:last-child[b-p0xz57tnzi] {
    border-right: none;
}

.re-col-center[b-p0xz57tnzi] {
    text-align: center;
}

.re-edit-cell[b-p0xz57tnzi] {
    padding: 6px 8px !important;
    background: #ffffff !important;
}

.re-t-input[b-p0xz57tnzi] {
    width: 100%;
    height: 32px;
    border: 1.5px solid #94a3b8;
    border-radius: 6px;
    background: #f1f5f9;
    padding: 0 10px;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--lc-secondary);
    font-weight: 700;
    box-sizing: border-box;
}

.re-t-input:focus[b-p0xz57tnzi] {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3.5px rgba(79, 70, 229, 0.15);
}

.re-bg-red[b-p0xz57tnzi] {
    background-color: #fee2e2 !important;
    /* High/Low Red */
}

.re-bg-yellow[b-p0xz57tnzi] {
    background-color: #ffedd5 !important;
    /* Borderline Orange */
}

.re-bg-green[b-p0xz57tnzi] {
    background-color: #dcfce7 !important;
    /* Normal Green */
}

.re-bg-yellow .re-t-input[b-p0xz57tnzi],
.re-bg-red .re-t-input[b-p0xz57tnzi],
.re-bg-green .re-t-input[b-p0xz57tnzi] {
    background: inherit !important;
}

/* ===============================================
   Result Search - Premium Modern Design
   =============================================== */

.re-header-main[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 24px;
}

.re-patient-info[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.re-avatar[b-p0xz57tnzi] {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.re-patient-details[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
}

.re-patient-name[b-p0xz57tnzi] {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--lc-secondary);
    margin: 0;
}

.re-patient-meta[b-p0xz57tnzi] {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.re-header-actions[b-p0xz57tnzi] {
    display: flex;
    gap: 12px;
}

.re-entry-badge[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.re-select-minimal[b-p0xz57tnzi] {
    border: none;
    background: transparent;
    font-weight: 700;
    color: #4f46e5;
    cursor: pointer;
    outline: none;
}

.re-card[b-p0xz57tnzi] {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.re-card-header[b-p0xz57tnzi] {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    background: #fafbff;
}

.re-card-title[b-p0xz57tnzi] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-card-body[b-p0xz57tnzi] {
    padding: 16px;
}

.re-grid-search[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: flex-end;
}

.re-grid-3[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.re-field[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.re-item-primary[b-p0xz57tnzi] {
    font-weight: 600;
    color: #1e293b;
}

.re-item-secondary[b-p0xz57tnzi] {
    font-size: 0.75rem;
    color: #64748b;
}

.re-dropdown-item[b-p0xz57tnzi] {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
}

.re-dropdown-item:hover[b-p0xz57tnzi] {
    background: #f8fafc;
}

.re-search-dropdown[b-p0xz57tnzi] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
}

.re-search-input-wrap[b-p0xz57tnzi] {
    position: relative;
}

.re-content-layout[b-p0xz57tnzi] {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.re-main-panel[b-p0xz57tnzi] {
    flex: 1;
    min-width: 0;
}

.re-side-panel[b-p0xz57tnzi] {
    width: 350px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}

.re-table-container[b-p0xz57tnzi] {
    width: 100%;
    overflow-x: auto;
}

.re-table[b-p0xz57tnzi] {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
}

.re-table th[b-p0xz57tnzi] {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.re-table td[b-p0xz57tnzi] {
    padding: 12px 16px;
    font-size: 0.85rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
}

.re-row-selected[b-p0xz57tnzi] {
    background: #eff6ff !important;
}

.re-empty-state[b-p0xz57tnzi] {
    padding: 48px;
    text-align: center;
    color: #94a3b8;
}

.re-empty-icon[b-p0xz57tnzi] {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.2;
}

.re-badge[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.re-badge-warning[b-p0xz57tnzi] {
    background: #fef3c7;
    color: #b45309;
}

.re-badge-success[b-p0xz57tnzi] {
    background: #dcfce7;
    color: #15803d;
}

.re-badge-info[b-p0xz57tnzi] {
    background: #e0e7ff;
    color: #4338ca;
}

.re-pill-group[b-p0xz57tnzi] {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
    width: fit-content;
}

.re-pill[b-p0xz57tnzi] {
    padding: 4px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.re-pill.active[b-p0xz57tnzi] {
    background: #fff;
    color: #4f46e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.re-pill input[b-p0xz57tnzi] {
    display: none;
}

.re-filter-row[b-p0xz57tnzi] {
    display: flex;
    gap: 32px;
    align-items: center;
}

.re-btn-primary[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.re-btn-secondary[b-p0xz57tnzi] {
    background: #fff;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-input-calculated[b-p0xz57tnzi] {
    background-color: #f0f9ff !important;
    border-color: #bae6fd !important;
    color: #0369a1 !important;
    font-weight: 700 !important;
    cursor: default;
}

/* Status Indicator Dots */
.re-status-wrapper[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 8px;
}

.re-status-dot[b-p0xz57tnzi] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    /* Default/None */
    flex-shrink: 0;
}

.re-status-dot.normal[b-p0xz57tnzi] {
    background-color: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.re-status-dot.high[b-p0xz57tnzi] {
    background-color: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.re-status-dot.low[b-p0xz57tnzi] {
    background-color: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

/* Table Footer */
.re-table-footer[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid #f1f5f9;
    background: #fafbff;
}

.re-tf-left[b-p0xz57tnzi],
.re-tf-right[b-p0xz57tnzi] {
    display: flex;
    gap: 12px;
    align-items: center;
}

.re-link-btn[b-p0xz57tnzi] {
    background: none;
    border: none;
    color: #4f46e5;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.re-link-btn:hover[b-p0xz57tnzi] {
    background: #eef2ff;
    color: #4338ca;
}

.re-text-danger[b-p0xz57tnzi] {
    color: #ef4444;
}

.re-text-danger:hover[b-p0xz57tnzi] {
    background: #fef2f2;
    color: #dc2626;
}

/* Right Panel Styles */
.re-rp-header[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 10px 12px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.re-rp-header i[b-p0xz57tnzi] {
    color: #4f46e5;
    font-size: 1rem;
}

.re-btn-close-popup[b-p0xz57tnzi] {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    border-radius: 4px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.re-btn-close-popup:hover[b-p0xz57tnzi] {
    background: #f1f5f9;
    color: #ef4444;
}

.re-btn-close-popup i[b-p0xz57tnzi] {
    color: inherit;
    font-size: 1rem;
}

.re-rp-tabs[b-p0xz57tnzi] {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 8px;
}

.re-rp-tab[b-p0xz57tnzi] {
    background: none;
    border: none;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    color: #64748b;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    margin-bottom: -1px;
}

.re-rp-tab:hover[b-p0xz57tnzi] {
    color: #4f46e5;
}

.re-rp-tab.active[b-p0xz57tnzi] {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
}

.re-rp-content[b-p0xz57tnzi] {
    padding: 8px 12px;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.re-form-group[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.re-row-group[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.re-control[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.re-textarea[b-p0xz57tnzi] {
    resize: vertical;
    min-height: 24px;
}

.re-flex-spacer[b-p0xz57tnzi] {
    flex-grow: 1;
}

.re-rp-footer[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
    background: #fafbff;
}

.re-btn-update[b-p0xz57tnzi] {
    background: #fff;
    color: #4f46e5;
    border: 1.5px solid #c7d2fe;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.re-btn-update:hover[b-p0xz57tnzi] {
    background: #eef2ff;
    border-color: #818cf8;
    transform: translateY(-1px);
}

/* Bottom Bar */
.re-footer-bar[b-p0xz57tnzi] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    flex-wrap: wrap;
    gap: 12px;
}

.re-footer-centered[b-p0xz57tnzi] {
    justify-content: center;
}

.re-footer-left[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.re-label-bold[b-p0xz57tnzi] {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.85rem;
}

.re-footer-divider[b-p0xz57tnzi] {
    width: 1px;
    height: 20px;
    background: #cbd5e1;
    margin: 0 4px;
}

.re-footer-right[b-p0xz57tnzi] {
    display: flex;
    gap: 12px;
}

.re-btn-action[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: #334155;
    font-family: 'Inter', sans-serif;
}

.re-btn-action:hover[b-p0xz57tnzi] {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.re-btn-action-primary[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.re-btn-action-primary:hover[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #fff;
    border: none;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

/* Responsive Layout */
@media (max-width: 1200px) {
    .re-main-content[b-p0xz57tnzi] {
        flex-direction: column;
    }

    .re-left-panel[b-p0xz57tnzi],
    .re-right-panel[b-p0xz57tnzi] {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .re-header-section[b-p0xz57tnzi],
    .re-sample-card[b-p0xz57tnzi] {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .re-header-right[b-p0xz57tnzi] {
        justify-content: flex-start;
    }

    .re-container[b-p0xz57tnzi] {
        padding: 16px 16px 120px;
    }

    .re-footer-bar[b-p0xz57tnzi] {
        padding: 12px 16px;
    }
}

/* Fixed Values Modal - Premium Design */
.re-modal-overlay[b-p0xz57tnzi] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    /* Sleek backdrop */
    z-index: 1000;
    backdrop-filter: blur(4px);
    animation: fadeInModal-b-p0xz57tnzi 0.2s ease-out;
}

@keyframes fadeInModal-b-p0xz57tnzi {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.re-modal[b-p0xz57tnzi] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: inherit;
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Soft border for elegance */
    animation: scaleInModal-b-p0xz57tnzi 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleInModal-b-p0xz57tnzi {
    from {
        transform: translate(-50%, -45%) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.re-modal-titlebar[b-p0xz57tnzi] {
    background: #f8fafc;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.re-modal-titlebar button[b-p0xz57tnzi] {
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 1.2rem;
    line-height: 1;
    transition: color 0.15s ease;
}

.re-modal-titlebar button:hover[b-p0xz57tnzi] {
    color: #ef4444;
}

.re-modal-header[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.re-modal-body[b-p0xz57tnzi] {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fdfdfd;
}

.re-modal-footer[b-p0xz57tnzi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

/* Modal Buttons */
.re-btn-outline[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.re-btn-outline:hover:not(:disabled)[b-p0xz57tnzi] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
}

.re-btn-outline:active:not(:disabled)[b-p0xz57tnzi] {
    transform: translateY(0);
}

.re-btn-outline:disabled[b-p0xz57tnzi] {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f5f9;
}

/* Destructive Button Exception */
.btn-delete:hover:not(:disabled)[b-p0xz57tnzi] {
    border-color: #fca5a5 !important;
    color: #ef4444 !important;
    background: #fef2f2 !important;
}

/* Primary Button Exception */
.re-btn-save[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.re-btn-save:hover[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(99, 102, 241, 0.4);
}

/* Print Button */
.re-btn-print[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.re-btn-print:hover[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(14, 165, 233, 0.4);
}

/* Improved Table styling inside Modal */
.re-fv-table-wrapper[b-p0xz57tnzi] {
    height: 150px;
    overflow-y: auto;
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.re-fv-table[b-p0xz57tnzi] {
    border-collapse: collapse;
    width: 100%;
}

.re-fv-table th[b-p0xz57tnzi] {
    background: #f8fafc !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding: 8px 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 2;
}

.re-fv-table td[b-p0xz57tnzi] {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.85rem;
    color: #334155;
    transition: background-color 0.15s;
    font-weight: 500;
}

.re-fv-table tbody tr:hover:not(.active-row) td[b-p0xz57tnzi] {
    background-color: #f8fafc;
}

.re-fv-table .active-row td[b-p0xz57tnzi] {
    background: #eef2ff !important;
    color: #4f46e5 !important;
    border-bottom-color: #e0e7ff;
    font-weight: 600;
}

.re-fv-table .active-row i.fa-caret-right[b-p0xz57tnzi] {
    color: #4f46e5;
}

.re-fv-table .active-row input.re-t-input[b-p0xz57tnzi] {
    color: #4f46e5;
    font-weight: 600;
}

/* ===== SAVE TOAST NOTIFICATION ===== */
.re-save-toast[b-p0xz57tnzi] {
    position: fixed;
    bottom: 72px;
    /* sit just above the footer bar */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    animation: re-toast-in-b-p0xz57tnzi 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.re-save-toast.success[b-p0xz57tnzi] {
    background: #f0fdf4;
    color: #15803d;
    border: 1.5px solid #bbf7d0;
}

.re-save-toast.success i[b-p0xz57tnzi] {
    color: #16a34a;
    font-size: 1rem;
}

.re-save-toast.error[b-p0xz57tnzi] {
    background: #fef2f2;
    color: #b91c1c;
    border: 1.5px solid #fecaca;
}

.re-save-toast.error i[b-p0xz57tnzi] {
    color: #dc2626;
    font-size: 1rem;
}

@keyframes re-toast-in-b-p0xz57tnzi {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== SAVE BUTTON SPINNER ===== */
.re-save-spinner[b-p0xz57tnzi] {
    width: 14px;
    height: 14px;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: re-spin-b-p0xz57tnzi 0.65s linear infinite;
    flex-shrink: 0;
}

@keyframes re-spin-b-p0xz57tnzi {
    to {
        transform: rotate(360deg);
    }
}

/* ===== SAVING OVERLAY BANNER ===== */
.re-saving-overlay[b-p0xz57tnzi] {
    position: fixed;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    box-shadow: 0 8px 28px rgba(79, 70, 229, 0.45);
    z-index: 600;
    white-space: nowrap;
    animation: re-toast-in-b-p0xz57tnzi 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.01em;
}

/* Save button pulsing glow while saving */
.re-btn-saving[b-p0xz57tnzi] {
    animation: re-btn-pulse-b-p0xz57tnzi 1.2s ease-in-out infinite !important;
    pointer-events: none;
}

@keyframes re-btn-pulse-b-p0xz57tnzi {
    0% {
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    }

    50% {
        box-shadow: 0 4px 24px rgba(79, 70, 229, 0.7);
    }

    100% {
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    }
}

/* ===== DOT BUTTON (…) ===== */
.re-dot-btn[b-p0xz57tnzi] {
    background: transparent;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    width: 28px;
    height: 22px;
    font-size: 0.9rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.18s ease;
    letter-spacing: 0.05em;
}

.re-dot-btn:hover[b-p0xz57tnzi] {
    background: #eef2ff;
    border-color: #6366f1;
    color: #4f46e5;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.18);
    transform: translateY(-1px);
}

/* ===== COMBINED ROW (Text + PrintResultOnly) ===== */
.re-row-combined td[b-p0xz57tnzi] {
    background-color: #f0fdf4 !important;
    border-left: 3px solid #86efac;
}

.re-combined-cell[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.re-combined-label[b-p0xz57tnzi] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #166534;
    white-space: nowrap;
    min-width: 140px;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.re-combined-result[b-p0xz57tnzi] {
    flex: 1;
    background: #f0fdf4 !important;
    color: #15803d !important;
    border: 1.5px solid #bbf7d0 !important;
    border-radius: 6px !important;
}

.re-combined-result:focus[b-p0xz57tnzi] {
    border-color: #16a34a !important;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15) !important;
    background: #fff !important;
}

/* ===== ROW DETAIL POPUP ===== */
.re-row-detail-modal[b-p0xz57tnzi] {
    width: 560px;
    max-width: 96vw;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.re-row-detail-body[b-p0xz57tnzi] {
    overflow-y: auto;
    padding: 16px !important;
    gap: 0 !important;
}

.re-rd-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}

.re-rd-field[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.re-rd-field-span[b-p0xz57tnzi] {
    grid-column: 1 / -1;
}

.re-rd-field .re-input[b-p0xz57tnzi] {
    width: 100%;
    box-sizing: border-box;
}

.re-rd-field input[readonly][b-p0xz57tnzi] {
    background: #f8fafc;
    color: #94a3b8;
    cursor: default;
}

/* Authorization Buttons */
.re-btn-action-primary[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: white;
    border-color: #4f46e5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.re-btn-action-primary:hover:not(:disabled)[b-p0xz57tnzi] {
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
    background: linear-gradient(135deg, #4338ca, #3730a3);
}

.re-btn-action-info[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border-color: #0ea5e9;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.re-btn-action-info:hover:not(:disabled)[b-p0xz57tnzi] {
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
    background: linear-gradient(135deg, #0284c7, #0369a1);
}

.re-btn-action-success[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.re-btn-action-success:hover:not(:disabled)[b-p0xz57tnzi] {
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
    background: linear-gradient(135deg, #059669, #047857);
}

.re-footer-names[b-p0xz57tnzi] {
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-right: 16px;
}

.re-footer-names div[b-p0xz57tnzi] {
    min-width: 120px;
}

.re-footer-names small[b-p0xz57tnzi] {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
}

/* Detailed Normal Values Table */
.re-nv-table-container[b-p0xz57tnzi] {
    max-height: 250px;
    overflow-y: auto;
}

.re-nv-row:hover[b-p0xz57tnzi] {
    background-color: #f1f5f9;
}

.re-nv-row.active[b-p0xz57tnzi] {
    background-color: #eef2ff;
}

.re-dual-input-container[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    margin-top: 4px;
}

.re-focus-blue[b-p0xz57tnzi] {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.re-check-row-right[b-p0xz57tnzi] {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.re-row-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.re-form-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.re-form-grid .re-label[b-p0xz57tnzi] {
    margin-bottom: 0;
    font-weight: 500;
    color: #334155;
    font-size: 0.8rem;
}

.re-row-flex[b-p0xz57tnzi] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.re-panel-footer[b-p0xz57tnzi] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
}

.re-grid-input[b-p0xz57tnzi] {
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    padding: 4px;
    font-size: 0.8rem;
    text-align: center;
    color: #1e293b;
}

.re-grid-input:focus[b-p0xz57tnzi] {
    border-color: #6366f1;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
    border-radius: 4px;
}

.re-btn-add-nv[b-p0xz57tnzi] {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    padding: 6px;
    width: 100%;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.re-btn-add-nv:hover[b-p0xz57tnzi] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #475569;
}

.re-btn-mini[b-p0xz57tnzi] {
    height: 32px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    color: #64748b;
    font-weight: 700;
}

.re-btn-mini:hover[b-p0xz57tnzi] {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.re-nv-header[b-p0xz57tnzi] {
    background: #f8fafc;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-nv-mini-table[b-p0xz57tnzi] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    background: #fff;
}

.re-nv-mini-table th[b-p0xz57tnzi] {
    background: #f1f5f9;
    padding: 8px;
    text-align: center;
    color: #64748b;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
}

.re-nv-mini-table td[b-p0xz57tnzi] {
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.re-btn-primary[b-p0xz57tnzi] {
    background: #4f46e5;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-btn-primary:hover[b-p0xz57tnzi] {
    background: #4338ca;
}

/* GLOBAL INPUT FONT WEIGHT OVERRIDE */
input:not([type="checkbox"]):not([type="radio"])[b-p0xz57tnzi], 
select[b-p0xz57tnzi], 
textarea[b-p0xz57tnzi] {
    font-weight: 700 !important;
}

input:not([type="checkbox"]):not([type="radio"])[b-p0xz57tnzi]::placeholder,
textarea[b-p0xz57tnzi]::placeholder {
    font-weight: 300 !important;
}

input:not([type="checkbox"]):not([type="radio"])[b-p0xz57tnzi]::-webkit-input-placeholder,
textarea[b-p0xz57tnzi]::-webkit-input-placeholder {
    font-weight: 300 !important;
}

input:not([type="checkbox"]):not([type="radio"])[b-p0xz57tnzi]::-moz-placeholder,
textarea[b-p0xz57tnzi]::-moz-placeholder {
    font-weight: 300 !important;
}

input:not([type="checkbox"]):not([type="radio"]):-ms-input-placeholder[b-p0xz57tnzi],
textarea:-ms-input-placeholder[b-p0xz57tnzi] {
    font-weight: 300 !important;
}

select option[b-p0xz57tnzi] {
    font-weight: 300 !important;
}

select.select-placeholder[b-p0xz57tnzi] {
    font-weight: 300 !important;
    color: #94a3b8 !important;
}

select.select-placeholder option:not([value=""]):not([value="0"])[b-p0xz57tnzi] {
    font-weight: 300 !important;
    color: #1e293b !important;
}

/* Custom font size reduction overrides */
.lab-header-card h2.lab-title-text[b-p0xz57tnzi] {
    font-size: 1.25rem !important;
}
.lab-header-card .status-text[b-p0xz57tnzi] {
    font-size: 0.75rem !important;
}
.lc-search-input-field-custom[b-p0xz57tnzi] {
    font-size: 0.8rem !important;
}
.btn-new-entry[b-p0xz57tnzi], .btn-save[b-p0xz57tnzi], .btn-delete-text[b-p0xz57tnzi] {
    font-size: 0.8rem !important;
}
.directory-table th[b-p0xz57tnzi] {
    font-size: 0.75rem !important;
    padding: 8px 12px !important;
}
.directory-table td[b-p0xz57tnzi] {
    font-size: 0.78rem !important;
    padding: 8px 12px !important;
}
.modal-form-card h3[b-p0xz57tnzi] {
    font-size: 1.1rem !important;
}
.form-section .section-title[b-p0xz57tnzi] {
    font-size: 0.8rem !important;
}
.form-group label[b-p0xz57tnzi] {
    font-size: 0.78rem !important;
}
.lab-input[b-p0xz57tnzi] {
    font-size: 0.78rem !important;
    height: 34px !important;
    padding: 6px 10px !important;
}
.form-group select.lab-input[b-p0xz57tnzi] {
    height: 34px !important;
}
.btn-action[b-p0xz57tnzi] {
    font-size: 0.75rem !important;
    padding: 4px 8px !important;
}

/* CIRCULAR PHOTO UPLOADER CLASSES */
.image-upload-container[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    border: 2px dashed #cbd5e1;
    border-radius: 50%;
    padding: 0.75rem;
    background: #f8fafc;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.image-upload-container:hover[b-p0xz57tnzi] {
    border-color: #4f46e5;
    background: #f1f5f9;
}

.image-upload-container.has-image[b-p0xz57tnzi] {
    border-style: solid;
    border-color: #4f46e5;
    background: white;
}

.image-upload-preview[b-p0xz57tnzi] {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.image-upload-placeholder[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #64748b;
    gap: 0.25rem;
}

.image-upload-placeholder i[b-p0xz57tnzi] {
    font-size: 1.75rem;
}

.image-upload-label[b-p0xz57tnzi] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
}

.image-upload-input[b-p0xz57tnzi] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* RECTANGULAR DASHED FILE UPLOADER */
.cm-file-upload[b-p0xz57tnzi] {
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 1.25rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #64748b;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.cm-file-upload:hover[b-p0xz57tnzi] {
    background: #f1f5f9;
    border-color: #4f46e5;
    color: #4f46e5;
}

.cm-file-upload.selected[b-p0xz57tnzi] {
    border-style: solid;
    border-color: #10b981;
    background: #ecfdf5;
    color: #065f46;
}

/* Material icon style within upload button */
.cm-file-upload .material-symbols-outlined[b-p0xz57tnzi] {
    font-size: 1.25rem;
}

/* Search input relative-absolute positioning */
.relative-positioned[b-p0xz57tnzi] {
    position: relative;
    display: inline-block;
}

.relative-positioned .search-icon[b-p0xz57tnzi] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

/* ============================================================
   8. FULL SCREEN USER EDITOR
   ============================================================ */
.user-editor-fullscreen[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.user-back-btn[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-back-btn:hover[b-p0xz57tnzi] {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

.user-badge-code[b-p0xz57tnzi] {
    background: #eef2ff;
    color: #4f46e5;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #c7d2fe;
}

.user-badge-verified[b-p0xz57tnzi] {
    background: #ecfdf5;
    color: #059669;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #a7f3d0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.user-badge-pending[b-p0xz57tnzi] {
    background: #fffbeb;
    color: #d97706;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #fde68a;
}

.btn-cancel-flat[b-p0xz57tnzi] {
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel-flat:hover[b-p0xz57tnzi] {
    background: #f8fafc;
    color: #334155;
    border-color: #cbd5e1;
}

.user-editor-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    width: 100%;
}

@media (max-width: 1100px) {
    .user-editor-grid[b-p0xz57tnzi] {
        grid-template-columns: 1fr;
    }
}

.user-card-panel[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    margin-bottom: 20px;
}

.user-card-panel:last-child[b-p0xz57tnzi] {
    margin-bottom: 0;
}

.user-panel-header[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.user-panel-title[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}

.user-panel-subtitle[b-p0xz57tnzi] {
    font-size: 12px;
    color: #94a3b8;
}

.user-fields-2col[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 640px) {
    .user-fields-2col[b-p0xz57tnzi] {
        grid-template-columns: 1fr;
    }
}

.user-field-span2[b-p0xz57tnzi] {
    grid-column: span 2;
}

@media (max-width: 640px) {
    .user-field-span2[b-p0xz57tnzi] {
        grid-column: span 1;
    }
}

.user-field-item[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.user-field-label[b-p0xz57tnzi] {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-field-hint[b-p0xz57tnzi] {
    font-size: 11px;
    color: #64748b;
    margin-top: 3px;
    line-height: 1.3;
}

.user-editor-footer[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    width: 100%;
}

.user-media-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 768px) {
    .user-media-grid[b-p0xz57tnzi] {
        grid-template-columns: 1fr;
    }
}

.user-media-card[b-p0xz57tnzi] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-media-preview-box[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.user-media-thumb[b-p0xz57tnzi] {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #cbd5e1;
    background: #f1f5f9;
}

.user-signature-thumb[b-p0xz57tnzi] {
    width: 110px;
    height: 54px;
    border-radius: 6px;
    object-fit: contain;
    border: 1px solid #cbd5e1;
    background: #ffffff;
}

/* ============================================================
   9. USER EDITOR TABS (PROFILE, ROLE RIGHTS, BRANCH RIGHTS)
   ============================================================ */
.user-form-tabs-container[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.user-form-tabs[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.user-form-tab-btn[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: #64748b;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.user-form-tab-btn:hover[b-p0xz57tnzi] {
    background: #f8fafc;
    color: #1e293b;
    border-color: #e2e8f0;
}

.user-form-tab-btn.active[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff !important;
    border-color: #4f46e5;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.28);
}

.user-form-tab-btn .material-symbols-outlined[b-p0xz57tnzi] {
    font-size: 18px;
}

.user-tab-badge[b-p0xz57tnzi] {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #64748b;
    transition: all 0.2s ease;
}

.user-form-tab-btn.active .user-tab-badge[b-p0xz57tnzi] {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.user-tab-badge.has-count[b-p0xz57tnzi] {
    background: #e0e7ff;
    color: #3730a3;
}

.user-form-tab-btn.active .user-tab-badge.has-count[b-p0xz57tnzi] {
    background: #ffffff;
    color: #4338ca;
}

/* Directory Table Rights Button */
.btn-action.btn-rights[b-p0xz57tnzi] {
    color: #4f46e5;
}

.btn-action.btn-rights:hover[b-p0xz57tnzi] {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #3730a3;
}

/* User Rights Banner Card (In Profile Tab) */
.um-rights-banner-card[b-p0xz57tnzi] {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border: 1.5px solid #c7d2fe;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.06);
    margin-top: 4px;
}

.um-rights-banner-content[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.um-rights-banner-icon[b-p0xz57tnzi] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.um-rights-banner-icon .material-symbols-outlined[b-p0xz57tnzi] {
    font-size: 26px;
}

.um-rights-banner-text[b-p0xz57tnzi] {
    flex: 1;
    min-width: 260px;
}

.um-rights-banner-title[b-p0xz57tnzi] {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.um-rights-banner-desc[b-p0xz57tnzi] {
    font-size: 12.5px;
    color: #64748b;
    margin: 0 0 10px 0;
    line-height: 1.45;
}

.um-rights-banner-meta[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.um-rights-status-chip[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    font-size: 11.5px;
    color: #334155;
}

.um-rights-status-chip .material-symbols-outlined[b-p0xz57tnzi] {
    font-size: 14px;
    color: #4f46e5;
}

.um-rights-template-chip[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 20px;
    font-size: 11.5px;
    color: #065f46;
    font-weight: 600;
}

.um-rights-template-chip .material-symbols-outlined[b-p0xz57tnzi] {
    font-size: 14px;
    color: #10b981;
}

.um-btn-open-rights-hero[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 8px;
    background: #4f46e5;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.um-btn-open-rights-hero:hover[b-p0xz57tnzi] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.um-btn-open-rights-hero.secondary[b-p0xz57tnzi] {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.um-btn-open-rights-hero.secondary:hover[b-p0xz57tnzi] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   10. ROLE RIGHTS MATRIX WORKSPACE (HIERARCHY TREE)
   ============================================================ */
.umr-role-rights-panel[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.umr-role-meta-bar[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.umr-input-group[b-p0xz57tnzi] {
    flex: 1.2;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.umr-filter-group[b-p0xz57tnzi] {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.umr-input-label[b-p0xz57tnzi] {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 4px;
}

.umr-req-star[b-p0xz57tnzi] {
    color: #ef4444;
}

.umr-input-wrapper[b-p0xz57tnzi] {
    position: relative;
    display: flex;
    align-items: center;
}

.umr-input[b-p0xz57tnzi] {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    transition: all 0.2s ease;
}

.umr-input:focus[b-p0xz57tnzi] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.umr-clear-search-btn[b-p0xz57tnzi] {
    position: absolute;
    right: 8px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    border-radius: 4px;
}

.umr-clear-search-btn:hover[b-p0xz57tnzi] {
    color: #0f172a;
    background: #f1f5f9;
}

.umr-counter-block[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
}

.umr-selection-counter-badge[b-p0xz57tnzi] {
    background: #eef2ff;
    border: 1.5px solid #c7d2fe;
    border-radius: 10px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
}

.umr-selection-counter-badge .material-symbols-outlined[b-p0xz57tnzi] {
    font-size: 20px;
    color: #4f46e5;
}

.umr-counter-val[b-p0xz57tnzi] {
    font-size: 15px;
    font-weight: 800;
    color: #3730a3;
}

.umr-counter-max[b-p0xz57tnzi] {
    font-size: 12px;
    font-weight: 600;
    color: #6366f1;
}

.umr-counter-lbl[b-p0xz57tnzi] {
    font-size: 11px;
    font-weight: 700;
    color: #4f46e5;
    margin-left: 2px;
}

.umr-quick-actions[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.umr-quick-btn[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.umr-quick-btn .material-symbols-outlined[b-p0xz57tnzi] {
    font-size: 16px;
}

.umr-quick-btn.select-all[b-p0xz57tnzi] {
    background: #eef2ff;
    color: #4338ca;
    border-color: #c7d2fe;
}

.umr-quick-btn.select-all:hover[b-p0xz57tnzi] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.umr-quick-btn.clear-all[b-p0xz57tnzi] {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.umr-quick-btn.clear-all:hover[b-p0xz57tnzi] {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
}

.umr-quick-btn.expand-toggle[b-p0xz57tnzi] {
    background: #f8fafc;
    color: #475569;
    border-color: #cbd5e1;
}

.umr-quick-btn.expand-toggle:hover[b-p0xz57tnzi] {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

.umr-tab-notice[b-p0xz57tnzi] {
    background: #faf5ff;
    border: 1px solid #e9d5ff;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #6b21a8;
}

/* Main Module Accordion Cards */
.umr-hierarchy-workspace[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.umr-main-module-card[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
}

.umr-main-module-card.is-expanded[b-p0xz57tnzi] {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.umr-main-module-card.is-all-selected[b-p0xz57tnzi] {
    border-color: #818cf8;
}

.umr-main-header[b-p0xz57tnzi] {
    background: #fafbfc;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.15s ease;
}

.umr-main-module-card.is-expanded .umr-main-header[b-p0xz57tnzi] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.umr-main-header-left[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    flex: 1;
    user-select: none;
}

.umr-main-icon-wrap[b-p0xz57tnzi] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.umr-main-icon-wrap .material-symbols-outlined[b-p0xz57tnzi] {
    font-size: 20px;
}

.umr-main-title[b-p0xz57tnzi] {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.umr-submodules-count[b-p0xz57tnzi] {
    font-size: 11.5px;
    font-weight: 500;
    color: #94a3b8;
}

.umr-main-meta[b-p0xz57tnzi] {
    margin-top: 3px;
}

.umr-group-badge[b-p0xz57tnzi] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 12px;
}

.umr-group-badge.has-selected[b-p0xz57tnzi] {
    background: #e0e7ff;
    color: #3730a3;
}

.umr-main-header-right[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.umr-toggle-chevron-btn[b-p0xz57tnzi] {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #64748b;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.umr-toggle-chevron-btn:hover[b-p0xz57tnzi] {
    background: #e2e8f0;
    color: #0f172a;
}

.umr-toggle-chevron-btn .rotate-open[b-p0xz57tnzi] {
    transform: rotate(180deg);
}

/* Sub-Module Blocks */
.umr-sub-modules-body[b-p0xz57tnzi] {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #f8fafc;
}

.umr-sub-module-block[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.umr-sub-header[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.umr-sub-title-wrap[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.umr-sub-icon[b-p0xz57tnzi] {
    font-size: 16px;
    color: #64748b;
}

.umr-sub-title[b-p0xz57tnzi] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.umr-sub-badge[b-p0xz57tnzi] {
    font-size: 10.5px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 1px 7px;
    border-radius: 10px;
}

.umr-sub-badge.active[b-p0xz57tnzi] {
    background: #ecfdf5;
    color: #065f46;
}

.umr-sub-select-all[b-p0xz57tnzi] {
    font-size: 11.5px;
}

/* Actions Grid & Chips */
.umr-actions-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 8px;
}

.umr-action-chip[b-p0xz57tnzi] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
}

.umr-action-chip:hover[b-p0xz57tnzi] {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.umr-action-chip.is-checked[b-p0xz57tnzi] {
    background: #f0fdf4;
    border-color: #86efac;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.12);
}

.umr-action-check-wrap[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.umr-action-info[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.umr-action-name[b-p0xz57tnzi] {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.umr-action-chip.is-checked .umr-action-name[b-p0xz57tnzi] {
    color: #065f46;
}

.umr-role-id-tag[b-p0xz57tnzi] {
    font-size: 10px;
    color: #94a3b8;
    font-family: monospace;
}

.umr-action-chip.is-checked .umr-role-id-tag[b-p0xz57tnzi] {
    color: #10b981;
}

/* Checkbox Style */
.umr-checkbox-label[b-p0xz57tnzi] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    user-select: none;
}

.umr-checkbox[b-p0xz57tnzi] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.umr-checkbox-custom[b-p0xz57tnzi] {
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.umr-checkbox:checked + .umr-checkbox-custom[b-p0xz57tnzi],
.umr-action-chip.is-checked .umr-checkbox-custom[b-p0xz57tnzi] {
    background: #10b981;
    border-color: #10b981;
}

.umr-checkbox:checked + .umr-checkbox-custom[b-p0xz57tnzi]::after,
.umr-action-chip.is-checked .umr-checkbox-custom[b-p0xz57tnzi]::after {
    content: "";
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    position: absolute;
    top: 1px;
}

.umr-checkbox-custom.is-indeterminate[b-p0xz57tnzi] {
    background: #4f46e5;
    border-color: #4f46e5;
}

.umr-checkbox-custom.is-indeterminate[b-p0xz57tnzi]::after {
    content: "";
    width: 8px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    position: absolute;
}

.umr-empty-search[b-p0xz57tnzi] {
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 36px 20px;
    text-align: center;
}

.umr-empty-search .umr-empty-icon[b-p0xz57tnzi] {
    font-size: 36px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.umr-empty-search h4[b-p0xz57tnzi] {
    margin: 0 0 4px 0;
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
}

.umr-empty-search p[b-p0xz57tnzi] {
    margin: 0;
    font-size: 12.5px;
    color: #64748b;
}

/* ============================================================
   11. BRANCH RIGHTS WORKSPACE
   ============================================================ */
.ubr-panel[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.ubr-all-toggle[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.ubr-selected-counter[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ubr-counter-pill[b-p0xz57tnzi] {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.ubr-counter-pill.has-selection[b-p0xz57tnzi] {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}

.ubr-hint-text[b-p0xz57tnzi] {
    font-size: 11.5px;
    color: #94a3b8;
    font-style: italic;
}

.ubr-branches-grid[b-p0xz57tnzi] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.ubr-branch-chip[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.ubr-branch-chip:hover[b-p0xz57tnzi] {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

.ubr-branch-chip.is-checked[b-p0xz57tnzi] {
    background: #f0fdf4;
    border-color: #86efac;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.12);
}

.ubr-branch-info[b-p0xz57tnzi] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.ubr-branch-name[b-p0xz57tnzi] {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ubr-branch-chip.is-checked .ubr-branch-name[b-p0xz57tnzi] {
    color: #166534;
}

.ubr-branch-short[b-p0xz57tnzi] {
    font-size: 11.5px;
    color: #64748b;
    font-family: monospace;
}

.ubr-branch-type-tags[b-p0xz57tnzi] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.ubr-tag[b-p0xz57tnzi] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 2px 6px;
    border-radius: 4px;
}

.ubr-tag.main[b-p0xz57tnzi] {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.ubr-tag.branch[b-p0xz57tnzi] {
    background: #e0e7ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
}

.ubr-tag.cc[b-p0xz57tnzi] {
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #e9d5ff;
}
/* Master dashboard theme */
:global(.main-content):has(.lab-header-card)[b-p0xz57tnzi] { background: #f1f5fb !important; }
.lab-header-card[b-p0xz57tnzi] { padding: .8rem 1rem !important; margin: .75rem 1rem .6rem !important; border-radius: 12px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.icon-box-container[b-p0xz57tnzi] { background: #e4f4ff !important; }
.text-indigo-600[b-p0xz57tnzi] { color: #0876ad !important; }
.lab-title-text[b-p0xz57tnzi] { color: #07547c !important; font-size: 1.85rem !important; }
.status-text[b-p0xz57tnzi] { color: #647b90 !important; font-size: .78rem !important; }
.directory-section[b-p0xz57tnzi], .table-section[b-p0xz57tnzi] { margin: 0 1rem !important; border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; background: #fff !important; }
.directory-table thead tr[b-p0xz57tnzi] { background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.directory-table th[b-p0xz57tnzi] { color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.directory-table td[b-p0xz57tnzi] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; }
.directory-table tbody tr:nth-child(even)[b-p0xz57tnzi] { background: #f8fbfe !important; }
.directory-table tbody tr:hover[b-p0xz57tnzi] { background: #f0f8ff !important; }
/* /Components/Pages/UserMasterRights.razor.rz.scp.css */
/* User Rights Template Scoped CSS */

.user-rights-page[b-nm55ds0pfb] {
    padding: 1.5rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
    font-family: inherit;
    color: var(--text-color, #1e293b);
}

/* ── Page Header ── */
.page-header[b-nm55ds0pfb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    flex-wrap: wrap;
    gap: 1.25rem;
}

.header-left[b-nm55ds0pfb] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.header-icon-box[b-nm55ds0pfb] {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.header-breadcrumb[b-nm55ds0pfb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.825rem;
    color: var(--text-muted, #64748b);
    margin-bottom: 0.25rem;
}

.header-breadcrumb .active[b-nm55ds0pfb] {
    color: #4f46e5;
    font-weight: 600;
}

.header-title[b-nm55ds0pfb] {
    font-size: 1.625rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-heading, #0f172a);
    letter-spacing: -0.02em;
}

.header-subtitle[b-nm55ds0pfb] {
    margin: 0.25rem 0 0 0;
    font-size: 0.875rem;
    color: var(--text-muted, #64748b);
}

.header-actions[b-nm55ds0pfb] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ── Top Header Actions: Create Role Template ── */
.btn-create-template[b-nm55ds0pfb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.65rem 1.4rem;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #4338ca 100%);
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    text-decoration: none;
}

.btn-create-template:hover[b-nm55ds0pfb] {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.48);
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 50%, #6366f1 100%);
    color: #ffffff !important;
}

.btn-create-template:active[b-nm55ds0pfb] {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.btn-create-template i[b-nm55ds0pfb] {
    font-size: 1.05rem;
    font-weight: 700;
    transition: transform 0.25s ease;
}

.btn-create-template:hover i[b-nm55ds0pfb] {
    transform: rotate(90deg) scale(1.15);
}

/* ── Top Header Actions: Back to Directory ── */
.btn-back-directory[b-nm55ds0pfb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.65rem 1.25rem;
    background: #ffffff;
    color: #334155 !important;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    text-decoration: none;
}

.btn-back-directory:hover[b-nm55ds0pfb] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.btn-back-directory:active[b-nm55ds0pfb] {
    transform: translateY(0) scale(0.98);
}

.btn-back-directory i[b-nm55ds0pfb] {
    font-size: 1.05rem;
    transition: transform 0.2s ease;
}

.btn-back-directory:hover i[b-nm55ds0pfb] {
    transform: translateX(-4px);
}

/* ── Top Header Actions: Save Template ── */
.btn-save-template[b-nm55ds0pfb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.65rem 1.4rem;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    text-decoration: none;
}

.btn-save-template:hover:not(:disabled)[b-nm55ds0pfb] {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.48);
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    color: #ffffff !important;
}

.btn-save-template:active:not(:disabled)[b-nm55ds0pfb] {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-save-template:disabled[b-nm55ds0pfb] {
    opacity: 0.6;
    cursor: not-allowed;
    background: #94a3b8;
    border-color: #94a3b8;
    box-shadow: none;
    transform: none;
}

.btn-save-template i[b-nm55ds0pfb] {
    font-size: 1.15rem;
    transition: transform 0.2s ease;
}

.btn-save-template:hover:not(:disabled) i[b-nm55ds0pfb] {
    transform: scale(1.2);
}

/* ── KPI Grid ── */
.kpi-grid[b-nm55ds0pfb] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.kpi-card[b-nm55ds0pfb] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpi-card:hover[b-nm55ds0pfb] {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
}

.kpi-icon-wrapper[b-nm55ds0pfb] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #ffffff;
    flex-shrink: 0;
}

.bg-indigo[b-nm55ds0pfb] { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.bg-emerald[b-nm55ds0pfb] { background: linear-gradient(135deg, #059669, #10b981); }
.bg-amber[b-nm55ds0pfb] { background: linear-gradient(135deg, #d97706, #f59e0b); }
.bg-rose[b-nm55ds0pfb] { background: linear-gradient(135deg, #e11d48, #f43f5e); }

.kpi-content[b-nm55ds0pfb] {
    display: flex;
    flex-direction: column;
}

.kpi-label[b-nm55ds0pfb] {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #64748b);
}

.kpi-value[b-nm55ds0pfb] {
    font-size: 1.625rem;
    font-weight: 700;
    margin: 0.15rem 0 0 0;
    color: var(--text-heading, #0f172a);
}

.tenant-code-badge[b-nm55ds0pfb] {
    color: #e11d48;
    font-family: monospace;
}

.kpi-hint[b-nm55ds0pfb] {
    font-size: 0.75rem;
    color: var(--text-muted, #94a3b8);
}

/* ── Directory Toolbar ── */
.directory-toolbar[b-nm55ds0pfb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-box[b-nm55ds0pfb] {
    position: relative;
    flex: 1;
    max-width: 550px;
}

.search-box i[b-nm55ds0pfb] {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted, #94a3b8);
    pointer-events: none;
}

.search-box .form-control[b-nm55ds0pfb] {
    padding-left: 2.75rem;
    padding-right: 2.5rem;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--border-color, #cbd5e1);
    background: var(--card-bg, #ffffff);
    color: var(--text-color, #1e293b);
}

.clear-search-btn[b-nm55ds0pfb] {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.clear-search-btn:hover[b-nm55ds0pfb] {
    color: #64748b;
}

.directory-counts[b-nm55ds0pfb] {
    font-size: 0.875rem;
    color: var(--text-muted, #64748b);
}

/* ── Role Cards Grid ── */
.roles-grid[b-nm55ds0pfb] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.5rem;
}

.role-card[b-nm55ds0pfb] {
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.role-card:hover[b-nm55ds0pfb] {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.role-card-header[b-nm55ds0pfb] {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.05));
    background: var(--card-sub-header, rgba(248, 250, 252, 0.6));
}

.role-avatar[b-nm55ds0pfb] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.role-title-group[b-nm55ds0pfb] {
    flex: 1;
    overflow: hidden;
}

.role-name[b-nm55ds0pfb] {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-heading, #0f172a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.role-assigned-badge[b-nm55ds0pfb] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.775rem;
    font-weight: 600;
    color: #059669;
    margin-top: 0.15rem;
}

.role-card-body[b-nm55ds0pfb] {
    padding: 1.25rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-container[b-nm55ds0pfb] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.progress-info[b-nm55ds0pfb] {
    display: flex;
    justify-content: space-between;
    font-size: 0.775rem;
    color: var(--text-muted, #64748b);
    font-weight: 500;
}

.progress-percent[b-nm55ds0pfb] {
    font-weight: 700;
    color: #4f46e5;
}

.progress-track[b-nm55ds0pfb] {
    width: 100%;
    height: 7px;
    background: var(--border-color, #e2e8f0);
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill[b-nm55ds0pfb] {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #06b6d4);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.domains-container[b-nm55ds0pfb] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.domains-label[b-nm55ds0pfb] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted, #94a3b8);
}

.domains-chips[b-nm55ds0pfb] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.domain-chip[b-nm55ds0pfb] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    background: rgba(79, 70, 229, 0.08);
    color: #4338ca;
    font-size: 0.75rem;
    font-weight: 600;
}

.domain-chip i[b-nm55ds0pfb] {
    font-size: 0.8rem;
}

.more-chip[b-nm55ds0pfb] {
    background: rgba(148, 163, 184, 0.15);
    color: #64748b;
}

.role-card-footer[b-nm55ds0pfb] {
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
    background: var(--card-footer-bg, rgba(248, 250, 252, 0.6));
}

.btn-action[b-nm55ds0pfb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    height: 36px;
    padding: 0.45rem 0.95rem;
    border-radius: 8px;
    font-size: 0.825rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-action:active[b-nm55ds0pfb] {
    transform: scale(0.97);
}

.btn-edit[b-nm55ds0pfb] {
    flex: 1;
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
}

.btn-edit:hover[b-nm55ds0pfb] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    transform: translateY(-1px);
}

.btn-edit i[b-nm55ds0pfb] {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.btn-edit:hover i[b-nm55ds0pfb] {
    transform: scale(1.15);
}

/* Clone Action */
.btn-clone[b-nm55ds0pfb] {
    flex: 1;
    background: #f5f3ff;
    color: #7c3aed;
    border: 1px solid #ddd6fe;
}

.btn-clone:hover[b-nm55ds0pfb] {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    color: #ffffff;
    border-color: #7c3aed;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.28);
    transform: translateY(-1px);
}

.btn-clone i[b-nm55ds0pfb] {
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.btn-clone:hover i[b-nm55ds0pfb] {
    transform: rotate(15deg) scale(1.2);
}

.btn-delete[b-nm55ds0pfb] {
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
    padding: 0.45rem 0.8rem;
}

.btn-delete:hover[b-nm55ds0pfb] {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
    transform: translateY(-1px);
}

.btn-delete i[b-nm55ds0pfb] {
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.btn-delete:hover i[b-nm55ds0pfb] {
    transform: scale(1.15);
}

/* ── States (Empty / Loading) ── */
.loading-state[b-nm55ds0pfb], .empty-state[b-nm55ds0pfb] {
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--card-bg, #ffffff);
    border-radius: 16px;
    border: 1px dashed var(--border-color, #cbd5e1);
}

.empty-icon-circle[b-nm55ds0pfb] {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.08);
    color: #6366f1;
    font-size: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.empty-state h3[b-nm55ds0pfb] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading, #0f172a);
    margin-bottom: 0.5rem;
}

.empty-state p[b-nm55ds0pfb] {
    font-size: 0.9rem;
    color: var(--text-muted, #64748b);
    max-width: 480px;
    margin-bottom: 1.5rem;
}

/* ── View 2: Role Editor Workspace ── */
.editor-sticky-bar[b-nm55ds0pfb] {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.editor-input-group[b-nm55ds0pfb] {
    flex: 1;
    min-width: 280px;
}

.input-with-icon[b-nm55ds0pfb] {
    position: relative;
}

.input-with-icon i[b-nm55ds0pfb] {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted, #94a3b8);
}

.role-name-input[b-nm55ds0pfb] {
    padding-left: 2.75rem;
    height: 44px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
}

.editor-counter-badge[b-nm55ds0pfb] {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    padding: 0.6rem 1.1rem;
    border-radius: 10px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
}

.counter-number[b-nm55ds0pfb] {
    font-size: 1.35rem;
    font-weight: 800;
    color: #4338ca;
}

.counter-divider[b-nm55ds0pfb] {
    color: #818cf8;
    font-weight: 600;
}

.counter-total[b-nm55ds0pfb] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #6366f1;
}

.counter-label[b-nm55ds0pfb] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4338ca;
    margin-left: 0.35rem;
}

.editor-batch-actions[b-nm55ds0pfb] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.btn-batch[b-nm55ds0pfb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    height: 36px;
    padding: 0.45rem 0.95rem;
    border-radius: 9px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    white-space: nowrap;
    border: 1px solid transparent;
}

.btn-batch i[b-nm55ds0pfb] {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.btn-batch:active[b-nm55ds0pfb] {
    transform: scale(0.97);
}

/* Select All */
.btn-select-all[b-nm55ds0pfb] {
    background: #eef2ff;
    color: #4338ca;
    border-color: #c7d2fe;
}

.btn-select-all:hover[b-nm55ds0pfb] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    transform: translateY(-1px);
}

.btn-select-all:hover i[b-nm55ds0pfb] {
    transform: scale(1.2);
}

/* Clear All */
.btn-clear-all[b-nm55ds0pfb] {
    background: #fff1f2;
    color: #e11d48;
    border-color: #fecdd3;
}

.btn-clear-all:hover[b-nm55ds0pfb] {
    background: #e11d48;
    color: #ffffff;
    border-color: #e11d48;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
    transform: translateY(-1px);
}

.btn-clear-all:hover i[b-nm55ds0pfb] {
    transform: scale(1.2);
}

/* Expand All */
.btn-expand-all[b-nm55ds0pfb] {
    background: #ecfeff;
    color: #0e7490;
    border-color: #a5f3fc;
}

.btn-expand-all:hover[b-nm55ds0pfb] {
    background: #0891b2;
    color: #ffffff;
    border-color: #0891b2;
    box-shadow: 0 4px 14px rgba(8, 145, 178, 0.3);
    transform: translateY(-1px);
}

.btn-expand-all:hover i[b-nm55ds0pfb] {
    transform: scale(1.18);
}

/* Collapse All */
.btn-collapse-all[b-nm55ds0pfb] {
    background: #f8fafc;
    color: #475569;
    border-color: #cbd5e1;
}

.btn-collapse-all:hover[b-nm55ds0pfb] {
    background: #475569;
    color: #ffffff;
    border-color: #475569;
    box-shadow: 0 4px 14px rgba(71, 85, 105, 0.3);
    transform: translateY(-1px);
}

.btn-collapse-all:hover i[b-nm55ds0pfb] {
    transform: scale(1.18);
}

.editor-search-bar[b-nm55ds0pfb] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.search-feedback-badge[b-nm55ds0pfb] {
    font-size: 0.85rem;
    color: #4f46e5;
    background: #eef2ff;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
}

/* ── 3-Level Permission Accordion Tree ── */
.hierarchy-tree-container[b-nm55ds0pfb] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.module-card[b-nm55ds0pfb] {
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.module-card.module-all-selected[b-nm55ds0pfb] {
    border-color: #818cf8;
}

.module-card.module-partially-selected[b-nm55ds0pfb] {
    border-color: #cbd5e1;
}

/* Level 1: Module Header */
.module-header[b-nm55ds0pfb] {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--card-sub-header, #f8fafc);
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
}

.module-header:hover[b-nm55ds0pfb] {
    background: #f1f5f9;
}

.module-header-left[b-nm55ds0pfb] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.module-icon-box[b-nm55ds0pfb] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #4f46e5;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.module-title[b-nm55ds0pfb] {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading, #0f172a);
}

.module-count-badge[b-nm55ds0pfb] {
    font-size: 0.775rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    background: #e2e8f0;
    color: #475569;
}

.module-header-right[b-nm55ds0pfb] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.select-all-module-label[b-nm55ds0pfb] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.825rem;
    font-weight: 600;
    color: #4f46e5;
    cursor: pointer;
}

.btn-chevron[b-nm55ds0pfb] {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0.25rem;
}

.rotate-open[b-nm55ds0pfb] {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

/* Level 2: Sub-Modules */
.module-body[b-nm55ds0pfb] {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
}

.submodule-card[b-nm55ds0pfb] {
    background: var(--submodule-bg, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.submodule-header[b-nm55ds0pfb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.submodule-header-left[b-nm55ds0pfb] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    user-select: none;
}

.submodule-chevron[b-nm55ds0pfb] {
    font-size: 0.85rem;
    color: #64748b;
    transition: transform 0.2s ease;
}

.submodule-title[b-nm55ds0pfb] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading, #1e293b);
}

.submodule-count-badge[b-nm55ds0pfb] {
    font-size: 0.725rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    background: #f1f5f9;
    color: #64748b;
}

.select-all-submodule-label[b-nm55ds0pfb] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
}

/* Level 3: Action Chips Grid */
.actions-grid[b-nm55ds0pfb] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.65rem;
}

.action-chip[b-nm55ds0pfb] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem;
    border-radius: 9px;
    background: var(--chip-bg, #f8fafc);
    border: 1px solid var(--border-color, #e2e8f0);
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.action-chip:hover[b-nm55ds0pfb] {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.action-chip-selected[b-nm55ds0pfb] {
    background: #eef2ff !important;
    border-color: #a5b4fc !important;
}

.action-checkbox[b-nm55ds0pfb] {
    margin: 0;
    display: flex;
    align-items: center;
}

.action-name[b-nm55ds0pfb] {
    flex: 1;
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--text-color, #1e293b);
    line-height: 1.25;
}

.action-chip-selected .action-name[b-nm55ds0pfb] {
    font-weight: 600;
    color: #3730a3;
}

.action-id-tag[b-nm55ds0pfb] {
    font-size: 0.675rem;
    font-family: monospace;
    color: #94a3b8;
    background: rgba(0, 0, 0, 0.04);
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
}

.action-chip-selected .action-id-tag[b-nm55ds0pfb] {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.12);
}

/* ── Custom Checkbox ── */
.custom-checkbox-wrapper[b-nm55ds0pfb] {
    position: relative;
    cursor: pointer;
}

.custom-checkbox-wrapper input[type="checkbox"][b-nm55ds0pfb] {
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: #4f46e5;
}

/* ── Delete Confirmation Modal ── */
.modal-backdrop-custom[b-nm55ds0pfb] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-dialog-custom[b-nm55ds0pfb] {
    width: 100%;
    max-width: 460px;
    padding: 1rem;
}

.modal-content-custom[b-nm55ds0pfb] {
    background: var(--card-bg, #ffffff);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
}

.modal-header-custom[b-nm55ds0pfb] {
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
}

.modal-icon-danger[b-nm55ds0pfb] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fef2f2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.modal-title-custom[b-nm55ds0pfb] {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-heading, #0f172a);
}

.modal-subtitle-custom[b-nm55ds0pfb] {
    font-size: 0.825rem;
    color: var(--text-muted, #64748b);
    margin: 0.25rem 0 0 0;
}

.modal-body-custom[b-nm55ds0pfb] {
    padding: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-color, #334155);
}

.modal-footer-custom[b-nm55ds0pfb] {
    padding: 1rem 1.5rem;
    background: var(--card-sub-header, #f8fafc);
    border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}
/* /Components/Pages/UserRegister.razor.rz.scp.css */
.register-page-container[b-hqivsvfubh] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #e8eef9;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 40%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px;
    overflow-y: auto;
}

.register-card[b-hqivsvfubh] {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 40px;
    width: 100%;
    max-width: 600px; /* Reduced width */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.register-header[b-hqivsvfubh] {
    text-align: center;
    margin-bottom: 24px; /* Reduced margin */
}

.brand-title[b-hqivsvfubh] {
    font-size: 24px; /* Reduced size */
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.brand-highlight[b-hqivsvfubh] {
    color: #4f46e5;
}

.page-title[b-hqivsvfubh] {
    font-size: 16px; /* Reduced size */
    font-weight: 600;
    color: #64748b;
    margin: 0;
}

.registration-form-grid[b-hqivsvfubh] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px; /* Reduced gap */
    margin-bottom: 24px; /* Reduced margin */
}

.form-group[b-hqivsvfubh] {
    display: flex;
    flex-direction: column;
}

.form-label[b-hqivsvfubh] {
    font-size: 13px; /* Reduced size */
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.text-danger[b-hqivsvfubh] {
    color: #ef4444;
    margin-left: 2px;
}

.custom-input[b-hqivsvfubh] {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px; /* Slightly rounder, but compact */
    padding: 8px 12px; /* Reduced padding */
    font-size: 13px; /* Reduced size */
    color: #0f172a;
    height: 42px; /* Reduced height to match UserLogin */
    width: 100%;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.custom-input[b-hqivsvfubh]::placeholder {
    color: #94a3b8;
}

.custom-input:hover[b-hqivsvfubh] {
    border-color: #cbd5e1;
    background-color: #f1f5f9;
}

.custom-input:focus[b-hqivsvfubh] {
    background-color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

/* Fields that span full-width in the 2-column layout */
.full-width[b-hqivsvfubh] {
    grid-column: span 2;
}

.password-input-wrapper[b-hqivsvfubh] {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.btn-eye[b-hqivsvfubh] {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #94a3b8;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: color 0.2s ease;
}

.btn-eye svg[b-hqivsvfubh] {
    width: 18px;
    height: 18px;
}

.btn-eye:hover[b-hqivsvfubh] {
    color: #475569;
}

.btn-register[b-hqivsvfubh] {
    background-color: #4f46e5;
    color: white;
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 11px; /* Reduced padding */
    font-size: 14px; /* Reduced size */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 20px; /* Reduced margin */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
}

.register-footer-links[b-hqivsvfubh] {
    text-align: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 24px;
}

.login-link-text[b-hqivsvfubh] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.login-link[b-hqivsvfubh] {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
}

.login-link:hover[b-hqivsvfubh] {
    text-decoration: underline;
}

.validation-error[b-hqivsvfubh] {
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
}

.page-footer[b-hqivsvfubh] {
    margin-top: 24px;
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #64748b;
}

.page-footer a[b-hqivsvfubh] {
    color: #64748b;
    text-decoration: none;
}

.page-footer a:hover[b-hqivsvfubh] {
    color: #334155;
}

@media (max-width: 768px) {
    .registration-form-grid[b-hqivsvfubh] {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .full-width[b-hqivsvfubh] {
        grid-column: span 1;
    }
    .register-card[b-hqivsvfubh] {
        padding: 32px 24px;
    }
}
/* /Components/Pages/VendorMaster.razor.rz.scp.css */
/* Isolated styles for VendorMaster component */

.items-page[b-bwr4madgmt] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-bwr4madgmt] {
    max-width: 1320px;
    margin: 0 auto;
}

.items-content[b-bwr4madgmt] {
    width: min(1240px, 100%);
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-bwr4madgmt] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    border-radius: 16px !important;
    padding: 1.25rem 2rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem !important;
}

.header-card-left[b-bwr4madgmt] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-card-icon[b-bwr4madgmt] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
}

.header-card-icon svg[b-bwr4madgmt] {
    stroke: #4f46e5 !important;
}

.header-card-text[b-bwr4madgmt] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-bwr4madgmt] {
    color: #312e81 !important;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.header-card-subheading[b-bwr4madgmt] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-bwr4madgmt] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-bwr4madgmt] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.items-search-wrap[b-bwr4madgmt] {
    position: relative;
    display: flex;
    align-items: center;
}

.items-search[b-bwr4madgmt] {
    width: 220px;
    height: 38px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    padding-left: 2.4rem !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.items-search:focus[b-bwr4madgmt] {
    outline: none !important;
    width: 280px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.items-search-icon[b-bwr4madgmt] {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.view-toggle[b-bwr4madgmt] {
    display: inline-flex;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #f8fafc !important;
    height: 38px;
    padding: 2px;
    align-items: center;
}

.view-toggle button[b-bwr4madgmt] {
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    width: 36px;
    height: 32px;
    border-radius: 16px !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle button.active[b-bwr4madgmt] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.add-item-btn[b-bwr4madgmt] {
    height: 38px !important;
    border-radius: 20px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 1.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
}

.add-item-btn:hover[b-bwr4madgmt] {
    background: #3f39c5 !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35) !important;
    transform: translateY(-1.5px);
}

.items-main-card[b-bwr4madgmt] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-top: 1.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
}

.items-table[b-bwr4madgmt] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

table.table.items-table thead tr th[b-bwr4madgmt],
.items-table th[b-bwr4madgmt] {
    background: #ffffff !important;
    color: #8a99ad !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.8px !important;
    padding: 10px 16px !important;
    border-bottom: 2px solid #eef2f6 !important;
    text-align: center !important;
}

.items-table td[b-bwr4madgmt] {
    border-top: none !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding: 10px 16px !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #64748b !important;
    vertical-align: middle !important;
    text-align: center !important;
}

.items-table td:last-child[b-bwr4madgmt] {
    white-space: nowrap !important;
    text-align: center !important;
}

.items-table tr td:first-child[b-bwr4madgmt] {
    color: #3b82f6 !important;
    font-weight: 700 !important;
}

.items-table tr td:nth-child(2)[b-bwr4madgmt],
.items-table tr td:nth-child(3)[b-bwr4madgmt] {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.action-btn[b-bwr4madgmt] {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.action-btn:hover[b-bwr4madgmt] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.action-btn i[b-bwr4madgmt] {
    font-size: 0.85rem !important;
}

.items-card-grid[b-bwr4madgmt] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.item-card[b-bwr4madgmt] {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.item-card:hover[b-bwr4madgmt] {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.item-card-head[b-bwr4madgmt] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    color: #1e293b !important;
    padding: 0.6rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.1) !important;
}

.card-item-code[b-bwr4madgmt] {
    color: #4b5563 !important;
    font-weight: 700 !important;
    margin-right: 6px;
}

.card-item-name[b-bwr4madgmt] {
    color: #374151 !important;
    font-weight: 700 !important;
}

.item-card-body[b-bwr4madgmt] {
    padding: 0.75rem 1rem !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
}

.detail-row[b-bwr4madgmt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.detail-row:last-child[b-bwr4madgmt] {
    border-bottom: none !important;
}

.detail-row span[b-bwr4madgmt] {
    color: #8a99ad !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.detail-row strong[b-bwr4madgmt] {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Modal styles */
.modal-overlay[b-bwr4madgmt] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.modal-card[b-bwr4madgmt] {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header-bar[b-bwr4madgmt] {
    background: #fff !important;
    color: #333 !important;
    padding: 16px 32px !important;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-left[b-bwr4madgmt] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-title[b-bwr4madgmt] {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: #000000 !important;
    letter-spacing: -0.2px;
}

.btn-close-modal[b-bwr4madgmt] {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-bwr4madgmt] {
    background: #e2e8f0;
    color: #1e293b;
}

.modal-inner[b-bwr4madgmt] {
    padding: 16px 32px !important;
    background: #fff;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.modal-inner[b-bwr4madgmt]  form {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.modal-inner[b-bwr4madgmt]  .modal-scroll-area,
.vendor-master-modal-scroll-area[b-bwr4madgmt] {
    overflow-y: auto !important;
    flex: 1;
    padding-right: 8px;
    min-height: 0;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 #f8fafc !important;
}

.vendor-master-modal-scroll-area[b-bwr4madgmt]::-webkit-scrollbar,
.modal-inner[b-bwr4madgmt]  .modal-scroll-area::-webkit-scrollbar {
    width: 5px !important;
}

.vendor-master-modal-scroll-area[b-bwr4madgmt]::-webkit-scrollbar-track,
.modal-inner[b-bwr4madgmt]  .modal-scroll-area::-webkit-scrollbar-track {
    background: #f8fafc !important;
    border-radius: 4px !important;
}

.vendor-master-modal-scroll-area[b-bwr4madgmt]::-webkit-scrollbar-thumb,
.modal-inner[b-bwr4madgmt]  .modal-scroll-area::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 4px !important;
}

.vendor-master-modal-scroll-area[b-bwr4madgmt]::-webkit-scrollbar-thumb:hover,
.modal-inner[b-bwr4madgmt]  .modal-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

.form-section-header[b-bwr4madgmt] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid #f1f5f9;
}

.form-section-title[b-bwr4madgmt] {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #4f46e5;
}

.form-grid[b-bwr4madgmt] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 12px;
    row-gap: 12px;
}

.col-1[b-bwr4madgmt] { grid-column: span 1; }
.col-2[b-bwr4madgmt] { grid-column: span 2; }
.col-3[b-bwr4madgmt] { grid-column: span 3; }
.col-4[b-bwr4madgmt] { grid-column: span 4; }
.col-5[b-bwr4madgmt] { grid-column: span 5; }
.col-6[b-bwr4madgmt] { grid-column: span 6; }
.col-7[b-bwr4madgmt] { grid-column: span 7; }
.col-8[b-bwr4madgmt] { grid-column: span 8; }
.col-9[b-bwr4madgmt] { grid-column: span 9; }
.col-10[b-bwr4madgmt] { grid-column: span 10; }
.col-11[b-bwr4madgmt] { grid-column: span 11; }
.col-12[b-bwr4madgmt] { grid-column: span 12; }

.field-group[b-bwr4madgmt] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label[b-bwr4madgmt] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.field-label.required[b-bwr4madgmt]::after {
    content: " *";
    color: #ef4444;
}

.premium-input[b-bwr4madgmt] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    color: #4b5563 !important;
    transition: all 0.2s !important;
    height: auto !important;
}

.premium-input[b-bwr4madgmt]::placeholder {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

.premium-input:focus[b-bwr4madgmt] {
    background: #fff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

.btn-save-premium[b-bwr4madgmt] {
    background: #1c9f5f !important;
    color: white !important;
    border: none !important;
    padding: 10px 28px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(28, 159, 95, 0.3) !important;
    transition: all 0.2s !important;
    white-space: nowrap;
}

.btn-save-premium:hover[b-bwr4madgmt] {
    background: #168a52 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(28, 159, 95, 0.4) !important;
}

/* Pagination bar */
.page-btn[b-bwr4madgmt] {
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #64748b !important;
    border-radius: 8px !important;
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0 2px;
    transition: all 0.2s;
}

.page-btn.active[b-bwr4madgmt] {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
}

.page-btn:hover:not(.active):not(:disabled)[b-bwr4madgmt] {
    background: #f8fafc !important;
    color: #1e293b !important;
}
/* Master dashboard theme */
:global(.main-content):has(.items-page)[b-bwr4madgmt] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.items-page[b-bwr4madgmt] { min-height: calc(100vh - 1.5rem) !important; padding: 0 !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.items-shell[b-bwr4madgmt], .items-content[b-bwr4madgmt] { max-width: none !important; padding: 0 !important; }
.premium-header-card[b-bwr4madgmt] { height: 78px !important; box-sizing: border-box !important; padding: .15rem 0 !important; margin-bottom: .6rem !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.header-card-icon[b-bwr4madgmt] { background: linear-gradient(135deg,#087bb5,#07547c) !important; }
.header-card-heading[b-bwr4madgmt] { color: #07547c !important; font-size: 1.85rem !important; }
.header-card-subheading[b-bwr4madgmt] { color: #647b90 !important; }
.items-search[b-bwr4madgmt] { width: 280px !important; height: 40px !important; border-radius: 10px !important; border-color: #cbd9e8 !important; }
.add-item-btn[b-bwr4madgmt] { height: 40px !important; border-radius: 10px !important; background: #087bb5 !important; }
.items-main-card[b-bwr4madgmt] { border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; }
.items-table thead tr[b-bwr4madgmt] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.items-table thead th[b-bwr4madgmt] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.items-table tbody tr[b-bwr4madgmt] { height: 44px !important; background: #fff !important; }
.items-table tbody tr:nth-child(even)[b-bwr4madgmt] { background: #f8fbfe !important; }
.items-table tbody td[b-bwr4madgmt] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.items-table tbody tr:hover[b-bwr4madgmt] { background: #f0f8ff !important; }
/* /Components/Pages/VitalsDashboard.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   VitalsDashboard.razor.css — Vitals AI Dashboard Styles & Theme Overrides
   ═══════════════════════════════════════════════════════════════ */

/* Outer Container */
.vitals-dashboard-container[b-rsg8cc24iz] {
    background-color: var(--vitals-bg, #f7f5f0);
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    font-family: system-ui, -apple-system, sans-serif;
    color: var(--vitals-text-heading, #1e293b);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* Cards (KPI & Chart) */
.vitals-card[b-rsg8cc24iz] {
    background-color: var(--vitals-card-bg, #ffffff) !important;
    background: var(--vitals-card-bg, #ffffff) !important;
    border: 1px solid var(--vitals-card-border, #eae7e1);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.vitals-kpi-card[b-rsg8cc24iz] {
    padding: 0.6rem 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vitals-chart-card[b-rsg8cc24iz] {
    border-radius: 14px;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    height: 260px;
    background-color: var(--vitals-card-bg, #ffffff) !important;
    background: var(--vitals-card-bg, #ffffff) !important;
}

/* Typography */
.vitals-card-title[b-rsg8cc24iz] {
    font-size: 0.62rem;
    font-weight: 800;
    color: var(--vitals-text-sub, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vitals-card-heading[b-rsg8cc24iz] {
    font-size: 0.82rem;
    font-weight: 900;
    color: var(--vitals-text-heading, #475569);
    margin: 0;
    text-transform: uppercase;
}

.vitals-card-sub[b-rsg8cc24iz] {
    font-size: 0.68rem;
    color: var(--vitals-text-sub, #64748b);
}

/* Inner Breakdown Boxes */
.vitals-sub-box[b-rsg8cc24iz] {
    background-color: var(--vitals-sub-box-bg, #f8fafc) !important;
    background: var(--vitals-sub-box-bg, #f8fafc) !important;
    border: 1px solid var(--vitals-sub-box-border, #e2e8f0);
    border-radius: 6px;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.vitals-item-label[b-rsg8cc24iz] {
    color: var(--vitals-text-sub, #64748b);
    font-weight: 700;
}

.vitals-item-val[b-rsg8cc24iz] {
    color: var(--vitals-text-heading, #475569);
    font-weight: 900;
}

/* Legend items */
.vitals-legend-label[b-rsg8cc24iz] {
    color: var(--vitals-text-sub, #64748b);
    font-weight: 700;
}

.vitals-legend-val[b-rsg8cc24iz] {
    color: var(--vitals-text-heading, #475569);
    font-weight: 900;
}

/* Tabs */
.vitals-dept-tabs[b-rsg8cc24iz] {
    background-color: var(--vitals-sub-box-bg, #f1f5f9);
    padding: 2px;
    border-radius: 6px;
    border: 1px solid var(--vitals-card-border, #e2e8f0);
}

/* Drawer Panel */
.vitals-drawer-panel[b-rsg8cc24iz] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 440px;
    max-width: 95vw;
    height: 100vh;
    z-index: 10005;
    background: var(--vitals-drawer-bg, rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    box-shadow: -15px 0 45px rgba(15, 23, 42, 0.12);
    border-left: 1px solid var(--vitals-card-border, rgba(255, 255, 255, 0.6));
    display: flex;
    flex-direction: column;
    color: var(--vitals-text-heading, #0f172a);
    transition: background 0.25s ease, color 0.25s ease;
}

.vitals-drawer-overlay[b-rsg8cc24iz] {
    position: fixed;
    inset: 0;
    z-index: 10004;
    background: rgba(15, 23, 42, 0.35);
    cursor: pointer;
}

/* Toasts */
.vitals-toast-card[b-rsg8cc24iz] {
    background: var(--vitals-card-bg, #ffffff);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    box-shadow: 0 10px 30px rgba(15,23,42,0.15), 0 2px 8px rgba(0,0,0,0.06);
    color: var(--vitals-text-heading, #0f172a);
}
/* /Components/Pages/VitalsMaster.razor.rz.scp.css */
/* ============================================================
   LABCARE ELITE — PAGE-SPECIFIC STYLES (page.css)
   ============================================================
   All page-level and component-level styles live here.
   The shared design system (lc-*) lives in app.css.
   ============================================================ */

/* ============================================================
   1. MAIN LAYOUT
   ============================================================ */
.page[b-hkjp4vapbb] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-hkjp4vapbb] {
    flex: 1;
}

.content[b-hkjp4vapbb] {
    padding: 6px 10px !important;
    background-color: #f8fafc !important;
    display: block;
}

.custom-layout-wrapper[b-hkjp4vapbb] {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 641px) {
    .page[b-hkjp4vapbb] {
        flex-direction: row;
    }

    .sidebar[b-hkjp4vapbb] {
        width: 220px;
        height: 100vh;
        position: sticky;
        top: 0;
    }
}


/* ============================================================
   2. SIDEBAR / NAV MENU
   ============================================================ */

/* ── Sidebar toggle button — absolute at sidebar's right edge, half-protruding ── */
.sidebar-wrapper[b-hkjp4vapbb] {
    position: relative;
    overflow: visible !important;
    /* allow button to peek out on the right */
}

.sidebar-toggle-btn[b-hkjp4vapbb] {
    position: absolute;
    top: 40px;
    /* just below the branding bar */
    right: -29px;
    /* moved further right */
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0e7ff;
    border: 2px solid #a5b4fc;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    z-index: 200;
}

.sidebar-toggle-btn:hover[b-hkjp4vapbb] {
    background: #c7d2fe;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    transform: scale(1.12);
}

.sidebar-toggle-btn:active[b-hkjp4vapbb] {
    transform: scale(0.92);
}

/* Collapsed state: button automatically moves with sidebar — no extra needed */
.nav-collapsed .sidebar-toggle-btn[b-hkjp4vapbb] {
    right: -29px;
}

/* ══════════════════════════════════════════════════
   ✦ PREMIUM TOOLTIP — Collapsed Nav (Ultra Modern)
   ══════════════════════════════════════════════════ */

#sidebar.nav-collapsed .v-nav-link[b-hkjp4vapbb],
#sidebar.nav-collapsed .logout-btn[b-hkjp4vapbb] {
    position: relative;
    overflow: visible;
}

.logout-btn-proper[b-hkjp4vapbb] {
    border: none !important;
    outline: none !important;
    color: #ef4444 !important;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
}

.logout-btn-proper:hover[b-hkjp4vapbb] {
    background-color: rgba(239, 68, 68, 0.08) !important;
    color: #dc2626 !important;
}

.logout-btn-proper span[b-hkjp4vapbb] {
    color: inherit !important;
}

/* ── Main tooltip bubble ── */
#sidebar.nav-collapsed .v-nav-link[b-hkjp4vapbb]::after,
#sidebar.nav-collapsed .logout-btn[b-hkjp4vapbb]::after {
    content: attr(data-title);
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(-8px) scale(0.9);

    /* Soft light gradient */
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    box-shadow:
        0 10px 25px -5px rgba(99, 102, 241, 0.2),
        0 8px 10px -6px rgba(99, 102, 241, 0.1),
        0 0 0 1px rgba(165, 180, 252, 0.5),
        /* inner top highlight for 3D effect */
        inset 0 1px 1px rgba(255, 255, 255, 0.4);

    color: #312e81;
    /* Deep indigo instead of black */
    padding: 8px 16px;
    border-radius: 8px;
    /* sharp but smooth corners */
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    white-space: nowrap;

    opacity: 0;
    pointer-events: none;

    /* Spring-like transition for a premium feel */
    transition:
        opacity 0.25s ease-out,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
}

/* ── Glowing left arrow ── */
#sidebar.nav-collapsed .v-nav-link[b-hkjp4vapbb]::before,
#sidebar.nav-collapsed .logout-btn[b-hkjp4vapbb]::before {
    content: '';
    position: absolute;
    left: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    border-style: solid;
    border-width: 6px 6px 6px 0;
    /* Match the gradient's start color */
    border-color: transparent #e0e7ff transparent transparent;
    filter: drop-shadow(-1px 0px 1px rgba(165, 180, 252, 0.5));
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.25s ease-out,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
}

/* ── Hover: show tooltip with bounce ── */
#sidebar.nav-collapsed .v-nav-link:hover[b-hkjp4vapbb]::after,
#sidebar.nav-collapsed .logout-btn:hover[b-hkjp4vapbb]::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
}

#sidebar.nav-collapsed .v-nav-link:hover[b-hkjp4vapbb]::before,
#sidebar.nav-collapsed .logout-btn:hover[b-hkjp4vapbb]::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ── Active link tooltip: vibrant indigo accent ── */
#sidebar.nav-collapsed .v-nav-link.active[b-hkjp4vapbb]::after {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    box-shadow:
        0 10px 25px -5px rgba(79, 70, 229, 0.5),
        0 0 0 1px rgba(129, 140, 248, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

#sidebar.nav-collapsed .v-nav-link.active[b-hkjp4vapbb]::before {
    border-right-color: #4f46e5;
    filter: drop-shadow(-1px 0px 1px rgba(129, 140, 248, 0.6));
}


.sidebar[b-hkjp4vapbb] {
    background-color: #000000;
    padding: 0 !important;
    background: transparent !important;
}

.sidebar-wrapper[b-hkjp4vapbb] {
    width: 220px;
    height: 100vh;
    background-color: #f1f5f9;
    /* soft slate instead of white */
    color: #334155;
    /* slate 700 instead of black */
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(148, 163, 184, 0.15);
    border-right: 1px solid #cbd5e1;
    z-index: 100;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* overflow:visible lets the toggle button peek outside the sidebar edge */
}

/* ── Collapsed state ── */
.sidebar-wrapper.nav-collapsed[b-hkjp4vapbb] {
    width: 68px;
}

/* Hide text/labels when collapsed */
.nav-collapsed .nav-link-text[b-hkjp4vapbb],
.nav-collapsed .nav-text-fade[b-hkjp4vapbb],
.nav-collapsed .nav-user-text[b-hkjp4vapbb] {
    opacity: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 0.15s ease, width 0.3s ease;
}

.nav-link-text[b-hkjp4vapbb],
.nav-text-fade[b-hkjp4vapbb],
.nav-user-text[b-hkjp4vapbb] {
    opacity: 1;
    transition: opacity 0.2s ease 0.05s, width 0.3s ease;
}

/* Center icons when collapsed */
.nav-collapsed .v-nav-link[b-hkjp4vapbb] {
    justify-content: center;
    padding: 12px;
}

.nav-collapsed .v-nav-link .mr-3[b-hkjp4vapbb] {
    margin-right: 0;
}

.nav-collapsed .menu-scroll[b-hkjp4vapbb] {
    padding: 24px 8px;
}

/* Collapsed user avatar centering */
.nav-collapsed .px-4.mb-4[b-hkjp4vapbb] {
    padding: 0 8px 16px;
}

.nav-collapsed .px-4.mb-4 .p-4[b-hkjp4vapbb] {
    padding: 8px;
}

.nav-collapsed .px-4.mb-4 .flex.items-center.gap-3[b-hkjp4vapbb] {
    justify-content: center;
}

/* Logout button collapsed */
.nav-collapsed .mt-auto.p-4 button[b-hkjp4vapbb] {
    justify-content: center;
    padding: 10px;
}

/* ── Toggle Button ── */
.nav-toggle-btn[b-hkjp4vapbb] {
    margin-left: auto;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid rgba(148, 163, 184, 0.25);
    background: rgba(241, 245, 249, 0.10);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.nav-toggle-btn:hover[b-hkjp4vapbb] {
    background: rgba(99, 102, 241, 0.18);
    border-color: #6366f1;
    color: #a5b4fc;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.nav-toggle-btn:active[b-hkjp4vapbb] {
    transform: scale(0.93);
}

.nav-toggle-icon[b-hkjp4vapbb] {
    font-size: 20px !important;
    transition: transform 0.3s ease;
}

/* Collapsed sidebar branding: center logo */
.nav-collapsed .sidebar-branding[b-hkjp4vapbb] {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    padding: 16px 8px;
}

.nav-collapsed .logo-box[b-hkjp4vapbb] {
    flex-shrink: 0;
}

.sidebar-branding[b-hkjp4vapbb] {
    padding: 20px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #cbd5e1;
    position: relative;
}

.logo-box[b-hkjp4vapbb] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box .material-symbols-outlined[b-hkjp4vapbb] {
    color: white;
    font-size: 24px;
}

.logo-text[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
}

.main-title[b-hkjp4vapbb] {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #1e293b;
}

.main-title .highlight[b-hkjp4vapbb] {
    color: #4f46e5;
}

.sub-title[b-hkjp4vapbb] {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    font-weight: 600;
}

.sidebar-branch-badge[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 16px 4px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(124, 58, 237, 0.15) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    animation: badgeFadeIn 0.4s ease;
}

.branch-badge-icon[b-hkjp4vapbb] {
    font-size: 14px !important;
    color: #818cf8;
    flex-shrink: 0;
}

.branch-badge-text[b-hkjp4vapbb] {
    font-size: 11px;
    font-weight: 700;
    color: #c7d2fe;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-scroll[b-hkjp4vapbb] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 16px;
}

.menu-group[b-hkjp4vapbb] {
    margin-bottom: 32px;
}

.group-label[b-hkjp4vapbb] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    margin-bottom: 8px;
    padding-left: 10px;
}

.v-nav[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.v-nav-link[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 8px;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 12.5px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.v-nav-link:hover[b-hkjp4vapbb] {
    background-color: rgba(99, 102, 241, 0.08);
    color: #1e293b !important;
}

.v-nav-link.active[b-hkjp4vapbb] {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), transparent) !important;
    color: #4338ca !important;
    border-left: 3px solid #4f46e5;
    padding-left: 13px !important;
}

.v-nav-link .material-symbols-outlined[b-hkjp4vapbb] {
    font-size: 18px;
}

.mr-3[b-hkjp4vapbb] {
    margin-right: 0.75rem;
}

.user-profile-section[b-hkjp4vapbb] {
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid #232635;
    margin-top: auto;
}

.user-avatar[b-hkjp4vapbb] {
    width: 38px;
    height: 38px;
    background-color: #2D334A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-size: 18px;
}

.user-details[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
}

.user-name[b-hkjp4vapbb] {
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.user-terminal[b-hkjp4vapbb] {
    font-size: 10px;
    color: #64748B;
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.navbar-toggler[b-hkjp4vapbb] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-hkjp4vapbb] {
    background-color: rgba(255, 255, 255, 0.5);
}

.nav-scrollable[b-hkjp4vapbb] {
    display: none;
}

.navbar-toggler:checked~.nav-scrollable[b-hkjp4vapbb] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-hkjp4vapbb] {
        display: none;
    }

    .nav-scrollable[b-hkjp4vapbb] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

.no-scrollbar[b-hkjp4vapbb]::-webkit-scrollbar {
    display: none !important;
}

.no-scrollbar[b-hkjp4vapbb] {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.menu-scroll[b-hkjp4vapbb]::-webkit-scrollbar {
    width: 6px;
}

.menu-scroll[b-hkjp4vapbb]::-webkit-scrollbar-track {
    background: transparent;
}

.menu-scroll[b-hkjp4vapbb]::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

.menu-scroll[b-hkjp4vapbb]::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

/* ============================================================
   4. REGISTER PAGE (Commented out to prevent conflict with SharedComponents.Rcl)
   ============================================================
.register-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    padding: 2rem;
    font-family: 'Inter', sans-serif;
}

.register-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    border: none;
    animation: fadeInUp 0.6s ease-out;
}

.register-card .card-header {
    padding: 2.5rem 3rem 1rem;
    background: transparent;
    border-bottom: none;
}

.register-card .card-body {
    padding: 0 3rem 1.5rem;
}

.register-card .card-footer {
    padding: 1.5rem 3rem 3rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    background: transparent;
    border: none;
}

.register-card .login-prompt {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}


.register-card .progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.register-card .step-badge {
    background-color: #eef2ff;
    color: #4f46e5;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.register-card .step-text {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.register-card .progress-bar {
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.register-card .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.register-card .page-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.register-card .page-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 32px;
}

.register-card .section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.register-card .section-title h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.register-card .section-title .material-icons-outlined {
    color: #4f46e5;
    font-size: 20px;
}

.register-card .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
}

.register-card .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.register-card .form-label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.register-card .form-label .optional {
    color: #94a3b8;
    font-weight: 400;
    font-size: 11px;
}

.register-card .form-control {
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.2s ease;
    width: 100%;
}

.register-card .input-icon-wrapper .form-control {
    padding-left: 44px;
    padding-right: 44px;
}


.register-card .form-control:focus {
    background: white;
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.register-card .btn-text {
    background: transparent;
    border: none;
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.register-card .btn-primary {
    background: #4f46e5;
    color: white;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    transition: all 0.2s;
    width: auto;
    min-width: 160px;
}

.register-success-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #f8fafc;
    text-align: center;
    padding: 24px;
}

.success-illustration {
    width: 350px;
    max-width: 90%;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.success-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.success-subtitle {
    color: #64748b;
    font-size: 18px;
    font-weight: 500;
}
*/





.form-section-card[b-hkjp4vapbb] {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    max-width: 500px;
    margin: 40px auto;
}

.progress-header[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.step-badge[b-hkjp4vapbb] {
    padding: 0.25rem 0.75rem;
    background-color: #EFF6FF;
    color: #2563EB;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.step-text[b-hkjp4vapbb] {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
}

.progress-bar[b-hkjp4vapbb] {
    height: 0.375rem;
    background-color: #F1F5F9;
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.progress-fill[b-hkjp4vapbb] {
    height: 100%;
    background-color: var(--lc-primary);
    transition: width 0.3s ease;
}

.page-title[b-hkjp4vapbb] {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.page-subtitle[b-hkjp4vapbb] {
    color: #94a3b8;
    margin: 0 0 2rem;
}

.security-reqs[b-hkjp4vapbb] {
    background-color: #F8FAFC;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--lc-border);
    margin-top: 1.5rem;
}

.security-reqs h4[b-hkjp4vapbb] {
    font-size: 0.625rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1rem 0;
}

.req-grid[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
}

.req-item[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.req-icon[b-hkjp4vapbb] {
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    border: 1px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.req-item.valid .req-icon[b-hkjp4vapbb] {
    border-color: var(--lc-success);
    background-color: #ECFDF5;
}

.req-item.valid .req-icon span[b-hkjp4vapbb] {
    font-size: 0.625rem;
    color: var(--lc-success);
    font-weight: 700;
}

.req-item:not(.valid) .req-icon span[b-hkjp4vapbb] {
    display: none;
}

.input-icon-wrapper[b-hkjp4vapbb] {
    position: relative;
}

.input-icon-wrapper input[b-hkjp4vapbb] {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.input-icon-left[b-hkjp4vapbb] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
}

.input-icon-right[b-hkjp4vapbb] {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.input-icon-right:hover[b-hkjp4vapbb] {
    color: #64748b;
}

.bg-decorator[b-hkjp4vapbb] {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    opacity: 0.1;
    pointer-events: none;
}

.password-step-container[b-hkjp4vapbb] {
    max-width: 28rem;
    margin: 2rem auto 0;
}

.password-group[b-hkjp4vapbb] {
    margin-bottom: 1.5rem;
}


/* ============================================================
   5. FORGOT PASSWORD PAGE
   ============================================================ */
.auth-page-wrapper[b-hkjp4vapbb] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.background-mesh[b-hkjp4vapbb] {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 0.1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0.1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0.1) 0, transparent 50%);
    z-index: 0;
}

.auth-container[b-hkjp4vapbb] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.auth-card[b-hkjp4vapbb] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.brand-section[b-hkjp4vapbb] {
    padding: 40px 40px 20px;
    text-align: center;
}

.logo-circle[b-hkjp4vapbb] {
    width: 64px;
    height: 64px;
    background: #4F46E5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.brand-section h2[b-hkjp4vapbb] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.brand-section p[b-hkjp4vapbb] {
    color: #64748b;
    font-size: 0.875rem;
}

.auth-form-content[b-hkjp4vapbb] {
    padding: 0 40px 40px;
}

.form-title[b-hkjp4vapbb] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-subtitle[b-hkjp4vapbb] {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.auth-form-content .form-group[b-hkjp4vapbb] {
    margin-bottom: 20px;
}

.auth-form-content .form-group label[b-hkjp4vapbb] {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
}

.auth-form-content .input-container[b-hkjp4vapbb] {
    position: relative;
}

.auth-form-content .input-container i[b-hkjp4vapbb] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.auth-form-content .form-control[b-hkjp4vapbb] {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.auth-form-content .form-control:focus[b-hkjp4vapbb] {
    background: #fff;
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.btn-primary[b-hkjp4vapbb] {
    width: 100%;
    padding: 12px;
    background: #4F46E5;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-primary:hover:not(:disabled)[b-hkjp4vapbb] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.2);
}

.btn-primary:active[b-hkjp4vapbb] {
    transform: translateY(0);
}

.btn-link[b-hkjp4vapbb] {
    background: none;
    border: none;
    color: #4F46E5;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    cursor: pointer;
}

.auth-form-content .alert[b-hkjp4vapbb] {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-form-content .alert-danger[b-hkjp4vapbb] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.auth-form-content .alert-success[b-hkjp4vapbb] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #dcfce7;
}

.auth-footer[b-hkjp4vapbb] {
    margin-top: 32px;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.auth-footer a[b-hkjp4vapbb] {
    color: #4F46E5;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover[b-hkjp4vapbb] {
    text-decoration: underline;
}

.reset-account-info[b-hkjp4vapbb] {
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #4F46E5;
}

.reset-account-info i[b-hkjp4vapbb] {
    font-size: 1.1rem;
}


/* ============================================================
   6. REFERRAL / MASTER PAGES
   ============================================================ */
.referral-page[b-hkjp4vapbb] {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    padding: 0;
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.referral-header[b-hkjp4vapbb] {
    margin-bottom: 24px;
}

.referral-header h2[b-hkjp4vapbb] {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.referral-header p[b-hkjp4vapbb] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.referral-header .branch-label[b-hkjp4vapbb],
.referral-header .header-counter[b-hkjp4vapbb] {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.referral-header .branch-pill[b-hkjp4vapbb] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
    vertical-align: middle;
    min-width: 30px;
    justify-content: center;
}

.header-actions[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-search-input[b-hkjp4vapbb] {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    outline: none;
    width: 250px;
    background-color: #f8fafc;
    transition: width 0.3s, border-color 0.2s;
}

.header-search-input:focus[b-hkjp4vapbb] {
    width: 300px;
    border-color: var(--lc-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.add-referral-section[b-hkjp4vapbb] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.add-referral-section:hover[b-hkjp4vapbb] {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.section-header[b-hkjp4vapbb] {
    display: flex;
    gap: 16px;
    align-items: center;
}

.section-icon-large[b-hkjp4vapbb] {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

.section-header h3[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
}

.section-header p[b-hkjp4vapbb] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    margin-left: 64px;
}

.referral-content[b-hkjp4vapbb] {
    background-color: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 32px;
}

.btn-new-entry[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-new-entry:hover[b-hkjp4vapbb] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-action-outline[b-hkjp4vapbb] {
    background: white;
    color: #4f46e5;
    border: 2px solid #e0e7ff;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.btn-action-outline:hover[b-hkjp4vapbb] {
    transform: translateY(-2px);
    border-color: #4f46e5;
    background-color: #f5f7ff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
}

.td-uhid[b-hkjp4vapbb] {
    font-weight: 600;
    color: #4f46e5;
}

.td-mono[b-hkjp4vapbb] {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
}

.search-controls[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* ============================================================
   7. MASTER FORM MODAL
   ============================================================ */
.modal-overlay[b-hkjp4vapbb] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

/* Modal container (form-card inside overlay) */
.modal-form-card[b-hkjp4vapbb] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 95%;
    max-width: 1350px;
    max-height: 95vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: slideDownFade 0.3s ease-out;
}

/* Lab Test Master Table Styles */
.tm-table-input[b-hkjp4vapbb],
.tm-table-select[b-hkjp4vapbb] {
    width: 100%;
    height: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 11px;
    background-color: #fff;
    color: #1e293b;
    outline: none;
    transition: all 0.2s;
}

.tm-table-input:focus[b-hkjp4vapbb],
.tm-table-select:focus[b-hkjp4vapbb] {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.tm-btn-icon-red[b-hkjp4vapbb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 4px;
    background-color: #fef2f2;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-icon-red:hover[b-hkjp4vapbb] {
    background-color: #fee2e2;
    color: #dc2626;
    transform: scale(1.05);
}

.tm-param-input[b-hkjp4vapbb] {
    width: 100%;
    height: 24px;
    border: none;
    background: transparent;
    font-size: 11px;
    color: #1e293b;
    outline: none;
    padding: 0 4px;
}

.modal-form-card form[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

/* Modal header bar */
.modal-header-bar[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-hkjp4vapbb] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-hkjp4vapbb] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-hkjp4vapbb] {
    color: #ef4444;
    background: #fef2f2;
}

/* Master Autocomplete Dropdown */
.master-search-dropdown[b-hkjp4vapbb] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    padding: 0;
    margin-top: 4px;
}

.master-search-item[b-hkjp4vapbb] {
    width: 100%;
    text-align: left;
    padding: 10px 16px;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    color: #475569;
    transition: background 0.2s;
}

.master-search-item:hover[b-hkjp4vapbb] {
    background: #f8fafc;
    color: #4f46e5;
}

.master-search-item:last-child[b-hkjp4vapbb] {
    border-bottom: none;
}

/* Modal scrollable body */
.modal-body[b-hkjp4vapbb] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

/* Modal footer / action bar */
.modal-footer-bar[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

/* Billing Patient Search Dropdown */
.customer-search-dropdown[b-hkjp4vapbb] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    max-height: 280px;
    overflow-y: auto;
    margin-top: 8px;
    padding: 8px;
}

.customer-search-item[b-hkjp4vapbb] {
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8fafc;
}

.customer-search-item:last-child[b-hkjp4vapbb] {
    border-bottom: none;
}

.customer-search-item:hover[b-hkjp4vapbb] {
    background-color: #f1f5f9;
}

.cs-name[b-hkjp4vapbb] {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.cs-details[b-hkjp4vapbb] {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Test Search Dropdown */
.test-search-dropdown[b-hkjp4vapbb] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1060;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    margin-top: 8px;
    padding: 8px;
}

.test-search-item[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8fafc;
}

.test-search-item:last-child[b-hkjp4vapbb] {
    border-bottom: none;
}

.test-search-item:hover[b-hkjp4vapbb] {
    background-color: #f1f5f9;
}

.ts-info[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ts-name[b-hkjp4vapbb] {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.ts-code[b-hkjp4vapbb] {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
}

.ts-price[b-hkjp4vapbb] {
    font-size: 14px;
    font-weight: 800;
    color: #4f46e5;
}


/* ============================================================
   8. FORM CARD (inline, non-modal)
   ============================================================ */
.form-card[b-hkjp4vapbb] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    animation: slideDownFade 0.4s ease-out;
}

.form-section[b-hkjp4vapbb] {
    margin-bottom: 32px;
}

.form-section:last-child[b-hkjp4vapbb] {
    margin-bottom: 0;
}

.section-title[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.section-icon[b-hkjp4vapbb] {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

.section-icon svg[b-hkjp4vapbb] {
    width: 14px;
    height: 14px;
}

.form-row[b-hkjp4vapbb] {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.form-row:last-child[b-hkjp4vapbb] {
    margin-bottom: 0;
}

.form-group[b-hkjp4vapbb] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width[b-hkjp4vapbb] {
    flex: 1 1 100%;
}

.form-group label[b-hkjp4vapbb] {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

/* Form control (legacy) */
.form-control[b-hkjp4vapbb] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    width: 100%;
}

.form-control:focus[b-hkjp4vapbb] {
    background: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-control[b-hkjp4vapbb]::placeholder {
    color: #94a3b8;
}

select.form-control[b-hkjp4vapbb] {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    color: #1e293b !important;
    background-color: #ffffff !important;
    height: 40px !important;
    font-size: 14px !important;
    padding: 0 40px 0 16px !important;
    line-height: 40px !important;
}

select.form-control option[b-hkjp4vapbb] {
    color: #1e293b !important;
    background-color: #ffffff !important;
    padding: 8px !important;
}

textarea.form-control[b-hkjp4vapbb] {
    min-height: 80px;
    resize: vertical;
}

/* Form column layouts */
.form-cols-4[b-hkjp4vapbb] {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.form-cols-5[b-hkjp4vapbb] {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.form-cols-4-area[b-hkjp4vapbb] {
    grid-template-columns: 120px 1.5fr 1.5fr 2fr;
}

.form-cols-3-city[b-hkjp4vapbb] {
    grid-template-columns: 1fr 1fr;
}

/* ============================================================
   17. BRANCH MASTER - REFACTORED
   ============================================================ */
.branch-master-container[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 5rem);
    /* Adjust based on MainLayout header if any */
    background-color: #f8fafc;
}

.branch-master-header[b-hkjp4vapbb] {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.branch-master-content[b-hkjp4vapbb] {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ============================================================
   17. TEST MASTER REDESIGN (Dynamic Dashboard)
   ============================================================ */
.tm-container[b-hkjp4vapbb] {
    padding: 24px;
    background-color: #f8fafc;
    min-height: 100vh;
}

.tm-dashboard-card[b-hkjp4vapbb] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.tm-grid-row-1[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.tm-grid-row-2[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.tm-grid-row-3[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 32px;
}

.tm-label-upper[b-hkjp4vapbb] {
    font-size: 10px;
    font-weight: 800;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.tm-input-premium[b-hkjp4vapbb] {
    height: 44px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    padding: 0 16px !important;
    transition: all 0.2s ease;
}

.tm-input-premium:focus[b-hkjp4vapbb] {
    background: #ffffff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}

.tm-radio-tile-group[b-hkjp4vapbb] {
    display: flex;
    gap: 24px;
    align-items: center;
}

.tm-radio-item[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.tm-radio-dot[b-hkjp4vapbb] {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.tm-radio-item:hover .tm-radio-dot[b-hkjp4vapbb] {
    border-color: #6366f1;
}

input[type="radio"]:checked+.tm-radio-dot[b-hkjp4vapbb] {
    border-color: #6366f1;
    background-color: #ffffff;
}

input[type="radio"]:checked+.tm-radio-dot[b-hkjp4vapbb]::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #6366f1;
    border-radius: 50%;
}

/* Split Layout */
.tm-split-layout[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

.tm-left-panel[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tm-panel-card[b-hkjp4vapbb] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.tm-panel-header[b-hkjp4vapbb] {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.tm-param-list-premium[b-hkjp4vapbb] {
    padding: 8px 0;
}

.tm-param-row[b-hkjp4vapbb] {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.2s;
}

.tm-param-row:hover[b-hkjp4vapbb] {
    background: #f8fafc;
}

.tm-check-circle[b-hkjp4vapbb] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.tm-check-circle.checked[b-hkjp4vapbb] {
    background: #6366f1;
    border-color: #6366f1;
}

.tm-check-circle.checked span[b-hkjp4vapbb] {
    font-size: 14px;
}

.tm-panel-footer[b-hkjp4vapbb] {
    padding: 16px 20px;
    background: #fdfdfd;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Settings Card (Right Side) */
.tm-settings-card[b-hkjp4vapbb] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.tm-settings-top[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.tm-tabs-row[b-hkjp4vapbb] {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 24px;
    padding: 0 8px;
}

.tm-tab-item[b-hkjp4vapbb] {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    padding: 12px 0;
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
}

.tm-tab-item.active[b-hkjp4vapbb] {
    color: #6366f1;
}

.tm-tab-item.active[b-hkjp4vapbb]::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #6366f1;
    border-radius: 3px 3px 0 0;
}

.tm-template-box[b-hkjp4vapbb] {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 24px;
}

.tm-editor-toolbar[b-hkjp4vapbb] {
    padding: 8px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-editor-textarea[b-hkjp4vapbb] {
    width: 100%;
    min-height: 140px;
    padding: 20px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    color: #475569;
    resize: none;
    background: #ffffff;
}

.tm-settings-footer[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.btn-update-premium[b-hkjp4vapbb] {
    padding: 12px 32px;
    background: #ffffff;
    border: 1px solid #ffedd5;
    color: #f97316;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-update-premium:hover[b-hkjp4vapbb] {
    background: #fff7ed;
    border-color: #fdba74;
}

.btn-profile-black[b-hkjp4vapbb] {
    background: #1e293b;
    color: white;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s;
}

.btn-profile-black:hover[b-hkjp4vapbb] {
    background: var(--lc-secondary);
    transform: translateY(-1px);
}

.branch-master-footer[b-hkjp4vapbb] {
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-cols-branch-1[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.form-cols-branch-2[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.btn-branch-save[b-hkjp4vapbb] {
    background-color: #4C51BF !important;
    color: white !important;
}

.btn-branch-delete[b-hkjp4vapbb] {
    background-color: #E53E3E !important;
    color: white !important;
}

.btn-branch-close[b-hkjp4vapbb] {
    background-color: #4A5568 !important;
    color: white !important;
}

.branch-alert[b-hkjp4vapbb] {
    background-color: #FFF5F5 !important;
    border: 1px solid #FED7D7 !important;
    color: #C53030 !important;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.header-search-icon[b-hkjp4vapbb] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lc-slate-400);
}

.branch-color-preview[b-hkjp4vapbb] {
    width: 38px;
    height: 38px;
    padding: 2px;
    border-radius: 8px;
    border: 1px solid var(--lc-border);
    background: white;
    cursor: pointer;
}

.form-group-span-2[b-hkjp4vapbb] {
    grid-column: span 2;
}

.branch-table-wrapper[b-hkjp4vapbb] {
    max-height: 400px;
    overflow-y: auto;
}

.btn-table-action[b-hkjp4vapbb] {
    min-width: 32px;
}

.form-cols-counter-1[b-hkjp4vapbb] {
    grid-template-columns: 2fr 1fr 2fr 1fr;
}

.form-cols-counter-2[b-hkjp4vapbb] {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.form-cols-counter-3[b-hkjp4vapbb] {
    grid-template-columns: 1fr 3fr;
}

.custom-grid-general-1[b-hkjp4vapbb] {
    grid-template-columns: 80px 1.2fr 1.2fr 1fr 1.2fr 1fr;
}

.custom-grid-general-2[b-hkjp4vapbb] {
    grid-template-columns: 1fr 1fr 2fr;
}

.custom-grid-billing-1[b-hkjp4vapbb] {
    grid-template-columns: 1.2fr 1.5fr 1fr 1fr;
}

.custom-grid-billing-2[b-hkjp4vapbb] {
    grid-template-columns: 1fr 1fr 2fr;
}

.custom-grid-comm-1[b-hkjp4vapbb],
.custom-grid-comm-2[b-hkjp4vapbb],
.custom-grid-comm-3[b-hkjp4vapbb] {
    grid-template-columns: repeat(4, 1fr);
}

.custom-grid-comm-4[b-hkjp4vapbb] {
    grid-template-columns: 2fr 1fr 1fr;
}

/* Pay type buttons */
.pay-type-buttons[b-hkjp4vapbb] {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
    box-sizing: border-box;
}

.pay-btn[b-hkjp4vapbb] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.pay-btn:hover[b-hkjp4vapbb] {
    color: #1e293b;
}

.pay-btn.active[b-hkjp4vapbb] {
    background: #ffffff;
    color: #6366f1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.sms-alert[b-hkjp4vapbb] {
    color: #ef4444;
    font-size: 10px;
    margin-top: 6px;
}

/* Form actions bar */
.form-actions[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.running-total[b-hkjp4vapbb] {
    margin-right: auto;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.total-label[b-hkjp4vapbb] {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
}

.total-amount[b-hkjp4vapbb] {
    font-size: 20px;
    font-weight: 700;
    color: #6366f1;
}

.btn-delete[b-hkjp4vapbb] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-close[b-hkjp4vapbb] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    transition: all 0.2s;
}

.btn-close:hover[b-hkjp4vapbb] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-save[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-hkjp4vapbb] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.error-input[b-hkjp4vapbb] {
    border-color: #ef4444 !important;
    background-color: #ffffff !important;
}

.error-text[b-hkjp4vapbb] {
    color: #ef4444 !important;
}


/* ============================================================
   9. DIRECTORY TABLE
   ============================================================ */
.directory-section[b-hkjp4vapbb] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 4px;
}

.lc-table-container[b-hkjp4vapbb] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-hkjp4vapbb] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 10.5px;
}

.lc-table thead tr[b-hkjp4vapbb] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-hkjp4vapbb] {
    padding: 4px 5px;
    font-size: 9.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1px;
    white-space: nowrap;
}

.lc-table td[b-hkjp4vapbb] {
    padding: 3px 5px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 10.5px;
    vertical-align: middle;
    white-space: nowrap;
    line-height: 1.25;
}

.lc-table tbody tr:last-child td[b-hkjp4vapbb] {
    border-bottom: none;
}

.lc-table-row:hover[b-hkjp4vapbb] {
    background: rgba(248, 250, 252, 0.8);
}

.lc-circle-btn-28[b-hkjp4vapbb] {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.font-16[b-hkjp4vapbb] {
    font-size: 12px !important;
}

.directory-header[b-hkjp4vapbb] {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.directory-header h3[b-hkjp4vapbb] {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.directory-controls[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-controls[b-hkjp4vapbb] {
    display: flex;
    gap: 12px;
}

.show-entries[b-hkjp4vapbb] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 13px;
    color: #475569;
    outline: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-filter[b-hkjp4vapbb],
.btn-export[b-hkjp4vapbb] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-filter:hover[b-hkjp4vapbb],
.btn-export:hover[b-hkjp4vapbb] {
    background: #f1f5f9;
}

.table-wrapper[b-hkjp4vapbb] {
    overflow-x: auto;
}

.directory-table[b-hkjp4vapbb] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.directory-table th[b-hkjp4vapbb] {
    background: #6366f1;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 24px;
}

.directory-table td[b-hkjp4vapbb] {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
    color: #475569;
    vertical-align: middle;
}

.directory-table tbody tr:hover[b-hkjp4vapbb] {
    background: #f8fafc;
}

/* Directory table cell helpers */
.td-order-no[b-hkjp4vapbb] {
    color: #6366f1;
    font-weight: 700;
}

.td-name[b-hkjp4vapbb] {
    font-weight: 600;
    color: #1e293b;
}

.td-narration[b-hkjp4vapbb] {
    color: #94a3b8;
    font-size: 13px;
}

.code-link[b-hkjp4vapbb] {
    color: #6366f1;
    font-weight: 700;
    cursor: pointer;
}

.doctor-name[b-hkjp4vapbb] {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.doctor-email[b-hkjp4vapbb] {
    font-size: 12px;
    color: #94a3b8;
}

/* Status badges */
.status-badge[b-hkjp4vapbb] {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-active[b-hkjp4vapbb] {
    background: #dcfce7;
    color: #16a34a;
}

.status-inactive[b-hkjp4vapbb] {
    background: #fee2e2;
    color: #dc2626;
}

.status-progress[b-hkjp4vapbb] {
    background: #fef3c7;
    color: #d97706;
}

/* Table action buttons */
.btn-action[b-hkjp4vapbb] {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 14px;
    padding: 4px 8px;
    transition: color 0.2s;
}

.btn-edit:hover[b-hkjp4vapbb] {
    color: #6366f1;
}

.btn-delete-action:hover[b-hkjp4vapbb] {
    color: #ef4444;
}


/* ============================================================
   10. CUSTOM CARD (Counter / Branch inline layout)
   ============================================================ */
.custom-card[b-hkjp4vapbb] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.custom-card .form-control[b-hkjp4vapbb] {
    height: 32px;
    padding: 0.25rem 0.5rem;
    font-size: 13px;
    border-radius: 6px;
}

.custom-card .form-label[b-hkjp4vapbb] {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.custom-card select.form-control[b-hkjp4vapbb] {
    height: 40px !important;
    line-height: normal !important;
}

/* Lab header card */
.lab-header-card[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 2px 4px -1px rgba(79, 70, 229, 0.06) !important;
    padding: 0.4rem 0.75rem !important;
    border-radius: 0.5rem !important;
    display: flex;
    align-items: center;
}

.lab-title-text[b-hkjp4vapbb] {
    color: #312e81 !important;
    font-size: 0.95rem !important;
    font-weight: 800;
    margin: 0;
}

/* Lab Header Variations */
.lab-header-card.flex-between[b-hkjp4vapbb] {
    justify-content: space-between;
    margin-bottom: 4px;
}

/* Lab header sub-elements */
.lab-header-ops-badge[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.lab-header-ops-label[b-hkjp4vapbb] {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
}

.lab-header-ops-value[b-hkjp4vapbb] {
    color: var(--lc-secondary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.lab-header-ops-placeholder[b-hkjp4vapbb] {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
}

.lab-header-tenant-pill[b-hkjp4vapbb] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.lab-header-active-pill[b-hkjp4vapbb] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

/* Lab input (shared) */
.lab-input[b-hkjp4vapbb] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lab-input:focus[b-hkjp4vapbb] {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lab-input-lg[b-hkjp4vapbb] {
    padding: 1rem 1rem;
    font-size: 1rem;
    min-height: 48px;
}

.lab-input-lg:focus[b-hkjp4vapbb] {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Tab buttons */
.btn-tab[b-hkjp4vapbb] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-right: none;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    outline: none;
}

.btn-tab:last-child[b-hkjp4vapbb] {
    border-right: 1px solid #e2e8f0;
}

.active-tab[b-hkjp4vapbb] {
    background: white;
    color: #1e293b;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid white;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
}

.active-tab+.btn-tab[b-hkjp4vapbb] {
    border-left: none;
}


/* ============================================================
   11. BRANCH / COUNTER PAGE — SECTION CARDS
   ============================================================ */
.page-section-card[b-hkjp4vapbb] {
    background: white;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-section-card-header[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    background: #f8fafc;
}

.page-section-card-header h3[b-hkjp4vapbb] {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #1e293b;
    margin: 0;
}

.page-section-card-count[b-hkjp4vapbb] {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary, #4f46e5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Global Spacing Utilities */
.mb-0[b-hkjp4vapbb] {
    margin-bottom: 0 !important;
}

.mb-6[b-hkjp4vapbb] {
    margin-bottom: 24px !important;
}

.mt-6[b-hkjp4vapbb] {
    margin-top: 24px !important;
}

.text-center[b-hkjp4vapbb] {
    text-align: center !important;
}

.p-24[b-hkjp4vapbb] {
    padding: 24px !important;
}

/* Color dot used in branch/counter lists */
.color-dot[b-hkjp4vapbb] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Branch / counter table scrollable wrapper */
.scrollable-table-wrapper[b-hkjp4vapbb] {
    max-height: 400px;
    overflow-y: auto;
}

/* Branch form sub-heading */
.form-section-heading[b-hkjp4vapbb] {
    margin: 0 0 1.5rem 0;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #1e293b;
}

/* Branch Type checkbox row */
.branch-type-row[b-hkjp4vapbb] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    height: 40px;
    padding-left: 4px;
}

.branch-type-label[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
}

/* Card footer actions */
.card-footer-actions[b-hkjp4vapbb] {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color, #e2e8f0);
    background: white;
    border-radius: 1rem;
}

.footer-left-controls[b-hkjp4vapbb] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-right-controls[b-hkjp4vapbb] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.display-active-label[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
}

.btn-footer-cancel[b-hkjp4vapbb] {
    background: transparent;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    cursor: pointer;
}

.btn-footer-delete[b-hkjp4vapbb] {
    background: #ef4444;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn-footer-save[b-hkjp4vapbb] {
    background: var(--primary, #4f46e5);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn-footer-close[b-hkjp4vapbb] {
    background: #64748b;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn-footer-delete:disabled[b-hkjp4vapbb],
.btn-footer-save:disabled[b-hkjp4vapbb] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Alert messages (branch / counter inline) */
.alert[b-hkjp4vapbb] {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.alert-error[b-hkjp4vapbb] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.alert-success[b-hkjp4vapbb] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #dcfce7;
}


/* ============================================================
   12. COUNTER PAGE — CARD HEADER / BODY
   ============================================================ */
.card-header-bar[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    padding: 1.5rem;
    background: white;
}

.card-header-left[b-hkjp4vapbb] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.card-header-title[b-hkjp4vapbb] {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.card-header-subtitle[b-hkjp4vapbb] {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.card-header-right[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-input-wrapper[b-hkjp4vapbb] {
    position: relative;
    width: 250px;
}

.search-input-wrapper .search-icon[b-hkjp4vapbb] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted, #64748b);
    font-size: 1.25rem;
    pointer-events: none;
}

/* Color input row */
.color-input-row[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 40px;
}

.color-input-value[b-hkjp4vapbb] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
}

.active-checkbox-label[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.active-checkbox-label span[b-hkjp4vapbb] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary, #4f46e5);
}


/* ============================================================
   13. BADGES (legacy support)
   ============================================================ */
.badge[b-hkjp4vapbb] {
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-success[b-hkjp4vapbb] {
    background-color: #dcfce7;
    color: #15803d;
}

.badge-warning[b-hkjp4vapbb] {
    background-color: #fef3c7;
    color: #b45309;
}

.badge-danger[b-hkjp4vapbb] {
    background-color: #fee2e2;
    color: #b91c1c;
}



/* ============================================================
   14. FORGOT PASSWORD PAGE
   ============================================================ */
.auth-page-wrapper[b-hkjp4vapbb] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.background-mesh[b-hkjp4vapbb] {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 0.1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0.1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0.1) 0, transparent 50%);
    z-index: 0;
}

.auth-container[b-hkjp4vapbb] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.auth-card[b-hkjp4vapbb] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.brand-section[b-hkjp4vapbb] {
    padding: 40px 40px 20px;
    text-align: center;
}

.logo-circle[b-hkjp4vapbb] {
    width: 64px;
    height: 64px;
    background: #4F46E5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.brand-section h2[b-hkjp4vapbb] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.brand-section p[b-hkjp4vapbb] {
    color: #64748b;
    font-size: 0.875rem;
}

.auth-form-content[b-hkjp4vapbb] {
    padding: 0 40px 40px;
}

.form-title[b-hkjp4vapbb] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-subtitle[b-hkjp4vapbb] {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.auth-page-wrapper .form-group[b-hkjp4vapbb] {
    margin-bottom: 20px;
}

.auth-page-wrapper .form-group label[b-hkjp4vapbb] {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
}

.input-container[b-hkjp4vapbb] {
    position: relative;
}

.input-container i[b-hkjp4vapbb] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.auth-page-wrapper .form-control[b-hkjp4vapbb] {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.auth-page-wrapper .form-control:focus[b-hkjp4vapbb] {
    background: #fff;
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.auth-page-wrapper .btn-primary[b-hkjp4vapbb] {
    width: 100%;
    padding: 12px;
    background: #4F46E5;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    transition: all 0.2s;
    margin-top: 10px;
}

.auth-page-wrapper .btn-primary:hover:not(:disabled)[b-hkjp4vapbb] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.2);
}

.auth-page-wrapper .btn-primary:active[b-hkjp4vapbb] {
    transform: translateY(0);
}

.btn-link[b-hkjp4vapbb] {
    background: none;
    border: none;
    color: #4F46E5;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    cursor: pointer;
}

.alert-danger[b-hkjp4vapbb] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.auth-footer[b-hkjp4vapbb] {
    margin-top: 32px;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.auth-footer a[b-hkjp4vapbb] {
    color: #4F46E5;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover[b-hkjp4vapbb] {
    text-decoration: underline;
}

.reset-account-info[b-hkjp4vapbb] {
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #4F46E5;
}

.reset-account-info i[b-hkjp4vapbb] {
    font-size: 1.1rem;
}


/* ============================================================
   15. LOGIN PAGE
   ============================================================ */
.login-page-wrapper[b-hkjp4vapbb] {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--lc-secondary) 0%, #1e1b4b 50%, var(--lc-secondary) 100%);
}

.login-bg-pattern[b-hkjp4vapbb] {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 60% at 10% 20%, rgba(99, 102, 241, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 90% 80%, rgba(124, 58, 237, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    z-index: 0;
    animation: bgShift-b-hkjp4vapbb 12s ease-in-out infinite alternate;
}

@keyframes bgShift-b-hkjp4vapbb {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.7;
    }
}

.login-container[b-hkjp4vapbb] {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    min-height: 100vh;
}

.login-content[b-hkjp4vapbb] {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-card[b-hkjp4vapbb] {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 44px 40px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.5s ease-out;
}

.brand-logo[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.brand-logo-rect[b-hkjp4vapbb] {
    fill: #6366f1;
}

.brand-logo-path[b-hkjp4vapbb] {
    fill: white;
}

.brand-name[b-hkjp4vapbb] {
    font-size: 1.375rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.brand-subtitle[b-hkjp4vapbb] {
    font-size: 0.6rem;
    font-weight: 700;
    color: #818cf8;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.login-title[b-hkjp4vapbb] {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: -0.75px;
}

.login-subtitle[b-hkjp4vapbb] {
    color: rgba(148, 163, 184, 0.9);
    font-size: 0.825rem;
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.6;
}

.login-form-group[b-hkjp4vapbb] {
    margin-bottom: 14px;
}

.input-wrapper[b-hkjp4vapbb] {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon[b-hkjp4vapbb] {
    position: absolute;
    left: 14px;
    color: rgba(148, 163, 184, 0.7);
    pointer-events: none;
    display: flex;
    align-items: center;
    z-index: 1;
}

.login-input[b-hkjp4vapbb] {
    width: 100%;
    padding: 14px 16px 14px 46px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    font-size: 0.875rem;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.25s ease;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.login-input:focus[b-hkjp4vapbb] {
    background: rgba(255, 255, 255, 0.12);
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.login-input[b-hkjp4vapbb]::placeholder {
    color: rgba(148, 163, 184, 0.6);
    font-weight: 400;
}

.password-toggle[b-hkjp4vapbb] {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(148, 163, 184, 0.7);
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.password-toggle:hover[b-hkjp4vapbb] {
    color: #a5b4fc;
}

.status-message[b-hkjp4vapbb] {
    color: #fca5a5;
    font-size: 0.8rem;
    text-align: center;
    padding: 10px 14px;
    margin-bottom: 8px;
    font-weight: 500;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
}

.btn-login[b-hkjp4vapbb] {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 60%, #4338ca 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-login[b-hkjp4vapbb]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover:not(:disabled)[b-hkjp4vapbb]::before {
    left: 100%;
}

.btn-login:hover:not(:disabled)[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 60%, #4f46e5 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

.btn-login:active[b-hkjp4vapbb] {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
}

.btn-login:disabled[b-hkjp4vapbb] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.forgot-password[b-hkjp4vapbb] {
    text-align: right;
    margin: 14px 0 0;
}

.forgot-password a[b-hkjp4vapbb] {
    color: rgba(148, 163, 184, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password a:hover[b-hkjp4vapbb] {
    color: #a5b4fc;
}

.login-footer-text[b-hkjp4vapbb] {
    text-align: center;
    margin-top: 28px;
    font-size: 0.825rem;
    color: rgba(148, 163, 184, 0.7);
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.register-link[b-hkjp4vapbb] {
    color: #a5b4fc;
    font-weight: 700;
    text-decoration: none;
}

.register-link:hover[b-hkjp4vapbb] {
    color: #818cf8;
    text-decoration: underline;
}

.login-bottom-footer[b-hkjp4vapbb] {
    text-align: center;
    padding: 24px 0 8px;
}

.footer-link[b-hkjp4vapbb] {
    color: rgba(100, 116, 139, 0.7);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover[b-hkjp4vapbb] {
    color: #818cf8;
}

.footer-separator[b-hkjp4vapbb] {
    color: rgba(203, 213, 225, 0.3);
    margin: 0 12px;
    font-size: 0.5rem;
}

/* Branch color input */
.branch-color-input[b-hkjp4vapbb] {
    width: 42px;
    height: 42px;
    padding: 2px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.branch-color-input:hover[b-hkjp4vapbb] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Table status indicator dot (replaces color-dot) */
.table-status-indicator[b-hkjp4vapbb] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}


/* ============================================================
   16. REFERRAL MASTER PAGE
   ============================================================ */
.referral-header-details[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
}

.referral-subtitle[b-hkjp4vapbb] {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 600;
    margin: 0;
}

.search-wrapper[b-hkjp4vapbb] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-icon-inline[b-hkjp4vapbb] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.search-input-pill[b-hkjp4vapbb] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    color: #1e293b;
    outline: none;
    width: 200px;
    transition: all 0.2s;
}

.search-input-pill:focus[b-hkjp4vapbb] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.doctor-detail-cell[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.doctor-avatar[b-hkjp4vapbb] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e7ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.tm-dropdown-item[b-hkjp4vapbb] {
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-dropdown-item:hover[b-hkjp4vapbb] {
    background: #f1f5f9;
}

.tm-dropdown-name[b-hkjp4vapbb] {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
}

.tm-dropdown-shortname[b-hkjp4vapbb] {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.tm-input-accent[b-hkjp4vapbb] {
    border: 1.5px solid #cbd5e1 !important;
    background: white !important;
    font-weight: 500 !important;
}

.tm-input-accent:focus[b-hkjp4vapbb] {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

.doctor-info-text[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
}

/* ============================================================
   12. TEST MASTER PANEL ACTIONS
   ============================================================ */
.tm-panel-header[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-center: items-center;
    padding: 16px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.tm-panel-badge[b-hkjp4vapbb] {
    padding: 4px 12px;
    background: #eef2ff;
    color: #4f46e5;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.tm-panel-title[b-hkjp4vapbb] {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.tm-btn-outline[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-outline:hover[b-hkjp4vapbb] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.tm-btn-primary[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #4f46e5;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    transition: all 0.2s;
}

.tm-btn-primary:hover[b-hkjp4vapbb] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.tm-btn-danger[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff1f2;
    border: 1.5px solid #fecdd3;
    border-radius: 12px;
    color: #e11d48;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-danger:hover[b-hkjp4vapbb] {
    background: #ffe4e6;
    border-color: #fda4af;
    color: #be123c;
}

.doctor-name-text[b-hkjp4vapbb] {
    font-weight: 600;
    color: #1e293b;
}

.doctor-email-text[b-hkjp4vapbb] {
    font-size: 11px;
    color: #64748b;
}

.form-grid-prefix[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
}

.form-grid-doctor-details[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.form-grid-two-cols[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pay-type-buttons[b-hkjp4vapbb] {
    display: flex;
    gap: 8px;
}

.pay-btn[b-hkjp4vapbb] {
    flex: 1;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    color: #64748b;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.pay-btn.active[b-hkjp4vapbb] {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}

/* Directory Section & Table */
.directory-section[b-hkjp4vapbb] {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-top: 0;
}

.directory-header[b-hkjp4vapbb] {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.directory-header h3[b-hkjp4vapbb] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.table-wrapper[b-hkjp4vapbb] {
    overflow-x: auto;
    padding: 0;
}

.directory-table[b-hkjp4vapbb] {
    width: 100%;
    border-collapse: collapse;
}

.directory-table th[b-hkjp4vapbb] {
    background-color: #f8fafc;
    padding: 12px 24px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #f1f5f9;
}

.directory-table td[b-hkjp4vapbb] {
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #475569;
}

.directory-table tr:hover[b-hkjp4vapbb] {
    background-color: #f8fafc;
}

.code-link[b-hkjp4vapbb] {
    font-weight: 700;
    color: #4f46e5;
}

.btn-action[b-hkjp4vapbb] {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0 2px;
}

.btn-edit:hover:not(:disabled)[b-hkjp4vapbb] {
    border-color: #6366f1;
    color: #6366f1;
}

.btn-delete-action:hover:not(:disabled)[b-hkjp4vapbb] {
    border-color: #ef4444;
    color: #ef4444;
}

.btn-action:disabled[b-hkjp4vapbb] {
    opacity: 0.5;
    cursor: not-allowed;
}

.doctor-name[b-hkjp4vapbb] {
    font-weight: 700;
    color: #1e293b;
}

.doctor-email[b-hkjp4vapbb] {
    font-size: 12px;
    color: #64748b;
}

.pagination-footer[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-top: 1px solid #f1f5f9;
    background-color: #ffffff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.pagination-info[b-hkjp4vapbb] {
    font-size: 12.5px;
    color: #475569;
    font-weight: 500;
}

.pagination-info-highlight[b-hkjp4vapbb] {
    font-weight: 700;
    color: #1e293b;
}

.pagination-btns[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-btns .page-btn[b-hkjp4vapbb] {
    min-width: 28px !important;
    height: 28px !important;
    padding: 0 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #475569 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.pagination-btns .page-btn:hover:not(.active):not(:disabled)[b-hkjp4vapbb] {
    border-color: #cbd5e1 !important;
    background-color: #f8fafc !important;
    color: #4f46e5 !important;
}

.pagination-btns .page-btn:disabled[b-hkjp4vapbb] {
    cursor: not-allowed !important;
    opacity: 0.35 !important;
}

.pagination-btns .page-btn.active[b-hkjp4vapbb] {
    border-color: #4f46e5 !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    cursor: default !important;
}

.page-btn-icon[b-hkjp4vapbb] {
    width: 32px;
}

/* ============================================================
   17. BRANCH MASTER PAGE
   ============================================================ */
.branch-ops-tag[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.branch-ops-label[b-hkjp4vapbb] {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
}

.branch-ops-value[b-hkjp4vapbb] {
    color: var(--lc-secondary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.branch-ops-placeholder[b-hkjp4vapbb] {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
}

.tenant-pill[b-hkjp4vapbb] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.form-cols-branch-1[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.form-cols-branch-2[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.color-input-container[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.branch-color-input[b-hkjp4vapbb] {
    width: 3rem;
    height: 2.25rem;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 0.5rem;
    padding: 2px;
    background: white;
    cursor: pointer;
}

.branch-type-group[b-hkjp4vapbb] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    height: 40px;
    padding-left: 4px;
}

.branch-type-label[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
}

.table-status-indicator[b-hkjp4vapbb] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.btn-delete-solid[b-hkjp4vapbb] {
    background: #ef4444;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

.btn-save-solid[b-hkjp4vapbb] {
    background: var(--primary, #4f46e5);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

.btn-close-solid[b-hkjp4vapbb] {
    background: #64748b;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

/* ============================================================
   18. MODIFY TEST MASTER PAGE
   ============================================================ */
.test-master-actions[b-hkjp4vapbb] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.test-master-action-item[b-hkjp4vapbb] {
    color: var(--primary, #4f46e5);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.8125rem;
    text-transform: uppercase;
}

.test-master-grid-1[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.5fr 2fr 2fr 1fr;
    gap: 1rem;
}

.test-master-grid-2[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.test-master-grid-settings[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.test-dropdown-overlay[b-hkjp4vapbb] {
    position: absolute;
    background: #ffffff;
    border: 1px solid var(--primary, #4f46e5);
    border-top: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    top: 100%;
    left: 0;
    right: -150%;
    z-index: 100;
    max-height: 15rem;
    overflow-y: auto;
}

.test-dropdown-item[b-hkjp4vapbb] {
    display: flex;
    cursor: pointer;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.875rem;
}

.test-dropdown-name[b-hkjp4vapbb] {
    flex-grow: 1;
    padding: 0.5rem 0.75rem;
    border-right: 1px solid #e2e8f0;
    color: #1e293b;
}

.test-dropdown-group[b-hkjp4vapbb] {
    padding: 0.5rem 0.75rem;
    color: #64748b;
    width: 150px;
}

.param-list-card[b-hkjp4vapbb] {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 0.75rem;
    overflow: hidden;
    width: 320px;
}

.param-header[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.param-circle[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
}

.template-editor-header[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color, #e2e8f0);
    border-bottom: 0;
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 0.5rem 0.75rem;
    background-color: #f8fafc;
}

.template-editor-toolbar[b-hkjp4vapbb] {
    display: flex;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    color: #1e293b;
}

.template-editor-textarea[b-hkjp4vapbb] {
    border-color: var(--border-color, #e2e8f0);
    border-top: 0;
    border-radius: 0 0 0.5rem 0.5rem;
    resize: none;
    box-shadow: none;
}

.graph-toggle[b-hkjp4vapbb] {
    position: relative;
    display: inline-block;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    width: 28px;
    height: 16px;
    background-color: #f1f5f9;
}

.graph-toggle-thumb[b-hkjp4vapbb] {
    position: absolute;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    width: 12px;
    height: 12px;
    left: 1px;
    top: 1px;
}

.btn-update-orange[b-hkjp4vapbb] {
    background: transparent;
    border: 1px solid #f97316;
    color: #f97316;
    font-weight: 600;
    padding: 0.25rem 1.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    height: 32px;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-update-orange:hover[b-hkjp4vapbb] {
    background: #f97316;
    color: #ffffff;
}

/* ============================================================
   20. COUNTER MASTER PAGE
   ============================================================ */
.form-cols-counter-1[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 1fr;
    gap: 1.5rem;
}

.form-cols-counter-2[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.form-cols-counter-3[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 1.5rem;
}

.counter-color-preview[b-hkjp4vapbb] {
    width: 3rem;
    height: 2.25rem;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 0.5rem;
    padding: 2px;
    background: #ffffff;
    cursor: pointer;
}

.counter-dot[b-hkjp4vapbb] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

/* ============================================================
   21. RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1200px) {
    .custom-grid-general-1[b-hkjp4vapbb] {
        grid-template-columns: 80px 1fr 1.2fr 1fr;
    }

    .custom-grid-general-2[b-hkjp4vapbb] {
        grid-template-columns: 1fr 1fr;
    }

    .custom-grid-billing-1[b-hkjp4vapbb] {
        grid-template-columns: 1fr 1fr;
    }

    .custom-grid-comm-1[b-hkjp4vapbb],
    .custom-grid-comm-2[b-hkjp4vapbb],
    .custom-grid-comm-3[b-hkjp4vapbb] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .referral-page[b-hkjp4vapbb] {
        padding: 16px;
    }

    .referral-header[b-hkjp4vapbb] {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .header-actions[b-hkjp4vapbb] {
        width: 100%;
        flex-wrap: wrap;
    }

    .header-search-input[b-hkjp4vapbb] {
        width: 100% !important;
    }

    .form-row[b-hkjp4vapbb] {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .form-cols-4[b-hkjp4vapbb],
    .form-cols-4-area[b-hkjp4vapbb],
    .form-cols-3-city[b-hkjp4vapbb],
    .form-cols-branch-1[b-hkjp4vapbb],
    .form-cols-branch-2[b-hkjp4vapbb],
    .form-cols-branch-3[b-hkjp4vapbb],
    .form-cols-counter-1[b-hkjp4vapbb],
    .form-cols-counter-2[b-hkjp4vapbb],
    .form-cols-counter-3[b-hkjp4vapbb],
    .custom-grid-general-1[b-hkjp4vapbb],
    .custom-grid-general-2[b-hkjp4vapbb],
    .custom-grid-billing-1[b-hkjp4vapbb],
    .custom-grid-billing-2[b-hkjp4vapbb],
    .custom-grid-comm-1[b-hkjp4vapbb],
    .custom-grid-comm-2[b-hkjp4vapbb],
    .custom-grid-comm-3[b-hkjp4vapbb],
    .custom-grid-comm-4[b-hkjp4vapbb] {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   22. MASTER DATA COMMON STYLES (Area, City, State, Country)
   ============================================================ */
.form-cols-4-area[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.form-cols-3-city[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: repeat(2, 1fr) 2fr;
    gap: 1.5rem;
}

.master-search-dropdown[b-hkjp4vapbb] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 50;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.master-search-dropdown.show[b-hkjp4vapbb] {
    display: block;
}

.master-search-item[b-hkjp4vapbb] {
    width: 100%;
    padding: 10px 16px;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid var(--lc-slate-100);
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.master-search-item:hover[b-hkjp4vapbb] {
    background: var(--lc-slate-50);
}

.master-search-item:last-child[b-hkjp4vapbb] {
    border-bottom: none;
}

/* ============================================================
   23. MODIFY TEST MASTER - TABS CONTENT
   ============================================================ */
.tab-scroller[b-hkjp4vapbb] {
    margin-bottom: -1px;
}

.ref-table-wrapper[b-hkjp4vapbb] {
    height: 15rem;
    overflow: auto;
    border: 1px solid var(--lc-border);
}

.ref-table[b-hkjp4vapbb] {
    width: 100%;
    font-size: 0.75rem;
    border-collapse: collapse;
}

.ref-table th[b-hkjp4vapbb],
.ref-table td[b-hkjp4vapbb] {
    border: 1px solid var(--lc-border);
    padding: 0.25rem;
}

.ref-table .col-icon[b-hkjp4vapbb] {
    width: 2rem;
}

.ref-table .col-sex[b-hkjp4vapbb] {
    width: 25%;
}

.ref-table .star-big[b-hkjp4vapbb] {
    font-size: 1rem;
}

.lab-checkbox-sm[b-hkjp4vapbb] {
    width: 13px !important;
    height: 13px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    cursor: pointer !important;
}

.lab-radio-sm[b-hkjp4vapbb] {
    margin: 0 !important;
    cursor: pointer !important;
}

.lab-textarea-bordered[b-hkjp4vapbb] {
    border: 1px solid #a1a1aa !important;
    resize: none !important;
    border-radius: 0 !important;
    background: white;
}

.specimen-table-container[b-hkjp4vapbb] {
    border: 1px solid var(--lc-border);
    margin-bottom: 1.25rem;
    width: 100%;
    max-width: 500px;
}

.bg-specimen-active[b-hkjp4vapbb] {
    background: #0ea5e9 !important;
    color: white !important;
}

.btn-row-action[b-hkjp4vapbb] {
    width: 100%;
    background: #e2e8f0;
    height: 1.25rem;
    border: 1px solid var(--lc-slate-400);
    outline: none;
    cursor: pointer;
}

.text-update-orange[b-hkjp4vapbb] {
    color: #f97316 !important;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ============================================================
   24. MODIFY TEST MASTER - CONSOLE STYLES
   ============================================================ */
.custom-card[b-hkjp4vapbb] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    height: 100%;
}

.test-master-actions[b-hkjp4vapbb] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.test-master-action-item[b-hkjp4vapbb] {
    color: var(--lc-primary);
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.test-master-action-item:hover[b-hkjp4vapbb] {
    opacity: 0.8;
}

.avatar-pink[b-hkjp4vapbb] {
    background: #FFD1DC;
    color: #E83F6F;
}

.test-master-grid-1[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.5fr 2fr 2fr 1fr;
    gap: 1rem;
}

.test-master-grid-2[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.test-master-grid-settings[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.test-dropdown-overlay[b-hkjp4vapbb] {
    position: absolute;
    background: white;
    border: 1px solid var(--lc-primary);
    border-top: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    top: 100%;
    left: 0;
    right: -150%;
    z-index: 100;
    max-height: 15rem;
    overflow-y: auto;
}

.test-dropdown-item[b-hkjp4vapbb] {
    display: flex;
    cursor: pointer;
    border-bottom: 1px solid var(--lc-border);
    font-size: 13px;
    transition: background 0.2s;
}

.test-dropdown-item:hover[b-hkjp4vapbb] {
    background: var(--lc-slate-50);
}

.test-dropdown-name[b-hkjp4vapbb] {
    flex-grow: 1;
    padding: 8px 16px;
    border-right: 1px solid var(--lc-border);
    color: var(--lc-slate-900);
}

.test-dropdown-group[b-hkjp4vapbb] {
    padding: 8px 16px;
    color: var(--lc-slate-500);
    width: 150px;
}

.param-list-card[b-hkjp4vapbb] {
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 12px;
    overflow: hidden;
}

.param-header[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lc-border);
}

.param-circle[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    border: 1px solid var(--lc-border);
}

.template-editor-header[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--lc-border);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 8px 12px;
    background-color: #f8fafc;
}

.template-editor-toolbar[b-hkjp4vapbb] {
    display: flex;
    gap: 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    color: var(--lc-slate-900);
}

.template-editor-textarea[b-hkjp4vapbb] {
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: none !important;
    resize: none !important;
    height: 100px;
}

.graph-toggle[b-hkjp4vapbb] {
    position: relative;
    display: inline-block;
    border-radius: 9999px;
    border: 1px solid var(--lc-border);
    width: 28px;
    height: 16px;
    background-color: #f1f5f9;
}

.graph-toggle-thumb[b-hkjp4vapbb] {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    width: 12px;
    height: 12px;
    left: 1px;
    top: 1px;
}

.btn-update-orange[b-hkjp4vapbb] {
    background: transparent;
    font-weight: 600;
    border: 1px solid #f97316;
    color: #f97316 !important;
    padding: 4px 24px;
    border-radius: 4px;
    font-size: 12px;
    height: 32px;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-update-orange:hover[b-hkjp4vapbb] {
    background: #f97316;
    color: white !important;
}

.btn-tab[b-hkjp4vapbb] {
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    color: var(--lc-slate-400);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-tab:hover[b-hkjp4vapbb] {
    color: var(--lc-primary);
}

.btn-tab.active-tab[b-hkjp4vapbb] {
    color: var(--lc-primary);
    border-bottom-color: var(--lc-primary);
    background: rgba(79, 70, 229, 0.05);
}

.hover-primary:hover[b-hkjp4vapbb] {
    color: var(--lc-primary) !important;
}

.right-1[b-hkjp4vapbb] {
    right: 1px !important;
    left: auto !important;
}

.left-1[b-hkjp4vapbb] {
    left: 1px !important;
    right: auto !important;
}

.bg-specimen-active[b-hkjp4vapbb] {
    background-color: #f0fdf4 !important;
    color: #166534 !important;
    font-weight: 700;
}

.ref-table[b-hkjp4vapbb] {
    width: 100%;
    border-collapse: collapse;
}

.ref-table th[b-hkjp4vapbb] {
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--lc-slate-400);
    text-transform: uppercase;
    border-bottom: 1px solid var(--lc-border);
}

.ref-table td[b-hkjp4vapbb] {
    padding: 8px 12px;
    font-size: 13px;
    border-bottom: 1px solid var(--lc-slate-100);
}

.hover-slate-50:hover[b-hkjp4vapbb] {
    background-color: var(--lc-slate-50);
}

.col-icon[b-hkjp4vapbb] {
    width: 40px;
    text-align: center;
}

.col-sex[b-hkjp4vapbb] {
    width: 100px;
}

/* ============================================================
   24.1 DIRECT MAPPING - TEST MASTER REFACTOR
   ============================================================ */
.tm-page-container[b-hkjp4vapbb] {
    padding: 1.5rem;
    background: #f1f5f9;
    min-height: 100vh;
}

.tm-main-card[b-hkjp4vapbb] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.tm-header-bar[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--lc-border);
    padding: 1.5rem;
}

.tm-actions-row[b-hkjp4vapbb] {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.875rem;
}

.tm-action-label[b-hkjp4vapbb] {
    font-weight: 600;
    color: var(--lc-slate-500);
    text-transform: uppercase;
}

.tm-action-item[b-hkjp4vapbb] {
    color: var(--lc-primary);
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.tm-action-item:hover[b-hkjp4vapbb] {
    opacity: 0.8;
}

.tm-profile-section[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tm-user-info[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.tm-user-details[b-hkjp4vapbb] {
    text-align: right;
}

.tm-user-name[b-hkjp4vapbb] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lc-slate-900);
}

.tm-user-role[b-hkjp4vapbb] {
    font-size: 0.625rem;
    color: var(--lc-slate-500);
    text-transform: uppercase;
}

.tm-avatar-circle[b-hkjp4vapbb] {
    width: 2.5rem;
    height: 2.5rem;
    background: #FFD1DC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #E83F6F;
    font-weight: 600;
}

.tm-section-inner[b-hkjp4vapbb] {
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.tm-grid-layout-1[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.5fr 2fr 2fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tm-form-label-small[b-hkjp4vapbb] {
    font-size: 0.65rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tm-input-accent[b-hkjp4vapbb] {
    background-color: white !important;
    border: 1px solid var(--lc-primary) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    color: var(--lc-primary) !important;
    font-weight: 700;
    height: 48px !important;
}

.tm-input-muted[b-hkjp4vapbb] {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    height: 48px !important;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

textarea.tm-input-muted[b-hkjp4vapbb] {
    height: auto !important;
    min-height: 80px !important;
    padding: 12px 16px !important;
    line-height: 1.5;
}

.tm-grid-layout-2[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.tm-special-ops[b-hkjp4vapbb] {
    background: #fdfdfd;
    border: 1px dashed #e2e8f0;
    padding: 1rem;
    border-radius: 12px;
}

.tm-dropdown-box[b-hkjp4vapbb] {
    position: absolute;
    top: 100%;
    left: 0;
    right: -150%;
    background: white;
    border: 1px solid var(--lc-primary);
    border-top: none;
    z-index: 100;
    max-height: 15rem;
    overflow-y: auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.tm-dropdown-row[b-hkjp4vapbb] {
    display: flex;
    cursor: pointer;
    border-bottom: 1px solid var(--lc-border);
    font-size: 0.875rem;
}

.tm-dropdown-cell-primary[b-hkjp4vapbb] {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border-right: 1px solid var(--lc-border);
    color: var(--lc-slate-900);
}

.tm-dropdown-cell-secondary[b-hkjp4vapbb] {
    width: 150px;
    padding: 0.5rem 0.75rem;
    color: var(--lc-slate-500);
}

.tm-split-panel[b-hkjp4vapbb] {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.tm-side-panel[b-hkjp4vapbb] {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tm-content-panel[b-hkjp4vapbb] {
    flex: 1;
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 1rem;
    padding: 1.5rem;
}

.tm-settings-hdr[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tm-footer-bar[b-hkjp4vapbb] {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--lc-border);
}

.tm-btn-row[b-hkjp4vapbb] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.tm-btn-row .lc-btn[b-hkjp4vapbb] {
    height: 44px !important;
    padding: 0 24px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.tm-grid-layout-2[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.tm-special-ops[b-hkjp4vapbb] {
    background: #fdfdfd;
    border: 1px dashed #e2e8f0;
    padding: 1.25rem;
    border-radius: 12px;
}

.tm-param-card[b-hkjp4vapbb] {
    background: white;
    border: 1px solid var(--lc-border);
    border-radius: 12px;
    overflow: hidden;
}

.tm-param-header[b-hkjp4vapbb] {
    background: #f8fafc;
    border-bottom: 1px solid var(--lc-border);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-param-list[b-hkjp4vapbb] {
    padding: 0.5rem 0;
}

.tm-param-item[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.tm-param-check[b-hkjp4vapbb] {
    width: 1.25rem;
    height: 1.25rem;
    background: var(--lc-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.tm-param-circle[b-hkjp4vapbb] {
    width: 1.25rem;
    height: 1.25rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
}

.tm-tab-btn[b-hkjp4vapbb] {
    background: transparent;
    border: none;
    padding: 0.75rem 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

.tm-tab-btn:hover[b-hkjp4vapbb] {
    color: var(--lc-primary);
}

.tm-tab-btn.active-tab[b-hkjp4vapbb] {
    color: var(--lc-primary);
    border-bottom-color: var(--lc-primary);
}

/* LC Section Dividers */
.lc-section-divider[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lc-divider-label[b-hkjp4vapbb] {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.lc-divider-line[b-hkjp4vapbb] {
    height: 1px;
    background: linear-gradient(to right, #e2e8f0, transparent);
    flex-grow: 1;
}

/* Input with Prefix Icons */
.input-with-icon[b-hkjp4vapbb] {
    position: relative;
    display: flex;
    align-items: center;
}

.prefix-icon[b-hkjp4vapbb] {
    position: absolute;
    left: 12px;
    font-size: 18px !important;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s;
}

.lab-input:focus+.prefix-icon[b-hkjp4vapbb] {
    color: var(--lc-primary);
}

.pl-36[b-hkjp4vapbb] {
    padding-left: 36px !important;
}

/* Select Wrapper Customization */
.lc-select-wrapper[b-hkjp4vapbb] {
    position: relative;
}

.lc-select-wrapper[b-hkjp4vapbb]::after {
    content: 'expand_more';
    font-family: 'Material Symbols Rounded';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 18px;
}

.lc-select-wrapper .lab-input[b-hkjp4vapbb] {
    appearance: none;
    background-image: none !important;
    padding-right: 36px;
}

.h-40[b-hkjp4vapbb] {
    height: 40px !important;
}

/* Container Master Image Specific Styles */
.image-preview-mt[b-hkjp4vapbb] {
    margin-top: 8px;
    border-radius: 8px;
    overflow: hidden;
    width: 64px;
    height: 64px;
    border: 1px solid var(--lc-border);
}

.container-img-thumb[b-hkjp4vapbb] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container-img-small[b-hkjp4vapbb] {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--lc-border);
    background-color: white;
}

/* ============================================================
   BILLING PAGE STYLES
   ============================================================ */
.billing-page-wrapper[b-hkjp4vapbb] {
    background-color: #f1f5f9;
    min-height: calc(100vh - 60px);
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    position: relative;
    padding-bottom: 80px;
    /* Space for bottom bar */
}

/* TOP HEADER */
.bl-header-bar[b-hkjp4vapbb] {
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 6px 20px;
    /* Reduced vertical padding (header width) */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    gap: 20px;
    max-width: 100%;
}

.bl-header-item[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bl-label[b-hkjp4vapbb] {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bl-value[b-hkjp4vapbb] {
    font-size: 12px;
    color: #1e293b;
}

.bl-header-divider[b-hkjp4vapbb] {
    width: 1px;
    height: 20px;
    background: #e2e8f0;
}

.bl-header-spacer[b-hkjp4vapbb] {
    flex: 1;
}

.bl-system-status[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #059669;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.bl-status-dot[b-hkjp4vapbb] {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 4px #10b981;
}

/* MAIN GRID */
.bl-main-grid[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 360px 1fr 280px;
    gap: 16px;
    padding: 16px 0;
    align-items: start;
}

/* CARDS COMMON */
.bl-card[b-hkjp4vapbb] {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
}

.bl-card-title[b-hkjp4vapbb] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.bl-card-title .material-symbols-outlined[b-hkjp4vapbb] {
    font-size: 16px;
}

.text-blue[b-hkjp4vapbb] {
    color: #4f46e5 !important;
}

.text-gray[b-hkjp4vapbb] {
    color: #64748b !important;
}

.text-green[b-hkjp4vapbb] {
    color: #059669 !important;
}

.text-red[b-hkjp4vapbb] {
    color: #ef4444 !important;
}

.text-white[b-hkjp4vapbb] {
    color: #ffffff !important;
}

.fw-600[b-hkjp4vapbb] {
    font-weight: 600 !important;
}

.fw-700[b-hkjp4vapbb] {
    font-weight: 700 !important;
}

.mt-12[b-hkjp4vapbb] {
    margin-top: 10px !important;
}

.mt-16[b-hkjp4vapbb] {
    margin-top: 14px !important;
}

.mb-16[b-hkjp4vapbb] {
    margin-bottom: 14px !important;
}

.mb-20[b-hkjp4vapbb] {
    margin-bottom: 16px !important;
}

.ml-16[b-hkjp4vapbb] {
    margin-left: 12px !important;
}

.ml-24[b-hkjp4vapbb] {
    margin-left: 18px !important;
}

.ml-32[b-hkjp4vapbb] {
    margin-left: 24px !important;
}

.ml-auto[b-hkjp4vapbb] {
    margin-left: auto !important;
}

.m-0[b-hkjp4vapbb] {
    margin: 0 !important;
}

.py-4[b-hkjp4vapbb] {
    padding-top: 12px;
    padding-bottom: 12px;
}

.flex-1[b-hkjp4vapbb] {
    flex: 1;
}

.flex-2[b-hkjp4vapbb] {
    flex: 2;
}

.text-center[b-hkjp4vapbb] {
    text-align: center;
}

.text-right[b-hkjp4vapbb] {
    text-align: right;
}

.text-sm[b-hkjp4vapbb] {
    font-size: 11px !important;
}

.no-underline[b-hkjp4vapbb] {
    text-decoration: none;
}

/* FORMS & INPUTS */
.bl-form-group[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bl-input-label[b-hkjp4vapbb] {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bl-input[b-hkjp4vapbb] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 11px;
    color: #1e293b;
    font-weight: 500;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
}

.bl-input:focus[b-hkjp4vapbb] {
    border-color: #4f46e5;
    background: #ffffff;
}

.bl-input-with-icon[b-hkjp4vapbb] {
    position: relative;
    display: flex;
    align-items: center;
}

.bl-input-with-icon .search-icon[b-hkjp4vapbb] {
    position: absolute;
    left: 10px;
    font-size: 16px;
    color: #94a3b8;
    pointer-events: none;
}

.bl-input-with-icon .bl-input[b-hkjp4vapbb] {
    padding-left: 30px;
}

.bl-select-wrapper[b-hkjp4vapbb] {
    position: relative;
    width: 100%;
}

.bl-select-wrapper[b-hkjp4vapbb]::after {
    content: 'expand_more';
    font-family: 'Material Symbols Outlined';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 16px;
}

.bl-select[b-hkjp4vapbb] {
    appearance: none;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 30px 8px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #1e293b;
    width: 100%;
    outline: none;
}

.bl-select:focus[b-hkjp4vapbb] {
    border-color: #4f46e5;
    background: #ffffff;
}

.bl-select.small[b-hkjp4vapbb] {
    padding: 4px 30px 4px 10px;
}

/* PATIENT CARD SPECIFIC */
.bl-patient-badges[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.bl-segmented-control[b-hkjp4vapbb] {
    display: inline-flex;
    background: #e2e8f0;
    border-radius: 6px;
    padding: 2px;
    gap: 2px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.bl-segment-btn[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 2px 8px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    height: 20px;
    line-height: 1;
}

.bl-segment-btn:hover[b-hkjp4vapbb] {
    color: #0f172a;
}

.bl-segment-btn.active[b-hkjp4vapbb] {
    background: #ffffff;
    color: #4f46e5;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.bl-segment-btn .material-symbols-outlined[b-hkjp4vapbb] {
    font-size: 12px !important;
}

.bl-badge-paid[b-hkjp4vapbb] {
    background: #10b981;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.bl-badge-uid[b-hkjp4vapbb] {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.bl-gender-age-row[b-hkjp4vapbb] {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.bl-gender-age-row>div:first-child[b-hkjp4vapbb] {
    flex: 1 1 30% !important;
}

.bl-gender-age-row>div:last-child[b-hkjp4vapbb] {
    flex: 2 1 70% !important;
}

.bl-gender-age-row .bl-select[b-hkjp4vapbb] {
    height: 36px;
    box-sizing: border-box;
}

.bl-age-group[b-hkjp4vapbb] {
    display: flex;
    gap: 8px;
}

.bl-age-box[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    height: 36px;
    padding: 0 8px;
    flex: 1;
    transition: all 0.2s;
}

.bl-age-box:focus-within[b-hkjp4vapbb] {
    border-color: #4f46e5;
    background: #ffffff;
}

.bl-age-input[b-hkjp4vapbb] {
    border: none;
    background: transparent;
    width: 24px;
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    outline: none;
    height: 100%;
    padding: 0;
}

.bl-age-lbl[b-hkjp4vapbb] {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 2px;
}

.bl-patient-info-row[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bl-id-type-combo[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.bl-id-type-header[b-hkjp4vapbb] {
    background: #4f46e5;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
    width: 60px;
    height: 28px;
    box-sizing: border-box;
}

.bl-id-type-header .bl-id-type-select[b-hkjp4vapbb] {
    font-size: 10px;
    padding: 0 4px;
}

.bl-id-type-header .material-symbols-outlined[b-hkjp4vapbb] {
    font-size: 14px !important;
    color: #ffffff;
}

.bl-id-label[b-hkjp4vapbb] {
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.bl-id-input[b-hkjp4vapbb] {
    border: none;
    background: #f8fafc;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #1e293b;
    outline: none;
}

.bl-more-info[b-hkjp4vapbb] {
    font-size: 11px;
    color: #4f46e5;
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 2px;
}

/* REFERRAL CARD */
.bl-grid-2[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bl-grid-3[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.bl-hospital-combo[b-hkjp4vapbb] {
    display: flex;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    height: 36px;
    box-sizing: border-box;
}

.bl-hospital-sel[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    border-right: 1px solid #e2e8f0;
    cursor: pointer;
    background: #f8fafc;
}

.bl-hospital-sel .material-symbols-outlined[b-hkjp4vapbb] {
    font-size: 14px;
}

.bl-hospital-input[b-hkjp4vapbb] {
    border: none;
    background: transparent;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 500;
    color: #1e293b;
    width: 100%;
    outline: none;
    height: 100%;
}

/* TESTS SELECTION CARD */
.bl-tests-header[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed #e2e8f0;
    padding-bottom: 12px;
}

.bl-tests-stats[b-hkjp4vapbb] {
    display: flex;
    gap: 20px;
}

.stat-item[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-lbl[b-hkjp4vapbb] {
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}

.stat-val[b-hkjp4vapbb] {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
}

.bl-search-test-row[b-hkjp4vapbb] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bl-input-with-icon.full-width[b-hkjp4vapbb] {
    flex: 1;
}

.bl-btn-add[b-hkjp4vapbb] {
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.bl-sample-grid-header[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 4px;
    border-bottom: 1px solid #e2e8f0;
}

.sg-title[b-hkjp4vapbb] {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
}

.sg-action[b-hkjp4vapbb] {
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

/* TABLE */
.bl-table-container[b-hkjp4vapbb] {
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 6px 6px;
    overflow-y: auto;
    min-height: 280px;
    background: #ffffff;
}

.bl-table[b-hkjp4vapbb] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.bl-table thead[b-hkjp4vapbb] {
    background: #4f46e5;
    color: #ffffff;
}

.bl-table th[b-hkjp4vapbb] {
    padding: 8px 10px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.5px;
}

.bl-table th:last-child[b-hkjp4vapbb],
.bl-table td:last-child[b-hkjp4vapbb] {
    text-align: center;
}

.bl-table td[b-hkjp4vapbb] {
    padding: 8px 10px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.test-name[b-hkjp4vapbb] {
    font-weight: 600;
    color: #1e293b;
}

.comm-text[b-hkjp4vapbb] {
    font-weight: 600;
}

.hover-delete[b-hkjp4vapbb] {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.hover-delete:hover[b-hkjp4vapbb] {
    opacity: 1;
}

.bl-remarks-row[b-hkjp4vapbb] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bl-report-date[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0 10px;
    height: 36px;
}

.bl-report-date .lbl[b-hkjp4vapbb] {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    margin-right: 6px;
}

.bl-report-date .small-input[b-hkjp4vapbb] {
    border: none;
    background: transparent;
    width: 70px;
    font-size: 11px;
    font-weight: 600;
    padding: 0;
    outline: none;
}

.bl-report-date .icon[b-hkjp4vapbb] {
    color: #94a3b8;
    font-size: 16px;
    margin-left: 6px;
}

/* RIGHT COLUMN: Collection */
.c-header-row[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bl-toggle[b-hkjp4vapbb] {
    position: relative;
    width: 36px;
    height: 20px;
}

.bl-toggle input[b-hkjp4vapbb] {
    opacity: 0;
    width: 0;
    height: 0;
}

.bl-toggle label[b-hkjp4vapbb] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.bl-toggle label[b-hkjp4vapbb]:before {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bl-toggle input:checked+label[b-hkjp4vapbb] {
    background: #4f46e5;
}

.bl-toggle input:checked+label[b-hkjp4vapbb]:before {
    transform: translateX(16px);
}

.bl-area-row[b-hkjp4vapbb] {
    display: flex;
    gap: 6px;
}

/* FINANCIAL SUMMARY */
.fin-title[b-hkjp4vapbb] {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.fin-row[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #1e293b;
}

.fin-concession[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.conc-header[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
}

.conc-labels span[b-hkjp4vapbb] {
    display: inline-block;
    width: 50px;
    text-align: center;
    background: #f1f5f9;
    border-radius: 4px;
    padding: 2px 0;
    margin-left: 6px;
}

.conc-inputs[b-hkjp4vapbb] {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.conc-inputs .bl-input[b-hkjp4vapbb] {
    width: 50px;
}

.fin-discount[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
}

.fin-net[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
}

.net-val[b-hkjp4vapbb] {
    font-size: 16px;
    color: #4f46e5;
}

/* PAYMENT INTERFACE */
.payment-card[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    position: relative;
    overflow: hidden;
    border: none;
}

.pay-bg-pattern[b-hkjp4vapbb] {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 10.01%);
    background-size: 16px 16px;
    opacity: 0.5;
    pointer-events: none;
}

.pay-title-row[b-hkjp4vapbb] {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #c7d2fe;
    position: relative;
    z-index: 1;
}

.pay-split-row[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    font-weight: 600;
    color: #e0e7ff;
}

.pay-add-btn[b-hkjp4vapbb] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pay-mode-row[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 10px;
}

.pay-mode-lbl[b-hkjp4vapbb] {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
}

.pay-input-wrap[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pay-input[b-hkjp4vapbb] {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    width: 80px;
    text-align: right;
    outline: none;
}

.pay-check[b-hkjp4vapbb] {
    font-size: 16px;
}

.pay-due-row[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 20px;
}

.due-title[b-hkjp4vapbb] {
    font-size: 11px;
    font-weight: 700;
    color: #c7d2fe;
}

.due-sub[b-hkjp4vapbb] {
    font-size: 9px;
    color: #818cf8;
}

.due-val[b-hkjp4vapbb] {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

/* BOTTOM BAR */
.bl-bottom-bar[b-hkjp4vapbb] {
    position: fixed;
    bottom: 0;
    left: 220px;
    /* offset by sidebar */
    right: 0;
    background: #ffffff;
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.03);
    z-index: 100;
}

.nav-collapsed~main .bl-bottom-bar[b-hkjp4vapbb] {
    left: 68px;
    /* if sidebar matches this class structure */
}

.bbar-stats[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
}

.bbar-stat-item[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bbar-lbl[b-hkjp4vapbb] {
    font-size: 8px;
    font-weight: 700;
    color: #94a3b8;
    line-height: 1.2;
}

.bbar-val[b-hkjp4vapbb] {
    font-size: 16px;
    font-weight: 800;
}

.text-black[b-hkjp4vapbb] {
    color: var(--lc-secondary) !important;
}

.bbar-printer[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 180px;
}

.bbar-printer label[b-hkjp4vapbb] {
    font-size: 8px;
    font-weight: 700;
    color: #94a3b8;
}

.bbar-links[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
}

.bbar-actions[b-hkjp4vapbb] {
    display: flex;
    gap: 8px;
}

/* ── LabCare Design System: Action Buttons ── */
.bl-btn[b-hkjp4vapbb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 18px;
    height: 36px;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    user-select: none;
    -webkit-font-smoothing: antialiased;
}

.bl-btn:active[b-hkjp4vapbb] {
    transform: scale(0.96);
}

.bl-btn:disabled[b-hkjp4vapbb],
.bl-btn[disabled][b-hkjp4vapbb] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

/* SAVE — indigo primary */
.bl-btn-save[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.bl-btn-save:hover:not(:disabled)[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.45);
    transform: translateY(-1px);
}

/* CLEAR — rose danger */
.bl-btn-clear[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.bl-btn-clear:hover:not(:disabled)[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.40);
    transform: translateY(-1px);
}

/* PRINT — slate neutral */
.bl-btn-print[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(71, 85, 105, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.bl-btn-print:hover:not(:disabled)[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    box-shadow: 0 4px 14px rgba(71, 85, 105, 0.35);
    transform: translateY(-1px);
}

/* ============================================================
   X. RATE PAGE
   ============================================================ */
.rate-container[b-hkjp4vapbb] {
    background-color: #f8fafc;
    min-height: 100vh;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rate-header[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
}

.rate-header-title[b-hkjp4vapbb] {
    color: #1e293b;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rate-header-radios[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
}

.rate-radio-label[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 11px;
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rate-radio-input[b-hkjp4vapbb] {
    width: 12px;
    height: 12px;
    accent-color: #4f46e5;
}

.rate-main-card[b-hkjp4vapbb] {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
}

.rate-form-grid[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.rate-form-col[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rate-form-group[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
}

.rate-form-group-gap[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rate-label[b-hkjp4vapbb] {
    width: 8rem;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rate-label-small[b-hkjp4vapbb] {
    width: 6rem;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rate-input[b-hkjp4vapbb] {
    flex: 1;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    color: #1e293b;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
}

.rate-input:focus[b-hkjp4vapbb] {
    background: white;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.rate-input-small[b-hkjp4vapbb] {
    width: 4rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    color: #1e293b;
    font-weight: 600;
    outline: none;
    text-align: right;
    transition: all 0.2s ease;
}

.rate-input-small:focus[b-hkjp4vapbb] {
    background: white;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.rate-radio-group[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.rate-radio-item[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 11px;
    color: #475569;
    font-weight: 600;
}

.rate-radio-item-input[b-hkjp4vapbb] {
    width: 12px;
    height: 12px;
    accent-color: #4f46e5;
}

.rate-btn-default[b-hkjp4vapbb] {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 16px;
    background: #f8fafc;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-btn-default:hover[b-hkjp4vapbb] {
    background: #e2e8f0;
    color: #1e293b;
}

.rate-btn-set[b-hkjp4vapbb] {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 16px;
    background: #ffffff;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-btn-set:hover[b-hkjp4vapbb] {
    background: #f8fafc;
}

.rate-btn-set-blue[b-hkjp4vapbb] {
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    background: #eff6ff;
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-btn-set-blue:hover[b-hkjp4vapbb] {
    background: #dbeafe;
}

.rate-right-action-group[b-hkjp4vapbb] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 8px;
}

.rate-nested-group[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.rate-btn-big[b-hkjp4vapbb] {
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.rate-btn-big:hover[b-hkjp4vapbb] {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.4);
}

.rate-grid-container[b-hkjp4vapbb] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rate-grid-scroll[b-hkjp4vapbb] {
    overflow: auto;
    max-height: calc(100vh - 340px);
}

.rate-grid-scroll[b-hkjp4vapbb]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.rate-grid-scroll[b-hkjp4vapbb]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.rate-grid-scroll[b-hkjp4vapbb]::-webkit-scrollbar-track {
    background: transparent;
}

.rate-table[b-hkjp4vapbb] {
    width: 100%;
    text-align: left;
    border-collapse: separate;
    border-spacing: 0;
    min-width: max-content;
}

.rate-table thead[b-hkjp4vapbb] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f8fafc;
}

.rate-table th[b-hkjp4vapbb] {
    padding: 10px 12px;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px dashed #e2e8f0;
}

.rate-table th:last-child[b-hkjp4vapbb] {
    border-right: none;
}

.rate-table th.col-w-10[b-hkjp4vapbb] {
    width: 3rem;
}

.rate-table th.col-w-12[b-hkjp4vapbb] {
    width: 4rem;
}

.rate-table th.col-w-16[b-hkjp4vapbb] {
    width: 4.5rem;
}

.rate-table th.col-w-24[b-hkjp4vapbb] {
    width: 6rem;
}

.rate-table th.col-w-32[b-hkjp4vapbb] {
    width: 8rem;
}

.rate-table th.text-center[b-hkjp4vapbb] {
    text-align: center;
}

.rate-table th.text-right[b-hkjp4vapbb] {
    text-align: right;
}

.rate-table tbody tr[b-hkjp4vapbb] {
    transition: background-color 0.2s ease;
}

.rate-table td[b-hkjp4vapbb] {
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
    border-right: 1px dashed #f1f5f9;
    color: #1e293b;
}

.rate-table td:last-child[b-hkjp4vapbb] {
    border-right: none;
}

.rate-table tbody tr:hover:not(.rate-row-active)[b-hkjp4vapbb] {
    background-color: #f8fafc;
}

.rate-table tbody tr.rate-row-active td[b-hkjp4vapbb] {
    background: #eff6ff;
    color: #1e293b;
    border-bottom: 1px solid #bfdbfe;
    border-right: 1px dashed #bfdbfe;
}

.rate-table tbody tr.rate-row-active td:last-child[b-hkjp4vapbb] {
    border-right: none;
}

.rate-table td.text-center[b-hkjp4vapbb] {
    text-align: center;
}

.rate-table td.text-right[b-hkjp4vapbb] {
    text-align: right;
}

.rate-table td.col-sno[b-hkjp4vapbb] {
    font-weight: 700;
    color: #64748b;
    position: relative;
}

.rate-row-pointer[b-hkjp4vapbb] {
    position: absolute;
    left: 4px;
    color: #4f46e5;
    font-size: 10px;
}

.rate-table td.col-group-name[b-hkjp4vapbb],
.rate-table td.col-margin-type[b-hkjp4vapbb] {
    color: #64748b;
    font-weight: 500;
}

.rate-table td.col-patient-rate[b-hkjp4vapbb],
.rate-table td.col-special-amount[b-hkjp4vapbb] {
    color: #4f46e5;
    font-weight: 700;
}

.rate-footer-actions[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 8px 0;
}

.rate-btn-footer[b-hkjp4vapbb] {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 16px;
    background: white;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.rate-btn-footer:hover[b-hkjp4vapbb] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.rate-btn-footer.wide[b-hkjp4vapbb] {
    padding-left: 24px;
    padding-right: 24px;
}

.rate-btn-footer.primary[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.rate-btn-footer.primary:hover[b-hkjp4vapbb] {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.4);
    color: white;
}

.rate-btn-footer.danger[b-hkjp4vapbb] {
    background: #ef4444;
    color: white;
    border: none;
}

.rate-btn-footer.danger:hover[b-hkjp4vapbb] {
    background: #dc2626;
    color: white;
}

.cm-container[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    padding: 1rem 0;
}

.cm-col-1[b-hkjp4vapbb] {
    grid-column: span 1;
}

.cm-col-2[b-hkjp4vapbb] {
    grid-column: span 2;
}

.cm-col-3[b-hkjp4vapbb] {
    grid-column: span 3;
}

.cm-col-4[b-hkjp4vapbb] {
    grid-column: span 4;
}

.cm-col-5[b-hkjp4vapbb] {
    grid-column: span 5;
}

.cm-col-6[b-hkjp4vapbb] {
    grid-column: span 6;
}

.cm-col-7[b-hkjp4vapbb] {
    grid-column: span 7;
}

.cm-col-8[b-hkjp4vapbb] {
    grid-column: span 8;
}

.cm-col-9[b-hkjp4vapbb] {
    grid-column: span 9;
}

.cm-col-10[b-hkjp4vapbb] {
    grid-column: span 10;
}

.cm-col-11[b-hkjp4vapbb] {
    grid-column: span 11;
}

.cm-col-12[b-hkjp4vapbb] {
    grid-column: span 12;
}

.cm-field[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cm-field-inline[b-hkjp4vapbb] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    width: 100%;
}

.cm-label-top[b-hkjp4vapbb] {
    font-size: 0.75rem;
    /* 12px for smaller labels like screenshot */
    font-weight: 600;
    color: #7c8fa3;
    /* slate-500 - matches screenshot exactly */
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.cm-input[b-hkjp4vapbb] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: #334155;
    width: 100%;
    outline: none;
    transition: all 0.2s ease;
    height: 2.5rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.cm-input[b-hkjp4vapbb]::placeholder {
    color: #cbd5e1;
}

.cm-input:focus[b-hkjp4vapbb] {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 0 0 2px rgba(200, 213, 225, 0.15);
}

/* Date input styling */
input[type="date"].cm-input[b-hkjp4vapbb] {
    padding: 0.5rem 0.75rem;
}

input[type="date"].cm-input[b-hkjp4vapbb]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    filter: invert(0.2);
}

select.cm-input[b-hkjp4vapbb] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23cbd5e1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

.cm-flex-1[b-hkjp4vapbb] {
    flex: 1;
}

/* Width utilities for different field sizes */
.cm-w-prefix[b-hkjp4vapbb] {
    flex: 0 0 auto;
    width: 5.5rem;
}

.cm-w-initial[b-hkjp4vapbb] {
    flex: 0 0 auto;
    width: 4.5rem;
}

.cm-w-age[b-hkjp4vapbb] {
    flex: 0 0 auto;
    width: 2.75rem;
    /* 44px */
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
    text-align: center;
}

.cm-w-custcode[b-hkjp4vapbb] {
    flex: 0 0 auto;
    width: 100px;
}

.cm-w-cardno[b-hkjp4vapbb] {
    flex: 0 0 auto;
    width: 120px;
}

.cm-w-dob[b-hkjp4vapbb] {
    flex: 0 0 auto;
    width: 100px;
}

.cm-w-gender[b-hkjp4vapbb] {
    flex: 1 1 auto;
    min-width: 120px;
}

.cm-field-small[b-hkjp4vapbb] {
    flex: 0 0 auto;
    width: 110px;
}

.cm-field-medium[b-hkjp4vapbb] {
    flex: 1 1 auto;
    min-width: 150px;
    max-width: 200px;
}

.cm-field-large[b-hkjp4vapbb] {
    flex: 2 1 auto;
    min-width: 250px;
}

.cm-file-upload[b-hkjp4vapbb] {
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    padding: 1.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    background: #fafbfc;
    transition: all 0.2s ease;
}

.cm-file-upload:hover[b-hkjp4vapbb] {
    background: #f3f4f6;
    border-color: #cbd5e1;
    color: #6b7280;
}

.cm-checkbox-label[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.cm-checkbox[b-hkjp4vapbb] {
    width: 1.125rem;
    height: 1.125rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 0.375rem;
    cursor: pointer;
    accent-color: #4f46e5;
}

/* ============================================================
   9. SEARCH & FILTER INPUTS
   ============================================================ */
.search-input[b-hkjp4vapbb] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    color: #1e293b;
    outline: none;
    width: 220px;
    transition: all 0.2s;
}

.search-input:focus[b-hkjp4vapbb] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* ============================================================
   10. ALERT MESSAGES
   ============================================================ */
.alert-message[b-hkjp4vapbb] {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
}

/* ============================================================
   11. CUSTOMER MASTER FORM - WIDTH UTILITIES
   ============================================================ */
.cm-w-custcode[b-hkjp4vapbb] {
    width: 120px !important;
}

.cm-w-cardno[b-hkjp4vapbb] {
    width: 200px !important;
}

.cm-w-dob[b-hkjp4vapbb] {
    width: 100%;
}

.cm-w-gender[b-hkjp4vapbb] {
    width: 100%;
}

/* ============================================================
   12. DIRECTORY SECTION
   ============================================================ */
.directory-section-form[b-hkjp4vapbb] {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

/* ============================================================
   13. TABLE HEADERS
   ============================================================ */
.th-custcode[b-hkjp4vapbb] {
    width: 64px;
}

.th-actions[b-hkjp4vapbb] {
    width: 128px;
}

/* ============================================================
   14. MODAL FOOTER BUTTON ICONS
   ============================================================ */
.btn-icon-save[b-hkjp4vapbb] {
    margin-right: 8px;
}

/* ============================================================
   15. CHECKBOX ROW SPACING
   ============================================================ */
.cm-checkbox-row[b-hkjp4vapbb] {
    margin-top: 0.5rem;
}

/* ============================================================
   16. UNIT MASTER STYLES
   ============================================================ */
.um-grid-row[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.um-grid-cols-2[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.um-grid-cols-3[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

/* ============================================================
   25. IMAGE UPLOAD STYLES (CONTAINER MASTER)
   ============================================================ */
.image-upload-section[b-hkjp4vapbb] {
    grid-column: 1 / -1;
}

.image-upload-empty[b-hkjp4vapbb] {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 48px 24px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.image-upload-icon[b-hkjp4vapbb] {
    width: 40px;
    height: 40px;
    color: #94a3b8;
    position: relative;
    z-index: 1;
}

.image-upload-text[b-hkjp4vapbb] {
    text-align: center;
    position: relative;
    z-index: 1;
}

.image-upload-title[b-hkjp4vapbb] {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 0;
}

.image-upload-subtitle[b-hkjp4vapbb] {
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 0;
    display: none;
}

.image-upload-hint[b-hkjp4vapbb] {
    font-size: 12px;
    color: #cbd5e1;
    display: none;
}

.image-upload-input[b-hkjp4vapbb] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.image-upload-success[b-hkjp4vapbb] {
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 24px;
    background: #f0fdf4;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}

.image-upload-status[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.image-upload-status-header[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.image-upload-status-icon[b-hkjp4vapbb] {
    width: 18px;
    height: 18px;
    color: #10b981;
}

.image-upload-status-text[b-hkjp4vapbb] {
    font-size: 13px;
    font-weight: 600;
    color: #10b981;
}

.image-upload-status-subtext[b-hkjp4vapbb] {
    font-size: 11px;
    color: #059669;
}

.image-upload-preview[b-hkjp4vapbb] {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #dcfce7;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.image-upload-actions[b-hkjp4vapbb] {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}

.btn-remove-image[b-hkjp4vapbb] {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-remove-image:hover[b-hkjp4vapbb] {
    background-color: #fecaca;
    color: #991b1b;
}

.btn-remove-image-icon[b-hkjp4vapbb] {
    width: 12px;
    height: 12px;
}

.sym-container[b-hkjp4vapbb] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.sym-btn[b-hkjp4vapbb] {
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sym-btn:hover[b-hkjp4vapbb] {
    background-color: #6366f1;
    color: white;
    border-color: #6366f1;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.2);
}

.sym-btn:active[b-hkjp4vapbb] {
    transform: translateY(0);
}

/* Unit Master specific styles extracted from inline css */
.um-label-row[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.um-label[b-hkjp4vapbb] {
    margin-bottom: 0;
}

.um-error-text[b-hkjp4vapbb] {
    font-size: 11px;
    font-weight: 500;
}

.symbol-helper-section[b-hkjp4vapbb] {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.symbol-helper-header[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.symbol-title[b-hkjp4vapbb] {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

.symbol-subtitle[b-hkjp4vapbb] {
    font-size: 12px;
    color: #94a3b8;
    font-style: italic;
    margin-left: 8px;
}

.sym-btn-new[b-hkjp4vapbb] {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.sym-btn-new:hover[b-hkjp4vapbb] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: var(--lc-secondary);
}

/* ============================================================
   26. BILLING SEARCH DROPDOWN
   ============================================================ */
.bl-search-dropdown[b-hkjp4vapbb] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 4px;
    animation: slideDownFade 0.2s ease-out;
}

.bl-search-item[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bl-search-item:hover[b-hkjp4vapbb] {
    background: #f8fafc;
    padding-left: 20px;
}

.bl-search-item:last-child[b-hkjp4vapbb] {
    border-bottom: none;
}

.bl-item-info[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bl-item-name[b-hkjp4vapbb] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bl-item-meta[b-hkjp4vapbb] {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.bl-item-date[b-hkjp4vapbb] {
    font-size: 10px;
    font-weight: 700;
    color: #6366f1;
    background: #eef2ff;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
}

.bl-search-no-results[b-hkjp4vapbb] {
    padding: 24px 16px;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- DUE COLLECTION SCREEN --- */
.dc-top-section[b-hkjp4vapbb] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dc-type-header[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dc-type-radios[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dc-type-radios label[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
}

.dc-type-radios input[type="radio"][b-hkjp4vapbb] {
    width: 18px;
    height: 18px;
    accent-color: #4f46e5;
    cursor: pointer;
}

.dc-filter-btn[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.dc-panels-wrapper[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.dc-panel[b-hkjp4vapbb] {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.dc-panel-row[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.dc-panel-row.cols-2[b-hkjp4vapbb] {
    grid-template-columns: 1fr 1fr;
}

.dc-panel-row.cols-3[b-hkjp4vapbb] {
    grid-template-columns: 1fr 1fr 1fr;
}

.dc-form-group[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
}

.dc-form-group label[b-hkjp4vapbb] {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dc-input[b-hkjp4vapbb] {
    width: 100%;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dc-input:focus[b-hkjp4vapbb] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

select.dc-input[b-hkjp4vapbb] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.dc-search-btn-wrapper[b-hkjp4vapbb] {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.dc-btn-search[b-hkjp4vapbb] {
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    height: 40px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dc-btn-search:hover[b-hkjp4vapbb] {
    background-color: #4338ca;
}

/* Bottom Card */
.dc-bottom-section[b-hkjp4vapbb] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dc-actions-bar[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    width: 100%;
}

.dc-actions-left-group[b-hkjp4vapbb] {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    flex: 1;
    min-width: 280px;
}

.dc-actions-right-group[b-hkjp4vapbb] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.dc-search-input-container[b-hkjp4vapbb] {
    position: relative;
    width: 240px;
}

.dc-search-input-container svg[b-hkjp4vapbb] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.dc-search-input-container input[b-hkjp4vapbb] {
    width: 100%;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px 0 36px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
}

.dc-search-input-container input:focus[b-hkjp4vapbb] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.dc-filter-circle-btn[b-hkjp4vapbb] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dc-filter-circle-btn:hover[b-hkjp4vapbb] {
    background: #f8fafc;
    color: #4f46e5;
    border-color: #cbd5e1;
}

.dc-btn-auto-select[b-hkjp4vapbb] {
    color: #4f46e5;
    font-weight: 700;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 8px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.dc-btn-auto-select:hover:not(:disabled)[b-hkjp4vapbb] {
    color: #312e81;
}

.dc-btn-auto-select:disabled[b-hkjp4vapbb] {
    color: #cbd5e1;
    cursor: not-allowed;
}

.dc-btn-save[b-hkjp4vapbb] {
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.15);
}

.dc-btn-save:hover:not(:disabled)[b-hkjp4vapbb] {
    background-color: #4338ca;
}

.dc-btn-save:disabled[b-hkjp4vapbb] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Table */
.dc-table-wrapper[b-hkjp4vapbb] {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 24px;
}

.dc-table[b-hkjp4vapbb] {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.dc-table th[b-hkjp4vapbb] {
    background: #f8fafc;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.dc-table td[b-hkjp4vapbb] {
    padding: 12px 16px;
    font-size: 13px;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.dc-table tr:last-child td[b-hkjp4vapbb] {
    border-bottom: none;
}

.dc-table input[type="text"][b-hkjp4vapbb],
.dc-table input[type="number"][b-hkjp4vapbb] {
    width: 80px;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 13px;
    text-align: right;
}

.dc-table input[type="checkbox"][b-hkjp4vapbb] {
    width: 16px;
    height: 16px;
    accent-color: #4f46e5;
    cursor: pointer;
}

.text-red[b-hkjp4vapbb] {
    color: #ef4444;
    font-weight: 600;
}

.font-bold[b-hkjp4vapbb] {
    font-weight: 700;
}

.text-slate[b-hkjp4vapbb] {
    color: #64748b;
}

/* Footers */
.dc-footers[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.dc-footer-card[b-hkjp4vapbb] {
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.dc-footer-icon[b-hkjp4vapbb] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dc-footer-icon.red[b-hkjp4vapbb] {
    background: #fee2e2;
    color: #ef4444;
}

.dc-footer-icon.blue[b-hkjp4vapbb] {
    background: #e0e7ff;
    color: #3b82f6;
}

.dc-footer-icon.green[b-hkjp4vapbb] {
    background: #dcfce3;
    color: #22c55e;
}

.dc-footer-icon.gray[b-hkjp4vapbb] {
    background: #f1f5f9;
    color: #64748b;
}

.dc-footer-info label[b-hkjp4vapbb] {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.dc-footer-info .value[b-hkjp4vapbb] {
    font-size: 20px;
    font-weight: 700;
    color: var(--lc-secondary);
}

/* ============================================================
   DUE COLLECTION HISTORY
   ============================================================ */
.filter-body-anim[b-hkjp4vapbb] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.filter-body-anim.open[b-hkjp4vapbb] {
    grid-template-rows: 1fr;
    opacity: 1;
}

.filter-body-anim.closed[b-hkjp4vapbb] {
    grid-template-rows: 0fr;
    opacity: 0;
}

.filter-body-inner[b-hkjp4vapbb] {
    overflow: hidden;
}

.dch-filter-card[b-hkjp4vapbb] {
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dch-row[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    align-items: flex-end;
}

.dch-row-2[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dch-form-group[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dch-label[b-hkjp4vapbb] {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.dch-input[b-hkjp4vapbb] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    background: #f8fafc;
    outline: none;
    color: #334155;
    transition: border-color 0.2s, background-color 0.2s;
}

.dch-input:focus[b-hkjp4vapbb] {
    border-color: #4f46e5;
    background: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.dch-actions[b-hkjp4vapbb] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

/* ── LabCare Design System: Page-level Buttons (dch) ── */
.dch-btn-search[b-hkjp4vapbb] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 20px;
    background: #ffffff;
    color: #334155;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    user-select: none;
}

.dch-btn-search:hover[b-hkjp4vapbb] {
    background: #f8fafc;
    border-color: #94a3b8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dch-btn-search:active[b-hkjp4vapbb] {
    transform: scale(0.97);
}

.dch-btn-print[b-hkjp4vapbb] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 20px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    user-select: none;
}

.dch-btn-print:hover[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.40);
    transform: translateY(-1px);
}

.dch-btn-print:active[b-hkjp4vapbb] {
    transform: scale(0.97);
}

.master-search-item-title[b-hkjp4vapbb] {
    font-weight: 600;
    font-size: 13px;
    color: #1e293b;
}

.master-search-item-subtitle[b-hkjp4vapbb] {
    font-size: 11px;
    color: #64748b;
}

/* Extra classes for DueCollectionHistory UI */
.dch-page-container[b-hkjp4vapbb] {
    padding: 32px;
    background-color: #f8fafc;
    min-height: calc(100vh - 64px);
}

.dch-header-margin[b-hkjp4vapbb] {
    margin-bottom: 24px;
}

.dch-filter-toggle-container[b-hkjp4vapbb] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.dch-btn-filter-toggle[b-hkjp4vapbb] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 16px;
    background: #ffffff;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    user-select: none;
}

.dch-btn-filter-toggle:hover[b-hkjp4vapbb] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

.dch-btn-filter-toggle:active[b-hkjp4vapbb] {
    transform: scale(0.97);
}

.dch-grid-2-cols[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dch-table-wrapper[b-hkjp4vapbb] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    padding: 24px;
    margin-bottom: 24px;
}

.dch-table-inner[b-hkjp4vapbb] {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.dch-table[b-hkjp4vapbb] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 11.5px;
}

.dch-table-thead[b-hkjp4vapbb] {
    background: #4169e1;
    border-bottom: 1px solid #2e4cad;
}

.dch-table-th[b-hkjp4vapbb] {
    padding: 8px 10px;
    font-size: 10.5px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.dch-table-th-center[b-hkjp4vapbb] {
    padding: 8px 10px;
    font-size: 10.5px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    text-align: center;
}

.dch-table-tr[b-hkjp4vapbb] {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.dch-table-td[b-hkjp4vapbb] {
    padding: 8px 10px;
    color: #64748b;
}

.dch-table-td-bold[b-hkjp4vapbb] {
    padding: 8px 10px;
    font-weight: 600;
    color: #334155;
}

.dch-table-td-blue[b-hkjp4vapbb] {
    padding: 8px 10px;
    font-weight: 700;
    color: #2563eb;
}

.dch-table-td-dark[b-hkjp4vapbb] {
    padding: 8px 10px;
    font-weight: 700;
    color: #1e293b;
}

.dch-table-td-center[b-hkjp4vapbb] {
    padding: 8px 10px;
    text-align: center;
}

.dch-btn-tr-icon[b-hkjp4vapbb],
.dch-btn-tr-icon-danger[b-hkjp4vapbb] {
    background: none;
    border: none;
    color: #4f46e5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    outline: none;
    transition: all 0.2s;
    padding: 4px;
    border-radius: 4px;
}

.dch-btn-tr-icon:hover[b-hkjp4vapbb] {
    background: #f1f5f9;
    color: #312e81;
}

.dch-btn-tr-icon-danger[b-hkjp4vapbb] {
    color: #ef4444;
}

.dch-btn-tr-icon-danger:hover[b-hkjp4vapbb] {
    background: #fee2e2;
    color: #991b1b;
}

.dch-btn-tr-icon .material-symbols-outlined[b-hkjp4vapbb],
.dch-btn-tr-icon-danger .material-symbols-outlined[b-hkjp4vapbb] {
    font-size: 18px !important;
}

.dch-table-empty[b-hkjp4vapbb] {
    text-align: center;
    padding: 32px;
    color: #64748b;
    font-size: 14px;
}

.dch-footer-summary[b-hkjp4vapbb] {
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.dch-summary-card[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: #f0fdf4;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #dcfce3;
    min-width: 250px;
}

.dch-summary-icon[b-hkjp4vapbb] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: white;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(22, 163, 74, 0.1);
}

.dch-summary-content[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dch-summary-label[b-hkjp4vapbb] {
    font-size: 11px;
    font-weight: 800;
    color: #14532d;
    text-transform: uppercase;
}

.dch-summary-value[b-hkjp4vapbb] {
    font-size: 24px;
    font-weight: 800;
    color: #052e16;
}

/* ============================================================
   DUE COLLECTION
   ============================================================ */
.filter-types-anim[b-hkjp4vapbb] {
    transition: max-width 0.4s ease-in-out, opacity 0.3s ease-in-out, margin 0.4s ease-in-out;
    overflow: hidden;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.filter-types-anim.open[b-hkjp4vapbb] {
    max-width: 600px;
    opacity: 1;
}

.filter-types-anim.closed[b-hkjp4vapbb] {
    max-width: 0;
    opacity: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
}

.dc-pagination-footer[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    padding-top: 16px;
    margin-bottom: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   27. NAVIGATION MENU (SUBMENUS)
   ============================================================ */
.nav-submenu-btn[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    color: #475569;
    background: transparent;
    border: none;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    justify-content: space-between;
}

.nav-submenu-btn:hover[b-hkjp4vapbb] {
    background-color: rgba(99, 102, 241, 0.08);
    color: #1e293b;
}

.nav-submenu-icon[b-hkjp4vapbb] {
    font-size: 16px !important;
    transition: transform 0.3s ease;
}

.nav-submenu-icon.is-expanded[b-hkjp4vapbb] {
    transform: rotate(90deg);
}

.nav-submenu-items[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
    padding-left: 28px;
    border-left: 1px solid #e2e8f0;
    margin-left: 20px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-submenu-items.is-expanded[b-hkjp4vapbb] {
    max-height: 800px;
}

.v-nav-link.submenu-item[b-hkjp4vapbb] {
    font-size: 11.5px;
    padding: 7px 12px;
}

.nav-collapsed .nav-submenu-btn[b-hkjp4vapbb] {
    justify-content: center;
    padding: 12px;
}

.nav-collapsed .nav-submenu-icon[b-hkjp4vapbb] {
    display: none;
}

.nav-collapsed .nav-submenu-items[b-hkjp4vapbb] {
    display: none;
}

/* ============================================================
   28. BILLING PAGE
   ============================================================ */
.billing-page-wrapper[b-hkjp4vapbb] {
    padding: 24px;
    background-color: #f8fafc;
    min-height: 100vh;
}

.bl-header-bar[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    background: white;
    padding: 12px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    max-width: 100%;
}

.bl-header-item[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.bl-label[b-hkjp4vapbb] {
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.bl-select[b-hkjp4vapbb] {
    border: none;
    font-weight: 700;
    color: #1e293b;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    outline: none;
}

.bl-card[b-hkjp4vapbb] {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.bl-card:hover[b-hkjp4vapbb] {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.bl-card-title[b-hkjp4vapbb] {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.bl-input[b-hkjp4vapbb] {
    width: 100%;
    height: 42px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 16px;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.2s;
}

.bl-input:focus[b-hkjp4vapbb] {
    background: white;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* bl-btn-save override for finance section — inherits from .bl-btn above */
.bl-btn-save[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 0 28px;
    height: 38px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.bl-btn-save:hover[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.45);
    transform: translateY(-1px);
}

.finance-card[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.pay-val[b-hkjp4vapbb] {
    font-size: 24px;
    font-weight: 900;
    color: #1e293b;
}

.payment-card[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #1e293b 0%, var(--lc-secondary) 100%);
    color: white;
}

/* ============================================================
   29. MODIFY TEST MASTER
   ============================================================ */
.tm-page-container[b-hkjp4vapbb] {
    padding: 32px;
    background: #f1f5f9;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.tm-main-card[b-hkjp4vapbb] {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.tm-header-grid[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 0.5fr 2fr 1.2fr 1fr 1fr 0.8fr 0.5fr 0.8fr;
    gap: 16px;
    margin-bottom: 24px;
}

.tm-flags-container[b-hkjp4vapbb] {
    background: #f8fafc;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.tm-flags-grid[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tm-split-panel[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 32px;
}

.tm-param-card[b-hkjp4vapbb] {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tm-param-header[b-hkjp4vapbb] {
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-param-item[b-hkjp4vapbb] {
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.active-param[b-hkjp4vapbb] {
    background: #eff6ff !important;
    border-left: 4px solid #2563eb;
}

.tm-red-header[b-hkjp4vapbb] {
    background: #ef4444;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.tm-tab-btn[b-hkjp4vapbb] {
    background: none;
    border: none;
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.1em;
    padding-bottom: 12px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    margin-right: 32px;
}

.active-tab[b-hkjp4vapbb] {
    color: #6366f1;
    border-bottom-color: #6366f1;
}

.tm-footer-bar[b-hkjp4vapbb] {
    padding: 20px 32px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-form-label-tiny[b-hkjp4vapbb] {
    font-size: 9px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
    display: block;
}

.tm-subtab-bar[b-hkjp4vapbb] {
    padding: 0 32px;
    border-top: 1px solid #e2e8f0;
}

/* ============================================================
   30. CUSTOMER MASTER
   ============================================================ */
.cm-input option[b-hkjp4vapbb] {
    color: #1e293b !important;
    background: #ffffff !important;
}

/* ============================================================
   31. RECONNECT MODAL
   ============================================================ */
#components-reconnect-modal[b-hkjp4vapbb] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-hkjp4vapbb 0.5s both;
}

#components-reconnect-modal[open][b-hkjp4vapbb] {
    animation: components-reconnect-modal-slideUp-b-hkjp4vapbb 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-hkjp4vapbb 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-hkjp4vapbb]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-hkjp4vapbb 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-hkjp4vapbb {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-hkjp4vapbb {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-hkjp4vapbb {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-hkjp4vapbb] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-hkjp4vapbb] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

#components-reconnect-modal button:hover[b-hkjp4vapbb] {
    background-color: #3b6ea2;
}

.components-rejoining-animation[b-hkjp4vapbb] {
    position: relative;
    width: 80px;
    height: 80px;
}

.components-rejoining-animation div[b-hkjp4vapbb] {
    position: absolute;
    border: 3px solid #0087ff;
    opacity: 1;
    border-radius: 50%;
    animation: components-rejoining-animation-b-hkjp4vapbb 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-hkjp4vapbb] {
    animation-delay: -0.5s;
}

@keyframes components-rejoining-animation-b-hkjp4vapbb {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}


.dc-type-label[b-hkjp4vapbb] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.dc-type-radio-label[b-hkjp4vapbb] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
}

.dc-type-radio-input[b-hkjp4vapbb] {
    width: 16px;
    height: 16px;
    accent-color: #4f46e5;
    margin: 0;
    cursor: pointer;
}

.dc-panel-inner[b-hkjp4vapbb] {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    margin-bottom: 20px;
}

.dc-panel-type-container[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 20px;
}

.dc-actions-group[b-hkjp4vapbb] {
    display: flex;
    gap: 16px;
    min-width: 300px;
}

.dc-actions-select[b-hkjp4vapbb] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    background: white;
    outline: none;
}

.dc-actions-input[b-hkjp4vapbb] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    background: white;
    outline: none;
}

.dc-table-thead[b-hkjp4vapbb] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.dc-table-tr[b-hkjp4vapbb] {
    border-bottom: 1px solid #f1f5f9;
}

.dc-table-th-checkbox[b-hkjp4vapbb] {
    width: 48px;
    padding: 12px 16px;
}

.dc-table-checkbox[b-hkjp4vapbb] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
}

.dc-table-td[b-hkjp4vapbb] {
    padding: 12px 16px;
}

.dc-table-td-bold[b-hkjp4vapbb] {
    padding: 12px 16px;
    font-weight: 700;
}

.dc-table-td-number[b-hkjp4vapbb] {
    width: 80px;
    text-align: right;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 4px 8px;
}

.dc-search-input[b-hkjp4vapbb] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 36px 8px 12px;
    font-size: 14px;
    background: white;
    outline: none;
}



.dc-footers-container[b-hkjp4vapbb] {
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.dc-footer-card-inner[b-hkjp4vapbb] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.dc-empty-row[b-hkjp4vapbb] {
    text-align: center;
    padding: 20px;
    color: #64748b;
}

/* ============================================================
   32. GLOBAL UTILITY CLASSES (LC-*)
   ============================================================ */
.lc-flex-between-center[b-hkjp4vapbb] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.lc-mb-0[b-hkjp4vapbb] {
    margin-bottom: 0 !important;
}

.lc-mb-4[b-hkjp4vapbb] {
    margin-bottom: 4px !important;
}

.lc-font-11[b-hkjp4vapbb] {
    font-size: 11px !important;
}

.lc-font-14[b-hkjp4vapbb] {
    font-size: 14px !important;
}

.lc-font-16[b-hkjp4vapbb] {
    font-size: 16px !important;
}

.lc-font-500[b-hkjp4vapbb] {
    font-weight: 500 !important;
}

.lc-font-700[b-hkjp4vapbb] {
    font-weight: 700 !important;
}

.lc-cursor-pointer[b-hkjp4vapbb] {
    cursor: pointer !important;
}

.lc-grid-span-2[b-hkjp4vapbb] {
    grid-column: span 2 !important;
}

.lc-overflow-auto-max-480[b-hkjp4vapbb] {
    max-height: 480px !important;
    overflow-y: auto !important;
}

.lc-text-uppercase[b-hkjp4vapbb] {
    text-transform: uppercase !important;
}

.lc-letter-spacing-05[b-hkjp4vapbb] {
    letter-spacing: 0.5px !important;
}

.lc-bg-none[b-hkjp4vapbb] {
    background: none !important;
}

.lc-border-slate[b-hkjp4vapbb] {
    border: 1px solid #e2e8f0 !important;
}

.lc-width-100[b-hkjp4vapbb] {
    width: 100px !important;
}

.lc-position-relative[b-hkjp4vapbb] {
    position: relative !important;
}

.lc-top-100[b-hkjp4vapbb] {
    top: 100% !important;
}

.lc-left-0[b-hkjp4vapbb] {
    left: 0 !important;
}

.lc-right-0[b-hkjp4vapbb] {
    right: 0 !important;
}

.lc-bg-success-light[b-hkjp4vapbb] {
    background: rgba(34, 197, 94, 0.1) !important;
}

.lc-bg-danger-light[b-hkjp4vapbb] {
    background: rgba(239, 68, 68, 0.1) !important;
}

.lc-status-pill[b-hkjp4vapbb] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 10px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
}

.lc-status-pill-success[b-hkjp4vapbb] {
    background: #ecfdf5 !important;
    color: #059669 !important;
}

.lc-status-pill-danger[b-hkjp4vapbb] {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

.lc-dot[b-hkjp4vapbb] {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

.lc-dot-success[b-hkjp4vapbb] {
    background: #059669 !important;
}

.lc-dot-danger[b-hkjp4vapbb] {
    background: #dc2626 !important;
}

.lc-font-13[b-hkjp4vapbb] {
    font-size: 13px !important;
}

.lc-color-slate-500[b-hkjp4vapbb] {
    color: #64748b !important;
}

.lc-text-blue[b-hkjp4vapbb] {
    color: #2563eb !important;
}

.lc-text-white[b-hkjp4vapbb] {
    color: white !important;
}

.lc-text-red[b-hkjp4vapbb] {
    color: #ef4444 !important;
}

.lc-search-input[b-hkjp4vapbb] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 8px 16px 8px 36px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    outline: none !important;
    width: 220px !important;
}

.lc-alert[b-hkjp4vapbb] {
    margin: 20px 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-textarea[b-hkjp4vapbb] {
    height: auto !important;
    min-height: 80px !important;
}

.lc-mr-8[b-hkjp4vapbb] {
    margin-right: 8px !important;
}

.lc-mr-4[b-hkjp4vapbb] {
    margin-right: 4px !important;
}

.lc-font-10[b-hkjp4vapbb] {
    font-size: 10px !important;
}

.lc-font-12[b-hkjp4vapbb] {
    font-size: 12px !important;
}

.lc-mt-neg-4[b-hkjp4vapbb] {
    margin-top: -4px !important;
}

.lc-initials-avatar[b-hkjp4vapbb] {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #eef2ff !important;
    color: #4f46e5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 11px !important;
}

.lc-m-0[b-hkjp4vapbb] {
    margin: 0 !important;
}

.lc-mt-3[b-hkjp4vapbb] {
    margin-top: 3px !important;
}

.lc-mt-2[b-hkjp4vapbb] {
    margin-top: 2px !important;
}

.lc-max-width-150-ellipsis[b-hkjp4vapbb] {
    max-width: 150px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.lc-pt-0[b-hkjp4vapbb] {
    padding-top: 0 !important;
}

.lc-shadow-none[b-hkjp4vapbb] {
    box-shadow: none !important;
}

.lc-border-none[b-hkjp4vapbb] {
    border: none !important;
}

.lc-flex-start[b-hkjp4vapbb] {
    display: flex !important;
    justify-content: flex-start !important;
}

.lc-gap-16[b-hkjp4vapbb] {
    gap: 16px !important;
}

.lc-flex-center-inline[b-hkjp4vapbb] {
    display: inline-flex !important;
    align-items: center !important;
}

.lc-gap-6[b-hkjp4vapbb] {
    gap: 6px !important;
}

.lc-bg-slate-50[b-hkjp4vapbb] {
    background: #f8fafc !important;
}

.lc-rounded-8[b-hkjp4vapbb] {
    border-radius: 8px !important;
}

.lc-color-slate-800[b-hkjp4vapbb] {
    color: #1e293b !important;
}

.lc-mb-12[b-hkjp4vapbb] {
    margin-bottom: 12px !important;
}

.lc-gap-8[b-hkjp4vapbb] {
    gap: 8px !important;
}

.lc-marker-icon-purple[b-hkjp4vapbb] {
    font-size: 18px !important;
    color: #4f46e5 !important;
}

.lc-alert-info[b-hkjp4vapbb] {
    background: #eff6ff !important;
    border: 1px solid #3b82f6 !important;
    color: #1e40af !important;
    border-left-width: 4px !important;
    border-radius: 8px !important;
}

.lc-text-blue-500[b-hkjp4vapbb] {
    color: #3b82f6 !important;
}

.lc-color-indigo-900[b-hkjp4vapbb] {
    color: #1e3a8a !important;
}

.lc-alert-warning[b-hkjp4vapbb] {
    background: #fffbeb !important;
    border: 1px solid #f59e0b !important;
    color: #92400e !important;
    border-left-width: 4px !important;
    border-radius: 8px !important;
}

.lc-text-orange-500[b-hkjp4vapbb] {
    color: #f59e0b !important;
}

.lc-color-orange-900[b-hkjp4vapbb] {
    color: #78350f !important;
}

.lc-color-slate-400[b-hkjp4vapbb] {
    color: #94a3b8 !important;
}

.lc-p-10[b-hkjp4vapbb] {
    padding: 10px !important;
}

.lc-checkbox-scroll-container[b-hkjp4vapbb] {
    max-height: 100px !important;
    overflow-y: auto !important;
    border: 1px solid #e2e8f0 !important;
    padding: 6px !important;
    border-radius: 4px !important;
    background: white !important;
}

.lc-btn-indigo-sm[b-hkjp4vapbb] {
    padding: 4px 12px !important;
    height: auto !important;
    font-size: 12px !important;
    background: #4f46e5 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}

.lc-bg-indigo-50[b-hkjp4vapbb] {
    background: #eef2ff !important;
}

.lc-border-indigo-200[b-hkjp4vapbb] {
    border: 1px solid #c7d2fe !important;
}

.lc-mx-neg-5[b-hkjp4vapbb] {
    margin-left: -5px !important;
    margin-right: -5px !important;
}

.lc-color-indigo-700[b-hkjp4vapbb] {
    color: #4338ca !important;
}

.lc-font-800[b-hkjp4vapbb] {
    font-weight: 800 !important;
}

.lc-color-indigo-800[b-hkjp4vapbb] {
    color: #1e40af !important;
}

.lc-block[b-hkjp4vapbb] {
    display: block !important;
}

.lc-grid-auto-fill-180[b-hkjp4vapbb] {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
}

.lc-overflow-auto-max-150[b-hkjp4vapbb] {
    max-height: 150px !important;
    overflow-y: auto !important;
}

.lc-mapping-tag[b-hkjp4vapbb] {
    background: #eef2ff !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.lc-gap-2[b-hkjp4vapbb] {
    gap: 2px !important;
}

.lc-color-blue-400[b-hkjp4vapbb] {
    color: #60a5fa !important;
}

.lc-btn-cancel-icon[b-hkjp4vapbb] {
    color: #f87171 !important;
    border: none !important;
    background: transparent !important;
    padding: 0 4px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
}

.lc-pt-16[b-hkjp4vapbb] {
    padding-top: 16px !important;
}

.lc-rounded-t-0[b-hkjp4vapbb] {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.lc-width-80[b-hkjp4vapbb] {
    width: 80px !important;
}

.lc-color-slate-600[b-hkjp4vapbb] {
    color: #475569 !important;
}

.lc-search-input-field-custom[b-hkjp4vapbb] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 8px 16px 8px 36px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    outline: none !important;
    width: 220px !important;
}

.lc-role-filter-select[b-hkjp4vapbb] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    outline: none !important;
}

.lc-alert-danger-custom[b-hkjp4vapbb] {
    margin: 20px 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-modal-max-700[b-hkjp4vapbb] {
    max-width: 700px !important;
}

.lc-alert-danger-sm[b-hkjp4vapbb] {
    padding: 10px 15px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
}

.lc-text-danger[b-hkjp4vapbb] {
    color: #ef4444 !important;
}

.lc-relative[b-hkjp4vapbb] {
    position: relative !important;
}

.lc-pr-40[b-hkjp4vapbb] {
    padding-right: 40px !important;
}

.lc-pwd-toggle-btn[b-hkjp4vapbb] {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
}

.lc-width-fit[b-hkjp4vapbb] {
    width: fit-content !important;
}

.lc-mt-0[b-hkjp4vapbb] {
    margin-top: 0 !important;
}

.lc-mt-16[b-hkjp4vapbb] {
    margin-top: 16px !important;
}

.lc-mt-8[b-hkjp4vapbb] {
    margin-top: 8px !important;
}

.lc-p-8-18[b-hkjp4vapbb] {
    padding: 8px 18px !important;
}

.lc-vertical-middle[b-hkjp4vapbb] {
    vertical-align: middle !important;
}

.lc-mr-4[b-hkjp4vapbb] {
    margin-right: 4px !important;
}

.lc-color-green-500[b-hkjp4vapbb] {
    color: #22c55e !important;
}

.lc-mr-6[b-hkjp4vapbb] {
    margin-right: 6px !important;
}

.lc-animate-spin[b-hkjp4vapbb] {
    animation: spin 1s linear infinite !important;
}

.lc-avatar-initials-mini[b-hkjp4vapbb] {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #e0e7ff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #4f46e5 !important;
    flex-shrink: 0 !important;
}

.lc-color-orange-500[b-hkjp4vapbb] {
    color: #f59e0b !important;
}

.lc-width-120[b-hkjp4vapbb] {
    width: 120px !important;
}

.lc-role-badge[b-hkjp4vapbb] {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    display: inline-block !important;
}

.lc-role-badge-admin[b-hkjp4vapbb] {
    background: #ede9fe !important;
    color: #7c3aed !important;
}

.lc-role-badge-staff[b-hkjp4vapbb] {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
}

.lc-role-badge-labtech[b-hkjp4vapbb] {
    background: #dcfce7 !important;
    color: #15803d !important;
}

.lc-role-badge-receptionist[b-hkjp4vapbb] {
    background: #fef9c3 !important;
    color: #b45309 !important;
}

.lc-role-badge-unknown[b-hkjp4vapbb] {
    background: #f1f5f9 !important;
    color: #64748b !important;
}

.lc-status-pill-gray[b-hkjp4vapbb] {
    background: rgba(15, 23, 42, 0.05) !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    cursor: pointer !important;
    gap: 10px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
}

.lc-status-dot-green[b-hkjp4vapbb] {
    background: #10b981 !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
}

.lc-dropdown-pos-top-100[b-hkjp4vapbb] {
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
}

.lc-toast-success[b-hkjp4vapbb] {
    border: 1px solid #16a34a !important;
    padding: 6px 8px !important;
    display: block !important;
    border-radius: 6px !important;
    background: #f0fdf4 !important;
}

.lc-gap-10[b-hkjp4vapbb] {
    gap: 10px !important;
}

.lc-height-40[b-hkjp4vapbb] {
    height: 40px !important;
}

.lc-width-64[b-hkjp4vapbb] {
    width: 64px !important;
}

.lc-width-128[b-hkjp4vapbb] {
    width: 128px !important;
}

.lc-p-48[b-hkjp4vapbb] {
    padding: 48px !important;
}

.lc-italic[b-hkjp4vapbb] {
    font-style: italic !important;
}

.lc-font-mono[b-hkjp4vapbb] {
    font-family: monospace !important;
}

.lc-color-slate-900[b-hkjp4vapbb] {
    color: #1e293b !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   VIEW BILLS PAGE STYLES
   ───────────────────────────────────────────────────────────────────────── */
.view-bills-page[b-hkjp4vapbb] {
    padding: 24px;
    background: #f8fafc;
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.view-bills-page .header-section[b-hkjp4vapbb] {
    margin-bottom: 24px;
}

.view-bills-page .page-title[b-hkjp4vapbb] {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.view-bills-page .page-subtitle[b-hkjp4vapbb] {
    font-size: 14px;
    color: #64748b;
    margin-top: 4px;
}

.view-bills-page .filter-card[b-hkjp4vapbb] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin-bottom: 24px;
}

.view-bills-page .filter-grid[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 20px;
}

.view-bills-page .filter-item label[b-hkjp4vapbb] {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.view-bills-page .form-control[b-hkjp4vapbb],
.view-bills-page .form-select[b-hkjp4vapbb] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 13px;
    color: #1e293b;
}

.view-bills-page .btn-refresh[b-hkjp4vapbb],
.view-bills-page .btn-close-counter[b-hkjp4vapbb] {
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 12px;
    text-transform: uppercase;
}

.view-bills-page .btn-refresh[b-hkjp4vapbb] {
    background: #2563eb;
}

.view-bills-page .btn-refresh:hover[b-hkjp4vapbb] {
    background: #1d4ed8;
}

.view-bills-page .btn-close-counter[b-hkjp4vapbb] {
    background: #475569;
}

.view-bills-page .btn-close-counter:hover[b-hkjp4vapbb] {
    background: #334155;
}

.view-bills-page .filter-action[b-hkjp4vapbb] {
    display: flex;
    gap: 12px;
}

.view-bills-page .search-grid[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.view-bills-page .search-item[b-hkjp4vapbb] {
    position: relative;
}

.view-bills-page .search-icon[b-hkjp4vapbb] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 20px;
}

.view-bills-page .search-input[b-hkjp4vapbb] {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    font-size: 13px;
    transition: 0.2s;
}

.view-bills-page .table-container[b-hkjp4vapbb] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    max-width: 100%;
}

.view-bills-page .premium-table[b-hkjp4vapbb] {
    width: 100%;
    min-width: 1200px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.view-bills-page .premium-table th[b-hkjp4vapbb] {
    background: #ffffff;
    border-bottom: 2px solid #f1f5f9;
    padding: 16px;
    text-align: left;
    font-weight: 700;
    color: #475569;
    font-size: 11px;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    z-index: 5;
}

.view-bills-page .premium-table td[b-hkjp4vapbb] {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.view-bills-page .sid-text[b-hkjp4vapbb] {
    font-weight: 700;
    color: #2563eb;
}

.view-bills-page .pat-id[b-hkjp4vapbb] {
    font-weight: 600;
    color: #1e293b;
}

.view-bills-page .pat-name[b-hkjp4vapbb] {
    font-weight: 700;
    color: var(--lc-secondary);
}

.view-bills-page .mobile-text[b-hkjp4vapbb] {
    color: #64748b;
    font-size: 12px;
}

.view-bills-page .action-icons[b-hkjp4vapbb] {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.view-bills-page .icon-btn[b-hkjp4vapbb] {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    transition: 0.2s;
    padding: 4px;
    border-radius: 4px;
}

.view-bills-page .icon-btn:hover[b-hkjp4vapbb] {
    background: #f1f5f9;
    color: #1e293b;
}

.view-bills-page .icon-btn.text-danger:hover[b-hkjp4vapbb] {
    background: #fee2e2;
    color: #ef4444;
}

.view-bills-page .footer-section[b-hkjp4vapbb] {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-bills-page .results-info[b-hkjp4vapbb] {
    font-size: 13px;
    color: #64748b;
}

.view-bills-page .pagination[b-hkjp4vapbb] {
    display: flex;
    gap: 4px;
}

.view-bills-page .pg-btn[b-hkjp4vapbb] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: 0.2s;
}

.view-bills-page .pg-btn:hover[b-hkjp4vapbb] {
    border-color: #2563eb;
    color: #2563eb;
}

.view-bills-page .pg-btn.active[b-hkjp4vapbb] {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.view-bills-page .loader-overlay[b-hkjp4vapbb] {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.view-bills-page .loader[b-hkjp4vapbb] {
    width: 32px;
    height: 32px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.view-bills-page .settled-row[b-hkjp4vapbb] {
    border-left: 4px solid #10b981;
}

.view-bills-page .pending-row[b-hkjp4vapbb] {
    border-left: 4px solid #f59e0b;
}

.lc-text-center[b-hkjp4vapbb] {
    text-align: center !important;
}

.lc-text-right[b-hkjp4vapbb] {
    text-align: right !important;
}

.lc-text-left[b-hkjp4vapbb] {
    text-align: left !important;
}

.lc-font-700[b-hkjp4vapbb] {
    font-weight: 700 !important;
}

.lc-font-600[b-hkjp4vapbb] {
    font-weight: 600 !important;
}

.lc-font-800[b-hkjp4vapbb] {
    font-weight: 800 !important;
}

.lc-color-green-500[b-hkjp4vapbb] {
    color: #10b981 !important;
}

.lc-color-red-500[b-hkjp4vapbb] {
    color: #ef4444 !important;
}

.lc-color-orange-500[b-hkjp4vapbb] {
    color: #f97316 !important;
}

.lc-cursor-pointer[b-hkjp4vapbb] {
    cursor: pointer !important;
}

.lc-rounded-pill-input[b-hkjp4vapbb] {
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    padding: 10px 18px !important;
    transition: all 0.2s ease !important;
}

.lc-rounded-pill-input:focus[b-hkjp4vapbb] {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    background: white !important;
    outline: none !important;
}

.lc-modal-close-btn-effect[b-hkjp4vapbb] {
    transition: transform 0.2s !important;
}

.lc-modal-close-btn-effect:hover[b-hkjp4vapbb] {
    transform: scale(1.1) !important;
    color: #ef4444 !important;
}

.lc-fadeInUp[b-hkjp4vapbb] {
    animation: fadeInUp 0.4s ease-out !important;
}

.lc-width-100[b-hkjp4vapbb] {
    width: 100px !important;
}

.lc-width-150[b-hkjp4vapbb] {
    width: 150px !important;
}

.lc-width-180[b-hkjp4vapbb] {
    width: 180px !important;
}

.lc-w-220[b-hkjp4vapbb] {
    width: 220px !important;
}

.lc-circle-btn-32[b-hkjp4vapbb] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    background: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   RATE MASTER PAGE STYLES
   ───────────────────────────────────────────────────────────────────────── */
.rate-container[b-hkjp4vapbb] {
    background: #f8fafc;
    padding: 24px;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.rate-header[b-hkjp4vapbb] {
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: white;
    background: white;
}

.rate-header-radios[b-hkjp4vapbb] {
    display: flex;
    gap: 24px;
}

.rate-radio-label[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
}

.rate-radio-input[b-hkjp4vapbb] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    outline: none;
    transition: 0.2s;
}

.rate-radio-input:checked[b-hkjp4vapbb] {
    background: #4f46e5;
    border-color: #4f46e5;
    box-shadow: inset 0 0 0 3px white;
}

.rate-main-card[b-hkjp4vapbb] {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px #00000010;
    border: 1px solid #e2e8f0;
}

.rate-form-grid[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 48px;
}

.rate-form-col[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rate-form-group[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.rate-label[b-hkjp4vapbb] {
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    color: #475569;
    width: 100px;
}

.rate-input[b-hkjp4vapbb] {
    flex: 1;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 12px;
    outline: none;
}

.rate-input:focus[b-hkjp4vapbb] {
    border-color: #4f46e5;
}

.rate-radio-group[b-hkjp4vapbb] {
    display: flex;
    gap: 16px;
    flex: 1;
}

.rate-radio-item[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 11px;
}

.rate-radio-item-input[b-hkjp4vapbb] {
    cursor: pointer;
    width: 14px;
    height: 14px;
}

.rate-form-group-gap[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
}

.rate-label-small[b-hkjp4vapbb] {
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    color: #475569;
    width: 100px;
}

.rate-btn-default[b-hkjp4vapbb] {
    height: 36px;
    padding: 0 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.rate-right-action-group[b-hkjp4vapbb] {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.rate-nested-group[b-hkjp4vapbb] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rate-input-small[b-hkjp4vapbb] {
    width: 60px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    text-align: center;
}

.rate-btn-set[b-hkjp4vapbb] {
    height: 36px;
    padding: 0 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
}

.rate-btn-set-blue[b-hkjp4vapbb] {
    height: 36px;
    padding: 0 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
}

.rate-btn-big[b-hkjp4vapbb] {
    width: 140px;
    height: 84px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rate-grid-container[b-hkjp4vapbb] {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px #00000010;
}

.rate-grid-scroll[b-hkjp4vapbb] {
    max-height: 500px;
    overflow-y: auto;
}

.rate-table[b-hkjp4vapbb] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.rate-table th[b-hkjp4vapbb] {
    padding: 12px 16px;
    text-align: left;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 800;
    white-space: nowrap;
}

.rate-table td[b-hkjp4vapbb] {
    padding: 8px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
    white-space: nowrap;
}

.rate-row-active[b-hkjp4vapbb] {
    background: #f1f5f9;
}

.rate-row-pointer[b-hkjp4vapbb] {
    color: #555;
    margin-right: 4px;
}

.rate-footer-actions[b-hkjp4vapbb] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.rate-btn-footer[b-hkjp4vapbb] {
    height: 40px;
    padding: 0 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    cursor: pointer;
}

.rate-btn-footer.wide[b-hkjp4vapbb] {
    min-width: 100px;
}

.rate-btn-footer.primary[b-hkjp4vapbb] {
    background: #4f46e5;
    color: white;
    border: none;
}

.cm-input option[b-hkjp4vapbb],
.form-control option[b-hkjp4vapbb] {
    color: #1e293b !important;
    background: #ffffff !important;
}

.lc-width-25p[b-hkjp4vapbb] {
    width: 25% !important;
}

.lc-width-15p[b-hkjp4vapbb] {
    width: 15% !important;
}

.lc-width-20p[b-hkjp4vapbb] {
    width: 20% !important;
}

.lc-width-140[b-hkjp4vapbb] {
    width: 140px !important;
}

.lc-p-40[b-hkjp4vapbb] {
    padding: 40px !important;
}

.lc-mb-0[b-hkjp4vapbb] {
    margin-bottom: 0px !important;
}

.lc-mb-20[b-hkjp4vapbb] {
    margin-bottom: 20px !important;
}

.lc-mt-2px[b-hkjp4vapbb] {
    margin-top: 2px !important;
}

.lc-mt-neg-4[b-hkjp4vapbb] {
    margin-top: -4px !important;
}

.lc-mr-8[b-hkjp4vapbb] {
    margin-right: 8px !important;
}

.lc-gap-16[b-hkjp4vapbb] {
    gap: 16px !important;
}

.lc-gap-12[b-hkjp4vapbb] {
    gap: 12px !important;
}

.lc-gap-8[b-hkjp4vapbb] {
    gap: 8px !important;
}

.lc-rounded-lg[b-hkjp4vapbb] {
    border-radius: 8px !important;
}

.lc-rounded-12[b-hkjp4vapbb] {
    border-radius: 12px !important;
}

.lc-rounded-20[b-hkjp4vapbb] {
    border-radius: 20px !important;
}

.lc-rounded-full[b-hkjp4vapbb] {
    border-radius: 50% !important;
}

.lc-rounded-t-0[b-hkjp4vapbb] {
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
}

.lc-shadow-sm[b-hkjp4vapbb] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.lc-icon-24[b-hkjp4vapbb] {
    font-size: 24px !important;
}

.lc-icon-18[b-hkjp4vapbb] {
    font-size: 18px !important;
}

.lc-text-10[b-hkjp4vapbb] {
    font-size: 10px !important;
}

.lc-text-11[b-hkjp4vapbb] {
    font-size: 11px !important;
}

.lc-text-12[b-hkjp4vapbb] {
    font-size: 12px !important;
}

.lc-text-13[b-hkjp4vapbb] {
    font-size: 13px !important;
}

.lc-text-18[b-hkjp4vapbb] {
    font-size: 18px !important;
}

.lc-uppercase[b-hkjp4vapbb] {
    text-transform: uppercase !important;
}

.lc-ls-05[b-hkjp4vapbb] {
    letter-spacing: 0.5px !important;
}

.lc-w-40[b-hkjp4vapbb] {
    width: 40px !important;
}

.lc-h-40[b-hkjp4vapbb] {
    height: 40px !important;
}

.lc-w-6[b-hkjp4vapbb] {
    width: 6px !important;
}

.lc-h-6[b-hkjp4vapbb] {
    height: 6px !important;
}

.lc-w-200[b-hkjp4vapbb] {
    width: 200px !important;
}

.lc-w-220[b-hkjp4vapbb] {
    width: 220px !important;
}

.lc-text-white[b-hkjp4vapbb] {
    color: #ffffff !important;
}

.lc-animate-pulse[b-hkjp4vapbb] {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

.lc-alert-danger-custom[b-hkjp4vapbb] {
    margin: 20px 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-alert-danger-sm[b-hkjp4vapbb] {
    padding: 10px 15px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
}

.lc-alert-success-custom[b-hkjp4vapbb] {
    margin-bottom: 20px !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.lc-bg-danger-light[b-hkjp4vapbb] {
    background-color: #fef2f2 !important;
}

.lc-bg-success-light[b-hkjp4vapbb] {
    background-color: #f0fdf4 !important;
}

.lc-abs-center-y[b-hkjp4vapbb] {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.lc-left-12[b-hkjp4vapbb] {
    left: 12px !important;
}

.lc-right-12[b-hkjp4vapbb] {
    right: 12px !important;
}

.lc-p-8-16-8-36[b-hkjp4vapbb] {
    padding: 8px 16px 8px 36px !important;
}

.lc-grid[b-hkjp4vapbb] {
    display: grid !important;
}

.lc-grid-cols-80-1fr[b-hkjp4vapbb] {
    grid-template-columns: 80px 1fr !important;
}

.lc-grid-cols-3[b-hkjp4vapbb] {
    grid-template-columns: repeat(3, 1fr) !important;
}

.lc-grid-cols-4[b-hkjp4vapbb] {
    grid-template-columns: repeat(4, 1fr) !important;
}

.lc-grid-cols-5[b-hkjp4vapbb] {
    grid-template-columns: repeat(5, 1fr) !important;
}

.lc-flex-between[b-hkjp4vapbb] {
    justify-content: space-between !important;
}

.lc-mb-4px[b-hkjp4vapbb] {
    margin-bottom: 4px !important;
}

.lc-font-500[b-hkjp4vapbb] {
    font-weight: 500 !important;
}





/* Styles from Billing.razor */
.no-spin[b-hkjp4vapbb]::-webkit-inner-spin-button,
.no-spin[b-hkjp4vapbb]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spin[b-hkjp4vapbb] {
    -moz-appearance: textfield;
}

.pay-input.no-spin[b-hkjp4vapbb] {
    appearance: textfield;
}

.bl-id-type-select[b-hkjp4vapbb] {
    background: transparent;
    color: white;
    border: none;
    width: 100%;
    height: 100%;
    padding: 0 8px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    outline: none;
}

.bl-id-type-select option[b-hkjp4vapbb] {
    color: #1e293b !important;
    background: #ffffff !important;
    text-transform: none;
}



.bl-id-input[b-hkjp4vapbb] {
    flex: 1;
    border: none;
    padding: 10px 12px;
    font-size: 13px;
    outline: none;
}

.lc-bg-white[b-hkjp4vapbb] {
    background-color: #ffffff !important;
}

.lc-border-slate-200[b-hkjp4vapbb] {
    border: 1px solid #e2e8f0 !important;
}

.lc-outline-none[b-hkjp4vapbb] {
    outline: none !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   TOAST NOTIFICATION STYLES
   ───────────────────────────────────────────────────────────────────────── */
.toast-container[b-hkjp4vapbb] {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-item[b-hkjp4vapbb] {
    min-width: 300px;
    max-width: 450px;
    padding: 16px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
    animation: toast-in-b-hkjp4vapbb 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 6px solid #ccc;
}

.toast-item.show[b-hkjp4vapbb] {
    opacity: 1;
    transform: translateX(0);
}

.toast-item.hide[b-hkjp4vapbb] {
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast-item.success[b-hkjp4vapbb] {
    border-left-color: #22c55e;
}

.toast-item.error[b-hkjp4vapbb] {
    border-left-color: #ef4444;
}

.toast-item.warning[b-hkjp4vapbb] {
    border-left-color: #f59e0b;
}

.toast-item.info[b-hkjp4vapbb] {
    border-left-color: #3b82f6;
}

.toast-item.success .icon[b-hkjp4vapbb] {
    color: #22c55e;
}

.toast-item.error .icon[b-hkjp4vapbb] {
    color: #ef4444;
}

.toast-item.warning .icon[b-hkjp4vapbb] {
    color: #f59e0b;
}

.toast-item.info .icon[b-hkjp4vapbb] {
    color: #3b82f6;
}

.toast-content[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-content .icon[b-hkjp4vapbb] {
    font-variation-settings: 'FILL' 1;
}

.toast-content .message[b-hkjp4vapbb] {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.toast-item .close-btn[b-hkjp4vapbb] {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.toast-item .close-btn:hover[b-hkjp4vapbb] {
    color: #475569;
}

@keyframes toast-in-b-hkjp4vapbb {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   PREMIUM BILLING SHARED STYLES
   ───────────────────────────────────────────────────────────────────────── */
:root[b-hkjp4vapbb] {
    --premium-blue: #2563eb;
    --premium-blue-light: #eff6ff;
    --premium-blue-dark: #1e40af;
    --premium-green: #10b981;
    --premium-green-light: #ecfdf5;
    --premium-red: #ef4444;
    --premium-red-light: #fef2f2;
    --premium-gray-text: #64748b;
    --premium-dark-text: #1e293b;
    --premium-border: #e2e8f0;
    --premium-bg: #f8fafc;
    --premium-card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --premium-card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.premium-page-container[b-hkjp4vapbb] {
    padding: 24px;
    background-color: var(--premium-bg);
    min-height: 100vh;
    font-family: 'Public Sans', sans-serif;
}

.premium-header[b-hkjp4vapbb] {
    margin-bottom: 32px;
}

.premium-title[b-hkjp4vapbb] {
    font-size: 28px;
    font-weight: 800;
    color: var(--premium-dark-text);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.premium-subtitle[b-hkjp4vapbb] {
    font-size: 14px;
    color: var(--premium-gray-text);
    font-weight: 500;
}

.premium-filter-card[b-hkjp4vapbb] {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--premium-card-shadow);
    border: 1px solid var(--premium-border);
    margin-bottom: 24px;
}

.premium-filter-grid[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    align-items: flex-end;
}

.premium-form-group[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.premium-label[b-hkjp4vapbb] {
    font-size: 11px;
    font-weight: 700;
    color: var(--premium-gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-input[b-hkjp4vapbb],
.premium-select[b-hkjp4vapbb] {
    height: 44px;
    border-radius: 8px;
    border: 1.5px solid var(--premium-border);
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--premium-dark-text);
    background-color: #fff;
    transition: all 0.2s;
    outline: none;
}

.premium-input:focus[b-hkjp4vapbb],
.premium-select:focus[b-hkjp4vapbb] {
    border-color: var(--premium-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.premium-search-wrapper[b-hkjp4vapbb] {
    position: relative;
    display: flex;
    align-items: center;
}

.premium-search-icon[b-hkjp4vapbb] {
    position: absolute;
    left: 12px;
    color: var(--premium-gray-text);
    font-size: 18px;
}

.premium-search-input[b-hkjp4vapbb] {
    padding-left: 40px !important;
}

.premium-btn-refresh[b-hkjp4vapbb] {
    height: 44px;
    background: var(--premium-blue);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-btn-refresh:hover[b-hkjp4vapbb] {
    background: var(--premium-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.premium-search-bar-row[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.premium-table-card[b-hkjp4vapbb] {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--premium-card-shadow);
    border: 1px solid var(--premium-border);
}

.premium-table[b-hkjp4vapbb] {
    width: 100%;
    border-collapse: collapse;
}

.premium-table th[b-hkjp4vapbb] {
    background: #f8fafc;
    padding: 16px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: var(--premium-gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--premium-border);
}

.premium-table td[b-hkjp4vapbb] {
    padding: 16px 12px;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--premium-dark-text);
    vertical-align: middle;
}

.premium-table tbody tr:hover[b-hkjp4vapbb] {
    background-color: #f8fafc;
}

.sid-text[b-hkjp4vapbb] {
    font-weight: 700;
    color: #475569;
}

.patient-id[b-hkjp4vapbb] {
    font-weight: 800;
    color: #1e293b;
}

.patient-name[b-hkjp4vapbb] {
    font-weight: 700;
    display: block;
}

.mobile-text[b-hkjp4vapbb] {
    font-size: 12px;
    color: var(--premium-gray-text);
    font-weight: 500;
}

.amount-text[b-hkjp4vapbb] {
    font-weight: 700;
}

.discount-text[b-hkjp4vapbb] {
    color: var(--premium-red);
    font-weight: 600;
}

.total-text[b-hkjp4vapbb] {
    font-weight: 800;
    color: var(--premium-dark-text);
}

.paid-text[b-hkjp4vapbb] {
    font-weight: 700;
    color: var(--premium-green);
}

.balance-text[b-hkjp4vapbb] {
    font-weight: 700;
}

.action-buttons[b-hkjp4vapbb] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.action-btn[b-hkjp4vapbb] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--premium-border);
    background: white;
    color: var(--premium-gray-text);
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover[b-hkjp4vapbb] {
    background: var(--premium-blue-light);
    color: var(--premium-blue);
    border-color: var(--premium-blue);
}

.premium-footer[b-hkjp4vapbb] {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-top: 1px solid var(--premium-border);
}

.pagination-info[b-hkjp4vapbb] {
    font-size: 13px;
    color: var(--premium-gray-text);
    font-weight: 500;
}

.pagination-controls[b-hkjp4vapbb] {
    display: flex;
    gap: 4px;
}

.page-btn[b-hkjp4vapbb] {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--premium-border);
    background: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.page-btn.active[b-hkjp4vapbb] {
    background: var(--premium-blue);
    color: white;
    border-color: var(--premium-blue);
}

.page-btn:hover:not(.active)[b-hkjp4vapbb] {
    background: #f1f5f9;
}

.totals-row[b-hkjp4vapbb] {
    background: #f8fafc !important;
}

.totals-label[b-hkjp4vapbb] {
    font-weight: 800;
    text-transform: uppercase;
    text-align: right;
    padding-right: 24px !important;
}

.total-val[b-hkjp4vapbb] {
    font-weight: 800;
    font-size: 15px;
}

.bl-datetime-inline[b-hkjp4vapbb] {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    cursor: pointer !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   TEST MASTER (MODIFY TEST) UI STYLES
   ───────────────────────────────────────────────────────────────────────── */
.tm-page-wrapper[b-hkjp4vapbb] {
    padding: 20px;
    background: #f8fafc;
    min-height: 100vh;
    font-family: 'Public Sans', sans-serif;
}

.tm-top-actions[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tm-action-links[b-hkjp4vapbb] {
    display: flex;
    gap: 20px;
}

.tm-action-link[b-hkjp4vapbb] {
    font-size: 11px;
    font-weight: 700;
    color: #4f46e5;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.tm-action-link:hover[b-hkjp4vapbb] {
    text-decoration: underline;
}

.tm-user-profile[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tm-user-info[b-hkjp4vapbb] {
    text-align: right;
}

.tm-user-name[b-hkjp4vapbb] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    display: block;
}

.tm-user-role[b-hkjp4vapbb] {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

.tm-user-avatar[b-hkjp4vapbb] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tm-main-grid[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
}

.tm-card[b-hkjp4vapbb] {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 24px;
    position: relative;
}

/* Test Details Header Section */
.tm-test-details-card[b-hkjp4vapbb] {
    grid-column: 1 / span 2;
    margin-bottom: 20px;
}

.tm-test-row[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 8px;
}

.tm-form-group[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tm-label[b-hkjp4vapbb] {
    font-size: 10px;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tm-input[b-hkjp4vapbb] {
    height: 36px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.2s;
    background: #f8fafc;
}

.tm-input:focus[b-hkjp4vapbb] {
    border-color: #4f46e5;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

.tm-input-accent[b-hkjp4vapbb] {
    border-color: #4f46e5;
    background: #eff6ff;
}

.tm-table-select[b-hkjp4vapbb] {
    width: 100%;
    height: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 4px;
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    cursor: pointer;
}

.tm-table-select:focus[b-hkjp4vapbb] {
    border-color: #4f46e5;
    background: #fff;
}

/* Type & Status Section */
.tm-flex-row[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 12px;
}

.tm-type-item[b-hkjp4vapbb],
.tm-status-item[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.tm-type-item span[b-hkjp4vapbb],
.tm-status-item span[b-hkjp4vapbb] {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.tm-radio[b-hkjp4vapbb],
.tm-checkbox[b-hkjp4vapbb] {
    width: 16px;
    height: 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.tm-radio:checked[b-hkjp4vapbb] {
    border-color: #4f46e5;
    border-width: 5px;
}

.tm-checkbox[b-hkjp4vapbb] {
    border-radius: 4px;
}

.tm-checkbox:checked[b-hkjp4vapbb] {
    background-color: #4f46e5;
    border-color: #4f46e5;
}

.tm-checkbox:checked[b-hkjp4vapbb]::after {
    content: '✔';
    position: absolute;
    color: white;
    font-size: 10px;
    left: 2px;
    top: -1px;
}

/* Parameters Panel */
.tm-params-panel[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tm-params-card[b-hkjp4vapbb] {
    padding: 0;
    overflow: hidden;
}

.tm-card-header-slim[b-hkjp4vapbb] {
    padding: 12px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.tm-card-title-slim[b-hkjp4vapbb] {
    font-size: 12px;
    font-weight: 800;
    color: #1e293b;
}

.tm-link-blue[b-hkjp4vapbb] {
    font-size: 10px;
    font-weight: 700;
    color: #4f46e5;
    cursor: pointer;
    text-decoration: none;
}

.tm-link-red[b-hkjp4vapbb] {
    font-size: 10px;
    font-weight: 700;
    color: #ef4444;
    cursor: pointer;
    text-decoration: none;
}

.tm-param-table[b-hkjp4vapbb] {
    width: 100%;
    border-collapse: collapse;
}

.tm-param-table th[b-hkjp4vapbb] {
    background: #f8fafc;
    padding: 10px 16px;
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e8f0;
}

.tm-param-row[b-hkjp4vapbb] {
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s;
}

.tm-param-row:hover[b-hkjp4vapbb] {
    background: #f8fafc;
}

.tm-param-row.active[b-hkjp4vapbb] {
    background: #eff6ff;
}

.tm-param-cell[b-hkjp4vapbb] {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.tm-param-input[b-hkjp4vapbb] {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

/* Normal Values Panel */
.tm-values-card[b-hkjp4vapbb] {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tm-values-header[b-hkjp4vapbb] {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-tabs[b-hkjp4vapbb] {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 24px;
    background: #f8fafc;
}

.tm-tab[b-hkjp4vapbb] {
    padding: 14px 0;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    border: none;
    background: transparent;
}

.tm-tab.active[b-hkjp4vapbb] {
    color: #4f46e5;
}

.tm-tab.active[b-hkjp4vapbb]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #4f46e5;
}

.tm-value-row[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px;
}

.tm-quill-editor[b-hkjp4vapbb] {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    min-height: 120px;
    margin-top: 8px;
}

.tm-editor-toolbar[b-hkjp4vapbb] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 4px 8px;
    display: flex;
    gap: 12px;
}

.tm-editor-btn[b-hkjp4vapbb] {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.tm-editor-btn:hover[b-hkjp4vapbb] {
    background: #e2e8f0;
}

.tm-editor-content[b-hkjp4vapbb] {
    padding: 16px;
    min-height: 100px;
    font-size: 14px;
    outline: none;
}

/* Bottom Action Bar */
.tm-bottom-bar[b-hkjp4vapbb] {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 16px 16px;
    margin-top: 20px;
}

.tm-date-range[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px 12px;
}

.tm-date-input[b-hkjp4vapbb] {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    width: 90px;
    cursor: pointer;
}

.tm-btn-row[b-hkjp4vapbb] {
    display: flex;
    gap: 10px;
}

.tm-btn[b-hkjp4vapbb] {
    height: 38px;
    padding: 0 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.tm-btn-outline[b-hkjp4vapbb] {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.tm-btn-primary[b-hkjp4vapbb] {
    background: #4f46e5;
    color: #fff;
}

.tm-btn-danger[b-hkjp4vapbb] {
    background: #ef4444;
    color: #fff;
}

.tm-btn-dark[b-hkjp4vapbb] {
    background: #1e293b;
    color: #fff;
}

.tm-btn-secondary[b-hkjp4vapbb] {
    background: #f3f4f6;
    color: #4b5563;
}

.tm-update-btn[b-hkjp4vapbb] {
    background: #fff;
    border: 1.5px solid #f97316;
    color: #f97316;
    padding: 8px 24px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-end;
    margin: 24px;
    margin-top: 0;
}

.tm-update-btn:hover[b-hkjp4vapbb] {
    background: #fff7ed;
    transform: translateY(-1px);
}

/* Special styling for input groups in image */
.tm-input-group[b-hkjp4vapbb] {
    position: relative;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    padding: 0 12px;
    height: 36px;
}

.tm-input-group input[b-hkjp4vapbb] {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 13px;
    font-weight: 600;
}

.tm-input-group .material-symbols-outlined[b-hkjp4vapbb] {
    color: #94a3b8;
    font-size: 18px;
}

.tm-btn-blue[b-hkjp4vapbb] {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.tm-btn-black[b-hkjp4vapbb] {
    background: #000;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

/* Status section checkboxes specifically matching the image style */
.tm-status-grid[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    align-items: center;
    margin-left: 20px;
    margin-top: 4px;
}

.tm-status-box[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 2px 0;
}

.tm-status-check[b-hkjp4vapbb] {
    width: 12px;
    height: 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.tm-status-box:hover .tm-status-check[b-hkjp4vapbb] {
    border-color: #4f46e5;
}

.tm-status-box.active .tm-status-check[b-hkjp4vapbb] {
    border-color: #4f46e5;
    border-width: 4px;
}

.tm-status-label[b-hkjp4vapbb] {
    font-size: 10px;
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
}

.tm-sep-row[b-hkjp4vapbb] {
    height: 1px;
    background: #f1f5f9;
    width: 100%;
    margin: 2px 0;
}

/* Flex & Layout Utilities */
.display-flex[b-hkjp4vapbb] {
    display: flex;
}

.flex-col[b-hkjp4vapbb] {
    flex-direction: column;
}

.flex-1[b-hkjp4vapbb] {
    flex: 1;
}

.align-center[b-hkjp4vapbb] {
    align-items: center;
}

.justify-center[b-hkjp4vapbb] {
    justify-content: center;
}

.justify-between[b-hkjp4vapbb] {
    justify-content: space-between;
}

.justify-end[b-hkjp4vapbb] {
    justify-content: flex-end;
}

.gap-4[b-hkjp4vapbb] {
    gap: 4px;
}

.gap-8[b-hkjp4vapbb] {
    gap: 8px;
}

.gap-12[b-hkjp4vapbb] {
    gap: 12px;
}

.gap-16[b-hkjp4vapbb] {
    gap: 16px;
}

.gap-24[b-hkjp4vapbb] {
    gap: 24px;
}

.gap-32[b-hkjp4vapbb] {
    gap: 32px;
}

/* Spacing Utilities */
.mt-4[b-hkjp4vapbb] {
    margin-top: 4px;
}

.mt-8[b-hkjp4vapbb] {
    margin-top: 8px;
}

.mt-12[b-hkjp4vapbb] {
    margin-top: 12px;
}

.mt-20[b-hkjp4vapbb] {
    margin-top: 20px;
}

.mb-16[b-hkjp4vapbb] {
    margin-bottom: 16px;
}

.my-16[b-hkjp4vapbb] {
    margin: 16px 0;
}

.ml-4[b-hkjp4vapbb] {
    margin-left: 4px;
}

.ml-20[b-hkjp4vapbb] {
    margin-left: 20px;
}

.p-12[b-hkjp4vapbb] {
    padding: 12px;
}

.p-24[b-hkjp4vapbb] {
    padding: 24px;
}

/* Sizing Utilities */
.w-full[b-hkjp4vapbb] {
    width: 100%;
}

.w-48[b-hkjp4vapbb] {
    width: 48px;
}

.h-24[b-hkjp4vapbb] {
    height: 24px;
}

.h-28[b-hkjp4vapbb] {
    height: 28px;
}

.h-32[b-hkjp4vapbb] {
    height: 32px;
}

.h-80[b-hkjp4vapbb] {
    height: 80px;
}

/* Font Utilities */
.font-11[b-hkjp4vapbb] {
    font-size: 11px;
}

.font-14[b-hkjp4vapbb] {
    font-size: 14px;
}

.lc-outline-none[b-hkjp4vapbb] {
    outline: none;
}

/* NORMAL VALUES TAB LAYOUTS */
.tm-tab-content-grid[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    flex: 1;
}

.tm-tab-left-col[b-hkjp4vapbb],
.tm-tab-right-col[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
}

.tm-specimen-table-wrapper[b-hkjp4vapbb] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.tm-specimen-table[b-hkjp4vapbb] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.tm-specimen-table th[b-hkjp4vapbb] {
    background: #f8fafc;
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.tm-specimen-table td[b-hkjp4vapbb] {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
}

.tm-specimen-table tr:last-child td[b-hkjp4vapbb] {
    border-bottom: none;
}

.tm-specimen-table tr:hover[b-hkjp4vapbb] {
    background: #f1f5f9;
}

.tm-checkbox[b-hkjp4vapbb] {
    width: 14px;
    height: 14px;
    accent-color: #2563eb;
    cursor: pointer;
}

.tm-btn-icon-gray[b-hkjp4vapbb] {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    color: #64748b;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.tm-btn-icon-gray:hover[b-hkjp4vapbb] {
    background: #e2e8f0;
    color: #1e293b;
}

.tm-btn-icon-red[b-hkjp4vapbb] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: #fee2e2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-btn-icon-red:hover[b-hkjp4vapbb] {
    background: #fecaca;
    color: #dc2626;
    transform: scale(1.05);
}

.tm-update-btn[b-hkjp4vapbb] {
    background: #fff;
    border: 1px solid #f97316;
    color: #f97316;
    padding: 4px 20px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.tm-update-btn:hover[b-hkjp4vapbb] {
    background: #fff7ed;
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.1);
}

.tm-values-header-accent[b-hkjp4vapbb] {
    background: #e11d48;
    color: #fff;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tm-values-subheader[b-hkjp4vapbb] {
    padding: 12px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tm-link-orange[b-hkjp4vapbb] {
    color: #f97316;
    text-decoration: none;
}

.tm-link-orange:hover[b-hkjp4vapbb] {
    text-decoration: underline;
}

.tm-detailed-range-section[b-hkjp4vapbb] {
    border-top: 1px solid #e2e8f0;
}

.tm-specimen-table-container[b-hkjp4vapbb] {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 12px;
}

.tm-specimen-table-modern[b-hkjp4vapbb] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.tm-specimen-table-modern th[b-hkjp4vapbb] {
    background: #fff;
    padding: 6px 10px;
    text-align: left;
    font-weight: 500;
    color: #1e293b;
    border-bottom: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
}

.tm-specimen-table-modern th:last-child[b-hkjp4vapbb] {
    border-right: none;
}

.tm-specimen-table-modern td[b-hkjp4vapbb] {
    padding: 4px 10px;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #cbd5e1;
    color: #334155;
}

.tm-specimen-table-modern td:last-child[b-hkjp4vapbb] {
    border-right: none;
}

.tm-specimen-table-modern tr:last-child td[b-hkjp4vapbb] {
    border-bottom: none;
}

.tm-specimen-table-modern tr:hover td[b-hkjp4vapbb] {
    background: #f8fafc;
}

.tm-specimen-row-active td[b-hkjp4vapbb] {
    background: #eff6ff !important;
    border-left: 3px solid #4f46e5;
}

.text-red[b-hkjp4vapbb] {
    color: #ef4444 !important;
}

.fw-600[b-hkjp4vapbb] {
    font-weight: 600;
}

.bl-scan-btn[b-hkjp4vapbb] {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
}

.bl-scan-btn:hover[b-hkjp4vapbb] {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

.bl-scan-btn .material-symbols-outlined[b-hkjp4vapbb] {
    font-size: 16px;
}


.bl-scan-icon-only[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2), 0 2px 4px -1px rgba(79, 70, 229, 0.1);
}

.bl-scan-icon-only:hover[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.bl-yt-search-group[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    height: 40px;
}

.bl-yt-search-group:focus-within[b-hkjp4vapbb] {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: white;
}

.bl-yt-input[b-hkjp4vapbb] {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    outline: none !important;
    height: 100% !important;
}

.bl-yt-button[b-hkjp4vapbb] {
    background: #f1f5f9;
    border: none;
    border-left: 1.5px solid #e2e8f0;
    color: #4f46e5;
    width: 44px;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.bl-yt-button:hover[b-hkjp4vapbb] {
    background: #e2e8f0;
    color: #1e293b;
}

.bl-yt-button.has-scan[b-hkjp4vapbb] {
    color: #10b981;
}

.bl-yt-button .material-icons[b-hkjp4vapbb] {
    font-size: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    width: 24px;
    height: 24px;
}

.bl-scan-status-container[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #10b981;
}

.bl-scan-tick[b-hkjp4vapbb] {
    color: #10b981;
    font-size: 18px !important;
}

.bl-scan-cancel[b-hkjp4vapbb] {
    color: #ef4444;
    font-size: 16px !important;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.bl-scan-cancel:hover[b-hkjp4vapbb] {
    opacity: 1;
}

.bl-scan-path-badge[b-hkjp4vapbb] {
    background: #f1f5f9;
    color: #64748b;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
}

/* ===============================================
   Result Entry - Premium Modern Design
   =============================================== */

/* Container */
.re-container[b-hkjp4vapbb] {
    padding: 16px 20px 80px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1e293b;
    background: #f8fafc;
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Common form elements */
.re-label[b-hkjp4vapbb] {
    font-size: 0.7rem;
    font-weight: 650;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.re-input[b-hkjp4vapbb],
.re-select[b-hkjp4vapbb],
.re-input-date[b-hkjp4vapbb],
.re-input-time[b-hkjp4vapbb],
.re-textarea[b-hkjp4vapbb] {
    padding: 4px 8px;
    border-radius: 6px;
    border: 1.5px solid #e2e8f0;
    font-size: 0.8rem;
    color: #1e293b;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.re-input:focus[b-hkjp4vapbb],
.re-select:focus[b-hkjp4vapbb],
.re-input-date:focus[b-hkjp4vapbb],
.re-input-time:focus[b-hkjp4vapbb],
.re-textarea:focus[b-hkjp4vapbb] {
    border-color: #6366f1;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.re-input[b-hkjp4vapbb],
.re-select[b-hkjp4vapbb],
.re-input-date[b-hkjp4vapbb],
.re-input-time[b-hkjp4vapbb] {
    height: 30px;
}

.re-select[b-hkjp4vapbb] {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%2394a3b8' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 24px;
    cursor: pointer;
}

.re-input-yellow[b-hkjp4vapbb] {
    background-color: #fefce8;
    border-color: #fde68a;
    color: #92400e;
}

.re-input-yellow:focus[b-hkjp4vapbb] {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* Header Section */
.re-header-section[b-hkjp4vapbb] {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.re-breadcrumb[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    font-family: inherit;
    font-size: 0.9rem;
}

.re-breadcrumb i.fa-home[b-hkjp4vapbb] {
    color: #4f46e5;
    font-size: 1rem;
    margin-right: 12px;
}

.re-breadcrumb span.text-muted[b-hkjp4vapbb] {
    color: #64748b;
    margin-right: 12px;
}

.re-breadcrumb i.fa-chevron-right[b-hkjp4vapbb] {
    color: #cbd5e1;
    font-size: 0.7rem;
    margin-right: 12px;
}

.re-breadcrumb span.text-active[b-hkjp4vapbb] {
    color: var(--lc-secondary);
    font-weight: 600;
}

.re-header-right[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1;
}

/* Sample Card */
.re-sample-card[b-hkjp4vapbb] {
    background: #fff;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #e9edf3;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.re-field-group[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Custom Checkbox/Radio */
.re-check-label[b-hkjp4vapbb],
.re-radio-label[b-hkjp4vapbb] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    user-select: none;
}

.re-check-label input[type="checkbox"][b-hkjp4vapbb],
.re-radio-label input[type="radio"][b-hkjp4vapbb] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    outline: none;
    transition: all 0.2s;
    position: relative;
    cursor: pointer;
}

.re-radio-label input[type="radio"][b-hkjp4vapbb] {
    border-radius: 50%;
}

.re-check-label input[type="checkbox"]:checked[b-hkjp4vapbb],
.re-radio-label input[type="radio"]:checked[b-hkjp4vapbb] {
    background-color: #6366f1;
    border-color: #6366f1;
}

.re-check-label input[type="checkbox"]:checked[b-hkjp4vapbb]::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
}

.re-radio-label input[type="radio"]:checked[b-hkjp4vapbb]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Tabs */
.re-tabs-container[b-hkjp4vapbb] {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 2px;
    padding: 0 4px;
}

.re-tab[b-hkjp4vapbb] {
    background: transparent;
    border: none;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.re-tab:hover[b-hkjp4vapbb] {
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.05);
}

.re-tab.active[b-hkjp4vapbb] {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
    background: rgba(99, 102, 241, 0.08);
}

/* Main Content Area */
.re-main-content[b-hkjp4vapbb] {
    display: flex;
    gap: 24px;
    flex-grow: 1;
    align-items: flex-start;
    position: relative;
}

.re-panel-card[b-hkjp4vapbb] {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9edf3;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.re-left-panel[b-hkjp4vapbb] {
    width: 100%;
    min-height: 390px;
}

.re-right-panel[b-hkjp4vapbb] {
    position: absolute;
    top: 10px;
    right: 16px;
    width: 320px;
    z-index: 50;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
    border: 1px solid #cbd5e1;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

/* Table Actions */
.re-panel-header[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    background: #fafbff;
}

/* ===== BILLED TESTS DROPDOWN ===== */
.re-bt-wrapper[b-hkjp4vapbb] {
    position: relative;
}

.re-billed-tests[b-hkjp4vapbb] {
    color: #ef4444;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fef2f2;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #fecaca;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
}

.re-billed-tests:hover[b-hkjp4vapbb],
.re-billed-tests.active[b-hkjp4vapbb] {
    background: #fee2e2;
    border-color: #fca5a5;
}

.re-bt-chevron[b-hkjp4vapbb] {
    font-size: 0.6rem;
    transition: transform 0.25s ease;
    margin-left: 2px;
}

.re-bt-chevron.up[b-hkjp4vapbb] {
    transform: rotate(180deg);
}

/* ===== ADVANCE FILTER DROPDOWN ===== */
.re-af-wrapper[b-hkjp4vapbb] {
    position: relative;
}

.re-advance-filter[b-hkjp4vapbb] {
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    padding: 0 12px;
    height: 30px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 650;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    user-select: none;
}

.re-advance-filter:hover[b-hkjp4vapbb],
.re-advance-filter.active[b-hkjp4vapbb] {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #1e293b;
}

.re-af-chevron[b-hkjp4vapbb] {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
    color: #94a3b8;
}

.re-af-chevron.up[b-hkjp4vapbb] {
    transform: rotate(180deg);
}

.re-af-dropdown[b-hkjp4vapbb] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 200;
    overflow: hidden;
    animation: re-bt-appear-b-hkjp4vapbb 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.re-af-dropdown-header[b-hkjp4vapbb] {
    padding: 8px 12px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.re-af-dropdown-body[b-hkjp4vapbb] {
    max-height: 280px;
    overflow-y: auto;
}

.re-af-item[b-hkjp4vapbb] {
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s;
}

.re-af-item:hover[b-hkjp4vapbb] {
    background: #f8fafc;
    color: #4f46e5;
}

.re-af-item.selected[b-hkjp4vapbb] {
    background: #eff6ff;
    color: #2563eb;
    position: relative;
    padding-left: 28px;
}

.re-af-item.selected[b-hkjp4vapbb]::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 10px;
    font-size: 0.7rem;
}

.re-af-overlay[b-hkjp4vapbb] {
    position: fixed;
    inset: 0;
    z-index: 199;
}

/* ===== TEST SEARCH ===== */
.re-search-wrapper[b-hkjp4vapbb] {
    position: relative;
    display: flex;
    align-items: center;
}

.re-test-search[b-hkjp4vapbb] {
    min-width: 180px;
    padding-right: 28px !important;
}

.re-clear-search[b-hkjp4vapbb] {
    position: absolute;
    right: 6px;
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 4px;
    font-size: 0.75rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.re-clear-search:hover[b-hkjp4vapbb] {
    color: #ef4444;
}

/* Dropdown Panel */
.re-bt-dropdown[b-hkjp4vapbb] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 240px;
    max-width: 320px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
    z-index: 200;
    overflow: hidden;
    animation: re-bt-appear-b-hkjp4vapbb 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes re-bt-appear-b-hkjp4vapbb {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Dropdown Header */
.re-bt-dropdown-header[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: linear-gradient(to right, #fef2f2, #fff);
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ef4444;
    gap: 8px;
}

.re-bt-count[b-hkjp4vapbb] {
    background: #fecaca;
    color: #b91c1c;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
}

/* Dropdown Body */
.re-bt-dropdown-body[b-hkjp4vapbb] {
    max-height: 220px;
    overflow-y: auto;
    padding: 4px 0;
}

.re-bt-dropdown-body[b-hkjp4vapbb]::-webkit-scrollbar {
    width: 4px;
}

.re-bt-dropdown-body[b-hkjp4vapbb]::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

/* Individual Test Item */
.re-bt-item[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s;
    user-select: none;
}

.re-bt-item:hover[b-hkjp4vapbb] {
    background: #f8fafc;
}

.re-bt-item.selected[b-hkjp4vapbb] {
    color: #1e293b;
}

.re-bt-item input[type="checkbox"][b-hkjp4vapbb] {
    width: 14px;
    height: 14px;
    accent-color: #ef4444;
    cursor: pointer;
    flex-shrink: 0;
}

.re-bt-item-name[b-hkjp4vapbb] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Empty State */
.re-bt-empty[b-hkjp4vapbb] {
    padding: 16px 12px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Dropdown Footer */
.re-bt-dropdown-footer[b-hkjp4vapbb] {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid #f1f5f9;
    background: #fafbff;
}

.re-bt-apply-btn[b-hkjp4vapbb] {
    flex: 1;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s;
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.25);
}

.re-bt-apply-btn:hover[b-hkjp4vapbb] {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(239, 68, 68, 0.35);
}

.re-bt-reset-btn[b-hkjp4vapbb] {
    background: #fff;
    color: #64748b;
    border: 1.5px solid #e2e8f0;
    border-radius: 7px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.re-bt-reset-btn:hover[b-hkjp4vapbb] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #334155;
}

/* Click-outside Overlay */
.re-bt-overlay[b-hkjp4vapbb] {
    position: fixed;
    inset: 0;
    z-index: 199;
    background: transparent;
    cursor: default;
}

.re-delta-link[b-hkjp4vapbb] {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    padding: 6px 10px;
    border-radius: 6px;
}

.re-delta-link:hover[b-hkjp4vapbb] {
    color: #4338ca;
    background: #eef2ff;
}

.re-btn-danger[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.re-btn-danger:hover[b-hkjp4vapbb] {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

/* Table Area */
.re-table-wrapper[b-hkjp4vapbb] {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 500px;
}

.re-data-table[b-hkjp4vapbb] {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
}

.re-data-table th[b-hkjp4vapbb] {
    padding: 10px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f1f5f9;
    border-bottom: 2px solid #94a3b8;
    text-align: left;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2;
}

.re-data-table td[b-hkjp4vapbb] {
    padding: 6px 12px;
    font-size: 0.8rem;
    color: #334155;
    font-weight: 600;
    border-bottom: 1px solid #b8c4d0;
    border-right: 1px solid #c8d2dc;
    vertical-align: middle;
    background: #fff;
}

.re-data-table td:last-child[b-hkjp4vapbb] {
    border-right: none;
}

.re-col-center[b-hkjp4vapbb] {
    text-align: center;
}

.re-edit-cell[b-hkjp4vapbb] {
    padding: 6px 8px !important;
    background: #ffffff !important;
}

.re-t-input[b-hkjp4vapbb] {
    width: 100%;
    height: 32px;
    border: 1.5px solid #94a3b8;
    border-radius: 6px;
    background: #f1f5f9;
    padding: 0 10px;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--lc-secondary);
    font-weight: 700;
    box-sizing: border-box;
}

.re-t-input:focus[b-hkjp4vapbb] {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3.5px rgba(79, 70, 229, 0.15);
}

.re-bg-red[b-hkjp4vapbb] {
    background-color: #fee2e2 !important;
    /* High/Low Red */
}

.re-bg-yellow[b-hkjp4vapbb] {
    background-color: #ffedd5 !important;
    /* Borderline Orange */
}

.re-bg-green[b-hkjp4vapbb] {
    background-color: #dcfce7 !important;
    /* Normal Green */
}

.re-bg-yellow .re-t-input[b-hkjp4vapbb],
.re-bg-red .re-t-input[b-hkjp4vapbb],
.re-bg-green .re-t-input[b-hkjp4vapbb] {
    background: inherit !important;
}

/* ===============================================
   Result Search - Premium Modern Design
   =============================================== */

.re-header-main[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 24px;
}

.re-patient-info[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.re-avatar[b-hkjp4vapbb] {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.re-patient-details[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
}

.re-patient-name[b-hkjp4vapbb] {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--lc-secondary);
    margin: 0;
}

.re-patient-meta[b-hkjp4vapbb] {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.re-header-actions[b-hkjp4vapbb] {
    display: flex;
    gap: 12px;
}

.re-entry-badge[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.re-select-minimal[b-hkjp4vapbb] {
    border: none;
    background: transparent;
    font-weight: 700;
    color: #4f46e5;
    cursor: pointer;
    outline: none;
}

.re-card[b-hkjp4vapbb] {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.re-card-header[b-hkjp4vapbb] {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    background: #fafbff;
}

.re-card-title[b-hkjp4vapbb] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-card-body[b-hkjp4vapbb] {
    padding: 16px;
}

.re-grid-search[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: flex-end;
}

.re-grid-3[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.re-field[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.re-item-primary[b-hkjp4vapbb] {
    font-weight: 600;
    color: #1e293b;
}

.re-item-secondary[b-hkjp4vapbb] {
    font-size: 0.75rem;
    color: #64748b;
}

.re-dropdown-item[b-hkjp4vapbb] {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
}

.re-dropdown-item:hover[b-hkjp4vapbb] {
    background: #f8fafc;
}

.re-search-dropdown[b-hkjp4vapbb] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
}

.re-search-input-wrap[b-hkjp4vapbb] {
    position: relative;
}

.re-content-layout[b-hkjp4vapbb] {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.re-main-panel[b-hkjp4vapbb] {
    flex: 1;
    min-width: 0;
}

.re-side-panel[b-hkjp4vapbb] {
    width: 350px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}

.re-table-container[b-hkjp4vapbb] {
    width: 100%;
    overflow-x: auto;
}

.re-table[b-hkjp4vapbb] {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
}

.re-table th[b-hkjp4vapbb] {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.re-table td[b-hkjp4vapbb] {
    padding: 12px 16px;
    font-size: 0.85rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
}

.re-row-selected[b-hkjp4vapbb] {
    background: #eff6ff !important;
}

.re-empty-state[b-hkjp4vapbb] {
    padding: 48px;
    text-align: center;
    color: #94a3b8;
}

.re-empty-icon[b-hkjp4vapbb] {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.2;
}

.re-badge[b-hkjp4vapbb] {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.re-badge-warning[b-hkjp4vapbb] {
    background: #fef3c7;
    color: #b45309;
}

.re-badge-success[b-hkjp4vapbb] {
    background: #dcfce7;
    color: #15803d;
}

.re-badge-info[b-hkjp4vapbb] {
    background: #e0e7ff;
    color: #4338ca;
}

.re-pill-group[b-hkjp4vapbb] {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
    width: fit-content;
}

.re-pill[b-hkjp4vapbb] {
    padding: 4px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.re-pill.active[b-hkjp4vapbb] {
    background: #fff;
    color: #4f46e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.re-pill input[b-hkjp4vapbb] {
    display: none;
}

.re-filter-row[b-hkjp4vapbb] {
    display: flex;
    gap: 32px;
    align-items: center;
}

.re-btn-primary[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.re-btn-secondary[b-hkjp4vapbb] {
    background: #fff;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-input-calculated[b-hkjp4vapbb] {
    background-color: #f0f9ff !important;
    border-color: #bae6fd !important;
    color: #0369a1 !important;
    font-weight: 700 !important;
    cursor: default;
}

/* Status Indicator Dots */
.re-status-wrapper[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 8px;
}

.re-status-dot[b-hkjp4vapbb] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    /* Default/None */
    flex-shrink: 0;
}

.re-status-dot.normal[b-hkjp4vapbb] {
    background-color: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.re-status-dot.high[b-hkjp4vapbb] {
    background-color: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.re-status-dot.low[b-hkjp4vapbb] {
    background-color: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

/* Table Footer */
.re-table-footer[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid #f1f5f9;
    background: #fafbff;
}

.re-tf-left[b-hkjp4vapbb],
.re-tf-right[b-hkjp4vapbb] {
    display: flex;
    gap: 12px;
    align-items: center;
}

.re-link-btn[b-hkjp4vapbb] {
    background: none;
    border: none;
    color: #4f46e5;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.re-link-btn:hover[b-hkjp4vapbb] {
    background: #eef2ff;
    color: #4338ca;
}

.re-text-danger[b-hkjp4vapbb] {
    color: #ef4444;
}

.re-text-danger:hover[b-hkjp4vapbb] {
    background: #fef2f2;
    color: #dc2626;
}

/* Right Panel Styles */
.re-rp-header[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 10px 12px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.re-rp-header i[b-hkjp4vapbb] {
    color: #4f46e5;
    font-size: 1rem;
}

.re-btn-close-popup[b-hkjp4vapbb] {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    border-radius: 4px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.re-btn-close-popup:hover[b-hkjp4vapbb] {
    background: #f1f5f9;
    color: #ef4444;
}

.re-btn-close-popup i[b-hkjp4vapbb] {
    color: inherit;
    font-size: 1rem;
}

.re-rp-tabs[b-hkjp4vapbb] {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 8px;
}

.re-rp-tab[b-hkjp4vapbb] {
    background: none;
    border: none;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    color: #64748b;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    margin-bottom: -1px;
}

.re-rp-tab:hover[b-hkjp4vapbb] {
    color: #4f46e5;
}

.re-rp-tab.active[b-hkjp4vapbb] {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
}

.re-rp-content[b-hkjp4vapbb] {
    padding: 8px 12px;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.re-form-group[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.re-row-group[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.re-control[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.re-textarea[b-hkjp4vapbb] {
    resize: vertical;
    min-height: 24px;
}

.re-flex-spacer[b-hkjp4vapbb] {
    flex-grow: 1;
}

.re-rp-footer[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
    background: #fafbff;
}

.re-btn-update[b-hkjp4vapbb] {
    background: #fff;
    color: #4f46e5;
    border: 1.5px solid #c7d2fe;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.re-btn-update:hover[b-hkjp4vapbb] {
    background: #eef2ff;
    border-color: #818cf8;
    transform: translateY(-1px);
}

/* Bottom Bar */
.re-footer-bar[b-hkjp4vapbb] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    flex-wrap: wrap;
    gap: 12px;
}

.re-footer-centered[b-hkjp4vapbb] {
    justify-content: center;
}

.re-footer-left[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.re-label-bold[b-hkjp4vapbb] {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.85rem;
}

.re-footer-divider[b-hkjp4vapbb] {
    width: 1px;
    height: 20px;
    background: #cbd5e1;
    margin: 0 4px;
}

.re-footer-right[b-hkjp4vapbb] {
    display: flex;
    gap: 12px;
}

.re-btn-action[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: #334155;
    font-family: 'Inter', sans-serif;
}

.re-btn-action:hover[b-hkjp4vapbb] {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.re-btn-action-primary[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.re-btn-action-primary:hover[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #fff;
    border: none;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

/* Responsive Layout */
@media (max-width: 1200px) {
    .re-main-content[b-hkjp4vapbb] {
        flex-direction: column;
    }

    .re-left-panel[b-hkjp4vapbb],
    .re-right-panel[b-hkjp4vapbb] {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .re-header-section[b-hkjp4vapbb],
    .re-sample-card[b-hkjp4vapbb] {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .re-header-right[b-hkjp4vapbb] {
        justify-content: flex-start;
    }

    .re-container[b-hkjp4vapbb] {
        padding: 16px 16px 120px;
    }

    .re-footer-bar[b-hkjp4vapbb] {
        padding: 12px 16px;
    }
}

/* Fixed Values Modal - Premium Design */
.re-modal-overlay[b-hkjp4vapbb] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    /* Sleek backdrop */
    z-index: 1000;
    backdrop-filter: blur(4px);
    animation: fadeInModal-b-hkjp4vapbb 0.2s ease-out;
}

@keyframes fadeInModal-b-hkjp4vapbb {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.re-modal[b-hkjp4vapbb] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: inherit;
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Soft border for elegance */
    animation: scaleInModal-b-hkjp4vapbb 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleInModal-b-hkjp4vapbb {
    from {
        transform: translate(-50%, -45%) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.re-modal-titlebar[b-hkjp4vapbb] {
    background: #f8fafc;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.re-modal-titlebar button[b-hkjp4vapbb] {
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 1.2rem;
    line-height: 1;
    transition: color 0.15s ease;
}

.re-modal-titlebar button:hover[b-hkjp4vapbb] {
    color: #ef4444;
}

.re-modal-header[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.re-modal-body[b-hkjp4vapbb] {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fdfdfd;
}

.re-modal-footer[b-hkjp4vapbb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

/* Modal Buttons */
.re-btn-outline[b-hkjp4vapbb] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.re-btn-outline:hover:not(:disabled)[b-hkjp4vapbb] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
}

.re-btn-outline:active:not(:disabled)[b-hkjp4vapbb] {
    transform: translateY(0);
}

.re-btn-outline:disabled[b-hkjp4vapbb] {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f5f9;
}

/* Destructive Button Exception */
.btn-delete:hover:not(:disabled)[b-hkjp4vapbb] {
    border-color: #fca5a5 !important;
    color: #ef4444 !important;
    background: #fef2f2 !important;
}

/* Primary Button Exception */
.re-btn-save[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.re-btn-save:hover[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(99, 102, 241, 0.4);
}

/* Print Button */
.re-btn-print[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.re-btn-print:hover[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(14, 165, 233, 0.4);
}

/* Improved Table styling inside Modal */
.re-fv-table-wrapper[b-hkjp4vapbb] {
    height: 150px;
    overflow-y: auto;
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.re-fv-table[b-hkjp4vapbb] {
    border-collapse: collapse;
    width: 100%;
}

.re-fv-table th[b-hkjp4vapbb] {
    background: #f8fafc !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding: 8px 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 2;
}

.re-fv-table td[b-hkjp4vapbb] {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.85rem;
    color: #334155;
    transition: background-color 0.15s;
    font-weight: 500;
}

.re-fv-table tbody tr:hover:not(.active-row) td[b-hkjp4vapbb] {
    background-color: #f8fafc;
}

.re-fv-table .active-row td[b-hkjp4vapbb] {
    background: #eef2ff !important;
    color: #4f46e5 !important;
    border-bottom-color: #e0e7ff;
    font-weight: 600;
}

.re-fv-table .active-row i.fa-caret-right[b-hkjp4vapbb] {
    color: #4f46e5;
}

.re-fv-table .active-row input.re-t-input[b-hkjp4vapbb] {
    color: #4f46e5;
    font-weight: 600;
}

/* ===== SAVE TOAST NOTIFICATION ===== */
.re-save-toast[b-hkjp4vapbb] {
    position: fixed;
    bottom: 72px;
    /* sit just above the footer bar */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    animation: re-toast-in-b-hkjp4vapbb 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.re-save-toast.success[b-hkjp4vapbb] {
    background: #f0fdf4;
    color: #15803d;
    border: 1.5px solid #bbf7d0;
}

.re-save-toast.success i[b-hkjp4vapbb] {
    color: #16a34a;
    font-size: 1rem;
}

.re-save-toast.error[b-hkjp4vapbb] {
    background: #fef2f2;
    color: #b91c1c;
    border: 1.5px solid #fecaca;
}

.re-save-toast.error i[b-hkjp4vapbb] {
    color: #dc2626;
    font-size: 1rem;
}

@keyframes re-toast-in-b-hkjp4vapbb {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== SAVE BUTTON SPINNER ===== */
.re-save-spinner[b-hkjp4vapbb] {
    width: 14px;
    height: 14px;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: re-spin-b-hkjp4vapbb 0.65s linear infinite;
    flex-shrink: 0;
}

@keyframes re-spin-b-hkjp4vapbb {
    to {
        transform: rotate(360deg);
    }
}

/* ===== SAVING OVERLAY BANNER ===== */
.re-saving-overlay[b-hkjp4vapbb] {
    position: fixed;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    box-shadow: 0 8px 28px rgba(79, 70, 229, 0.45);
    z-index: 600;
    white-space: nowrap;
    animation: re-toast-in-b-hkjp4vapbb 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.01em;
}

/* Save button pulsing glow while saving */
.re-btn-saving[b-hkjp4vapbb] {
    animation: re-btn-pulse-b-hkjp4vapbb 1.2s ease-in-out infinite !important;
    pointer-events: none;
}

@keyframes re-btn-pulse-b-hkjp4vapbb {
    0% {
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    }

    50% {
        box-shadow: 0 4px 24px rgba(79, 70, 229, 0.7);
    }

    100% {
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    }
}

/* ===== DOT BUTTON (…) ===== */
.re-dot-btn[b-hkjp4vapbb] {
    background: transparent;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    width: 28px;
    height: 22px;
    font-size: 0.9rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.18s ease;
    letter-spacing: 0.05em;
}

.re-dot-btn:hover[b-hkjp4vapbb] {
    background: #eef2ff;
    border-color: #6366f1;
    color: #4f46e5;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.18);
    transform: translateY(-1px);
}

/* ===== COMBINED ROW (Text + PrintResultOnly) ===== */
.re-row-combined td[b-hkjp4vapbb] {
    background-color: #f0fdf4 !important;
    border-left: 3px solid #86efac;
}

.re-combined-cell[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.re-combined-label[b-hkjp4vapbb] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #166534;
    white-space: nowrap;
    min-width: 140px;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.re-combined-result[b-hkjp4vapbb] {
    flex: 1;
    background: #f0fdf4 !important;
    color: #15803d !important;
    border: 1.5px solid #bbf7d0 !important;
    border-radius: 6px !important;
}

.re-combined-result:focus[b-hkjp4vapbb] {
    border-color: #16a34a !important;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15) !important;
    background: #fff !important;
}

/* ===== ROW DETAIL POPUP ===== */
.re-row-detail-modal[b-hkjp4vapbb] {
    width: 560px;
    max-width: 96vw;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.re-row-detail-body[b-hkjp4vapbb] {
    overflow-y: auto;
    padding: 16px !important;
    gap: 0 !important;
}

.re-rd-grid[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}

.re-rd-field[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.re-rd-field-span[b-hkjp4vapbb] {
    grid-column: 1 / -1;
}

.re-rd-field .re-input[b-hkjp4vapbb] {
    width: 100%;
    box-sizing: border-box;
}

.re-rd-field input[readonly][b-hkjp4vapbb] {
    background: #f8fafc;
    color: #94a3b8;
    cursor: default;
}

/* Authorization Buttons */
.re-btn-action-primary[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: white;
    border-color: #4f46e5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.re-btn-action-primary:hover:not(:disabled)[b-hkjp4vapbb] {
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
    background: linear-gradient(135deg, #4338ca, #3730a3);
}

.re-btn-action-info[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border-color: #0ea5e9;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.re-btn-action-info:hover:not(:disabled)[b-hkjp4vapbb] {
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
    background: linear-gradient(135deg, #0284c7, #0369a1);
}

.re-btn-action-success[b-hkjp4vapbb] {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.re-btn-action-success:hover:not(:disabled)[b-hkjp4vapbb] {
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
    background: linear-gradient(135deg, #059669, #047857);
}

.re-footer-names[b-hkjp4vapbb] {
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-right: 16px;
}

.re-footer-names div[b-hkjp4vapbb] {
    min-width: 120px;
}

.re-footer-names small[b-hkjp4vapbb] {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
}

/* Detailed Normal Values Table */
.re-nv-table-container[b-hkjp4vapbb] {
    max-height: 250px;
    overflow-y: auto;
}

.re-nv-row:hover[b-hkjp4vapbb] {
    background-color: #f1f5f9;
}

.re-nv-row.active[b-hkjp4vapbb] {
    background-color: #eef2ff;
}

.re-dual-input-container[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    margin-top: 4px;
}

.re-focus-blue[b-hkjp4vapbb] {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.re-check-row-right[b-hkjp4vapbb] {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.re-row-grid[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.re-form-grid[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.re-form-grid .re-label[b-hkjp4vapbb] {
    margin-bottom: 0;
    font-weight: 500;
    color: #334155;
    font-size: 0.8rem;
}

.re-row-flex[b-hkjp4vapbb] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.re-panel-footer[b-hkjp4vapbb] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
}

.re-grid-input[b-hkjp4vapbb] {
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    padding: 4px;
    font-size: 0.8rem;
    text-align: center;
    color: #1e293b;
}

.re-grid-input:focus[b-hkjp4vapbb] {
    border-color: #6366f1;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
    border-radius: 4px;
}

.re-btn-add-nv[b-hkjp4vapbb] {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    padding: 6px;
    width: 100%;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.re-btn-add-nv:hover[b-hkjp4vapbb] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #475569;
}

.re-btn-mini[b-hkjp4vapbb] {
    height: 32px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    color: #64748b;
    font-weight: 700;
}

.re-btn-mini:hover[b-hkjp4vapbb] {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.re-nv-header[b-hkjp4vapbb] {
    background: #f8fafc;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-nv-mini-table[b-hkjp4vapbb] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    background: #fff;
}

.re-nv-mini-table th[b-hkjp4vapbb] {
    background: #f1f5f9;
    padding: 8px;
    text-align: center;
    color: #64748b;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
}

.re-nv-mini-table td[b-hkjp4vapbb] {
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.re-btn-primary[b-hkjp4vapbb] {
    background: #4f46e5;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-btn-primary:hover[b-hkjp4vapbb] {
    background: #4338ca;
}

/* GLOBAL INPUT FONT WEIGHT OVERRIDE */
input:not([type="checkbox"]):not([type="radio"])[b-hkjp4vapbb],
select[b-hkjp4vapbb],
textarea[b-hkjp4vapbb] {
    font-weight: 700 !important;
}

input:not([type="checkbox"]):not([type="radio"])[b-hkjp4vapbb]::placeholder,
textarea[b-hkjp4vapbb]::placeholder {
    font-weight: 300 !important;
}

input:not([type="checkbox"]):not([type="radio"])[b-hkjp4vapbb]::-webkit-input-placeholder,
textarea[b-hkjp4vapbb]::-webkit-input-placeholder {
    font-weight: 300 !important;
}

input:not([type="checkbox"]):not([type="radio"])[b-hkjp4vapbb]::-moz-placeholder,
textarea[b-hkjp4vapbb]::-moz-placeholder {
    font-weight: 300 !important;
}

input:not([type="checkbox"]):not([type="radio"]):-ms-input-placeholder[b-hkjp4vapbb],
textarea:-ms-input-placeholder[b-hkjp4vapbb] {
    font-weight: 300 !important;
}

select option[b-hkjp4vapbb] {
    font-weight: 300 !important;
}

select.select-placeholder[b-hkjp4vapbb] {
    font-weight: 300 !important;
    color: #94a3b8 !important;
}

select.select-placeholder option:not([value=""]):not([value="0"])[b-hkjp4vapbb] {
    font-weight: 300 !important;
    color: #1e293b !important;
}

/* CUSTOM COMPACT TABLE OVERRIDES FOR CONSISTENCY */
.directory-table th[b-hkjp4vapbb] {
    font-size: 0.75rem !important;
    padding: 8px 12px !important;
}

.directory-table td[b-hkjp4vapbb] {
    font-size: 0.78rem !important;
    padding: 8px 12px !important;
}

/* ============================================================
   16. LC TABLE & TEXT STYLE CLASSES (FROM TEST-TYPE-MASTER)
   ============================================================ */
.lc-table-container[b-hkjp4vapbb] {
    width: 100%;
    overflow-x: auto;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.lc-table[b-hkjp4vapbb] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-hkjp4vapbb] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-hkjp4vapbb] {
    padding: 5px 8px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    white-space: nowrap !important;
}

.lc-table th:first-child[b-hkjp4vapbb] {
    border-top-left-radius: 12px !important;
}

.lc-table th:last-child[b-hkjp4vapbb] {
    border-top-right-radius: 12px !important;
}

.lc-table td[b-hkjp4vapbb] {
    padding: 5px 8px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 11px !important;
    vertical-align: middle !important;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    white-space: nowrap !important;
}

.lc-table tbody tr:last-child td[b-hkjp4vapbb] {
    border-bottom: none !important;
}

.lc-table-row:hover[b-hkjp4vapbb] {
    background: rgba(248, 250, 252, 0.8) !important;
}

.font-bold[b-hkjp4vapbb] {
    font-weight: 700 !important;
}

.text-indigo-600[b-hkjp4vapbb] {
    color: #4f46e5 !important;
}

.lc-color-slate-500[b-hkjp4vapbb] {
    color: #64748b !important;
}

.lc-font-mono[b-hkjp4vapbb] {
    font-family: monospace !important;
}

.lc-font-700[b-hkjp4vapbb] {
    font-weight: 700 !important;
}

.lc-font-13[b-hkjp4vapbb] {
    font-size: 12px !important;
}

.text-slate-800[b-hkjp4vapbb] {
    color: #1e293b !important;
    font-size: 13px !important;
}

.text-slate-500[b-hkjp4vapbb] {
    color: #64748b !important;
}

.text-slate-400[b-hkjp4vapbb] {
    color: #94a3b8 !important;
}

.font-12[b-hkjp4vapbb] {
    font-size: 11px !important;
}

.font-18[b-hkjp4vapbb] {
    font-size: 18px !important;
}

.italic[b-hkjp4vapbb] {
    font-style: italic !important;
}

.lc-btn[b-hkjp4vapbb] {
    padding: 8px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-hkjp4vapbb] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-hkjp4vapbb] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-hkjp4vapbb] {
    color: #4f46e5;
}

/* TABS FOR CLIENT-SPECIFIC / ALL TENANTS FILTER */
.tabs-card[b-hkjp4vapbb] {
    display: flex;
    gap: 8px;
    margin: 0 0 12px 0;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.tab-btn[b-hkjp4vapbb] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover[b-hkjp4vapbb] {
    background-color: #f8fafc;
    color: #334155;
}

.tab-btn.active[b-hkjp4vapbb] {
    background-color: #eef2ff;
    border-color: #c7d2fe;
    color: #4f46e5;
}

.tab-icon[b-hkjp4vapbb] {
    font-size: 16px;
}

.tab-badge[b-hkjp4vapbb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background-color: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
}

.tab-btn.active .tab-badge[b-hkjp4vapbb] {
    background-color: #c7d2fe;
    color: #4338ca;
}

/* SUBTLE EMPTY STATE STYLES WITH ANIMATION */
.empty-state-subtle[b-hkjp4vapbb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 16px;
    animation: subtle-fade-b-hkjp4vapbb 0.5s ease-out;
}

.empty-state-dot[b-hkjp4vapbb] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #cbd5e1;
    animation: subtle-pulse-b-hkjp4vapbb 2.5s infinite ease-in-out;
}

@keyframes subtle-fade-b-hkjp4vapbb {
    from {
        opacity: 0;
        transform: translateY(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtle-pulse-b-hkjp4vapbb {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
        background-color: #cbd5e1;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
        background-color: #818cf8;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.6;
        background-color: #cbd5e1;
    }
}

/* ============================================================
   17. COMPACT TWO-COLUMN NEW CUSTOMER FORM
   ============================================================ */
.form-grid-layout[b-hkjp4vapbb] {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.form-column[b-hkjp4vapbb] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-column-divider[b-hkjp4vapbb] {
    width: 1px;
    background-color: #f1f5f9;
    align-self: stretch;
    margin: 0 4px;
}

.form-section-title[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #4f46e5;
    margin: 0 0 4px 0;
    padding-bottom: 6px;
    border-bottom: 1px dashed #e2e8f0;
}

.form-section-title span[b-hkjp4vapbb] {
    font-size: 1.1rem;
}

.form-flags-row[b-hkjp4vapbb] {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.form-column .cm-container[b-hkjp4vapbb] {
    gap: 10px 16px !important;
    padding: 0 !important;
}

/* COMPACT INPUT FIELD OVERRIDES */
.cm-input[b-hkjp4vapbb] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 12px !important;
    height: 36px !important;
    font-size: 0.825rem !important;
    color: #334155;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.cm-field[b-hkjp4vapbb] {
    gap: 4px !important;
}

.modal-body[b-hkjp4vapbb] {
    padding: 16px 24px !important;
}

.modal-footer-bar[b-hkjp4vapbb] {
    padding: 12px 24px !important;
}

.cm-add-quick-btn[b-hkjp4vapbb] {
    padding: 0;
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #4f46e5;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.cm-add-quick-btn:hover[b-hkjp4vapbb] {
    background-color: #4338ca;
}

.cm-add-quick-btn span[b-hkjp4vapbb] {
    font-size: 20px;
}

.cm-w-100[b-hkjp4vapbb] {
    width: 100%;
}

/* ============================================================
   VITALS STATUS BADGES
   ============================================================ */
.status-pill[b-hkjp4vapbb] {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: center;
}

.status-lab[b-hkjp4vapbb] {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.status-scan[b-hkjp4vapbb] {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.status-consultation[b-hkjp4vapbb] {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Interactive Status Dropdown Pill Styles */
.status-select[b-hkjp4vapbb] {
    padding: 1px 16px 1px 6px;
    border-radius: 14px;
    font-size: 9.5px;
    font-weight: 700;
    height: 20px;
    border: none;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 7px 7px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.status-select-checkin[b-hkjp4vapbb] {
    background-color: #e0e7ff;
    color: #4338ca;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%234338ca' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-select-waiting[b-hkjp4vapbb] {
    background-color: #fef3c7;
    color: #b45309;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23b45309' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-select-ongoing[b-hkjp4vapbb] {
    background-color: #e0e7ff;
    color: #4338ca;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%234338ca' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-select-completed[b-hkjp4vapbb] {
    background-color: #d1fae5;
    color: #047857;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23047857' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-select-consultation[b-hkjp4vapbb] {
    background-color: #fef3c7;
    color: #b45309;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23b45309' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-select-checkout[b-hkjp4vapbb] {
    background-color: #d1fae5;
    color: #047857;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23047857' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-select-received[b-hkjp4vapbb], .status-select-reportreceived[b-hkjp4vapbb] {
    background-color: #cffafe;
    color: #0891b2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230891b2' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-received[b-hkjp4vapbb], .status-reportreceived[b-hkjp4vapbb] {
    background-color: #cffafe;
    color: #0891b2;
    border: 1px solid #a5f3fc;
}

.status-select option[b-hkjp4vapbb] {
    background-color: #ffffff;
    color: #1e293b;
    font-weight: 600;
    padding: 6px 12px;
}

/* ==========================================================================
   REDESIGN & FILTER TOOLBAR STYLES (MATCHING SCREENSHOT)
   ========================================================================== */

/* 1. Top KPI Summary Grid */
.vitals-kpi-grid[b-hkjp4vapbb] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.vitals-kpi-card[b-hkjp4vapbb] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.vitals-kpi-card:hover[b-hkjp4vapbb] {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.08);
    border-color: #e0e7ff;
}

.vitals-kpi-card.active[b-hkjp4vapbb] {
    border-color: #6366f1;
    background: #f8fafc;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

.vitals-kpi-left[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.vitals-kpi-icon-wrapper[b-hkjp4vapbb] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.vitals-kpi-icon-wrapper.waiting[b-hkjp4vapbb] {
    background-color: #fffbeb;
    color: #d97706;
}

.vitals-kpi-icon-wrapper.consultation[b-hkjp4vapbb] {
    background-color: #f3e8ff;
    color: #9333ea;
}

.vitals-kpi-icon-wrapper.upnext[b-hkjp4vapbb] {
    background-color: #f0f9ff;
    color: #0284c7;
}

.vitals-kpi-icon-wrapper.received[b-hkjp4vapbb] {
    background-color: #f0fdf4;
    color: #16a34a;
}

.vitals-kpi-icon-wrapper.completed[b-hkjp4vapbb] {
    background-color: #f1f5f9;
    color: #475569;
}

.vitals-kpi-info[b-hkjp4vapbb] {
    display: flex;
    flex-direction: column;
}

.vitals-kpi-label[b-hkjp4vapbb] {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 2px;
}

.vitals-kpi-value-row[b-hkjp4vapbb] {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.vitals-kpi-num[b-hkjp4vapbb] {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.vitals-kpi-sub[b-hkjp4vapbb] {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
}

.vitals-kpi-time-icon[b-hkjp4vapbb] {
    font-size: 16px;
    color: #cbd5e1;
}

/* 2. Filter Toolbar */
.vitals-filter-toolbar[b-hkjp4vapbb] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.vitals-search-box[b-hkjp4vapbb] {
    position: relative;
    flex: 1;
    max-width: 320px;
}

.vitals-search-box input[b-hkjp4vapbb] {
    width: 100%;
    padding: 8px 12px 8px 36px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    color: #1e293b;
    outline: none;
    transition: border-color 0.15s ease;
}

.vitals-search-box input:focus[b-hkjp4vapbb] {
    border-color: #6366f1;
    background: #ffffff;
}

.vitals-search-icon[b-hkjp4vapbb] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
}

.vitals-filter-group[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vitals-filter-select-wrapper[b-hkjp4vapbb] {
    position: relative;
    display: flex;
    align-items: center;
}

.vitals-filter-select-icon[b-hkjp4vapbb] {
    position: absolute;
    left: 10px;
    color: #64748b;
    font-size: 16px;
    pointer-events: none;
}

.vitals-filter-select[b-hkjp4vapbb] {
    padding: 7px 32px 7px 34px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 8px 8px;
    transition: all 0.15s ease;
}

.vitals-filter-select:hover[b-hkjp4vapbb] {
    border-color: #cbd5e1;
}

.vitals-filter-select:focus[b-hkjp4vapbb] {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.vitals-btn-clear[b-hkjp4vapbb] {
    padding: 7px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
}

.vitals-btn-clear:hover[b-hkjp4vapbb] {
    background: #f1f5f9;
    color: #0f172a;
}

/* 3. Table UI Enhancements */
.vitals-token-pill[b-hkjp4vapbb] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: #eef2ff;
    color: #4338ca;
    border-radius: 12px;
    font-weight: 700;
    font-size: 12px;
}

.vitals-vip-badge[b-hkjp4vapbb] {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.vitals-doctor-cell[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.doctor-avatar-circle[b-hkjp4vapbb] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    font-size: 10.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.vitals-time-cell[b-hkjp4vapbb] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #475569;
    font-weight: 700;
    font-size: 12px;
}

.vitals-time-icon[b-hkjp4vapbb] {
    font-size: 14px;
    color: #94a3b8;
}

/* Enhanced Status Select Classes */
.status-select-upnext[b-hkjp4vapbb] {
    background-color: #e0f2fe;
    color: #0284c7;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230284c7' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-select-consultation[b-hkjp4vapbb] {
    background-color: #ffedd5;
    color: #c2410c;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23c2410c' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

/* 4. Bottom Legend Bar */
.vitals-legend-bar[b-hkjp4vapbb] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 12px 18px;
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 11px;
}

.legend-group[b-hkjp4vapbb] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-title[b-hkjp4vapbb] {
    font-weight: 700;
    color: #64748b;
    margin-right: 4px;
}

.legend-badge[b-hkjp4vapbb] {
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 10px;
}

.legend-badge.waiting[b-hkjp4vapbb] { background: #fef3c7; color: #b45309; }
.legend-badge.upnext[b-hkjp4vapbb] { background: #e0f2fe; color: #0284c7; }
.legend-badge.consultation[b-hkjp4vapbb] { background: #ffedd5; color: #c2410c; }
.legend-badge.completed[b-hkjp4vapbb] { background: #d1fae5; color: #047857; }
.legend-badge.received[b-hkjp4vapbb] { background: #cffafe; color: #0891b2; }
.legend-badge.pending[b-hkjp4vapbb] { background: #f1f5f9; color: #64748b; }
.legend-badge.cancelled[b-hkjp4vapbb] { background: #ffe4e6; color: #e11d48; }

/* Page Size Selector */
.vitals-page-size-select[b-hkjp4vapbb] {
    padding: 4px 24px 4px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    outline: none;
    cursor: pointer;
}

/* ============================================================
   DARK MODE OVERRIDES FOR VITALS MASTER (ENTRY PAGE)
   ============================================================ */
html[data-theme="dark"] .vitals-filter-toolbar[b-hkjp4vapbb],
body.dark-mode .vitals-filter-toolbar[b-hkjp4vapbb] {
    background-color: #1e293b !important;
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .vitals-search-box input[b-hkjp4vapbb],
body.dark-mode .vitals-search-box input[b-hkjp4vapbb] {
    background-color: #0f172a !important;
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .vitals-filter-select[b-hkjp4vapbb],
body.dark-mode .vitals-filter-select[b-hkjp4vapbb] {
    background-color: #0f172a !important;
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .vitals-filter-select-icon[b-hkjp4vapbb],
body.dark-mode .vitals-filter-select-icon[b-hkjp4vapbb],
html[data-theme="dark"] .vitals-search-icon[b-hkjp4vapbb],
body.dark-mode .vitals-search-icon[b-hkjp4vapbb] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .vitals-btn-clear[b-hkjp4vapbb],
body.dark-mode .vitals-btn-clear[b-hkjp4vapbb] {
    background-color: #0f172a !important;
    background: #0f172a !important;
    color: #cbd5e1 !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .vitals-btn-clear:hover[b-hkjp4vapbb],
body.dark-mode .vitals-btn-clear:hover[b-hkjp4vapbb] {
    background-color: #334155 !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .vitals-legend-bar[b-hkjp4vapbb],
body.dark-mode .vitals-legend-bar[b-hkjp4vapbb] {
    background-color: #1e293b !important;
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .legend-title[b-hkjp4vapbb],
body.dark-mode .legend-title[b-hkjp4vapbb] {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .vitals-page-size-select[b-hkjp4vapbb],
body.dark-mode .vitals-page-size-select[b-hkjp4vapbb] {
    background-color: #0f172a !important;
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .legend-badge.pending[b-hkjp4vapbb],
body.dark-mode .legend-badge.pending[b-hkjp4vapbb] {
    background-color: #334155 !important;
    color: #cbd5e1 !important;
}

/* /Components/Pages/WardMaster.razor.rz.scp.css */
.referral-page[b-p6ur95ohpg] {
    padding: 24px;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

.flex-between[b-p6ur95ohpg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start[b-p6ur95ohpg] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display-flex[b-p6ur95ohpg] {
    display: flex;
}

.align-center[b-p6ur95ohpg] {
    align-items: center;
}

.flex-center[b-p6ur95ohpg] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-8[b-p6ur95ohpg] {
    gap: 8px;
}

.gap-12[b-p6ur95ohpg] {
    gap: 12px;
}

.gap-16[b-p6ur95ohpg] {
    gap: 16px;
}

.p-2[b-p6ur95ohpg] {
    padding: 8px;
}

.p-4[b-p6ur95ohpg] {
    padding: 16px;
}

.p-48[b-p6ur95ohpg] {
    padding: 48px;
}

.rounded-lg[b-p6ur95ohpg] {
    border-radius: 8px;
}

.shadow-sm[b-p6ur95ohpg] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.m-0[b-p6ur95ohpg] {
    margin: 0;
}

.mt-2px[b-p6ur95ohpg] {
    margin-top: 2px;
}

.mb-0[b-p6ur95ohpg] {
    margin-bottom: 0;
}

.mt-0[b-p6ur95ohpg] {
    margin-top: 0;
}

.relative-positioned[b-p6ur95ohpg] {
    position: relative;
}

/* Lab header card */
.lab-header-card[b-p6ur95ohpg] {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.08), 0 2px 4px -1px rgba(79, 70, 229, 0.04);
    padding: 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
}

.lab-title-text[b-p6ur95ohpg] {
    color: #312e81;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.bg-indigo-50[b-p6ur95ohpg] {
    background-color: #eef2ff;
}

.text-indigo-600[b-p6ur95ohpg] {
    color: #4f46e5;
}

.icon-lg[b-p6ur95ohpg] {
    font-size: 24px;
}

.status-pulse-dot[b-p6ur95ohpg] {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse-b-p6ur95ohpg 2s infinite;
}

.status-text[b-p6ur95ohpg] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-icon[b-p6ur95ohpg] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lc-rounded-pill-input[b-p6ur95ohpg] {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 8px 16px 8px 36px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #334155;
}

.lc-rounded-pill-input:focus[b-p6ur95ohpg] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-w-220[b-p6ur95ohpg] {
    width: 220px;
}

.btn-new-entry[b-p6ur95ohpg] {
    background: linear-gradient(135deg, #5c5cfc 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(92, 92, 252, 0.25);
    transition: all 0.2s;
}

.btn-new-entry:hover[b-p6ur95ohpg] {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(92, 92, 252, 0.35);
}

/* Directory & Table styles */
.directory-section[b-p6ur95ohpg] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 16px;
}

.lc-table-container[b-p6ur95ohpg] {
    width: 100%;
    overflow-x: auto;
}

.lc-table[b-p6ur95ohpg] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lc-table thead tr[b-p6ur95ohpg] {
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.lc-table th[b-p6ur95ohpg] {
    padding: 1rem 1.5rem;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lc-table td[b-p6ur95ohpg] {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    vertical-align: middle;
}

.lc-table tbody tr:last-child td[b-p6ur95ohpg] {
    border-bottom: none;
}

.lc-table-row:hover[b-p6ur95ohpg] {
    background: rgba(248, 250, 252, 0.8);
}

.font-bold[b-p6ur95ohpg] {
    font-weight: 700;
}

.text-indigo-600[b-p6ur95ohpg] {
    color: #4f46e5;
}

.lc-color-slate-500[b-p6ur95ohpg] {
    color: #64748b;
}

.lc-font-mono[b-p6ur95ohpg] {
    font-family: monospace;
}

.lc-font-700[b-p6ur95ohpg] {
    font-weight: 700;
}

.lc-font-13[b-p6ur95ohpg] {
    font-size: 13px;
}

.text-slate-800[b-p6ur95ohpg] {
    color: #1e293b;
}

.text-slate-700[b-p6ur95ohpg] {
    color: #334155;
}

.text-slate-600[b-p6ur95ohpg] {
    color: #475569;
}

.text-slate-500[b-p6ur95ohpg] {
    color: #64748b;
}

.text-slate-400[b-p6ur95ohpg] {
    color: #94a3b8;
}

.font-12[b-p6ur95ohpg] {
    font-size: 12px;
}

.font-18[b-p6ur95ohpg] {
    font-size: 18px;
}

.italic[b-p6ur95ohpg] {
    font-style: italic;
}

/* Action buttons */
.lc-btn[b-p6ur95ohpg] {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lc-circle-btn-32[b-p6ur95ohpg] {
    width: 32px;
    height: 32px;
}

.lc-btn:hover[b-p6ur95ohpg] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.lc-btn:hover span[b-p6ur95ohpg] {
    color: #4f46e5;
}

/* Modal styles */
.modal-overlay[b-p6ur95ohpg] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-form-card[b-p6ur95ohpg] {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%;
    max-width: 800px;
    max-height: 95vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: lc-fadeInUp-b-p6ur95ohpg 0.3s ease-out;
}

.modal-header-bar[b-p6ur95ohpg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.modal-header-bar h3[b-p6ur95ohpg] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.modal-close-btn[b-p6ur95ohpg] {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.modal-close-btn:hover[b-p6ur95ohpg] {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body[b-p6ur95ohpg] {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background-color: #ffffff;
}

.form-section[b-p6ur95ohpg] {
    margin-bottom: 0;
}

.form-group[b-p6ur95ohpg] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label[b-p6ur95ohpg] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lab-input[b-p6ur95ohpg] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
}

.lab-input:focus[b-p6ur95ohpg] {
    outline: none;
    border-color: #4f46e5;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.um-grid-row[b-p6ur95ohpg] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.um-grid-cols-4[b-p6ur95ohpg] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-5[b-p6ur95ohpg] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.um-grid-cols-2[b-p6ur95ohpg] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.modal-footer-bar[b-p6ur95ohpg] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.btn-save[b-p6ur95ohpg] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save:hover[b-p6ur95ohpg] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-save:disabled[b-p6ur95ohpg] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-delete[b-p6ur95ohpg] {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.btn-delete:hover:not(:disabled)[b-p6ur95ohpg] {
    text-decoration: underline;
}

.btn-delete:disabled[b-p6ur95ohpg] {
    opacity: 0.4;
    cursor: not-allowed;
}

.text-danger[b-p6ur95ohpg] {
    color: #ef4444;
}

/* Animations */
@keyframes lc-pulse-b-p6ur95ohpg {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lc-fadeInUp[b-p6ur95ohpg] {
    animation: lc-fadeInUp-b-p6ur95ohpg 0.4s ease-out;
}

@keyframes lc-fadeInUp-b-p6ur95ohpg {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Delete Confirmation Modal */
.delete-confirm-card[b-p6ur95ohpg] {
    max-width: 450px !important;
}

.delete-confirm-body[b-p6ur95ohpg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem !important;
}

.delete-warning-icon[b-p6ur95ohpg] {
    font-size: 48px !important;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.delete-message[b-p6ur95ohpg] {
    font-size: 14px;
    color: #475569;
    font-weight: 600;
    margin: 0;
}

.delete-footer-bar[b-p6ur95ohpg] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 1.25rem 2rem !important;
}

.btn-secondary-outline[b-p6ur95ohpg] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-secondary-outline:hover[b-p6ur95ohpg] {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

.btn-danger-filled[b-p6ur95ohpg] {
    background: #ef4444;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 10px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
    transition: all 0.2s;
}

.btn-danger-filled:hover[b-p6ur95ohpg] {
    background-color: #dc2626;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES FOR WARD MASTER
   ═══════════════════════════════════════════════════════════════ */
:host-context([data-theme="dark"]) .referral-page[b-p6ur95ohpg],
[data-theme="dark"] .referral-page[b-p6ur95ohpg] {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .lab-header-card[b-p6ur95ohpg],
[data-theme="dark"] .lab-header-card[b-p6ur95ohpg] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lab-title-text[b-p6ur95ohpg],
[data-theme="dark"] .lab-title-text[b-p6ur95ohpg] {
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .status-text[b-p6ur95ohpg],
[data-theme="dark"] .status-text[b-p6ur95ohpg] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .lc-rounded-pill-input[b-p6ur95ohpg],
[data-theme="dark"] .lc-rounded-pill-input[b-p6ur95ohpg] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .search-icon i[b-p6ur95ohpg],
:host-context([data-theme="dark"]) .search-icon span[b-p6ur95ohpg],
[data-theme="dark"] .search-icon i[b-p6ur95ohpg],
[data-theme="dark"] .search-icon span[b-p6ur95ohpg] {
    color: #94a3b8 !important;
}

:host-context([data-theme="dark"]) .directory-section[b-p6ur95ohpg],
[data-theme="dark"] .directory-section[b-p6ur95ohpg] {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

:host-context([data-theme="dark"]) .lc-table thead tr[b-p6ur95ohpg],
[data-theme="dark"] .lc-table thead tr[b-p6ur95ohpg] {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
}

:host-context([data-theme="dark"]) .lc-table th[b-p6ur95ohpg],
[data-theme="dark"] .lc-table th[b-p6ur95ohpg] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-table td[b-p6ur95ohpg],
[data-theme="dark"] .lc-table td[b-p6ur95ohpg] {
    border-bottom-color: #334155 !important;
    color: #f8fafc !important;
    background-color: #1e293b !important;
}

:host-context([data-theme="dark"]) .lc-table-row:hover td[b-p6ur95ohpg],
[data-theme="dark"] .lc-table-row:hover td[b-p6ur95ohpg] {
    background: #0f172a !important;
}

:host-context([data-theme="dark"]) .lc-btn[b-p6ur95ohpg],
[data-theme="dark"] .lc-btn[b-p6ur95ohpg] {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lc-btn:hover[b-p6ur95ohpg],
[data-theme="dark"] .lc-btn:hover[b-p6ur95ohpg] {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #7dd3fc !important;
}

:host-context([data-theme="dark"]) .lc-btn span[b-p6ur95ohpg],
[data-theme="dark"] .lc-btn span[b-p6ur95ohpg] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .modal-form-card[b-p6ur95ohpg],
[data-theme="dark"] .modal-form-card[b-p6ur95ohpg] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .modal-header-bar[b-p6ur95ohpg],
:host-context([data-theme="dark"]) .modal-body[b-p6ur95ohpg],
:host-context([data-theme="dark"]) .modal-footer-bar[b-p6ur95ohpg],
[data-theme="dark"] .modal-header-bar[b-p6ur95ohpg],
[data-theme="dark"] .modal-body[b-p6ur95ohpg],
[data-theme="dark"] .modal-footer-bar[b-p6ur95ohpg] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

:host-context([data-theme="dark"]) .modal-header-bar h3[b-p6ur95ohpg],
[data-theme="dark"] .modal-header-bar h3[b-p6ur95ohpg] {
    color: #38bdf8 !important;
}

:host-context([data-theme="dark"]) .lab-input[b-p6ur95ohpg],
[data-theme="dark"] .lab-input[b-p6ur95ohpg] {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:host-context([data-theme="dark"]) .form-group label[b-p6ur95ohpg],
[data-theme="dark"] .form-group label[b-p6ur95ohpg] {
    color: #cbd5e1 !important;
}

/* Ward Master dashboard theme */
:global(html:has(.ward-master-page))[b-p6ur95ohpg],
:global(body:has(.ward-master-page))[b-p6ur95ohpg] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
}

:global(.app-container:has(.ward-master-page))[b-p6ur95ohpg],
:global(.app-main-wrapper:has(.ward-master-page))[b-p6ur95ohpg] {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

:global(.main-content):has(.ward-master-page)[b-p6ur95ohpg] {
    height: calc(100vh - 35px) !important;
    max-height: calc(100vh - 35px) !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.35rem 0.75rem 0.45rem 0.75rem !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.referral-page.ward-master-page[b-p6ur95ohpg] {
    height: 100% !important;
    max-height: 100% !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.referral-page.ward-master-page .lab-header-card[b-p6ur95ohpg] {
    flex: 0 0 auto !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.referral-page.ward-master-page .lab-title-text[b-p6ur95ohpg] {
    color: #07547c !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
}

.referral-page.ward-master-page .status-text[b-p6ur95ohpg] {
    color: #10a36a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.referral-page.ward-master-page .bg-indigo-50[b-p6ur95ohpg] {
    background: #e0f2fe !important;
}

.referral-page.ward-master-page .lc-rounded-pill-input[b-p6ur95ohpg] {
    width: 260px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.04) !important;
    font-size: 0.82rem !important;
    padding: 0 1rem 0 2.2rem !important;
}

.referral-page.ward-master-page .lc-rounded-pill-input:focus[b-p6ur95ohpg] {
    border-color: #0785c2 !important;
    box-shadow: 0 0 0 3px rgba(7, 133, 194, 0.12) !important;
}

.referral-page.ward-master-page .btn-new-entry[b-p6ur95ohpg] {
    height: 36px !important;
    padding: 0 1.15rem !important;
    border-radius: 10px !important;
    background: #087bb5 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(8, 123, 181, 0.2) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

.referral-page.ward-master-page .btn-new-entry:hover[b-p6ur95ohpg] {
    background: #05689b !important;
}

.referral-page.ward-master-page .directory-section[b-p6ur95ohpg] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.referral-page.ward-master-page .lc-table-container[b-p6ur95ohpg] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
}

.referral-page.ward-master-page .lc-table[b-p6ur95ohpg] {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.referral-page.ward-master-page .lc-table thead tr th[b-p6ur95ohpg],
.referral-page .lc-table th[b-p6ur95ohpg] {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0.45rem 0.75rem !important;
    color: #ffffff !important;
    background: #087bb5 !important;
    background-image: linear-gradient(90deg, #076a9f 0%, #087db8 100%) !important;
    border-bottom: 1px solid #07547c !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.ward-master-page .lc-table thead tr th:last-child[b-p6ur95ohpg],
.referral-page .lc-table th:last-child[b-p6ur95ohpg] {
    border-right: none !important;
}

.referral-page.ward-master-page .lc-table tbody tr[b-p6ur95ohpg] {
    height: 34px !important;
    min-height: 34px !important;
}

.referral-page.ward-master-page .lc-table tbody tr:nth-child(even)[b-p6ur95ohpg] {
    background: #fbfdff !important;
}

.referral-page.ward-master-page .lc-table-row:hover[b-p6ur95ohpg] {
    background: #f0f8ff !important;
}

.referral-page.ward-master-page .lc-table td[b-p6ur95ohpg] {
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 0.35rem 0.75rem !important;
    border-bottom: 1px solid #edf2f7 !important;
    color: #334155 !important;
    font-size: 0.76rem !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.referral-page.ward-master-page .lc-btn[b-p6ur95ohpg] {
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.referral-page.ward-master-page .lc-btn:hover[b-p6ur95ohpg] {
    border-color: #bae6fd !important;
    background: #f0f9ff !important;
    color: #0369a1 !important;
}

.referral-page.ward-master-page .lc-table td:last-child > div[b-p6ur95ohpg] {
    gap: 0.35rem !important;
}
/* /Components/Pages/WarehouseMaster.razor.rz.scp.css */
/* Isolated styles for WarehouseMaster component */

.items-page[b-mrrhm9qr9q] {
    min-height: 100vh;
    background: transparent !important;
}

.items-shell[b-mrrhm9qr9q] {
    max-width: 1320px;
    margin: 0 auto;
}

.items-content[b-mrrhm9qr9q] {
    width: min(1240px, 100%);
    margin: 0 auto;
    text-align: center;
}

.premium-header-card[b-mrrhm9qr9q] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    border-radius: 16px !important;
    padding: 1.25rem 2rem !important;
    color: #1e1b4b !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem !important;
}

.header-card-left[b-mrrhm9qr9q] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-card-icon[b-mrrhm9qr9q] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
}

.header-card-icon svg[b-mrrhm9qr9q] {
    stroke: #4f46e5 !important;
}

.header-card-text[b-mrrhm9qr9q] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-card-heading[b-mrrhm9qr9q] {
    color: #312e81 !important;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.header-card-subheading[b-mrrhm9qr9q] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6366f1 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot[b-mrrhm9qr9q] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.header-card-right[b-mrrhm9qr9q] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.items-search-wrap[b-mrrhm9qr9q] {
    position: relative;
    display: flex;
    align-items: center;
}

.items-search[b-mrrhm9qr9q] {
    width: 220px;
    height: 38px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    padding-left: 2.4rem !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.items-search:focus[b-mrrhm9qr9q] {
    outline: none !important;
    width: 280px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.items-search-icon[b-mrrhm9qr9q] {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.view-toggle[b-mrrhm9qr9q] {
    display: inline-flex;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #f8fafc !important;
    height: 38px;
    padding: 2px;
    align-items: center;
}

.view-toggle button[b-mrrhm9qr9q] {
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    width: 36px;
    height: 32px;
    border-radius: 16px !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle button.active[b-mrrhm9qr9q] {
    background: #ffffff !important;
    color: #4f46e5 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.add-item-btn[b-mrrhm9qr9q] {
    height: 38px !important;
    border-radius: 20px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 1.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
}

.add-item-btn:hover[b-mrrhm9qr9q] {
    background: #3f39c5 !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35) !important;
    transform: translateY(-1.5px);
}

.items-main-card[b-mrrhm9qr9q] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-top: 1.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
}

.items-table[b-mrrhm9qr9q] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

table.table.items-table thead tr th[b-mrrhm9qr9q],
.items-table th[b-mrrhm9qr9q] {
    background: #ffffff !important;
    color: #8a99ad !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.8px !important;
    padding: 10px 16px !important;
    border-bottom: 2px solid #eef2f6 !important;
    text-align: center !important;
}

.items-table td[b-mrrhm9qr9q] {
    border-top: none !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding: 10px 16px !important;
    font-size: 0.8rem !important;
    background: #ffffff !important;
    color: #64748b !important;
    vertical-align: middle !important;
    text-align: center !important;
}

.items-table td:last-child[b-mrrhm9qr9q] {
    white-space: nowrap !important;
    text-align: center !important;
}

.items-table tr td:first-child[b-mrrhm9qr9q] {
    color: #3b82f6 !important;
    font-weight: 700 !important;
}

.items-table tr td:nth-child(2)[b-mrrhm9qr9q],
.items-table tr td:nth-child(3)[b-mrrhm9qr9q] {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.action-btn[b-mrrhm9qr9q] {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.action-btn:hover[b-mrrhm9qr9q] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.action-btn i[b-mrrhm9qr9q] {
    font-size: 0.85rem !important;
}

.items-card-grid[b-mrrhm9qr9q] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.item-card[b-mrrhm9qr9q] {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.item-card:hover[b-mrrhm9qr9q] {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.item-card-head[b-mrrhm9qr9q] {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%) !important;
    color: #1e293b !important;
    padding: 0.6rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.1) !important;
}

.card-item-code[b-mrrhm9qr9q] {
    color: #4b5563 !important;
    font-weight: 700 !important;
    margin-right: 6px;
}

.card-item-name[b-mrrhm9qr9q] {
    color: #374151 !important;
    font-weight: 700 !important;
}

.item-card-body[b-mrrhm9qr9q] {
    padding: 0.75rem 1rem !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
}

.detail-row[b-mrrhm9qr9q] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.detail-row:last-child[b-mrrhm9qr9q] {
    border-bottom: none !important;
}

.detail-row span[b-mrrhm9qr9q] {
    color: #8a99ad !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.detail-row strong[b-mrrhm9qr9q] {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Modal styles */
.modal-overlay[b-mrrhm9qr9q] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.modal-card[b-mrrhm9qr9q] {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header-bar[b-mrrhm9qr9q] {
    background: #fff !important;
    color: #333 !important;
    padding: 16px 32px !important;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-left[b-mrrhm9qr9q] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-title[b-mrrhm9qr9q] {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: #000000 !important;
    letter-spacing: -0.2px;
}

.btn-close-modal[b-mrrhm9qr9q] {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-mrrhm9qr9q] {
    background: #e2e8f0;
    color: #1e293b;
}

.modal-inner[b-mrrhm9qr9q] {
    padding: 16px 32px !important;
    background: #fff;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.modal-inner[b-mrrhm9qr9q]  form {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.modal-inner[b-mrrhm9qr9q]  .modal-scroll-area {
    overflow-y: auto !important;
    flex: 1;
    padding-right: 8px;
    min-height: 0;
}

.form-section-header[b-mrrhm9qr9q] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid #f1f5f9;
}

.form-section-title[b-mrrhm9qr9q] {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #4f46e5;
}

.form-grid[b-mrrhm9qr9q] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 12px;
    row-gap: 12px;
}

.col-1[b-mrrhm9qr9q] { grid-column: span 1; }
.col-2[b-mrrhm9qr9q] { grid-column: span 2; }
.col-3[b-mrrhm9qr9q] { grid-column: span 3; }
.col-4[b-mrrhm9qr9q] { grid-column: span 4; }
.col-5[b-mrrhm9qr9q] { grid-column: span 5; }
.col-6[b-mrrhm9qr9q] { grid-column: span 6; }
.col-7[b-mrrhm9qr9q] { grid-column: span 7; }
.col-8[b-mrrhm9qr9q] { grid-column: span 8; }
.col-9[b-mrrhm9qr9q] { grid-column: span 9; }
.col-10[b-mrrhm9qr9q] { grid-column: span 10; }
.col-11[b-mrrhm9qr9q] { grid-column: span 11; }
.col-12[b-mrrhm9qr9q] { grid-column: span 12; }

.field-group[b-mrrhm9qr9q] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label[b-mrrhm9qr9q] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.field-label.required[b-mrrhm9qr9q]::after {
    content: " *";
    color: #ef4444;
}

.premium-input[b-mrrhm9qr9q] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    color: #4b5563 !important;
    transition: all 0.2s !important;
    height: auto !important;
}

.premium-input[b-mrrhm9qr9q]::placeholder {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

.premium-input:focus[b-mrrhm9qr9q] {
    background: #fff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

.btn-save-premium[b-mrrhm9qr9q] {
    background: #1c9f5f !important;
    color: white !important;
    border: none !important;
    padding: 10px 28px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(28, 159, 95, 0.3) !important;
    transition: all 0.2s !important;
    white-space: nowrap;
}

.btn-save-premium:hover[b-mrrhm9qr9q] {
    background: #168a52 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(28, 159, 95, 0.4) !important;
}

/* Pagination bar */
.page-btn[b-mrrhm9qr9q] {
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #64748b !important;
    border-radius: 8px !important;
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0 2px;
    transition: all 0.2s;
}

.page-btn.active[b-mrrhm9qr9q] {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
}

.page-btn:hover:not(.active):not(:disabled)[b-mrrhm9qr9q] {
    background: #f8fafc !important;
    color: #1e293b !important;
}
/* Master dashboard theme */
:global(.main-content):has(.items-page)[b-mrrhm9qr9q] { padding: .75rem 1rem !important; background: #f1f5fb !important; }
.items-page[b-mrrhm9qr9q] { min-height: calc(100vh - 1.5rem) !important; padding: 0 !important; background: linear-gradient(135deg,#f8fafc,#edf3fc) !important; }
.items-shell[b-mrrhm9qr9q], .items-content[b-mrrhm9qr9q] { max-width: none !important; padding: 0 !important; }
.premium-header-card[b-mrrhm9qr9q] { height: 78px !important; box-sizing: border-box !important; padding: .15rem 0 !important; margin-bottom: .6rem !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.header-card-icon[b-mrrhm9qr9q] { background: linear-gradient(135deg,#087bb5,#07547c) !important; }
.header-card-heading[b-mrrhm9qr9q] { color: #07547c !important; font-size: 1.85rem !important; }
.header-card-subheading[b-mrrhm9qr9q] { color: #647b90 !important; }
.items-search[b-mrrhm9qr9q] { width: 280px !important; height: 40px !important; border-radius: 10px !important; border-color: #cbd9e8 !important; }
.add-item-btn[b-mrrhm9qr9q] { height: 40px !important; border-radius: 10px !important; background: #087bb5 !important; }
.items-main-card[b-mrrhm9qr9q] { border: 1px solid #dfe7f1 !important; border-radius: 12px !important; box-shadow: 0 3px 12px rgba(30,64,175,.05) !important; }
.items-table thead tr[b-mrrhm9qr9q] { height: 36px !important; background: linear-gradient(90deg,#076a9f,#087db8) !important; }
.items-table thead th[b-mrrhm9qr9q] { height: 36px !important; padding: .55rem .7rem !important; color: #fff !important; background: transparent !important; font-size: .7rem !important; }
.items-table tbody tr[b-mrrhm9qr9q] { height: 44px !important; background: #fff !important; }
.items-table tbody tr:nth-child(even)[b-mrrhm9qr9q] { background: #f8fbfe !important; }
.items-table tbody td[b-mrrhm9qr9q] { height: 44px !important; padding: .5rem .7rem !important; border-bottom: 1px solid #edf2f7 !important; font-size: .78rem !important; color: #526b82 !important; }
.items-table tbody tr:hover[b-mrrhm9qr9q] { background: #f0f8ff !important; }
