/* /Components/Layout/MainLayout.razor.rz.scp.css */
.layout-wrapper[b-gtg0p4m7l5] {
    display: flex;
    flex-direction: column;
    min-height: 125vh;
}

/* ─── TOP NAVBAR ─── */
.top-navbar[b-gtg0p4m7l5] {
    height: 76px;
    min-height: 76px;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 20;
    box-shadow: 0 1px 12px rgba(0,0,0,0.03);
}

.top-navbar-left[b-gtg0p4m7l5] {
    display: flex;
    align-items: center;
}

.brand-badge[b-gtg0p4m7l5] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-name[b-gtg0p4m7l5] {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.3px;
}

.top-navbar-center[b-gtg0p4m7l5] {
    display: flex;
    align-items: center;
}

.page-title[b-gtg0p4m7l5] {
    font-size: 18px;
    font-weight: 700;
    color: #0ea5e9;
    letter-spacing: 0.3px;
}

.top-navbar-right[b-gtg0p4m7l5] {
    display: flex;
    align-items: center;
}

.date-badge[b-gtg0p4m7l5] {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    background: rgba(14,165,233,0.04);
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(14,165,233,0.06);
}

.date-badge i[b-gtg0p4m7l5] {
    color: #0ea5e9;
}

/* ─── LAYOUT BODY ─── */
.layout-body[b-gtg0p4m7l5] {
    flex: 1;
    display: flex;
}

/* ─── SIDEBAR ─── */
.sidebar[b-gtg0p4m7l5] {
    width: 130px;
    min-width: 130px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    z-index: 10;
    box-shadow: 2px 0 24px rgba(0,0,0,0.03);
}

/* ─── HEADER ─── */
.sidebar-header[b-gtg0p4m7l5] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    position: relative;
    z-index: 1;
}

.brand-icon[b-gtg0p4m7l5] {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(14,165,233,0.25);
    position: relative;
}

.brand-icon[b-gtg0p4m7l5]::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
}

.topbar-img[b-gtg0p4m7l5] {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(14,165,233,0.3);
}

/* ─── MENU ─── */
.sidebar-menu[b-gtg0p4m7l5] {
    flex: 1;
    padding: 20px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

.sidebar-menu[b-gtg0p4m7l5]::-webkit-scrollbar { width: 2px; }
.sidebar-menu[b-gtg0p4m7l5]::-webkit-scrollbar-track { background: transparent; }
.sidebar-menu[b-gtg0p4m7l5]::-webkit-scrollbar-thumb { background: rgba(14,165,233,0.1); border-radius: 10px; }

/* ─── NAV ITEMS ─── */
.nav-item[b-gtg0p4m7l5] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    border-radius: 14px;
    color: #475569;
    text-decoration: none;
    margin-bottom: 2px;
    cursor: pointer;
    position: relative;
    background: transparent;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-drag: none;
}

.nav-item:focus[b-gtg0p4m7l5],
.nav-item:focus-visible[b-gtg0p4m7l5] {
    outline: none;
    box-shadow: none;
}

.nav-item:hover[b-gtg0p4m7l5] {
    background: rgba(14,165,233,0.04);
}

.nav-item.active[b-gtg0p4m7l5] {
    background: rgba(14,165,233,0.06);
}

.nav-item:active[b-gtg0p4m7l5] {
    transform: none;
}

/* ─── SECTION LABELS ─── */
.sidebar-section-label[b-gtg0p4m7l5] {
    font-size: 8px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 12px 0 4px;
    text-align: center;
    width: 100%;
    opacity: 0.6;
}

/* ─── ICONS ─── */
.nav-icon[b-gtg0p4m7l5] {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    flex-shrink: 0;
    color: inherit;
    border-radius: 12px;
    backface-visibility: hidden;
}

.nav-item:hover .nav-icon[b-gtg0p4m7l5] {
    color: #475569;
}

.nav-item.active .nav-icon[b-gtg0p4m7l5] {
    color: inherit;
}

.nav-icon svg[b-gtg0p4m7l5] {
    pointer-events: none;
    display: block;
}



/* ─── POS MODE ─── */
.layout-pos-mode[b-gtg0p4m7l5] { min-height: 100vh; }

.layout-pos-mode .top-navbar[b-gtg0p4m7l5] {
    height: 64px;
    min-height: 64px;
    padding: 0 18px;
}

.layout-pos-mode .brand-name[b-gtg0p4m7l5] { display: none; }

.layout-pos-mode .topbar-img[b-gtg0p4m7l5] {
    width: 56px;
    height: 56px;
    border-radius: 14px;
}

.layout-pos-mode .page-title[b-gtg0p4m7l5] { font-size: 14px; }

.layout-pos-mode .date-badge[b-gtg0p4m7l5] {
    font-size: 12px;
    padding: 4px 10px;
}

.sidebar-pos[b-gtg0p4m7l5] {
    width: 76px !important;
    min-width: 76px !important;
}

.sidebar-pos .sidebar-header[b-gtg0p4m7l5] { padding: 12px 0; }
.sidebar-pos .brand-icon[b-gtg0p4m7l5] { width: 34px; height: 34px; font-size: 18px; border-radius: 10px; }
.sidebar-pos .nav-item[b-gtg0p4m7l5] { padding: 8px 0; }
.sidebar-pos .nav-icon[b-gtg0p4m7l5] { width: 36px; height: 36px; font-size: 22px; backface-visibility: hidden; }
.sidebar-pos .sidebar-menu[b-gtg0p4m7l5] { padding: 12px 6px; gap: 2px; }
.sidebar-pos .sidebar-section-label[b-gtg0p4m7l5] { display: none; }

.main-content-pos[b-gtg0p4m7l5] {
    padding: 0 !important;
    background: #f0f4f8 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column;
}

/* ─── MAIN CONTENT ─── */
.main-content[b-gtg0p4m7l5] {
    flex: 1;
    padding: 28px 36px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
    min-width: 0;
    overflow-y: auto;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-314w03rikl],
.components-reconnect-repeated-attempt-visible[b-314w03rikl],
.components-reconnect-failed-visible[b-314w03rikl],
.components-pause-visible[b-314w03rikl],
.components-resume-failed-visible[b-314w03rikl],
.components-rejoining-animation[b-314w03rikl] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-314w03rikl],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-314w03rikl],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-314w03rikl],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-314w03rikl],
#components-reconnect-modal.components-reconnect-retrying[b-314w03rikl],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-314w03rikl],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-314w03rikl],
#components-reconnect-modal.components-reconnect-failed[b-314w03rikl],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-314w03rikl] {
    display: block;
}


#components-reconnect-modal[b-314w03rikl] {
    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-314w03rikl 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-314w03rikl 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-314w03rikl 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-314w03rikl]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-314w03rikl 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-314w03rikl {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-314w03rikl {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-314w03rikl {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-314w03rikl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-314w03rikl] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-314w03rikl] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-314w03rikl] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-314w03rikl] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-314w03rikl] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-314w03rikl] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-314w03rikl 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-314w03rikl] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-314w03rikl {
    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/Admin/Dashboard.razor.rz.scp.css */
.ad-page[b-4fhstsjd4r] {
    padding: 28px 32px;
    height: calc(100vh - 76px);
    overflow-y: auto;
    background: #f0f4f8;
}

/* ─── Header ─── */
.ad-header[b-4fhstsjd4r] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}
.ad-header-left[b-4fhstsjd4r] {
    display: flex;
    align-items: center;
    gap: 16px;
}
.ad-header-icon[b-4fhstsjd4r] {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}
.ad-header-title[b-4fhstsjd4r] {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}
.ad-header-subtitle[b-4fhstsjd4r] {
    margin: 2px 0 0;
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
}
.ad-header-right[b-4fhstsjd4r] {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ad-timestamp[b-4fhstsjd4r] {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ad-btn-refresh[b-4fhstsjd4r] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 16px;
    transition: all 0.15s;
}
.ad-btn-refresh:hover[b-4fhstsjd4r] {
    border-color: #6366f1;
    color: #6366f1;
    background: #f0f0ff;
}
.ad-spin[b-4fhstsjd4r] {
    animation: adRotate-b-4fhstsjd4r 1s linear infinite;
}
@keyframes adRotate-b-4fhstsjd4r {
    to { transform: rotate(360deg); }
}

.ad-loading[b-4fhstsjd4r] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 80px 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

/* ─── Stat Cards ─── */
.ad-stats-grid[b-4fhstsjd4r] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}
.ad-stat-card[b-4fhstsjd4r] {
    background: #fff;
    border-radius: 16px;
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: transform 0.15s, box-shadow 0.15s;
}
.ad-stat-card:hover[b-4fhstsjd4r] {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.ad-stat-card[b-4fhstsjd4r]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}
.ad-stat-tenants[b-4fhstsjd4r]::before { background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.ad-stat-shards[b-4fhstsjd4r]::before { background: linear-gradient(90deg, #0ea5e9, #38bdf8); }
.ad-stat-users[b-4fhstsjd4r]::before { background: linear-gradient(90deg, #10b981, #34d399); }
.ad-stat-active[b-4fhstsjd4r]::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.ad-stat-icon[b-4fhstsjd4r] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}
.ad-stat-tenants .ad-stat-icon[b-4fhstsjd4r] { background: #eef2ff; color: #6366f1; }
.ad-stat-shards .ad-stat-icon[b-4fhstsjd4r] { background: #f0f9ff; color: #0ea5e9; }
.ad-stat-users .ad-stat-icon[b-4fhstsjd4r] { background: #ecfdf5; color: #10b981; }
.ad-stat-active .ad-stat-icon[b-4fhstsjd4r] { background: #fffbeb; color: #f59e0b; }

.ad-stat-body[b-4fhstsjd4r] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ad-stat-value[b-4fhstsjd4r] {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1px;
    line-height: 1;
}
.ad-stat-unit[b-4fhstsjd4r] {
    font-size: 16px;
    font-weight: 600;
    color: #94a3b8;
    margin-left: 2px;
}
.ad-stat-label[b-4fhstsjd4r] {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.ad-stat-change[b-4fhstsjd4r] {
    margin-top: 10px;
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ad-stat-bar[b-4fhstsjd4r] {
    width: 100%;
    height: 4px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}
.ad-stat-bar-fill[b-4fhstsjd4r] {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* ─── Content Grid ─── */
.ad-content-grid[b-4fhstsjd4r] {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* ─── Card ─── */
.ad-card[b-4fhstsjd4r] {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    overflow: hidden;
}
.ad-card-header[b-4fhstsjd4r] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #f1f5f9;
}
.ad-card-header-left[b-4fhstsjd4r] {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ad-card-header-left i[b-4fhstsjd4r] {
    font-size: 18px;
    color: #6366f1;
}
.ad-card-header-left h3[b-4fhstsjd4r] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}
.ad-card-link[b-4fhstsjd4r] {
    font-size: 12px;
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.15s;
}
.ad-card-link:hover[b-4fhstsjd4r] {
    gap: 8px;
    text-decoration: underline;
}
.ad-card-body[b-4fhstsjd4r] {
    padding: 0;
}
.ad-card-actions .ad-card-body[b-4fhstsjd4r] {
    padding: 8px;
}

/* ─── Table ─── */
.ad-table[b-4fhstsjd4r] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.ad-table thead th[b-4fhstsjd4r] {
    padding: 10px 14px;
    background: #f8fafc;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    white-space: nowrap;
}
.ad-table tbody td[b-4fhstsjd4r] {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #334155;
}
.ad-table tbody tr:last-child td[b-4fhstsjd4r] {
    border-bottom: none;
}
.ad-table tbody tr:hover[b-4fhstsjd4r] {
    background: #f8fafc;
}
.ad-cell-name[b-4fhstsjd4r] {
    font-weight: 600;
    color: #0f172a;
}
.ad-cell-date[b-4fhstsjd4r] {
    color: #94a3b8;
    font-size: 11px;
    white-space: nowrap;
}
.ad-code[b-4fhstsjd4r] {
    font-size: 11px;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    color: #475569;
    font-family: 'SF Mono', 'Consolas', monospace;
}
.ad-empty[b-4fhstsjd4r] {
    text-align: center;
    padding: 32px 0 !important;
    color: #94a3b8;
    font-size: 13px;
}

/* ─── Badges ─── */
.ad-badge[b-4fhstsjd4r] {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}
.ad-badge-shard[b-4fhstsjd4r] {
    background: #f0f9ff;
    color: #0284c7;
    font-family: 'SF Mono', 'Consolas', monospace;
}
.ad-badge-active[b-4fhstsjd4r] {
    background: #d1fae5;
    color: #065f46;
}
.ad-badge-inactive[b-4fhstsjd4r] {
    background: #f1f5f9;
    color: #64748b;
}

/* ─── Action Buttons ─── */
.ad-action-btn[b-4fhstsjd4r] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    border-radius: 10px;
    transition: all 0.15s;
}
.ad-action-btn:hover[b-4fhstsjd4r] {
    background: #f8fafc;
}
.ad-action-btn + .ad-action-btn[b-4fhstsjd4r] {
    border-top: 1px solid #f1f5f9;
}
.ad-action-icon[b-4fhstsjd4r] {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.ad-action-icon-tenants[b-4fhstsjd4r] { background: #eef2ff; color: #6366f1; }
.ad-action-icon-users[b-4fhstsjd4r] { background: #f0f9ff; color: #0ea5e9; }
.ad-action-icon-health[b-4fhstsjd4r] { background: #ecfdf5; color: #10b981; }
.ad-action-icon-plans[b-4fhstsjd4r] { background: #fffbeb; color: #f59e0b; }
.ad-action-text[b-4fhstsjd4r] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.ad-action-text strong[b-4fhstsjd4r] {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}
.ad-action-text small[b-4fhstsjd4r] {
    font-size: 11px;
    color: #94a3b8;
}
.ad-action-arrow[b-4fhstsjd4r] {
    color: #cbd5e1;
    font-size: 14px;
    transition: transform 0.15s;
}
.ad-action-btn:hover .ad-action-arrow[b-4fhstsjd4r] {
    transform: translateX(3px);
    color: #6366f1;
}

/* ─── Footer Summary ─── */
.ad-card-footer[b-4fhstsjd4r] {
    padding: 0;
}
.ad-summary-grid[b-4fhstsjd4r] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.ad-summary-item[b-4fhstsjd4r] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
}
.ad-summary-item + .ad-summary-item[b-4fhstsjd4r] {
    border-left: 1px solid #f1f5f9;
}
.ad-summary-item i[b-4fhstsjd4r] {
    font-size: 28px;
}
.ad-summary-item div[b-4fhstsjd4r] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.ad-summary-value[b-4fhstsjd4r] {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}
.ad-summary-label[b-4fhstsjd4r] {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

/* ─── Responsive ─── */
@@media (max-width: 1024px) {
    .ad-stats-grid[b-4fhstsjd4r] { grid-template-columns: repeat(2, 1fr); }
    .ad-content-grid[b-4fhstsjd4r] { grid-template-columns: 1fr; }
    .ad-summary-grid[b-4fhstsjd4r] { grid-template-columns: repeat(2, 1fr); }
    .ad-summary-item:nth-child(2)[b-4fhstsjd4r] { border-left: none; }
    .ad-summary-item:nth-child(3)[b-4fhstsjd4r] { border-left: none; }
}
@@media (max-width: 640px) {
    .ad-page[b-4fhstsjd4r] { padding: 16px; }
    .ad-stats-grid[b-4fhstsjd4r] { grid-template-columns: 1fr; }
    .ad-summary-grid[b-4fhstsjd4r] { grid-template-columns: 1fr; }
    .ad-summary-item + .ad-summary-item[b-4fhstsjd4r] { border-left: none; }
}
/* /Components/Pages/Admin/Users.razor.rz.scp.css */
.au-page[b-u7alrfc06y] { display:flex; flex-direction:column; padding:20px 24px; height:100%; }
.au-header[b-u7alrfc06y] { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; flex-shrink:0; }
.au-header-left[b-u7alrfc06y] { display:flex; align-items:center; gap:12px; }
.au-heading[b-u7alrfc06y] { margin:0; font-size:22px; font-weight:700; color:#1e293b; }
.au-heading i[b-u7alrfc06y] { margin-right:8px; color:#0284c7; }
.au-count[b-u7alrfc06y] { font-size:13px; color:#64748b; background:#f1f5f9; padding:3px 10px; border-radius:20px; }
.au-btn-add[b-u7alrfc06y] { padding:8px 18px; border:none; border-radius:8px; background:#0284c7; color:#fff; font-size:14px; font-weight:600; cursor:pointer; }
.au-btn-add:hover[b-u7alrfc06y] { background:#0369a1; }
.au-table-wrap[b-u7alrfc06y] { flex:1; overflow:auto; border:1.5px solid #e2e8f0; border-radius:10px; background:#fff; }
.au-table[b-u7alrfc06y] { width:100%; border-collapse:collapse; }
.au-table th[b-u7alrfc06y] { padding:12px 14px; font-size:12px; font-weight:700; color:#475569; text-transform:uppercase; background:#f8fafc; border-bottom:1.5px solid #e2e8f0; text-align:left; position:sticky; top:0; }
.au-table td[b-u7alrfc06y] { padding:12px 14px; font-size:14px; color:#334155; border-bottom:1px solid #f1f5f9; }
.au-empty[b-u7alrfc06y] { text-align:center; padding:60px; color:#94a3b8; }
.au-empty i[b-u7alrfc06y] { font-size:48px; display:block; margin-bottom:12px; }
.au-role-badge[b-u7alrfc06y] { display:inline-block; padding:2px 10px; border-radius:20px; font-size:12px; font-weight:600; }
.au-role-tenantadmin[b-u7alrfc06y] { background:#dbeafe; color:#1d4ed8; }
.au-role-cashier[b-u7alrfc06y] { background:#dcfce7; color:#166534; }
.au-badge[b-u7alrfc06y] { display:inline-block; padding:2px 10px; border-radius:20px; font-size:12px; font-weight:600; }
.au-badge-active[b-u7alrfc06y] { background:#dcfce7; color:#16a34a; }
.au-badge-inactive[b-u7alrfc06y] { background:#fee2e2; color:#dc2626; }
.au-btn-action[b-u7alrfc06y] { width:30px; height:30px; border:none; border-radius:6px; background:#f1f5f9; color:#475569; cursor:pointer; font-size:14px; display:inline-flex; align-items:center; justify-content:center; }
.au-btn-action:hover[b-u7alrfc06y] { background:#e0f2fe; color:#0284c7; }
.au-btn-action-del:hover[b-u7alrfc06y] { background:#fee2e2; color:#dc2626; }
.au-modal-overlay[b-u7alrfc06y] { position:fixed; inset:0; background:rgba(0,0,0,0.4); z-index:1000; display:flex; align-items:center; justify-content:center; }
.au-modal[b-u7alrfc06y] { background:#fff; border-radius:12px; width:480px; max-height:85vh; display:flex; flex-direction:column; box-shadow:0 20px 60px rgba(0,0,0,0.2); }
.au-modal-sm[b-u7alrfc06y] { width:400px; }
.au-modal-header[b-u7alrfc06y] { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; border-bottom:1.5px solid #e2e8f0; }
.au-modal-header h5[b-u7alrfc06y] { margin:0; font-size:16px; font-weight:700; color:#1e293b; }
.au-modal-header h5 i[b-u7alrfc06y] { margin-right:8px; color:#0284c7; }
.au-modal-close[b-u7alrfc06y] { width:30px; height:30px; border:none; border-radius:6px; background:transparent; color:#64748b; cursor:pointer; font-size:22px; display:flex; align-items:center; justify-content:center; }
.au-modal-close:hover[b-u7alrfc06y] { background:#f1f5f9; }
.au-modal-body[b-u7alrfc06y] { padding:20px; overflow:auto; }
.au-modal-footer[b-u7alrfc06y] { display:flex; justify-content:flex-end; gap:10px; padding:14px 20px; border-top:1.5px solid #e2e8f0; }
.au-field[b-u7alrfc06y] { margin-bottom:14px; }
.au-field label[b-u7alrfc06y] { display:block; font-size:13px; font-weight:600; color:#475569; margin-bottom:4px; }
.au-input[b-u7alrfc06y] { width:100%; padding:8px 12px; border:1.5px solid #e2e8f0; border-radius:6px; font-size:14px; outline:none; }
.au-input:focus[b-u7alrfc06y] { border-color:#0284c7; }
.au-error[b-u7alrfc06y] { padding:8px 12px; background:#fee2e2; color:#991b1b; border-radius:6px; font-size:13px; margin-top:8px; }
.au-btn-cancel[b-u7alrfc06y] { padding:8px 18px; border:1.5px solid #e2e8f0; border-radius:6px; background:#fff; color:#475569; font-size:14px; font-weight:500; cursor:pointer; }
.au-btn-cancel:hover[b-u7alrfc06y] { background:#f8fafc; }
.au-btn-save[b-u7alrfc06y] { padding:8px 18px; border:none; border-radius:6px; background:#0284c7; color:#fff; font-size:14px; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:6px; }
.au-btn-save:hover[b-u7alrfc06y] { background:#0369a1; }
.au-btn-save:disabled[b-u7alrfc06y] { opacity:0.6; }
.au-btn-danger[b-u7alrfc06y] { padding:8px 18px; border:none; border-radius:6px; background:#dc2626; color:#fff; font-size:14px; font-weight:600; cursor:pointer; }
.au-btn-danger:hover[b-u7alrfc06y] { background:#b91c1c; }
.au-toast[b-u7alrfc06y] { position:fixed; top:20px; right:20px; padding:12px 20px; border-radius:8px; font-size:14px; font-weight:500; z-index:9999; display:flex; align-items:center; gap:8px; box-shadow:0 4px 12px rgba(0,0,0,0.15); animation:slideIn-b-u7alrfc06y .3s ease; }
.toast-success[b-u7alrfc06y] { background:#dcfce7; color:#166534; }
.toast-error[b-u7alrfc06y] { background:#fee2e2; color:#991b1b; }
@keyframes slideIn-b-u7alrfc06y { from { transform:translateX(100%); } to { transform:translateX(0); } }
/* /Components/Pages/CustomerLedger/CustomerLedger.razor.rz.scp.css */
.cl-page[b-fws41iqwsz] { display:flex; flex-direction:column; padding:20px 24px; height:100%; }

.cl-header[b-fws41iqwsz] { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; flex-shrink:0; }
.cl-header-left[b-fws41iqwsz] { display:flex; align-items:center; gap:12px; }
.cl-heading[b-fws41iqwsz] { margin:0; font-size:22px; font-weight:700; color:#1e293b; }
.cl-heading i[b-fws41iqwsz] { margin-right:8px; color:#0284c7; }
.cl-count[b-fws41iqwsz] { font-size:13px; color:#64748b; background:#f1f5f9; padding:3px 10px; border-radius:20px; }
.cl-header-right[b-fws41iqwsz] { display:flex; align-items:center; gap:12px; }
.cl-search-wrap[b-fws41iqwsz] { position:relative; }
.cl-search-icon[b-fws41iqwsz] { position:absolute; left:12px; top:50%; transform:translateY(-50%); color:#94a3b8; font-size:14px; }
.cl-search-input[b-fws41iqwsz] { width:260px; padding:8px 12px 8px 34px; border:1.5px solid #e2e8f0; border-radius:8px; font-size:14px; outline:none; background:#f8fafc; }
.cl-search-input:focus[b-fws41iqwsz] { border-color:#0284c7; background:#fff; }

.cl-table-wrap[b-fws41iqwsz] { flex:1; overflow:auto; border:1.5px solid #e2e8f0; border-radius:10px; background:#fff; }
.cl-table[b-fws41iqwsz] { width:100%; border-collapse:collapse; }
.cl-table thead[b-fws41iqwsz] { position:sticky; top:0; z-index:1; }
.cl-table th[b-fws41iqwsz] { padding:12px 14px; font-size:12px; font-weight:700; color:#475569; text-transform:uppercase; letter-spacing:0.5px; background:#f8fafc; border-bottom:1.5px solid #e2e8f0; text-align:left; }
.cl-table td[b-fws41iqwsz] { padding:12px 14px; font-size:14px; color:#334155; border-bottom:1px solid #f1f5f9; }
.cl-row[b-fws41iqwsz] { cursor:pointer; transition:background .15s; }
.cl-row:hover[b-fws41iqwsz] { background:#f0f9ff; }
.cl-row-active[b-fws41iqwsz] { background:#e0f2fe; }
.cl-name-cell[b-fws41iqwsz] { min-width:160px; }
.cl-name[b-fws41iqwsz] { font-weight:600; color:#1e293b; }

.cl-bal-due[b-fws41iqwsz] { color:#d97706; }
.cl-bal-over[b-fws41iqwsz] { color:#dc2626; }
.cl-bal-clear[b-fws41iqwsz] { color:#16a34a; }

.cl-badge[b-fws41iqwsz] { display:inline-block; padding:2px 10px; border-radius:20px; font-size:12px; font-weight:600; }
.cl-badge-due[b-fws41iqwsz] { background:#fef3c7; color:#d97706; }
.cl-badge-over[b-fws41iqwsz] { background:#fee2e2; color:#dc2626; }
.cl-badge-clear[b-fws41iqwsz] { background:#dcfce7; color:#16a34a; }

.cl-btn-action[b-fws41iqwsz] { width:30px; height:30px; border:none; border-radius:6px; background:#f1f5f9; color:#475569; cursor:pointer; font-size:14px; display:inline-flex; align-items:center; justify-content:center; transition:all .15s; }
.cl-btn-action:hover[b-fws41iqwsz] { background:#e0f2fe; color:#0284c7; }
.cl-btn-action-del:hover[b-fws41iqwsz] { background:#fee2e2; color:#dc2626; }

.cl-btn-pay[b-fws41iqwsz] { padding:6px 14px; border:none; border-radius:6px; background:#059669; color:#fff; font-size:13px; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:6px; }
.cl-btn-pay:hover[b-fws41iqwsz] { background:#047857; }

.cl-btn-close-ledger[b-fws41iqwsz] { width:32px; height:32px; border:none; border-radius:6px; background:#f1f5f9; color:#475569; cursor:pointer; font-size:20px; display:flex; align-items:center; justify-content:center; }
.cl-btn-close-ledger:hover[b-fws41iqwsz] { background:#e2e8f0; }

.cl-empty[b-fws41iqwsz] { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:60px 20px; color:#94a3b8; }
.cl-empty i[b-fws41iqwsz] { font-size:48px; margin-bottom:12px; }
.cl-empty p[b-fws41iqwsz] { font-size:14px; margin:0; }

.cl-toast[b-fws41iqwsz] { position:fixed; top:20px; right:20px; padding:12px 20px; border-radius:8px; font-size:14px; font-weight:500; z-index:9999; display:flex; align-items:center; gap:8px; box-shadow:0 4px 12px rgba(0,0,0,0.15); animation:slideIn-b-fws41iqwsz .3s ease; }
.toast-success[b-fws41iqwsz] { background:#dcfce7; color:#166534; border:1px solid #86efac; }
.toast-error[b-fws41iqwsz] { background:#fee2e2; color:#991b1b; border:1px solid #fca5a5; }
@keyframes slideIn-b-fws41iqwsz { from { transform:translateX(100%); opacity:0; } to { transform:translateX(0); opacity:1; } }

.cl-ledger-overlay[b-fws41iqwsz] { position:fixed; inset:0; background:rgba(0,0,0,0.4); z-index:1000; display:flex; align-items:center; justify-content:center; }
.cl-ledger-panel[b-fws41iqwsz] { background:#fff; border-radius:12px; width:90%; max-width:960px; max-height:85vh; display:flex; flex-direction:column; box-shadow:0 20px 60px rgba(0,0,0,0.2); }
.cl-ledger-header[b-fws41iqwsz] { display:flex; align-items:center; justify-content:space-between; padding:18px 24px; border-bottom:1.5px solid #e2e8f0; flex-shrink:0; }
.cl-ledger-actions[b-fws41iqwsz] { display:flex; align-items:center; gap:10px; }
.cl-ledger-body[b-fws41iqwsz] { flex:1; overflow:auto; padding:0; }
.cl-ledger-table[b-fws41iqwsz] { width:100%; border-collapse:collapse; }
.cl-ledger-table th[b-fws41iqwsz] { padding:10px 14px; font-size:12px; font-weight:700; color:#475569; text-transform:uppercase; letter-spacing:0.5px; background:#f8fafc; border-bottom:1.5px solid #e2e8f0; text-align:left; position:sticky; top:0; z-index:1; }
.cl-ledger-table td[b-fws41iqwsz] { padding:10px 14px; font-size:13px; color:#334155; border-bottom:1px solid #f1f5f9; }

.cl-txn-type[b-fws41iqwsz] { display:inline-block; padding:2px 8px; border-radius:4px; font-size:11px; font-weight:600; }
.cl-txn-sale[b-fws41iqwsz] { background:#dbeafe; color:#1d4ed8; }
.cl-txn-payment[b-fws41iqwsz] { background:#dcfce7; color:#166534; }
.cl-txn-return[b-fws41iqwsz] { background:#fef3c7; color:#b45309; }
.cl-txn-opening[b-fws41iqwsz] { background:#f1f5f9; color:#475569; }

.cl-modal-overlay[b-fws41iqwsz] { position:fixed; inset:0; background:rgba(0,0,0,0.4); z-index:1100; display:flex; align-items:center; justify-content:center; }
.cl-modal[b-fws41iqwsz] { background:#fff; border-radius:12px; width:480px; max-height:85vh; display:flex; flex-direction:column; box-shadow:0 20px 60px rgba(0,0,0,0.2); }
.cl-modal-sm[b-fws41iqwsz] { width:420px; }
.cl-modal-header[b-fws41iqwsz] { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; border-bottom:1.5px solid #e2e8f0; flex-shrink:0; }
.cl-modal-header h5[b-fws41iqwsz] { margin:0; font-size:16px; font-weight:700; color:#1e293b; }
.cl-modal-header h5 i[b-fws41iqwsz] { margin-right:8px; color:#0284c7; }
.cl-modal-close[b-fws41iqwsz] { width:30px; height:30px; border:none; border-radius:6px; background:transparent; color:#64748b; cursor:pointer; font-size:22px; display:flex; align-items:center; justify-content:center; }
.cl-modal-close:hover[b-fws41iqwsz] { background:#f1f5f9; }
.cl-modal-body[b-fws41iqwsz] { padding:20px; overflow:auto; }
.cl-modal-footer[b-fws41iqwsz] { display:flex; justify-content:flex-end; gap:10px; padding:14px 20px; border-top:1.5px solid #e2e8f0; flex-shrink:0; }

.cl-field[b-fws41iqwsz] { margin-bottom:14px; }
.cl-field label[b-fws41iqwsz] { display:block; font-size:13px; font-weight:600; color:#475569; margin-bottom:4px; }
.cl-input[b-fws41iqwsz] { width:100%; padding:8px 12px; border:1.5px solid #e2e8f0; border-radius:6px; font-size:14px; outline:none; }
.cl-input:focus[b-fws41iqwsz] { border-color:#0284c7; }

.cl-btn-cancel[b-fws41iqwsz] { padding:8px 18px; border:1.5px solid #e2e8f0; border-radius:6px; background:#fff; color:#475569; font-size:14px; font-weight:500; cursor:pointer; }
.cl-btn-cancel:hover[b-fws41iqwsz] { background:#f8fafc; }
.cl-btn-save[b-fws41iqwsz] { padding:8px 18px; border:none; border-radius:6px; background:#0284c7; color:#fff; font-size:14px; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:6px; }
.cl-btn-save:hover[b-fws41iqwsz] { background:#0369a1; }
.cl-btn-save:disabled[b-fws41iqwsz] { opacity:0.6; cursor:not-allowed; }
.cl-btn-danger[b-fws41iqwsz] { padding:8px 18px; border:none; border-radius:6px; background:#dc2626; color:#fff; font-size:14px; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:6px; }
.cl-btn-danger:hover[b-fws41iqwsz] { background:#b91c1c; }
.cl-btn-danger:disabled[b-fws41iqwsz] { opacity:0.6; cursor:not-allowed; }
/* /Components/Pages/Products/BarcodePrint.razor.rz.scp.css */
.bc-page[b-c9todba2ap] { display:flex; flex-direction:column; padding:20px 24px; height:100%; }
.bc-header[b-c9todba2ap] { margin-bottom:16px; flex-shrink:0; }
.bc-heading[b-c9todba2ap] { margin:0; font-size:22px; font-weight:700; color:#1e293b; }
.bc-heading i[b-c9todba2ap] { margin-right:8px; color:#0284c7; }
.bc-layout[b-c9todba2ap] { display:flex; gap:20px; flex:1; min-height:0; }
.bc-sidebar[b-c9todba2ap] { width:300px; flex-shrink:0; display:flex; flex-direction:column; gap:10px; }
.bc-search-wrap[b-c9todba2ap] { }
.bc-label[b-c9todba2ap] { display:block; font-size:13px; font-weight:600; color:#475569; margin-bottom:4px; }
.bc-input[b-c9todba2ap] { width:100%; padding:8px 12px; border:1.5px solid #e2e8f0; border-radius:6px; font-size:14px; outline:none; }
.bc-input:focus[b-c9todba2ap] { border-color:#0284c7; }
.bc-input-sm[b-c9todba2ap] { padding:6px 10px; border:1.5px solid #e2e8f0; border-radius:6px; font-size:13px; outline:none; text-align:center; }
.bc-input-sm:focus[b-c9todba2ap] { border-color:#0284c7; }
.bc-btn[b-c9todba2ap] { padding:8px 18px; border:none; border-radius:6px; font-size:14px; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:6px; }
.bc-btn-primary[b-c9todba2ap] { background:#0284c7; color:#fff; }
.bc-btn-primary:hover[b-c9todba2ap] { background:#0369a1; }
.bc-btn-success[b-c9todba2ap] { background:#059669; color:#fff; }
.bc-btn-success:hover[b-c9todba2ap] { background:#047857; }
.bc-btn-success:disabled[b-c9todba2ap] { opacity:0.5; cursor:not-allowed; }
.bc-btn-sm[b-c9todba2ap] { border:none; background:none; color:#0284c7; font-size:12px; cursor:pointer; text-decoration:underline; }
.bc-results[b-c9todba2ap] { flex:1; overflow:auto; border:1.5px solid #e2e8f0; border-radius:8px; background:#fff; padding:4px; }
.bc-result[b-c9todba2ap] { padding:8px 10px; border-radius:6px; cursor:pointer; margin-bottom:2px; }
.bc-result:hover[b-c9todba2ap] { background:#f0f9ff; }
.bc-result-selected[b-c9todba2ap] { background:#e0f2fe; border:1px solid #7dd3fc; }
.bc-selected-count[b-c9todba2ap] { padding:8px; background:#f0fdf4; border-radius:8px; font-size:13px; display:flex; align-items:center; justify-content:space-between; }
.bc-preview-wrap[b-c9todba2ap] { flex:1; display:flex; flex-direction:column; gap:10px; background:#fff; border:1.5px solid #e2e8f0; border-radius:10px; padding:16px; }
.bc-toolbar[b-c9todba2ap] { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.bc-labels[b-c9todba2ap] { flex:1; overflow:auto; display:flex; flex-wrap:wrap; gap:12px; align-content:flex-start; padding:8px; }
.bc-label-item[b-c9todba2ap] { width:180px; text-align:center; padding:8px; border:1px dashed #e2e8f0; border-radius:6px; page-break-inside:avoid; }
.bc-label-item svg[b-c9todba2ap] { max-width:100%; }
.bc-label-name[b-c9todba2ap] { font-size:10px; font-weight:700; margin:2px 0; color:#1e293b; }
.bc-label-price[b-c9todba2ap] { font-size:14px; font-weight:800; color:#dc2626; }
.bc-label-mrp[b-c9todba2ap] { font-size:8px; color:#64748b; }
.bc-empty[b-c9todba2ap] { display:flex; flex-direction:column; align-items:center; justify-content:center; flex:1; color:#94a3b8; }
.bc-empty i[b-c9todba2ap] { font-size:48px; margin-bottom:12px; }
/* /Components/Pages/Products/Products.razor.rz.scp.css */
.prod-page[b-a16tggt4p2] { padding: 20px 24px; height: calc(100vh - 76px); display: flex; flex-direction: column; overflow: hidden; }

/* ─── Header ─── */
.prod-header[b-a16tggt4p2] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-shrink: 0; flex-wrap: wrap; gap: 10px; }
.prod-header-left[b-a16tggt4p2] { display: flex; align-items: center; gap: 12px; }
.prod-heading[b-a16tggt4p2] { margin: 0; font-size: 22px; font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 10px; }
.prod-heading i[b-a16tggt4p2] { color: #0ea5e9; }
.prod-count[b-a16tggt4p2] { font-size: 12px; color: #94a3b8; font-weight: 500; background: #f1f5f9; padding: 3px 12px; border-radius: 20px; }
.prod-header-right[b-a16tggt4p2] { display: flex; align-items: center; gap: 10px; }
.prod-search-wrap[b-a16tggt4p2] { position: relative; }
.prod-search-icon[b-a16tggt4p2] { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 14px; }
.prod-search-input[b-a16tggt4p2] { padding: 9px 12px 9px 34px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 13px; outline: none; width: 300px; background: #fff; transition: border 0.15s; }
.prod-search-input:focus[b-a16tggt4p2] { border-color: #0ea5e9; box-shadow: 0 0 0 3px rgba(14,165,233,0.1); }

.prod-btn-add[b-a16tggt4p2] { padding: 9px 18px; border-radius: 8px; border: none; background: linear-gradient(135deg, #059669, #10b981); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.2s; box-shadow: 0 4px 16px rgba(5,150,105,0.2); white-space: nowrap; }
.prod-btn-add:hover[b-a16tggt4p2] { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(5,150,105,0.3); }

/* ─── Table ─── */
.prod-table-wrap[b-a16tggt4p2] { flex: 1; overflow: auto; background: #fff; border-radius: 14px; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
.prod-table[b-a16tggt4p2] { width: 100%; border-collapse: collapse; font-size: 13px; }
.prod-table thead[b-a16tggt4p2] { position: sticky; top: 0; z-index: 2; }
.prod-table thead th[b-a16tggt4p2] { padding: 10px 10px; background: #f8fafc; font-size: 10px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.3px; border-bottom: 2px solid #e2e8f0; white-space: nowrap; text-align: left; }
.prod-sortable[b-a16tggt4p2] { cursor: pointer; user-select: none; }
.prod-sortable:hover[b-a16tggt4p2] { color: #0ea5e9; }
.prod-table tbody td[b-a16tggt4p2] { padding: 9px 10px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.prod-row:hover[b-a16tggt4p2] { background: #f8fafc; }
.prod-name-cell[b-a16tggt4p2] { font-weight: 600; color: #0f172a; }
.prod-muted[b-a16tggt4p2] { color: #64748b; }
.prod-num[b-a16tggt4p2] { text-align: right; font-variant-numeric: tabular-nums; }
.prod-barcode[b-a16tggt4p2] { font-family: 'Courier New', monospace; font-size: 12px; color: #475569; }
.prod-gst-badge[b-a16tggt4p2] { display: inline-block; padding: 2px 8px; background: #f0f9ff; color: #0284c7; border-radius: 5px; font-size: 11px; font-weight: 600; }

.prod-empty[b-a16tggt4p2] { text-align: center; padding: 50px 0 !important; color: #94a3b8; }
.prod-empty i[b-a16tggt4p2] { font-size: 36px; display: block; margin-bottom: 10px; color: #cbd5e1; }
.prod-empty p[b-a16tggt4p2] { margin: 0; font-size: 13px; }

.prod-btn-action[b-a16tggt4p2] { width: 30px; height: 30px; border-radius: 6px; border: 1px solid transparent; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: all 0.15s; font-size: 13px; margin-right: 4px; }
.prod-btn-edit:hover[b-a16tggt4p2] { background: #f0f9ff; color: #0284c7; border-color: #bae6fd; }
.prod-btn-del:hover[b-a16tggt4p2] { background: #fef2f2; color: #ef4444; border-color: #fecaca; }

/* ─── Modal ─── */
.prod-modal-overlay[b-a16tggt4p2] { position: fixed; inset: 0; z-index: 1000; background: rgba(15,23,42,0.5); display: flex; align-items: center; justify-content: center; }
.prod-modal[b-a16tggt4p2] { background: #fff; border-radius: 14px; width: 640px; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 48px rgba(0,0,0,0.15); }
.prod-modal-sm[b-a16tggt4p2] { width: 420px; }
.prod-modal-header[b-a16tggt4p2] { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid #e2e8f0; }
.prod-modal-header h5[b-a16tggt4p2] { margin: 0; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.prod-modal-close[b-a16tggt4p2] { background: none; border: none; font-size: 24px; cursor: pointer; color: #94a3b8; padding: 0 4px; line-height: 1; }
.prod-modal-close:hover[b-a16tggt4p2] { color: #1e293b; }
.prod-modal-body[b-a16tggt4p2] { padding: 20px 24px; }
.prod-modal-footer[b-a16tggt4p2] { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 24px; border-top: 1px solid #e2e8f0; }

.prod-form-section[b-a16tggt4p2] { margin-bottom: 20px; }
.prod-form-section:last-child[b-a16tggt4p2] { margin-bottom: 0; }
.prod-form-section-title[b-a16tggt4p2] { font-size: 12px; font-weight: 700; color: #0ea5e9; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid #e2e8f0; }
.prod-form-grid[b-a16tggt4p2] { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prod-field[b-a16tggt4p2] { display: flex; flex-direction: column; gap: 4px; }
.prod-field label[b-a16tggt4p2] { font-size: 11px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.3px; }
.prod-input[b-a16tggt4p2] { padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 13px; outline: none; transition: border 0.15s; background: #fff; }
.prod-input:focus[b-a16tggt4p2] { border-color: #0ea5e9; box-shadow: 0 0 0 3px rgba(14,165,233,0.1); }
select.prod-input[b-a16tggt4p2] { cursor: pointer; }

.prod-btn-cancel[b-a16tggt4p2] { padding: 8px 18px; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; color: #475569; transition: all 0.15s; }
.prod-btn-cancel:hover[b-a16tggt4p2] { border-color: #94a3b8; }
.prod-btn-save[b-a16tggt4p2] { padding: 8px 18px; border-radius: 8px; border: none; background: #0ea5e9; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.15s; }
.prod-btn-save:hover[b-a16tggt4p2] { background: #0284c7; }
.prod-btn-save:disabled[b-a16tggt4p2] { opacity: 0.5; cursor: default; }
.prod-btn-danger[b-a16tggt4p2] { padding: 8px 18px; border-radius: 8px; border: none; background: #ef4444; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.15s; }
.prod-btn-danger:hover[b-a16tggt4p2] { background: #dc2626; }
.prod-btn-danger:disabled[b-a16tggt4p2] { opacity: 0.5; cursor: default; }

/* ─── Toast ─── */
.prod-toast[b-a16tggt4p2] { position: fixed; top: 16px; right: 16px; z-index: 99999; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); animation: prodToastIn-b-a16tggt4p2 0.3s ease-out; }
.prod-toast.toast-success[b-a16tggt4p2] { background: #059669; color: #fff; }
.prod-toast.toast-error[b-a16tggt4p2] { background: #ef4444; color: #fff; }
@keyframes prodToastIn-b-a16tggt4p2 { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
/* /Components/Pages/PurchaseOrders/PurchaseOrders.razor.rz.scp.css */
.po-page[b-r6qr9amqu7] { padding: 20px 24px; height: calc(100vh - 76px); overflow: hidden; display: flex; flex-direction: column; }
.po-header[b-r6qr9amqu7] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-shrink: 0; }
.po-header-left[b-r6qr9amqu7] { display: flex; align-items: center; gap: 12px; }
.po-heading[b-r6qr9amqu7] { margin: 0; font-size: 22px; font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 10px; }
.po-heading i[b-r6qr9amqu7] { color: #0ea5e9; }
.po-count[b-r6qr9amqu7] { font-size: 12px; color: #94a3b8; font-weight: 500; background: #f1f5f9; padding: 3px 12px; border-radius: 20px; }
.po-header-right[b-r6qr9amqu7] { display: flex; align-items: center; gap: 12px; }
.po-status-tabs[b-r6qr9amqu7] { display: flex; gap: 4px; background: #f1f5f9; padding: 3px; border-radius: 10px; }
.po-tab[b-r6qr9amqu7] { padding: 5px 14px; border: none; background: none; border-radius: 8px; font-size: 12px; font-weight: 600; color: #64748b; cursor: pointer; transition: all 0.15s; }
.po-tab.active[b-r6qr9amqu7] { background: #fff; color: #0f172a; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.po-tab:hover[b-r6qr9amqu7] { color: #0f172a; }
.po-btn-add[b-r6qr9amqu7] { padding: 8px 18px; border-radius: 10px; border: none; background: linear-gradient(135deg, #059669, #10b981); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.2s; box-shadow: 0 4px 16px rgba(5,150,105,0.25); }
.po-btn-add:hover[b-r6qr9amqu7] { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(5,150,105,0.35); }
.po-table-wrap[b-r6qr9amqu7] { flex: 1; overflow: auto; background: #fff; border-radius: 14px; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
.po-table[b-r6qr9amqu7] { width: 100%; border-collapse: collapse; font-size: 13px; }
.po-table thead[b-r6qr9amqu7] { position: sticky; top: 0; z-index: 2; }
.po-table thead th[b-r6qr9amqu7] { padding: 10px 12px; background: #f8fafc; font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.3px; border-bottom: 2px solid #e2e8f0; white-space: nowrap; }
.po-table tbody td[b-r6qr9amqu7] { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.po-row:hover[b-r6qr9amqu7] { background: #f8fafc; }
.po-empty[b-r6qr9amqu7] { text-align: center; padding: 60px 0 !important; color: #94a3b8; font-size: 14px; }
.po-empty i[b-r6qr9amqu7] { font-size: 36px; display: block; margin-bottom: 8px; color: #cbd5e1; }
.po-row-actions[b-r6qr9amqu7] { display: flex; gap: 4px; }
.po-btn-icon[b-r6qr9amqu7] { width: 30px; height: 30px; border-radius: 6px; border: 1px solid #e2e8f0; background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: #64748b; transition: all 0.15s; font-size: 12px; }
.po-btn-icon:hover[b-r6qr9amqu7] { border-color: #0ea5e9; color: #0ea5e9; background: #f0f9ff; }
.po-btn-danger:hover[b-r6qr9amqu7] { border-color: #ef4444; color: #ef4444; background: #fef2f2; }
.po-btn-success:hover[b-r6qr9amqu7] { border-color: #059669; color: #059669; background: #ecfdf5; }
.po-badge[b-r6qr9amqu7] { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.po-badge-draft[b-r6qr9amqu7] { background: #f1f5f9; color: #64748b; }
.po-badge-partial[b-r6qr9amqu7] { background: #fef3c7; color: #d97706; }
.po-badge-received[b-r6qr9amqu7] { background: #d1fae5; color: #059669; }

/* ─── Modal ─── */
.po-overlay[b-r6qr9amqu7] { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.po-modal[b-r6qr9amqu7] { background: #fff; border-radius: 16px; width: 800px; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.po-modal-lg[b-r6qr9amqu7] { width: 900px; }
.po-modal-header[b-r6qr9amqu7] { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid #e2e8f0; }
.po-modal-header h5[b-r6qr9amqu7] { margin: 0; font-size: 16px; font-weight: 700; color: #0f172a; }
.po-btn-close[b-r6qr9amqu7] { width: 32px; height: 32px; border: none; background: none; font-size: 24px; color: #94a3b8; cursor: pointer; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.po-btn-close:hover[b-r6qr9amqu7] { background: #f1f5f9; color: #0f172a; }
.po-modal-body[b-r6qr9amqu7] { padding: 20px 24px; overflow-y: auto; flex: 1; }
.po-modal-footer[b-r6qr9amqu7] { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 24px; border-top: 1px solid #e2e8f0; }
.po-form-row[b-r6qr9amqu7] { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.po-field[b-r6qr9amqu7] { display: flex; flex-direction: column; gap: 4px; }
.po-field label[b-r6qr9amqu7] { font-size: 11px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.3px; }
.po-input[b-r6qr9amqu7], .po-select[b-r6qr9amqu7] { padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 13px; outline: none; background: #fff; transition: all 0.15s; }
.po-input:focus[b-r6qr9amqu7], .po-select:focus[b-r6qr9amqu7] { border-color: #0ea5e9; box-shadow: 0 0 0 3px rgba(14,165,233,0.1); }

/* ─── Form Items ─── */
.po-items-section[b-r6qr9amqu7] { margin-bottom: 12px; }
.po-items-header[b-r6qr9amqu7] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.po-btn-sm[b-r6qr9amqu7] { padding: 5px 12px; border-radius: 6px; border: 1px solid #e2e8f0; background: #fff; font-size: 12px; font-weight: 600; cursor: pointer; color: #475569; transition: all 0.15s; }
.po-btn-sm:hover[b-r6qr9amqu7] { border-color: #0ea5e9; color: #0ea5e9; background: #f0f9ff; }
.po-items-table[b-r6qr9amqu7] { width: 100%; border-collapse: collapse; font-size: 12px; }
.po-items-table thead th[b-r6qr9amqu7] { padding: 6px 8px; background: #f8fafc; font-size: 10px; font-weight: 700; color: #64748b; text-transform: uppercase; border-bottom: 2px solid #e2e8f0; white-space: nowrap; text-align: center; }
.po-items-table tbody td[b-r6qr9amqu7] { padding: 4px 8px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.po-cell-input[b-r6qr9amqu7] { width: 100%; padding: 5px 6px; border: 1px solid #e2e8f0; border-radius: 5px; font-size: 12px; outline: none; text-align: center; }
.po-cell-input:focus[b-r6qr9amqu7] { border-color: #0ea5e9; box-shadow: 0 0 0 2px rgba(14,165,233,0.08); }

.po-prod-wrap[b-r6qr9amqu7] { position: relative; }
.po-prod-input[b-r6qr9amqu7] { width: 100%; padding: 5px 8px; border: 1px solid #e2e8f0; border-radius: 5px; font-size: 12px; outline: none; }
.po-prod-input:focus[b-r6qr9amqu7] { border-color: #0ea5e9; box-shadow: 0 0 0 2px rgba(14,165,233,0.08); }
.po-suggestions[b-r6qr9amqu7] { position: absolute; top: 100%; left: 0; right: 0; z-index: 200; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); max-height: 180px; overflow-y: auto; }
.po-sug-item[b-r6qr9amqu7] { padding: 7px 12px; cursor: pointer; border-bottom: 1px solid #f1f5f9; transition: background 0.1s; }
.po-sug-item:last-child[b-r6qr9amqu7] { border-bottom: none; }
.po-sug-item:hover[b-r6qr9amqu7] { background: #f0f9ff; }
.po-sug-name[b-r6qr9amqu7] { display: block; font-size: 12px; font-weight: 600; color: #0f172a; }
.po-sug-meta[b-r6qr9amqu7] { display: block; font-size: 11px; color: #94a3b8; }
.po-btn-remove[b-r6qr9amqu7] { width: 26px; height: 26px; border-radius: 5px; border: none; background: none; cursor: pointer; color: #94a3b8; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.po-btn-remove:hover[b-r6qr9amqu7] { background: #fef2f2; color: #ef4444; }

.po-summary[b-r6qr9amqu7] { display: flex; gap: 20px; justify-content: flex-end; padding: 8px 12px; background: #f8fafc; border-radius: 8px; margin-top: 8px; font-size: 12px; color: #475569; }

.po-error[b-r6qr9amqu7] { padding: 10px 14px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; color: #dc2626; font-size: 13px; margin-top: 12px; }

.po-btn-primary[b-r6qr9amqu7] { padding: 8px 20px; border-radius: 8px; border: none; background: linear-gradient(135deg, #059669, #10b981); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.2s; }
.po-btn-primary:hover[b-r6qr9amqu7] { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(5,150,105,0.3); }
.po-btn-primary:disabled[b-r6qr9amqu7] { opacity: 0.5; cursor: default; transform: none; }
.po-btn-secondary[b-r6qr9amqu7] { padding: 8px 20px; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; color: #475569; transition: all 0.15s; }
.po-btn-secondary:hover[b-r6qr9amqu7] { border-color: #94a3b8; }

.po-view-info[b-r6qr9amqu7] { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 13px; color: #475569; background: #f8fafc; padding: 14px 16px; border-radius: 10px; }
.po-view-totals[b-r6qr9amqu7] { display: flex; gap: 24px; justify-content: flex-end; font-size: 13px; color: #475569; }
/* /Components/Pages/Sales/Sales.razor.rz.scp.css */
.sl-page[b-z1m3dc2yfc] { padding: 20px 24px; height: calc(100vh - 76px); overflow: hidden; display: flex; flex-direction: column; }

.sl-header[b-z1m3dc2yfc] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-shrink: 0; gap: 12px; flex-wrap: wrap; }
.sl-header-left[b-z1m3dc2yfc] { display: flex; align-items: center; gap: 12px; }
.sl-heading[b-z1m3dc2yfc] { margin: 0; font-size: 22px; font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 10px; }
.sl-heading i[b-z1m3dc2yfc] { color: #0ea5e9; }
.sl-subtitle[b-z1m3dc2yfc] { font-size: 12px; color: #94a3b8; font-weight: 500; background: #f1f5f9; padding: 3px 12px; border-radius: 20px; }
.sl-header-actions[b-z1m3dc2yfc] { display: flex; align-items: center; gap: 8px; }

.sl-search-box[b-z1m3dc2yfc] { position: relative; }
.sl-search-icon[b-z1m3dc2yfc] { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 13px; pointer-events: none; }
.sl-search-input[b-z1m3dc2yfc] { padding: 9px 12px 9px 34px; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 13px; outline: none; background: #fff; width: 220px; transition: all 0.15s; }
.sl-search-input:focus[b-z1m3dc2yfc] { border-color: #0ea5e9; box-shadow: 0 0 0 3px rgba(14,165,233,0.1); width: 280px; }
.sl-search-clear[b-z1m3dc2yfc] { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: none; background: none; color: #94a3b8; cursor: pointer; padding: 4px; font-size: 11px; }
.sl-search-clear:hover[b-z1m3dc2yfc] { color: #ef4444; }

.sl-btn-filter[b-z1m3dc2yfc] { padding: 9px 14px; border-radius: 10px; border: 1px solid #e2e8f0; background: #fff; font-size: 12px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; color: #475569; transition: all 0.15s; white-space: nowrap; }
.sl-btn-filter:hover[b-z1m3dc2yfc] { border-color: #0ea5e9; color: #0ea5e9; }
.sl-btn-load[b-z1m3dc2yfc] { padding: 9px 18px; border-radius: 10px; border: none; background: linear-gradient(135deg, #0ea5e9, #38bdf8); color: #fff; font-size: 12px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.2s; box-shadow: 0 4px 16px rgba(14,165,233,0.25); white-space: nowrap; }
.sl-btn-load:hover[b-z1m3dc2yfc] { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(14,165,233,0.35); }

.sl-empty[b-z1m3dc2yfc] { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #94a3b8; }
.sl-empty i[b-z1m3dc2yfc] { font-size: 48px; color: #cbd5e1; margin-bottom: 12px; }
.sl-empty p[b-z1m3dc2yfc] { font-size: 14px; }

.sl-table-wrap[b-z1m3dc2yfc] { flex: 1; overflow: auto; background: #fff; border-radius: 14px; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
.sl-table[b-z1m3dc2yfc] { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 900px; }
.sl-table thead[b-z1m3dc2yfc] { position: sticky; top: 0; z-index: 2; }
.sl-table thead th[b-z1m3dc2yfc] { padding: 10px 10px; background: #f8fafc; font-size: 10px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.3px; border-bottom: 2px solid #e2e8f0; white-space: nowrap; text-align: left; }
.sl-table tbody td[b-z1m3dc2yfc] { padding: 8px 10px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.sl-table tbody tr:hover[b-z1m3dc2yfc] { background: #f8fafc; }
.sl-row-return[b-z1m3dc2yfc] { opacity: 0.6; background: #fef2f2; }
.sl-row-return:hover[b-z1m3dc2yfc] { opacity: 0.8; }

.sl-invoice-no[b-z1m3dc2yfc] { font-weight: 700; font-size: 12px; color: #0f172a; font-family: 'Consolas', monospace; }
.sl-date[b-z1m3dc2yfc] { white-space: nowrap; font-size: 11px; }
.sl-pay-badge[b-z1m3dc2yfc] { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.mode-cash[b-z1m3dc2yfc] { background: #d1fae5; color: #065f46; }
.mode-upi[b-z1m3dc2yfc] { background: #dbeafe; color: #1e40af; }
.mode-card[b-z1m3dc2yfc] { background: #f3e8ff; color: #6b21a8; }
.mode-credit[b-z1m3dc2yfc] { background: #fef3c7; color: #92400e; }
.mode-return[b-z1m3dc2yfc] { background: #fce4ec; color: #b71c1c; }

.sl-actions[b-z1m3dc2yfc] { display: flex; gap: 4px; }
.sl-btn-icon[b-z1m3dc2yfc] { width: 30px; height: 30px; border-radius: 6px; border: 1px solid transparent; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; transition: all 0.15s; }
.sl-btn-view[b-z1m3dc2yfc] { color: #64748b; }
.sl-btn-view:hover[b-z1m3dc2yfc] { background: #f0f9ff; color: #0ea5e9; border-color: #bae6fd; }
.sl-btn-print[b-z1m3dc2yfc] { color: #64748b; }
.sl-btn-print:hover[b-z1m3dc2yfc] { background: #f0fdf4; color: #059669; border-color: #a7f3d0; }

/* ─── MODAL ─── */
.sl-modal-overlay[b-z1m3dc2yfc] { position: fixed; inset: 0; background: rgba(15,23,42,0.5); backdrop-filter: blur(4px); z-index: 9999; display: flex; align-items: center; justify-content: center; animation: slFadeIn-b-z1m3dc2yfc 0.15s ease-out; }
.sl-modal[b-z1m3dc2yfc] { background: #fff; border-radius: 16px; max-width: 95vw; max-height: 90vh; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,0.2); display: flex; flex-direction: column; }
.sl-modal-sm[b-z1m3dc2yfc] { width: 420px; }
.sl-modal-lg[b-z1m3dc2yfc] { width: 800px; }
.sl-modal-header[b-z1m3dc2yfc] { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #e2e8f0; flex-shrink: 0; }
.sl-modal-header h5[b-z1m3dc2yfc] { margin: 0; font-size: 15px; font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 8px; }
.sl-modal-header h5 i[b-z1m3dc2yfc] { color: #0ea5e9; }
.sl-modal-close[b-z1m3dc2yfc] { border: none; background: none; font-size: 24px; color: #94a3b8; cursor: pointer; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; transition: all 0.15s; }
.sl-modal-close:hover[b-z1m3dc2yfc] { background: #f1f5f9; color: #0f172a; }
.sl-modal-body[b-z1m3dc2yfc] { overflow-y: auto; }
.sl-modal-footer[b-z1m3dc2yfc] { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid #e2e8f0; flex-shrink: 0; }

.sl-form-row[b-z1m3dc2yfc] { display: flex; gap: 12px; }
.sl-field[b-z1m3dc2yfc] { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sl-field label[b-z1m3dc2yfc] { font-size: 11px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.3px; }
.sl-input[b-z1m3dc2yfc] { padding: 9px 12px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 13px; outline: none; background: #fff; transition: all 0.15s; }
.sl-input:focus[b-z1m3dc2yfc] { border-color: #0ea5e9; box-shadow: 0 0 0 3px rgba(14,165,233,0.1); }

.sl-btn-cancel[b-z1m3dc2yfc] { padding: 9px 18px; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; font-size: 12px; font-weight: 600; cursor: pointer; color: #64748b; transition: all 0.15s; }
.sl-btn-cancel:hover[b-z1m3dc2yfc] { border-color: #94a3b8; background: #f8fafc; }
.sl-btn-apply[b-z1m3dc2yfc] { padding: 9px 18px; border-radius: 8px; border: none; background: linear-gradient(135deg, #0ea5e9, #38bdf8); color: #fff; font-size: 12px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.2s; }
.sl-btn-apply:hover[b-z1m3dc2yfc] { box-shadow: 0 4px 12px rgba(14,165,233,0.3); }

/* ─── TOAST ─── */
.sl-toast[b-z1m3dc2yfc] { position: fixed; top: 16px; right: 16px; z-index: 99999; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); animation: slToastIn-b-z1m3dc2yfc 0.3s ease-out; }
.sl-toast.toast-success[b-z1m3dc2yfc] { background: #059669; color: #fff; }
.sl-toast.toast-error[b-z1m3dc2yfc] { background: #ef4444; color: #fff; }
@keyframes slFadeIn-b-z1m3dc2yfc { from { opacity: 0; } to { opacity: 1; } }
@keyframes slToastIn-b-z1m3dc2yfc { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
/* /Components/Pages/Sales/SalesReport.razor.rz.scp.css */
.sr-page[b-zuyler01tw] { display:flex; flex-direction:column; padding:20px 24px; height:100%; gap:16px; }
.sr-header[b-zuyler01tw] { display:flex; align-items:center; justify-content:space-between; flex-shrink:0; }
.sr-header-left[b-zuyler01tw] { display:flex; align-items:center; gap:12px; }
.sr-heading[b-zuyler01tw] { margin:0; font-size:22px; font-weight:700; color:#1e293b; }
.sr-heading i[b-zuyler01tw] { margin-right:8px; color:#0284c7; }
.sr-header-right[b-zuyler01tw] { display:flex; align-items:center; gap:12px; }
.sr-tabs[b-zuyler01tw] { display:flex; background:#f1f5f9; border-radius:8px; padding:2px; }
.sr-tab[b-zuyler01tw] { padding:6px 14px; border:none; border-radius:6px; background:transparent; color:#64748b; font-size:13px; font-weight:600; cursor:pointer; }
.sr-tab.active[b-zuyler01tw] { background:#fff; color:#0284c7; box-shadow:0 1px 3px rgba(0,0,0,0.1); }
.sr-range[b-zuyler01tw] { padding:6px 10px; border:1.5px solid #e2e8f0; border-radius:6px; font-size:13px; outline:none; }
.sr-cards[b-zuyler01tw] { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; flex-shrink:0; }
.sr-card[b-zuyler01tw] { display:flex; align-items:center; gap:14px; background:#fff; border:1.5px solid #e2e8f0; border-radius:10px; padding:16px; }
.sr-card-icon[b-zuyler01tw] { width:44px; height:44px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:20px; }
.sr-card-revenue[b-zuyler01tw] { background:#dbeafe; color:#1d4ed8; }
.sr-card-tax[b-zuyler01tw] { background:#fef3c7; color:#d97706; }
.sr-card-invoices[b-zuyler01tw] { background:#dcfce7; color:#16a34a; }
.sr-card-avg[b-zuyler01tw] { background:#f3e8ff; color:#9333ea; }
.sr-card-label[b-zuyler01tw] { font-size:12px; color:#64748b; }
.sr-card-value[b-zuyler01tw] { font-size:20px; font-weight:800; color:#1e293b; }
.sr-main[b-zuyler01tw] { display:flex; gap:16px; flex:1; min-height:0; }
.sr-chart-wrap[b-zuyler01tw] { flex:1; background:#fff; border:1.5px solid #e2e8f0; border-radius:10px; padding:16px; position:relative; min-height:200px; }
.sr-chart-wrap canvas[b-zuyler01tw] { width:100% !important; height:100% !important; }
.sr-breakdown[b-zuyler01tw] { width:280px; flex-shrink:0; background:#fff; border:1.5px solid #e2e8f0; border-radius:10px; padding:16px; display:flex; flex-direction:column; gap:10px; }
.sr-pm-row[b-zuyler01tw] { }
.sr-pm-label[b-zuyler01tw] { display:flex; justify-content:space-between; font-size:13px; margin-bottom:2px; }
.sr-pm-bar-bg[b-zuyler01tw] { height:8px; background:#f1f5f9; border-radius:4px; overflow:hidden; margin-bottom:2px; }
.sr-pm-bar[b-zuyler01tw] { height:100%; background:#0284c7; border-radius:4px; transition:width .5s; }
.sr-table-wrap[b-zuyler01tw] { flex-shrink:0; border:1.5px solid #e2e8f0; border-radius:10px; background:#fff; overflow:auto; max-height:300px; }
.sr-table[b-zuyler01tw] { width:100%; border-collapse:collapse; }
.sr-table th[b-zuyler01tw] { padding:10px 14px; font-size:12px; font-weight:700; color:#475569; text-transform:uppercase; background:#f8fafc; border-bottom:1.5px solid #e2e8f0; text-align:left; position:sticky; top:0; }
.sr-table td[b-zuyler01tw] { padding:10px 14px; font-size:13px; color:#334155; border-bottom:1px solid #f1f5f9; }
/* /Components/Pages/StockView/StockView.razor.rz.scp.css */
.sv-page[b-y44z3yrk1c] { padding: 20px 24px; height: calc(100vh - 76px); overflow: hidden; display: flex; flex-direction: column; }

.sv-header[b-y44z3yrk1c] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; flex-shrink: 0; gap: 12px; flex-wrap: wrap; }
.sv-header-left[b-y44z3yrk1c] { display: flex; align-items: center; gap: 12px; }
.sv-heading[b-y44z3yrk1c] { margin: 0; font-size: 22px; font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 10px; }
.sv-heading i[b-y44z3yrk1c] { color: #0ea5e9; }
.sv-subtitle[b-y44z3yrk1c] { font-size: 12px; color: #94a3b8; font-weight: 500; background: #f1f5f9; padding: 3px 12px; border-radius: 20px; }
.sv-header-actions[b-y44z3yrk1c] { display: flex; align-items: center; gap: 8px; }

.sv-search-box[b-y44z3yrk1c] { position: relative; }
.sv-search-icon[b-y44z3yrk1c] { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 13px; pointer-events: none; }
.sv-search-input[b-y44z3yrk1c] { padding: 9px 12px 9px 34px; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 13px; outline: none; background: #fff; width: 260px; transition: all 0.15s; }
.sv-search-input:focus[b-y44z3yrk1c] { border-color: #0ea5e9; box-shadow: 0 0 0 3px rgba(14,165,233,0.1); width: 320px; }
.sv-search-clear[b-y44z3yrk1c] { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: none; background: none; color: #94a3b8; cursor: pointer; padding: 4px; font-size: 11px; }
.sv-search-clear:hover[b-y44z3yrk1c] { color: #ef4444; }

/* ─── Tabs ─── */
.sv-tabs[b-y44z3yrk1c] { display: flex; gap: 4px; margin-bottom: 14px; flex-shrink: 0; }
.sv-tab[b-y44z3yrk1c] { padding: 8px 18px; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; font-size: 12px; font-weight: 600; cursor: pointer; color: #64748b; transition: all 0.15s; }
.sv-tab:hover[b-y44z3yrk1c] { border-color: #0ea5e9; color: #0ea5e9; }
.sv-tab.active[b-y44z3yrk1c] { background: #0ea5e9; color: #fff; border-color: #0ea5e9; }

.sv-empty[b-y44z3yrk1c] { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #94a3b8; }
.sv-empty i[b-y44z3yrk1c] { font-size: 48px; color: #cbd5e1; margin-bottom: 12px; }
.sv-empty p[b-y44z3yrk1c] { font-size: 14px; }

.sv-table-wrap[b-y44z3yrk1c] { flex: 1; overflow: auto; background: #fff; border-radius: 14px; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
.sv-table[b-y44z3yrk1c] { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 850px; }
.sv-table thead[b-y44z3yrk1c] { position: sticky; top: 0; z-index: 2; }
.sv-table thead th[b-y44z3yrk1c] { padding: 10px 10px; background: #f8fafc; font-size: 10px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.3px; border-bottom: 2px solid #e2e8f0; white-space: nowrap; text-align: left; }
.sv-table tbody td[b-y44z3yrk1c] { padding: 8px 10px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }

.sv-prod-name[b-y44z3yrk1c] { display: block; font-weight: 600; color: #0f172a; font-size: 13px; }
.sv-prod-generic[b-y44z3yrk1c] { display: block; font-size: 11px; color: #94a3b8; }
.sv-batch[b-y44z3yrk1c] { font-family: 'Consolas', monospace; font-size: 11px; background: #f1f5f9; padding: 2px 8px; border-radius: 4px; color: #475569; }
.sv-expiry[b-y44z3yrk1c] { font-weight: 600; }

/* ─── Expiry Coloring ─── */
tr.sv-expired td[b-y44z3yrk1c] { background: #fef2f2; }
tr.sv-critical td[b-y44z3yrk1c] { background: #fff7ed; }
tr.sv-warning td[b-y44z3yrk1c] { background: #fffbeb; }
tr.sv-attention td[b-y44z3yrk1c] { background: #fefce8; }
.sv-expired[b-y44z3yrk1c] { color: #dc2626; }
.sv-critical[b-y44z3yrk1c] { color: #ea580c; }
.sv-warning[b-y44z3yrk1c] { color: #d97706; }
.sv-attention[b-y44z3yrk1c] { color: #a16207; }
/* /Components/Pages/Stock/StockAdjustment.razor.rz.scp.css */
.sa-page[b-w16kdkcw0i] { display:flex; flex-direction:column; padding:20px 24px; height:100%; }
.sa-header[b-w16kdkcw0i] { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; flex-shrink:0; }
.sa-header-left[b-w16kdkcw0i] { display:flex; align-items:center; gap:12px; }
.sa-heading[b-w16kdkcw0i] { margin:0; font-size:22px; font-weight:700; color:#1e293b; }
.sa-heading i[b-w16kdkcw0i] { margin-right:8px; color:#dc2626; }
.sa-count[b-w16kdkcw0i] { font-size:13px; color:#64748b; background:#f1f5f9; padding:3px 10px; border-radius:20px; }
.sa-btn-add[b-w16kdkcw0i] { padding:8px 18px; border:none; border-radius:8px; background:#dc2626; color:#fff; font-size:14px; font-weight:600; cursor:pointer; }
.sa-btn-add:hover[b-w16kdkcw0i] { background:#b91c1c; }
.sa-table-wrap[b-w16kdkcw0i] { flex:1; overflow:auto; border:1.5px solid #e2e8f0; border-radius:10px; background:#fff; }
.sa-table[b-w16kdkcw0i] { width:100%; border-collapse:collapse; }
.sa-table th[b-w16kdkcw0i] { padding:12px 14px; font-size:12px; font-weight:700; color:#475569; text-transform:uppercase; background:#f8fafc; border-bottom:1.5px solid #e2e8f0; text-align:left; position:sticky; top:0; }
.sa-table td[b-w16kdkcw0i] { padding:12px 14px; font-size:14px; color:#334155; border-bottom:1px solid #f1f5f9; }
.sa-empty[b-w16kdkcw0i] { text-align:center; padding:60px; color:#94a3b8; }
.sa-empty i[b-w16kdkcw0i] { font-size:48px; display:block; margin-bottom:12px; }
.sa-type-badge[b-w16kdkcw0i] { display:inline-block; padding:2px 10px; border-radius:20px; font-size:12px; font-weight:600; }
.sa-type-damage[b-w16kdkcw0i] { background:#fee2e2; color:#dc2626; }
.sa-type-expiry[b-w16kdkcw0i] { background:#fef3c7; color:#d97706; }
.sa-type-theft[b-w16kdkcw0i] { background:#fce7f3; color:#db2777; }
.sa-type-correction[b-w16kdkcw0i] { background:#dbeafe; color:#1d4ed8; }
.sa-modal-overlay[b-w16kdkcw0i] { position:fixed; inset:0; background:rgba(0,0,0,0.4); z-index:1000; display:flex; align-items:center; justify-content:center; }
.sa-modal[b-w16kdkcw0i] { background:#fff; border-radius:12px; width:520px; max-height:85vh; display:flex; flex-direction:column; box-shadow:0 20px 60px rgba(0,0,0,0.2); }
.sa-modal-header[b-w16kdkcw0i] { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; border-bottom:1.5px solid #e2e8f0; }
.sa-modal-header h5[b-w16kdkcw0i] { margin:0; font-size:16px; font-weight:700; color:#1e293b; }
.sa-modal-header h5 i[b-w16kdkcw0i] { margin-right:8px; color:#dc2626; }
.sa-modal-close[b-w16kdkcw0i] { width:30px; height:30px; border:none; border-radius:6px; background:transparent; color:#64748b; cursor:pointer; font-size:22px; display:flex; align-items:center; justify-content:center; }
.sa-modal-close:hover[b-w16kdkcw0i] { background:#f1f5f9; }
.sa-modal-body[b-w16kdkcw0i] { padding:20px; overflow:auto; }
.sa-modal-footer[b-w16kdkcw0i] { display:flex; justify-content:flex-end; gap:10px; padding:14px 20px; border-top:1.5px solid #e2e8f0; }
.sa-field[b-w16kdkcw0i] { margin-bottom:14px; position:relative; }
.sa-field label[b-w16kdkcw0i] { display:block; font-size:13px; font-weight:600; color:#475569; margin-bottom:4px; }
.sa-input[b-w16kdkcw0i] { width:100%; padding:8px 12px; border:1.5px solid #e2e8f0; border-radius:6px; font-size:14px; outline:none; }
.sa-input:focus[b-w16kdkcw0i] { border-color:#0284c7; }
.sa-suggestions[b-w16kdkcw0i] { position:absolute; z-index:10; top:100%; left:0; right:0; background:#fff; border:1.5px solid #e2e8f0; border-radius:6px; max-height:200px; overflow:auto; box-shadow:0 4px 12px rgba(0,0,0,0.1); }
.sa-sug-item[b-w16kdkcw0i] { padding:8px 12px; cursor:pointer; display:flex; flex-direction:column; border-bottom:1px solid #f1f5f9; }
.sa-sug-item:last-child[b-w16kdkcw0i] { border-bottom:none; }
.sa-sug-item:hover[b-w16kdkcw0i] { background:#f0f9ff; }
.sa-selected-prod[b-w16kdkcw0i] { padding:6px 10px; background:#f0fdf4; border:1px solid #86efac; border-radius:6px; font-size:13px; margin-top:6px; }
.sa-btn-xs[b-w16kdkcw0i] { border:none; background:transparent; color:#64748b; cursor:pointer; font-size:16px; }
.sa-btn-xs:hover[b-w16kdkcw0i] { color:#dc2626; }
.sa-error[b-w16kdkcw0i] { padding:8px 12px; background:#fee2e2; color:#991b1b; border-radius:6px; font-size:13px; }
.sa-btn-cancel[b-w16kdkcw0i] { padding:8px 18px; border:1.5px solid #e2e8f0; border-radius:6px; background:#fff; color:#475569; font-size:14px; cursor:pointer; }
.sa-btn-cancel:hover[b-w16kdkcw0i] { background:#f8fafc; }
.sa-btn-save[b-w16kdkcw0i] { padding:8px 18px; border:none; border-radius:6px; background:#dc2626; color:#fff; font-size:14px; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:6px; }
.sa-btn-save:hover[b-w16kdkcw0i] { background:#b91c1c; }
.sa-btn-save:disabled[b-w16kdkcw0i] { opacity:0.6; }
.sa-toast[b-w16kdkcw0i] { position:fixed; top:20px; right:20px; padding:12px 20px; border-radius:8px; font-size:14px; font-weight:500; z-index:9999; display:flex; align-items:center; gap:8px; box-shadow:0 4px 12px rgba(0,0,0,0.15); animation:slideIn-b-w16kdkcw0i .3s ease; }
.toast-success[b-w16kdkcw0i] { background:#dcfce7; color:#166534; }
.toast-error[b-w16kdkcw0i] { background:#fee2e2; color:#991b1b; }
@keyframes slideIn-b-w16kdkcw0i { from { transform:translateX(100%); } to { transform:translateX(0); } }
/* /Components/Pages/Stock/StockInward.razor.rz.scp.css */
.si-page[b-zb73h0e78x] { padding: 12px 24px; height: calc(100vh - 76px); overflow: hidden; }

.si-layout[b-zb73h0e78x] { display: flex; flex-direction: column; gap: 4px; height: 100%; }

/* ─── TOP ROW: info card + summary side-by-side ─── */
.si-top-row[b-zb73h0e78x] { display: flex; gap: 12px; flex-shrink: 0; min-height: 0; align-items: stretch; }
.si-main-top[b-zb73h0e78x] { flex: 1; display: flex; flex-direction: column; min-width: 0; }

/* ─── BOTTOM ROW: full-width items ─── */
.si-bottom-row[b-zb73h0e78x] { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-height: 0; }

/* ─── HEADER ─── */
.si-header[b-zb73h0e78x] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; flex-shrink: 0; }
.si-header-left[b-zb73h0e78x] { display: flex; align-items: center; gap: 8px; }
.si-heading[b-zb73h0e78x] { margin: 0; font-size: 18px; font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 6px; }
.si-heading i[b-zb73h0e78x] { color: #0284c7; }
.si-subtitle[b-zb73h0e78x] { font-size: 11px; color: #475569; font-weight: 600; background: #f1f5f9; padding: 1px 10px; border-radius: 20px; }

/* ─── FIXED SAVE BUTTON (bottom-right) ─── */
.si-btn-save-fixed[b-zb73h0e78x] { position: fixed; bottom: 24px; right: 24px; z-index: 999; padding: 12px 28px; border-radius: 12px; border: none; background: linear-gradient(135deg, #059669, #10b981); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: all 0.2s; box-shadow: 0 6px 20px rgba(5,150,105,0.35); }
.si-btn-save-fixed:hover[b-zb73h0e78x] { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(5,150,105,0.45); }
.si-btn-save-fixed:disabled[b-zb73h0e78x] { opacity: 0.5; cursor: default; transform: none; box-shadow: none; }

/* ─── INFO CARD ─── */
.si-info-card[b-zb73h0e78x] { background: #fff; border-radius: 12px; padding: 6px 14px; border: 1px solid #cbd5e1; box-shadow: 0 1px 3px rgba(0,0,0,0.04); flex: 1; display: flex; flex-direction: column; }

.si-info-grid[b-zb73h0e78x] { display: grid; grid-template-columns: 1.5fr 1fr 0.8fr 0.8fr; gap: 4px; flex: 1; align-content: center; }
.si-info-grid .span-2[b-zb73h0e78x] { grid-column: 1 / -1; }
.si-field[b-zb73h0e78x] { display: flex; flex-direction: column; gap: 1px; }
.si-field label[b-zb73h0e78x] { font-size: 10px; font-weight: 700; color: #334155; text-transform: uppercase; letter-spacing: 0.4px; }
.si-input[b-zb73h0e78x], .si-select[b-zb73h0e78x] { padding: 5px 8px; border: 1.5px solid #cbd5e1; border-radius: 6px; font-size: 13px; outline: none; background: #fff; transition: all 0.15s; color: #0f172a; }
.si-input:focus[b-zb73h0e78x], .si-select:focus[b-zb73h0e78x] { border-color: #0284c7; box-shadow: 0 0 0 3px rgba(2,132,199,0.1); }
.si-select-wrap[b-zb73h0e78x] { position: relative; }
.si-select[b-zb73h0e78x] { appearance: none; width: 100%; padding-right: 32px; cursor: pointer; }
.si-select-arrow[b-zb73h0e78x] { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: #64748b; pointer-events: none; font-size: 13px; }

/* ─── Notes Row (phone beside notes) ─── */
.si-notes-row[b-zb73h0e78x] { display: flex; gap: 6px; align-items: flex-end; width: 100%; }
.si-notes-phone[b-zb73h0e78x] { flex: 0 0 170px; display: flex; flex-direction: column; gap: 1px; }
.si-notes-input[b-zb73h0e78x] { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.si-combo-input[b-zb73h0e78x] { width: 100%; padding-right: 32px !important; }
.si-combobox[b-zb73h0e78x] { position: relative; }
.si-combo-arrow[b-zb73h0e78x] { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: #64748b; pointer-events: none; font-size: 13px; }
.si-supplier-dropdown[b-zb73h0e78x] { position: absolute; top: 100%; left: 0; right: 0; z-index: 100; background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); max-height: 200px; overflow-y: auto; margin-top: 2px; }
.si-supplier-item[b-zb73h0e78x] { padding: 9px 12px; cursor: pointer; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; justify-content: space-between; transition: background 0.1s; }
.si-supplier-item:last-child[b-zb73h0e78x] { border-bottom: none; }
.si-supplier-item:hover[b-zb73h0e78x] { background: #f0f9ff; }
.si-supplier-item-name[b-zb73h0e78x] { font-size: 14px; font-weight: 600; color: #0f172a; }
.si-supplier-item-phone[b-zb73h0e78x] { font-size: 13px; color: #475569; }
.si-supplier-new-badge[b-zb73h0e78x] { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); font-size: 10px; font-weight: 700; color: #d97706; background: #fffbeb; padding: 2px 6px; border-radius: 4px; white-space: nowrap; pointer-events: none; }

/* ─── ITEMS HEADER ─── */
.si-items-header[b-zb73h0e78x] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3px; flex-shrink: 0; }
.si-items-header h4[b-zb73h0e78x] { margin: 0; font-size: 14px; font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 6px; }
.si-items-header h4 i[b-zb73h0e78x] { color: #0284c7; }
.si-btn-add-item[b-zb73h0e78x], .si-btn-clear[b-zb73h0e78x] { padding: 5px 12px; border-radius: 8px; border: 1px solid #cbd5e1; background: #fff; font-size: 12px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; color: #334155; transition: all 0.15s; }
.si-btn-add-item:hover[b-zb73h0e78x] { border-color: #0284c7; color: #0284c7; background: #f0f9ff; }
.si-btn-clear:hover[b-zb73h0e78x] { border-color: #ef4444; color: #ef4444; }

/* ─── ITEMS TABLE ─── */
.si-items-table-wrap[b-zb73h0e78x] { flex: 1; overflow: auto; background: #fff; border-radius: 12px; border: 1px solid #cbd5e1; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.si-items-table[b-zb73h0e78x] { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 1200px; }
.si-items-table thead[b-zb73h0e78x] { position: sticky; top: 0; z-index: 2; }
.si-items-table thead th[b-zb73h0e78x] { padding: 6px 6px; background: #f1f5f9; font-size: 11px; font-weight: 700; color: #334155; text-transform: uppercase; letter-spacing: 0.4px; border-bottom: 2px solid #cbd5e1; white-space: nowrap; }
.si-items-table tbody td[b-zb73h0e78x] { padding: 3px 6px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.si-item-row:hover[b-zb73h0e78x] { background: #f8fafc; }
.si-row-incomplete td[b-zb73h0e78x] { opacity: 0.5; }

.si-empty-items[b-zb73h0e78x] { text-align: center; padding: 40px 0 !important; color: #475569; font-size: 15px; }
.si-empty-items i[b-zb73h0e78x] { font-size: 36px; display: block; margin-bottom: 8px; color: #94a3b8; }

/* ─── CELL INPUTS ─── */
.si-cell-input[b-zb73h0e78x] { width: 100%; padding: 5px 6px; border: 1.5px solid #cbd5e1; border-radius: 6px; font-size: 13px; outline: none; background: #fff; transition: border 0.15s; text-align: center; color: #0f172a; }
.si-cell-input:focus[b-zb73h0e78x] { border-color: #0284c7; box-shadow: 0 0 0 2px rgba(2,132,199,0.1); }
.si-cell-input.si-qty[b-zb73h0e78x] { font-weight: 600; }
.si-cell-input.si-rate[b-zb73h0e78x] { text-align: right; font-weight: 500; }

.si-prod-search[b-zb73h0e78x] { position: relative; }
.si-prod-input[b-zb73h0e78x] { width: 100%; padding: 5px 6px; border: 1.5px solid #cbd5e1; border-radius: 6px; font-size: 13px; outline: none; background: #fff; transition: border 0.15s; color: #0f172a; }
.si-prod-input:focus[b-zb73h0e78x] { border-color: #0284c7; box-shadow: 0 0 0 2px rgba(2,132,199,0.1); }

/* ─── SUGGESTIONS ─── */
.si-suggestions[b-zb73h0e78x] { position: absolute; top: 100%; left: 0; right: 0; z-index: 100; background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); max-height: 200px; overflow-y: auto; }
.si-suggestion-item[b-zb73h0e78x] { padding: 8px 12px; cursor: pointer; border-bottom: 1px solid #f1f5f9; transition: background 0.1s; }
.si-suggestion-item:last-child[b-zb73h0e78x] { border-bottom: none; }
.si-suggestion-item:hover[b-zb73h0e78x] { background: #f0f9ff; }
.si-sug-name[b-zb73h0e78x] { display: block; font-size: 14px; font-weight: 600; color: #0f172a; }
.si-sug-meta[b-zb73h0e78x] { display: block; font-size: 12px; color: #475569; }

.si-gst-badge[b-zb73h0e78x] { display: inline-block; padding: 4px 10px; background: #eff6ff; color: #1d4ed8; border-radius: 5px; font-size: 13px; font-weight: 700; }
.si-prod-new-badge[b-zb73h0e78x] { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 10px; font-weight: 700; color: #d97706; background: #fffbeb; padding: 2px 6px; border-radius: 4px; white-space: nowrap; pointer-events: none; }
.si-suggestion-new[b-zb73h0e78x] { border-top: 1px dashed #e2e8f0; }
.si-suggestion-new .si-sug-name[b-zb73h0e78x] { color: #0284c7; }

.si-total-cell[b-zb73h0e78x] { font-size: 15px; color: #0f172a; padding-right: 12px !important; font-weight: 700; }

.si-btn-remove[b-zb73h0e78x] { width: 26px; height: 26px; border-radius: 6px; border: 1px solid transparent; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: #94a3b8; transition: all 0.15s; font-size: 11px; }
.si-btn-remove:hover[b-zb73h0e78x] { background: #fef2f2; color: #ef4444; border-color: #fecaca; }

/* ─── EXPIRY COLORING ─── */
.si-expiry[b-zb73h0e78x] { font-weight: 600; }
.si-expiry.expiry-good[b-zb73h0e78x] { border-color: #a7f3d0; background: #ecfdf5; color: #059669; }
.si-expiry.expiry-amber[b-zb73h0e78x] { border-color: #fde68a; background: #fffbeb; color: #d97706; }
.si-expiry.expiry-warning[b-zb73h0e78x] { border-color: #fdba74; background: #fff7ed; color: #ea580c; }
.si-expiry.expiry-critical[b-zb73h0e78x] { border-color: #fca5a5; background: #fef2f2; color: #dc2626; }
.si-expiry.expiry-expired[b-zb73h0e78x] { border-color: #dc2626; background: #fef2f2; color: #991b1b; text-decoration: line-through; }

/* ─── BOTTOM ACTIONS ─── */
.si-bottom-actions[b-zb73h0e78x] { display: flex; gap: 8px; margin-top: 4px; flex-shrink: 0; }

/* ─── RIGHT SUMMARY PANEL ─── */
.si-summary[b-zb73h0e78x] { width: 280px; flex-shrink: 0; display: flex; flex-direction: column; }
.si-summary-inner[b-zb73h0e78x] { background: #fff; border-radius: 12px; border: 1px solid #cbd5e1; box-shadow: 0 1px 3px rgba(0,0,0,0.04); padding: 8px 14px; flex: 1; display: flex; flex-direction: column; justify-content: center; }

.si-summary-title[b-zb73h0e78x] { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 6px; }
.si-summary-title i[b-zb73h0e78x] { color: #0284c7; }

.si-summary-stats[b-zb73h0e78x], .si-summary-amounts[b-zb73h0e78x] { display: flex; flex-direction: column; gap: 2px; }
.si-summary-row[b-zb73h0e78x] { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #1e293b; }
.si-summary-divider[b-zb73h0e78x] { height: 1px; background: #e2e8f0; margin: 6px 0; }

.si-summary-net[b-zb73h0e78x] { display: flex; justify-content: space-between; align-items: center; }
.si-summary-net-value[b-zb73h0e78x] { font-size: 18px; font-weight: 800; color: #059669; }

/* ─── TOAST ─── */
.si-toast[b-zb73h0e78x] { position: fixed; top: 16px; right: 16px; z-index: 99999; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); animation: siToastIn-b-zb73h0e78x 0.3s ease-out; }
.si-toast.toast-success[b-zb73h0e78x] { background: #059669; color: #fff; }
.si-toast.toast-error[b-zb73h0e78x] { background: #ef4444; color: #fff; }
@keyframes siToastIn-b-zb73h0e78x { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
/* /Components/Pages/Suppliers/Suppliers.razor.rz.scp.css */
.sup-page[b-l38q98yhkw] { padding: 20px 24px; height: calc(100vh - 76px); display: flex; flex-direction: column; overflow: hidden; }

.sup-header[b-l38q98yhkw] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-shrink: 0; flex-wrap: wrap; gap: 10px; }
.sup-header-left[b-l38q98yhkw] { display: flex; align-items: center; gap: 12px; }
.sup-heading[b-l38q98yhkw] { margin: 0; font-size: 22px; font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 10px; }
.sup-heading i[b-l38q98yhkw] { color: #0ea5e9; }
.sup-count[b-l38q98yhkw] { font-size: 12px; color: #94a3b8; font-weight: 500; background: #f1f5f9; padding: 3px 12px; border-radius: 20px; }
.sup-header-right[b-l38q98yhkw] { display: flex; align-items: center; gap: 10px; }
.sup-search-wrap[b-l38q98yhkw] { position: relative; }
.sup-search-icon[b-l38q98yhkw] { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 14px; }
.sup-search-input[b-l38q98yhkw] { padding: 9px 12px 9px 34px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 13px; outline: none; width: 260px; background: #fff; transition: border 0.15s; }
.sup-search-input:focus[b-l38q98yhkw] { border-color: #0ea5e9; box-shadow: 0 0 0 3px rgba(14,165,233,0.1); }

.sup-btn-add[b-l38q98yhkw] { padding: 9px 18px; border-radius: 8px; border: none; background: linear-gradient(135deg, #059669, #10b981); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.2s; box-shadow: 0 4px 16px rgba(5,150,105,0.2); white-space: nowrap; }
.sup-btn-add:hover[b-l38q98yhkw] { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(5,150,105,0.3); }

.sup-table-wrap[b-l38q98yhkw] { flex: 1; overflow: auto; background: #fff; border-radius: 14px; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
.sup-table[b-l38q98yhkw] { width: 100%; border-collapse: collapse; font-size: 13px; }
.sup-table thead[b-l38q98yhkw] { position: sticky; top: 0; z-index: 2; }
.sup-table thead th[b-l38q98yhkw] { padding: 10px 12px; background: #f8fafc; font-size: 10px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.3px; border-bottom: 2px solid #e2e8f0; white-space: nowrap; text-align: left; }
.sup-table tbody td[b-l38q98yhkw] { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.sup-row:hover[b-l38q98yhkw] { background: #f8fafc; }
.sup-name-cell[b-l38q98yhkw] { font-weight: 600; color: #0f172a; }

.sup-empty[b-l38q98yhkw] { text-align: center; padding: 50px 0 !important; color: #94a3b8; }
.sup-empty i[b-l38q98yhkw] { font-size: 36px; display: block; margin-bottom: 10px; color: #cbd5e1; }
.sup-empty p[b-l38q98yhkw] { margin: 0; font-size: 13px; }

.sup-btn-action[b-l38q98yhkw] { width: 30px; height: 30px; border-radius: 6px; border: 1px solid transparent; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: all 0.15s; font-size: 13px; margin-right: 4px; }
.sup-btn-edit:hover[b-l38q98yhkw] { background: #f0f9ff; color: #0284c7; border-color: #bae6fd; }
.sup-btn-del:hover[b-l38q98yhkw] { background: #fef2f2; color: #ef4444; border-color: #fecaca; }

.sup-modal-overlay[b-l38q98yhkw] { position: fixed; inset: 0; z-index: 1000; background: rgba(15,23,42,0.5); display: flex; align-items: center; justify-content: center; }
.sup-modal[b-l38q98yhkw] { background: #fff; border-radius: 14px; width: 560px; max-height: 85vh; overflow-y: auto; box-shadow: 0 24px 48px rgba(0,0,0,0.15); }
.sup-modal-sm[b-l38q98yhkw] { width: 420px; }
.sup-modal-header[b-l38q98yhkw] { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid #e2e8f0; }
.sup-modal-header h5[b-l38q98yhkw] { margin: 0; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.sup-modal-close[b-l38q98yhkw] { background: none; border: none; font-size: 24px; cursor: pointer; color: #94a3b8; padding: 0 4px; }
.sup-modal-close:hover[b-l38q98yhkw] { color: #1e293b; }
.sup-modal-body[b-l38q98yhkw] { padding: 16px 20px; }
.sup-modal-footer[b-l38q98yhkw] { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid #e2e8f0; }

.sup-form-grid[b-l38q98yhkw] { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sup-form-grid .span-2[b-l38q98yhkw] { grid-column: 1 / -1; }
.sup-field[b-l38q98yhkw] { display: flex; flex-direction: column; gap: 4px; }
.sup-field label[b-l38q98yhkw] { font-size: 11px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.3px; }
.sup-input[b-l38q98yhkw] { padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 13px; outline: none; transition: border 0.15s; }
.sup-input:focus[b-l38q98yhkw] { border-color: #0ea5e9; box-shadow: 0 0 0 3px rgba(14,165,233,0.1); }
.sup-toggle-wrap[b-l38q98yhkw] { display: flex; align-items: center; gap: 8px; padding-top: 6px; }
.sup-toggle-wrap label.form-check-label[b-l38q98yhkw] { text-transform: none; font-size: 13px; color: #475569; cursor: pointer; }

.sup-btn-cancel[b-l38q98yhkw] { padding: 8px 18px; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; color: #475569; transition: all 0.15s; }
.sup-btn-cancel:hover[b-l38q98yhkw] { border-color: #94a3b8; }
.sup-btn-save[b-l38q98yhkw] { padding: 8px 18px; border-radius: 8px; border: none; background: #0ea5e9; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.15s; }
.sup-btn-save:hover[b-l38q98yhkw] { background: #0284c7; }
.sup-btn-save:disabled[b-l38q98yhkw] { opacity: 0.5; cursor: default; }
.sup-btn-danger[b-l38q98yhkw] { padding: 8px 18px; border-radius: 8px; border: none; background: #ef4444; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.15s; }
.sup-btn-danger:hover[b-l38q98yhkw] { background: #dc2626; }
.sup-btn-danger:disabled[b-l38q98yhkw] { opacity: 0.5; cursor: default; }

.sup-toast[b-l38q98yhkw] { position: fixed; top: 16px; right: 16px; z-index: 99999; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); animation: supToastIn-b-l38q98yhkw 0.3s ease-out; }
.sup-toast.toast-success[b-l38q98yhkw] { background: #059669; color: #fff; }
.sup-toast.toast-error[b-l38q98yhkw] { background: #ef4444; color: #fff; }
@keyframes supToastIn-b-l38q98yhkw { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
