/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-9xunw5taqt] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-9xunw5taqt] {
    flex: 1;
}

.sidebar[b-9xunw5taqt] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

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

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

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

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

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

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

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

    .sidebar[b-9xunw5taqt] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

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

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

    .top-row[b-9xunw5taqt], article[b-9xunw5taqt] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-57gk1tbnut] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-57gk1tbnut] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-57gk1tbnut] {
    font-size: 1.1rem;
}

.bi[b-57gk1tbnut] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-57gk1tbnut] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-57gk1tbnut] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-57gk1tbnut] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-57gk1tbnut] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-57gk1tbnut] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-57gk1tbnut] {
        padding-bottom: 1rem;
    }

    .nav-item[b-57gk1tbnut]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-57gk1tbnut]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-57gk1tbnut]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-57gk1tbnut] {
        display: none;
    }

    .collapse[b-57gk1tbnut] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-57gk1tbnut] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Currents/CurrentDialog.razor.rz.scp.css */
/* PREMIUM DARK THEME - CURRENT DIALOG */

.dialog-container[b-n469grvyjv] {
    max-height: 85vh;
    overflow-y: auto;
    padding: 0.5rem;
    background: var(--bg-dark);
    color: white;
}

.section-header[b-n469grvyjv] {
    background: var(--bg-card);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
    border: 1px solid var(--border-color);
    border-left-width: 4px;
}

.section-title[b-n469grvyjv] {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.form-card[b-n469grvyjv] {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.sticky-footer[b-n469grvyjv] {
    position: sticky;
    bottom: 0;
    background: var(--bg-dark);
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    margin: 1rem -1.5rem -1.5rem;
    border-radius: 0 0 12px 12px;
    /* Keep fixed radius for footer if dialog has fixed radius */
    z-index: 100;
}

/* TYPE SELECTOR */
.type-selector[b-n469grvyjv] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.type-option[b-n469grvyjv] {
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
}

.type-option:hover[b-n469grvyjv] {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.05);
    color: white;
    transform: translateY(-2px);
}

.type-option.selected[b-n469grvyjv] {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
    color: white;
    box-shadow: 0 0 0 1px var(--primary);
}

.type-option-icon[b-n469grvyjv] {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.type-option-text[b-n469grvyjv] {
    font-size: 0.875rem;
    font-weight: 600;
}

/* RADZEN OVERRIDES */
[b-n469grvyjv] .rz-textbox,
[b-n469grvyjv] .rz-textarea {
    background-color: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    color: white !important;
    border-radius: var(--radius-md) !important;
}

[b-n469grvyjv] .rz-textbox:focus,
[b-n469grvyjv] .rz-textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2) !important;
}

[b-n469grvyjv] .rz-form-field {
    border-radius: var(--radius-md) !important;
}

[b-n469grvyjv] .rz-form-field-content {
    background-color: transparent !important;
}

/* Outlined variant specifically */
[b-n469grvyjv] .rz-form-field.rz-variant-outlined {
    background-color: transparent !important;
}

[b-n469grvyjv] .rz-form-field-label {
    color: var(--text-tertiary) !important;
    background-color: var(--bg-dark) !important;
    /* Mask label line */
    padding: 0 4px;
}

/* CHECKBOX */
[b-n469grvyjv] .rz-checkbox-box {
    background-color: var(--bg-tertiary) !important;
    border-color: var(--border-color) !important;
}

[b-n469grvyjv] .rz-checkbox-box.rz-state-active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

label[b-n469grvyjv] {
    color: white !important;
}

@media (max-width: 768px) {
    .dialog-container[b-n469grvyjv] {
        padding: 0;
    }

    .form-card[b-n469grvyjv] {
        padding: 1rem;
    }

    .sticky-footer[b-n469grvyjv] {
        padding: 0.75rem 1rem;
    }
}
/* /Pages/Currents/Currents.razor.rz.scp.css */
/* PREMIUM DARK THEME - ACCOUNTS */

.accounts-container[b-c268ftzjo1] {
    background-color: var(--bg-primary);
    min-height: 100vh;
    padding: var(--space-4);
    font-family: var(--font-sans);
    color: var(--text-primary);
}

/* Header */
.page-header[b-c268ftzjo1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    flex-wrap: wrap;
    gap: var(--space-3);
}

.page-title[b-c268ftzjo1] {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin: 0;
    display: flex;
    align-items: center;
}

.text-primary-gradient[b-c268ftzjo1] {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle[b-c268ftzjo1] {
    color: var(--text-tertiary);
    margin: 4px 0 0 0;
    font-size: 0.9rem;
}

/* STAT CARDS */
.stat-card[b-c268ftzjo1] {
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    color: white;
    box-shadow: var(--shadow-lg);
    min-height: 120px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:hover[b-c268ftzjo1] {
    transform: translateY(-5px);
}

.bg-gradient-purple[b-c268ftzjo1] {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
}

.bg-gradient-pink[b-c268ftzjo1] {
    background: linear-gradient(135deg, #ff2e63 0%, #ec4899 100%);
}

.bg-gradient-ocean[b-c268ftzjo1] {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

.stat-label[b-c268ftzjo1] {
    opacity: 0.8;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value[b-c268ftzjo1] {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.stat-icon[b-c268ftzjo1] {
    opacity: 0.2;
    font-size: 3rem;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

/* FILTERS CARD */
.filter-card[b-c268ftzjo1] {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    padding: var(--space-3) !important;
    box-shadow: var(--shadow-sm) !important;
}

/* INPUTS */
[b-c268ftzjo1] .rz-textbox,
[b-c268ftzjo1] .rz-dropdown {
    background-color: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    color: white !important;
    border-radius: var(--radius-md) !important;
    height: 42px !important;
    line-height: normal !important;
}

[b-c268ftzjo1] .rz-dropdown-label {
    color: white !important;
    padding-left: 1rem;
}

[b-c268ftzjo1] .rz-textbox:focus,
[b-c268ftzjo1] .rz-dropdown:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2) !important;
}

/* CURRENT CARDS */
.current-card[b-c268ftzjo1] {
    background: var(--bg-card) !important;
    color: white !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    padding: var(--space-4) !important;
    transition: all 0.2s;
}

.current-card:hover[b-c268ftzjo1] {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl) !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
}

.card-icon[b-c268ftzjo1] {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
}

.balance-box[b-c268ftzjo1] {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    border: 1px solid var(--border-color);
}

/* BUTTONS */


.btn-action[b-c268ftzjo1] {
    background: var(--bg-tertiary) !important;
    color: var(--text-tertiary) !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid transparent !important;
}

.btn-action:hover[b-c268ftzjo1] {
    background: var(--bg-hover) !important;
    color: white !important;
    border-color: var(--primary) !important;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .accounts-container[b-c268ftzjo1] {
        padding: var(--space-3);
    }

    .page-header[b-c268ftzjo1] {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-3);
    }

    .page-title[b-c268ftzjo1] {
        font-size: 1.25rem;
    }

    .stat-card[b-c268ftzjo1] {
        min-height: 100px;
        padding: var(--space-3);
    }

    .stat-value[b-c268ftzjo1] {
        font-size: 1.5rem;
    }
}
/* /Pages/Home.razor.rz.scp.css */
/* DASHBOARD HEADER & LAYOUT */
.dashboard-container[b-v2oatnsz0m] {
    padding: var(--space-4);
    max-width: 1600px;
    margin: 0 auto;
    color: var(--text-secondary);
    animation: fadeIn 0.4s ease;
    overflow-x: hidden;
    box-sizing: border-box;
    width: 100%;
}

.dashboard-header[b-v2oatnsz0m] {
    margin-bottom: var(--space-6);
    padding: var(--space-5) var(--space-6);
    border-radius: var(--radius-xl);

    /* Branding: Gradient Border with Dark Background */
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
        linear-gradient(135deg, #a855f7 0%, #ff2e63 100%) border-box;
    border: 2px solid transparent;

    box-shadow: var(--shadow-md),
        0 0 20px rgba(168, 85, 247, 0.1);
}

.header-content[b-v2oatnsz0m] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.dashboard-title[b-v2oatnsz0m] {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-2);
}

.dashboard-subtitle[b-v2oatnsz0m] {
    color: #e9d5ff;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.header-controls[b-v2oatnsz0m] {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    align-items: center;
}

.branch-selector[b-v2oatnsz0m] {
    display: flex;
    align-items: center;
    background: rgba(21, 21, 33, 0.6);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #f3e8ff;
    transition: all 0.3s ease;
    min-height: var(--touch-target);
}

.branch-selector:hover[b-v2oatnsz0m] {
    border-color: #a855f7;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
    transform: translateY(-1px);
}

.header-controls .btn[b-v2oatnsz0m] {
    border-radius: var(--radius-md);
    transition: all 0.3s;
    min-height: var(--touch-target-sm);
}

.header-controls .btn-outline-secondary[b-v2oatnsz0m] {
    border-color: rgba(255, 255, 255, 0.1);
    color: #e9d5ff;
    background: rgba(255, 255, 255, 0.05);
}

.header-controls .btn-outline-secondary:hover[b-v2oatnsz0m],
.header-controls .btn-outline-secondary.active[b-v2oatnsz0m] {
    background: linear-gradient(135deg, #a855f7, #ff2e63);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.form-select[b-v2oatnsz0m] {
    border: none;
    background: transparent;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    padding-right: 2rem;
    min-width: 150px;
}

.form-select option[b-v2oatnsz0m] {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-select:focus[b-v2oatnsz0m] {
    box-shadow: none;
}

/* DATE RANGE & FILTERS */
.date-range-selector[b-v2oatnsz0m] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.quick-filters[b-v2oatnsz0m] {
    display: flex;
    gap: var(--space-1);
}

.custom-date-range[b-v2oatnsz0m] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.date-input[b-v2oatnsz0m] {
    background: rgba(21, 21, 33, 0.6);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #f3e8ff;
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-3);
    font-size: 0.85rem;
    transition: all 0.2s;
    outline: none;
    max-width: 130px;
    min-height: var(--touch-target-sm);
}

.date-input:focus[b-v2oatnsz0m] {
    border-color: #a855f7;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.date-input[b-v2oatnsz0m]::-webkit-calendar-picker-indicator {
    filter: invert(0.8) sepia(100%) hue-rotate(230deg) saturate(500%);
    cursor: pointer;
    opacity: 0.8;
}

.date-input[b-v2oatnsz0m]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.filter-btn[b-v2oatnsz0m] {
    background: linear-gradient(135deg, #a855f7, #ff2e63);
    border: none;
    color: white;
    border-radius: var(--radius-md);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(168, 85, 247, 0.3);
    transition: transform 0.2s;
    cursor: pointer;
}

.filter-btn:hover[b-v2oatnsz0m] {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 46, 99, 0.4);
}

.separator[b-v2oatnsz0m] {
    color: #a855f7;
    font-weight: 700;
}

/* WIDGET SYSTEM */
.widgets-container[b-v2oatnsz0m] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: var(--space-5);
}

.widget-wrapper[b-v2oatnsz0m] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.4s ease both;
}

.widget-wrapper:nth-child(2)[b-v2oatnsz0m] {
    animation-delay: 0.05s;
}

.widget-wrapper:nth-child(3)[b-v2oatnsz0m] {
    animation-delay: 0.1s;
}

.widget-wrapper:nth-child(4)[b-v2oatnsz0m] {
    animation-delay: 0.15s;
}

.widget-wrapper:nth-child(5)[b-v2oatnsz0m] {
    animation-delay: 0.2s;
}

.widget-wrapper:nth-child(6)[b-v2oatnsz0m] {
    animation-delay: 0.25s;
}

.widget-wrapper:nth-child(7)[b-v2oatnsz0m] {
    animation-delay: 0.3s;
}

.widget-wrapper:nth-child(8)[b-v2oatnsz0m] {
    animation-delay: 0.35s;
}

.widget-wrapper>div:not(.widget-controls)[b-v2oatnsz0m] {
    flex: 1;
}

.widget-wrapper.full-width[b-v2oatnsz0m] {
    grid-column: 1 / -1 !important;
    display: block;
}

.widget-wrapper.editing[b-v2oatnsz0m] {
    border: 2px dashed var(--text-muted);
    background: var(--bg-tertiary);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    cursor: move;
    position: relative;
    z-index: 10;
}

.widget-wrapper.editing:hover[b-v2oatnsz0m] {
    background: var(--bg-hover);
    border-color: var(--primary);
}

.widget-controls[b-v2oatnsz0m] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

.drag-handle[b-v2oatnsz0m] {
    cursor: grab;
    padding: var(--space-2);
    color: var(--text-secondary);
}

.widget-title[b-v2oatnsz0m] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* KPI GROUP */
.kpi-group[b-v2oatnsz0m] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    height: 100%;
}

.kpi-card[b-v2oatnsz0m] {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--duration-normal) var(--ease-smooth),
        box-shadow var(--duration-normal) var(--ease-smooth),
        border-color var(--duration-normal) var(--ease-smooth);
    flex: 1;
    min-height: 90px;
}

.kpi-card:hover[b-v2oatnsz0m] {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(139, 92, 246, 0.2);
}

.kpi-icon[b-v2oatnsz0m] {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.kpi-content[b-v2oatnsz0m] {
    flex: 1;
    min-width: 0;
}

.kpi-label[b-v2oatnsz0m] {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.kpi-value[b-v2oatnsz0m] {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.kpi-change[b-v2oatnsz0m] {
    margin-top: var(--space-1);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.kpi-change.positive[b-v2oatnsz0m] {
    color: var(--success);
}

.kpi-change.negative[b-v2oatnsz0m] {
    color: var(--danger);
}

.kpi-meta[b-v2oatnsz0m] {
    font-size: 0.7rem;
    margin-top: 0.2rem;
    font-weight: 500;
}

/* KPI VARIANTS - VIBRANT LOGO COLORS */
.kpi-primary .kpi-icon[b-v2oatnsz0m] {
    background: rgba(168, 85, 247, 0.12);
    color: #a855f7;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.15);
}

.kpi-success .kpi-icon[b-v2oatnsz0m] {
    background: rgba(45, 212, 191, 0.12);
    color: #2dd4bf;
    box-shadow: 0 4px 15px rgba(45, 212, 191, 0.2);
    border: 1px solid rgba(45, 212, 191, 0.15);
}

.kpi-warning .kpi-icon[b-v2oatnsz0m] {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.15);
}

.kpi-info .kpi-icon[b-v2oatnsz0m] {
    background: rgba(255, 46, 99, 0.12);
    color: #ff2e63;
    box-shadow: 0 4px 15px rgba(255, 46, 99, 0.2);
    border: 1px solid rgba(255, 46, 99, 0.15);
}

/* DASHBOARD CARDS */
.dashboard-card[b-v2oatnsz0m] {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color var(--duration-normal) var(--ease-smooth);
}

.dashboard-card:hover[b-v2oatnsz0m] {
    border-color: rgba(139, 92, 246, 0.15);
}

.card-header[b-v2oatnsz0m] {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

.card-title[b-v2oatnsz0m] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
    display: flex;
    align-items: center;
}

.card-body[b-v2oatnsz0m] {
    padding: var(--space-5);
    flex: 1;
}

.card-link[b-v2oatnsz0m] {
    color: var(--primary-light);
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--duration-fast) var(--ease-smooth);
}

.card-link:hover[b-v2oatnsz0m] {
    color: var(--primary);
}

.empty-state[b-v2oatnsz0m] {
    text-align: center;
    padding: var(--space-8);
    color: var(--text-muted);
}

.empty-state i[b-v2oatnsz0m] {
    font-size: 2rem;
    margin-bottom: var(--space-2);
    opacity: 0.4;
}

/* CHART STYLES */
.sales-chart[b-v2oatnsz0m] {
    height: 250px;
    display: flex;
    align-items: flex-end;
    gap: var(--space-2);
    padding-bottom: var(--space-6);
}

.chart-bar-wrapper[b-v2oatnsz0m] {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.chart-bar[b-v2oatnsz0m] {
    background: var(--primary-gradient);
    border-radius: 6px 6px 0 0;
    width: 100%;
    min-height: 4px;
    transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.2s ease;
    opacity: 0.8;
}

.chart-bar:hover[b-v2oatnsz0m] {
    opacity: 1;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}

.chart-label[b-v2oatnsz0m] {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--space-2);
}

.bar-tooltip[b-v2oatnsz0m] {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    white-space: nowrap;
    z-index: 5;
}

.chart-bar:hover .bar-tooltip[b-v2oatnsz0m] {
    opacity: 1;
}

/* DONUT CHART */
.expense-donut[b-v2oatnsz0m] {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    height: 100%;
}

.donut-chart[b-v2oatnsz0m] {
    position: relative;
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}

.donut-svg[b-v2oatnsz0m] {
    transform: rotate(-90deg);
}

.donut-center[b-v2oatnsz0m] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.donut-total[b-v2oatnsz0m] {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-heading);
}

.donut-label[b-v2oatnsz0m] {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.expense-legend[b-v2oatnsz0m] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.legend-item[b-v2oatnsz0m] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.legend-color[b-v2oatnsz0m] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-label[b-v2oatnsz0m] {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.legend-value[b-v2oatnsz0m] {
    font-weight: 700;
    color: var(--text-heading);
    font-size: 0.85rem;
}

.legend-percent[b-v2oatnsz0m] {
    font-size: 0.75rem;
    color: var(--text-muted);
    width: 35px;
    text-align: right;
}

/* RECENT ORDERS LIST */
.orders-list[b-v2oatnsz0m] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.order-item[b-v2oatnsz0m] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--duration-fast) var(--ease-smooth);
}

.order-item:hover[b-v2oatnsz0m] {
    background: var(--bg-hover);
    border-color: var(--border-light);
    transform: translateX(4px);
}

.order-icon[b-v2oatnsz0m] {
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.order-details[b-v2oatnsz0m] {
    flex: 1;
    min-width: 0;
}

.order-number[b-v2oatnsz0m] {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-heading);
}

.order-customer[b-v2oatnsz0m] {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-amount[b-v2oatnsz0m] {
    font-weight: 700;
    color: var(--success-light);
    font-size: 0.85rem;
    white-space: nowrap;
}

/* STOCK LIST */
.stock-list[b-v2oatnsz0m] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.stock-item[b-v2oatnsz0m] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--duration-fast) var(--ease-smooth);
}

.stock-item:hover[b-v2oatnsz0m] {
    background: var(--bg-hover);
}

.stock-item:last-child[b-v2oatnsz0m] {
    border-bottom: none;
}

.stock-icon[b-v2oatnsz0m] {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    flex-shrink: 0;
}

.stock-icon.critical[b-v2oatnsz0m] {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.stock-icon.warning[b-v2oatnsz0m] {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.stock-details[b-v2oatnsz0m] {
    flex: 1;
    min-width: 0;
}

.stock-name[b-v2oatnsz0m] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stock-code[b-v2oatnsz0m] {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.stock-quantity[b-v2oatnsz0m] {
    text-align: right;
    margin-right: var(--space-3);
    flex-shrink: 0;
}

.stock-quantity .current[b-v2oatnsz0m] {
    display: block;
    font-weight: 700;
    color: var(--text-heading);
    font-size: 0.9rem;
}

.stock-quantity .min[b-v2oatnsz0m] {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* LOADING */
.loading-overlay[b-v2oatnsz0m] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.spinner-border[b-v2oatnsz0m] {
    border-color: var(--primary);
    border-right-color: transparent;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .widgets-container[b-v2oatnsz0m] {
        grid-template-columns: 1fr;
    }

    .expense-donut[b-v2oatnsz0m] {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .dashboard-container[b-v2oatnsz0m] {
        padding: var(--space-3);
    }

    .dashboard-header[b-v2oatnsz0m] {
        padding: var(--space-4);
        margin-bottom: var(--space-4);
    }

    .header-content[b-v2oatnsz0m] {
        flex-direction: column;
        align-items: stretch;
    }

    .header-controls[b-v2oatnsz0m] {
        justify-content: center;
    }

    .widgets-container[b-v2oatnsz0m] {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .kpi-card[b-v2oatnsz0m] {
        padding: var(--space-3);
        min-height: 80px;
    }

    .sales-chart[b-v2oatnsz0m] {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .quick-filters[b-v2oatnsz0m] {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        width: 100%;
    }

    .quick-filters .btn[b-v2oatnsz0m] {
        flex: 1;
        min-width: 70px;
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }

    .branch-selector[b-v2oatnsz0m] {
        width: 100%;
    }

    .custom-date-range[b-v2oatnsz0m] {
        flex-wrap: wrap;
        gap: 4px;
    }

    .date-input[b-v2oatnsz0m] {
        max-width: 100%;
        flex: 1;
        min-width: 120px;
    }

    .date-range-selector[b-v2oatnsz0m] {
        width: 100%;
    }
}
/* /Pages/Orders/OrderCreate.razor.rz.scp.css */
/* Order Wizard Styles */
.wizard-container[b-nkbyflvkcx] {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    overflow: hidden;
}

/* STEP INDICATOR */
.wizard-steps[b-nkbyflvkcx] {
    display: flex;
    justify-content: space-between;
    padding: var(--space-4);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.step-item[b-nkbyflvkcx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    flex: 1;
    position: relative;
    opacity: 0.5;
    transition: all 0.3s;
}

.step-item.active[b-nkbyflvkcx] {
    opacity: 1;
}

.step-item.completed[b-nkbyflvkcx] {
    opacity: 1;
    color: var(--success);
}

.step-circle[b-nkbyflvkcx] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
}

.step-item.active .step-circle[b-nkbyflvkcx] {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
    color: white;
}

.step-item.completed .step-circle[b-nkbyflvkcx] {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.step-label[b-nkbyflvkcx] {
    font-size: 0.75rem;
    font-weight: 600;
}

/* STEP CONTENT */
.wizard-content[b-nkbyflvkcx] {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-4);
    position: relative;
}

/* STEP 1: CUSTOMER SELECTION */
.customer-search-box[b-nkbyflvkcx] {
    margin-bottom: var(--space-4);
}

.recent-customers[b-nkbyflvkcx] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.customer-card[b-nkbyflvkcx] {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    cursor: pointer;
    transition: all 0.2s;
}

.customer-card:hover[b-nkbyflvkcx] {
    border-color: var(--primary);
    background: var(--bg-hover);
}

.customer-card.selected[b-nkbyflvkcx] {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: var(--glow-primary);
}

/* STEP 2: PRODUCT SELECTION */
/* Reusing some POS grid styles via global CSS or re-defining for Wizard context */
.wizard-product-grid[b-nkbyflvkcx] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-3);
}

.mini-product-card[b-nkbyflvkcx] {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.mini-product-card img[b-nkbyflvkcx] {
    height: 100px;
    width: 100%;
    object-fit: cover;
}

/* STEP 3: SUMMARY */
.summary-card[b-nkbyflvkcx] {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin-bottom: var(--space-4);
    border: 1px solid var(--border-color);
}

.summary-row[b-nkbyflvkcx] {
    display: flex;
    justify-content: space-between;
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-row:last-child[b-nkbyflvkcx] {
    border-bottom: none;
}

.summary-total[b-nkbyflvkcx] {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-light);
    text-align: right;
    margin-top: var(--space-4);
}

/* BOTTOM BAR ACTIONS */
.wizard-actions[b-nkbyflvkcx] {
    padding: var(--space-4);
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: var(--space-3);
}

.btn-next[b-nkbyflvkcx] {
    flex: 1;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    padding: var(--space-3);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--glow-primary);
}

.btn-prev[b-nkbyflvkcx] {
    width: 50px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .wizard-product-grid[b-nkbyflvkcx] {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* /Pages/Orders/OrderList.razor.rz.scp.css */
/* OrderList Page - Using Global Design System */

.orders-page[b-d3x4y8jc77] {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    padding: var(--space-5);
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.page-title[b-d3x4y8jc77] {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.orders-page .text-muted[b-d3x4y8jc77] {
    color: var(--text-secondary) !important;
    opacity: 0.9;
}

.text-primary-gradient[b-d3x4y8jc77] {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* SEARCH & BUTTONS */
.search-box[b-d3x4y8jc77] {
    background-color: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    color: white !important;
    border-radius: var(--radius-md) !important;
    height: 48px !important;
    padding-left: var(--space-4) !important;
    transition: all var(--duration-fast) var(--ease-smooth) !important;
}

.search-box:focus-within[b-d3x4y8jc77] {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15) !important;
}

.btn-premium-add[b-d3x4y8jc77] {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: white !important;
    padding: 0 var(--space-6) !important;
    height: 48px !important;
    border-radius: var(--radius-md) !important;
    font-weight: 700 !important;
    box-shadow: var(--glow-primary) !important;
    transition: all var(--duration-normal) var(--ease-smooth) !important;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.btn-premium-add:hover[b-d3x4y8jc77] {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 46, 99, 0.5) !important;
}

/* DATA GRID OVERRIDES */
[b-d3x4y8jc77] .rz-datagrid {
    border: 1px solid var(--border-color) !important;
    background-color: var(--bg-card) !important;
    border-radius: var(--radius-xl) !important;
    overflow: hidden;
    box-shadow: var(--shadow-lg) !important;
}

[b-d3x4y8jc77] .rz-grid-table thead th {
    background-color: rgba(255, 255, 255, 0.04) !important;
    color: var(--text-secondary) !important;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: var(--space-4) !important;
    border-bottom: 2px solid var(--bg-primary) !important;
}

[b-d3x4y8jc77] .rz-grid-table td {
    background-color: transparent !important;
    color: var(--text-primary) !important;
    padding: var(--space-4) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

[b-d3x4y8jc77] .rz-datagrid-even>td {
    background-color: rgba(255, 255, 255, 0.01) !important;
}

[b-d3x4y8jc77] .rz-grid-table tr:hover>td {
    background-color: var(--bg-hover) !important;
}

/* Pager */
[b-d3x4y8jc77] .rz-pager {
    background-color: rgba(0, 0, 0, 0.1) !important;
    padding: var(--space-4) !important;
    border-top: 1px solid var(--border-color) !important;
}

[b-d3x4y8jc77] .rz-pager-button {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: white !important;
    border-radius: var(--radius-sm) !important;
    min-width: var(--touch-target-sm) !important;
    height: var(--touch-target-sm) !important;
    margin: 0 4px !important;
    border: 1px solid transparent !important;
}

[b-d3x4y8jc77] .rz-pager-button:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

[b-d3x4y8jc77] .rz-pager-button.rz-state-active {
    background: var(--primary-gradient) !important;
    box-shadow: var(--glow-primary) !important;
}

/* Custom Status Badges */
.order-status[b-d3x4y8jc77] {
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    border: 1px solid transparent;
}

.status-preparing[b-d3x4y8jc77] {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.2);
}

.status-ontheway[b-d3x4y8jc77] {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.2);
}

.status-delivered[b-d3x4y8jc77] {
    background: rgba(45, 212, 191, 0.15);
    color: #2dd4bf;
    border-color: rgba(45, 212, 191, 0.2);
}

.status-cancelled[b-d3x4y8jc77] {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.2);
}

/* Action Buttons */
.btn-action[b-d3x4y8jc77] {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all var(--duration-normal) var(--ease-smooth);
    border: 1px solid var(--border-color);
}

.btn-invoice[b-d3x4y8jc77] {
    background: rgba(45, 212, 191, 0.1);
    color: #2dd4bf;
}

.btn-status[b-d3x4y8jc77] {
    background: rgba(168, 85, 247, 0.1);
    color: #c084fc;
}

.btn-delete[b-d3x4y8jc77] {
    background: rgba(255, 46, 99, 0.1);
    color: #ff2e63;
}

.btn-action:hover[b-d3x4y8jc77] {
    transform: scale(1.1) translateY(-2px);
    border-color: currentColor;
    box-shadow: var(--shadow-md);
}

.btn-action i[b-d3x4y8jc77] {
    font-size: 1.1rem;
}

/* Branding Highlight */
.brand-accent[b-d3x4y8jc77] {
    color: var(--accent);
    font-weight: 800;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .orders-page[b-d3x4y8jc77] {
        padding: var(--space-3);
    }

    [b-d3x4y8jc77] .rz-grid-table thead th,
    [b-d3x4y8jc77] .rz-grid-table td {
        padding: var(--space-2) var(--space-3) !important;
        font-size: 0.8rem;
    }
}
/* /Pages/POS.razor.rz.scp.css */
/* ============================================
   POS DESIGN - MOBILE FIRST & GLOW UI
   ============================================ */

/* POS CONTAINER - Ana Arkaplan */
.pos-container[b-3vu0inz1on] {
    height: 100%;
    width: 100%;
    display: flex;
    background-color: var(--bg-primary);
    /* Subtle background texture/gradient */
    background-image:
        radial-gradient(circle at 10% 10%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(236, 72, 153, 0.08) 0%, transparent 40%);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow: hidden;
    position: relative;
    gap: 0;
}

/* LEFT SIDE - Product Grid & Categories */
.pos-left[b-3vu0inz1on] {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--space-4);
    overflow: hidden;
    gap: var(--space-3);
    position: relative;
    height: 100%;
}

/* SEARCH & FILTER BAR */
.search-bar[b-3vu0inz1on] {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-1);
    position: relative;
    z-index: 20;
    flex-shrink: 0;
}

.search-input-wrapper[b-3vu0inz1on] {
    flex: 1;
    position: relative;
}

.search-input-wrapper i[b-3vu0inz1on] {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.1rem;
    pointer-events: none;
}

.form-control-lg[b-3vu0inz1on] {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    /* Pill shape search */
    padding: 0.7rem 1rem 0.7rem 2.8rem;
    color: white;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-fast) var(--ease-smooth);
    min-height: 48px;
    /* Touch friendly */
    width: 100%;
}

.form-control-lg:focus[b-3vu0inz1on] {
    background: rgba(139, 92, 246, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    color: white;
    outline: none;
}

.form-control-lg[b-3vu0inz1on]::placeholder {
    color: var(--text-muted);
}

/* CATEGORY TABS - Horizontal Pills */
.category-tabs[b-3vu0inz1on] {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    padding: 4px 4px var(--space-2) 4px;
    /* Padding for shadow/glow */
    scrollbar-width: none;
    position: relative;
    z-index: 20;
    -webkit-overflow-scrolling: touch;
    flex-shrink: 0;
}

.category-tabs[b-3vu0inz1on]::-webkit-scrollbar {
    display: none;
}

.category-tab[b-3vu0inz1on] {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    min-height: 36px;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.category-tab:hover[b-3vu0inz1on] {
    background: var(--bg-hover);
    color: white;
    transform: translateY(-1px);
}

.category-tab.active[b-3vu0inz1on] {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    /* Glow effect */
    transform: translateY(-1px);
}

/* PRODUCTS GRID - Modern Card Layout */
.products-wrapper[b-3vu0inz1on] {
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
    /* Space for scrollbar if needed */
    padding-bottom: 80px;
    /* Space for bottom bar on mobile */
    -webkit-overflow-scrolling: touch;
}

.products-grid[b-3vu0inz1on] {
    display: grid;
    /* Responsive Grid: Adjusts automatically */
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-3);
    padding-top: var(--space-1);
}

.product-card[b-3vu0inz1on] {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    /* Vertical rectangle aspect ratioish */
    aspect-ratio: 3/4;
    box-shadow: var(--shadow-sm);
}

.product-card:hover[b-3vu0inz1on] {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 15px rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    z-index: 5;
}

.product-card:active[b-3vu0inz1on] {
    transform: scale(0.96);
}

.product-image[b-3vu0inz1on] {
    flex: 1;
    /* Takes up available space */
    background: var(--bg-tertiary);
    /* Placeholder bg */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image i[b-3vu0inz1on] {
    font-size: 2.5rem;
    color: var(--text-muted);
    opacity: 0.3;
}

.product-image img[b-3vu0inz1on] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img[b-3vu0inz1on] {
    transform: scale(1.05);
}

/* Stock Badge - Minimal & Info-communicative */
.stock-badge[b-3vu0inz1on] {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(15, 15, 26, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.stock-badge.low[b-3vu0inz1on] {
    background: rgba(239, 68, 68, 0.85);
    /* Red for low stock */
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.product-info[b-3vu0inz1on] {
    padding: var(--space-3);
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid var(--border-color);
}

.product-name[b-3vu0inz1on] {
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.3;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6em;
    /* Fixed height for consistency */
}

.product-price[b-3vu0inz1on] {
    color: var(--text-heading);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.product-price small[b-3vu0inz1on] {
    font-size: 0.75em;
    font-weight: 500;
    color: var(--text-tertiary);
}

.product-code[b-3vu0inz1on] {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* RIGHT SIDE - CART (Desktop & Mobile Sheet) */
.pos-right[b-3vu0inz1on] {
    width: 420px;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    z-index: 50;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* POS Header - Customer & Actions */
.pos-header[b-3vu0inz1on] {
    background: var(--bg-card);
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.customer-info[b-3vu0inz1on] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--radius-md);
    transition: background var(--duration-fast);
    flex: 1;
    min-width: 0;
}

.customer-info:hover[b-3vu0inz1on] {
    background: var(--bg-hover);
}

.customer-avatar[b-3vu0inz1on] {
    width: 42px;
    height: 42px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: var(--glow-primary);
}

.customer-details[b-3vu0inz1on] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.customer-name[b-3vu0inz1on] {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.customer-balance[b-3vu0inz1on] {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* CART ITEMS LIST */
.cart-items[b-3vu0inz1on] {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    -webkit-overflow-scrolling: touch;
}

.cart-item[b-3vu0inz1on] {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    display: flex;
    gap: var(--space-3);
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.cart-item:hover[b-3vu0inz1on] {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.03);
}

/* Slide delete effect logic primarily via JS/Interaction, but styling: */
.item-delete-btn[b-3vu0inz1on] {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 48px;
    background: var(--danger);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transform: translateX(100%);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-item:hover .item-delete-btn[b-3vu0inz1on] {
    transform: translateX(0);
    /* On desktop hover */
}

/* On mobile we might need swipe, but for now hover/click works */

.item-qty-controls[b-3vu0inz1on] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    padding: 2px;
    width: 32px;
    flex-shrink: 0;
}

.qty-btn[b-3vu0inz1on] {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: var(--radius-xs);
    font-size: 0.7rem;
}

.qty-btn:hover[b-3vu0inz1on] {
    background: var(--bg-hover);
    color: white;
}

.item-qty[b-3vu0inz1on] {
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.item-main[b-3vu0inz1on] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.item-name[b-3vu0inz1on] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-price-unit[b-3vu0inz1on] {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.item-total[b-3vu0inz1on] {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-heading);
    margin-right: var(--space-2);
    /* Space for delete btn */
}

/* CART FOOTER */
.cart-footer[b-3vu0inz1on] {
    background: var(--bg-card);
    padding: var(--space-4);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.summary-row[b-3vu0inz1on] {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-2);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.summary-row.total[b-3vu0inz1on] {
    margin-top: var(--space-3);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-light);
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    align-items: flex-end;
}

.summary-row.total small[b-3vu0inz1on] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-left: 2px;
}

.action-buttons[b-3vu0inz1on] {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.btn-pos[b-3vu0inz1on] {
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    height: 56px;
    /* Large touch target */
}

.btn-hold[b-3vu0inz1on] {
    background: var(--bg-tertiary);
    color: var(--warning);
    border: 1px solid var(--border-color);
}

.btn-hold:hover[b-3vu0inz1on] {
    border-color: var(--warning);
    background: rgba(245, 158, 11, 0.1);
}

.btn-pay[b-3vu0inz1on] {
    background: var(--primary-gradient);
    color: white;
    font-size: 1.1rem;
    box-shadow: var(--glow-primary);
}

.btn-pay:hover:not(:disabled)[b-3vu0inz1on] {
    background: var(--primary-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-pay:disabled[b-3vu0inz1on] {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

/* MOBILE RESPONSIVE OVERRIDES */
@media (max-width: 992px) {
    .pos-container[b-3vu0inz1on] {
        flex-direction: column;
    }

    .pos-left[b-3vu0inz1on] {
        width: 100%;
        padding: var(--space-3);
        padding-bottom: 90px;
        /* Space for fixed bottom bar */
    }

    /* Mobile Product Grid - 2 Columns */
    .products-grid[b-3vu0inz1on] {
        grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
        /* 2 per row mostly */
        gap: var(--space-2);
    }

    .product-card[b-3vu0inz1on] {
        aspect-ratio: 2/3;
        /* Taller on mobile */
    }

    /* Mobile Cart - Full Screen Sheet */
    .pos-right[b-3vu0inz1on] {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1000;
        transform: translateY(100%);
        /* Hidden by default */
        border-left: none;
    }

    /* When active (via Blazor class toggle) it will slide up */
    .pos-right.mobile-open[b-3vu0inz1on] {
        transform: translateY(0);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Backdrop overlay when cart is open */
    .pos-right.mobile-open[b-3vu0inz1on]::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(2px);
        z-index: -1;
    }

    /* Fixed Bottom Bar Logic handled in Blazor, but here's the style for the container */
    /* This overrides the inline style in .razor if we add a class */
}

/* FAB - Floating Action Button (Optional) */
.fab-btn[b-3vu0inz1on] {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-accent);
    z-index: 90;
    border: none;
    font-size: 1.5rem;
    transition: transform 0.2s;
}

.fab-btn:active[b-3vu0inz1on] {
    transform: scale(0.9);
}

/* Custom Checkbox/Radio overrides if needed */
.return-mode-active[b-3vu0inz1on] {
    border: 2px solid var(--danger) !important;
}
/* /Pages/Products/Products.razor.rz.scp.css */
/* Products Page Premium Dark Design */

.products-container[b-we8qg4173w] {
    background-color: #151521;
    min-height: 100vh;
    padding: 1.5rem;
    font-family: 'Inter', sans-serif;
    color: white;
}

/* HEADERS */
.page-title[b-we8qg4173w] {
    color: white !important;
}

.page-subtitle[b-we8qg4173w] {
    color: #94a3b8 !important;
}

/* STAT CARDS */
.stat-card[b-we8qg4173w] {
    border-radius: 16px;
    padding: 1.5rem;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    min-height: 120px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:hover[b-we8qg4173w] {
    transform: translateY(-5px);
}

.stat-card-purple[b-we8qg4173w] {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(109, 40, 217, 0.4) 100%);
    border-color: rgba(139, 92, 246, 0.3);
}

.stat-card-red[b-we8qg4173w] {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.4) 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.stat-card-cyan[b-we8qg4173w] {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(8, 145, 178, 0.4) 100%);
    border-color: rgba(6, 182, 212, 0.3);
}

.stat-title[b-we8qg4173w] {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.stat-value[b-we8qg4173w] {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* FILTERS CARD & WRAPPERS */
.dark-panel[b-we8qg4173w] {
    background: #1e1e2d !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2) !important;
}

/* TABS */
.tab-button[b-we8qg4173w] {
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #151521;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: #94a3b8;
}

.tab-button.active[b-we8qg4173w] {
    background: linear-gradient(135deg, #ff2e63 0%, #a855f7 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(255, 46, 99, 0.3);
}

.tab-button:not(.active):hover[b-we8qg4173w] {
    background: #2b2b40;
    color: white;
}

/* SEARCH BOX OVERRIDES - Targeting RadzenTextBox inside this scope */
[b-we8qg4173w] .rz-textbox {
    background-color: #151521 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: 12px !important;
}

[b-we8qg4173w] .rz-textbox:focus {
    border-color: #a855f7 !important;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2) !important;
}

/* PRODUCT ROW */
.product-row[b-we8qg4173w] {
    background: #1e1e2d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s;
    color: white;
}

.product-row:hover[b-we8qg4173w] {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(168, 85, 247, 0.3);
}

.product-image[b-we8qg4173w] {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    background: #2b2b40;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* BADGES */
.category-badge[b-we8qg4173w] {
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-icecek[b-we8qg4173w] {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-gida[b-we8qg4173w] {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-masraf[b-we8qg4173w] {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-default[b-we8qg4173w] {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

/* STOCK BAR */
.stock-progress[b-we8qg4173w] {
    height: 6px;
    background: #2b2b40;
    border-radius: 10px;
    overflow: hidden;
}

.stock-progress-bar[b-we8qg4173w] {
    height: 100%;
    background: #10b981;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.stock-progress-bar.low[b-we8qg4173w] {
    background: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.stock-progress-bar.critical[b-we8qg4173w] {
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

/* ACTIONS */
.action-btn[b-we8qg4173w] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: #2b2b40;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #cbd5e1;
}

.action-btn:hover[b-we8qg4173w] {
    background: #a855f7;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(168, 85, 247, 0.4);
}

.action-btn.delete:hover[b-we8qg4173w] {
    background: #ef4444;
    color: white;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
}

/* TEXT HELPERS */
.text-white[b-we8qg4173w] {
    color: white !important;
}

.text-muted[b-we8qg4173w] {
    color: #94a3b8 !important;
}

.text-primary[b-we8qg4173w] {
    color: #a855f7 !important;
}
/* /Pages/Transactions/TransactionCreateDialog.razor.rz.scp.css */
/* TRANSACTION DIALOG - GLOW UI */

.transaction-dialog[b-vsfdg1ptv1] {
    background-color: var(--bg-darker);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    padding-bottom: var(--space-4);
}

/* Cards */
.transaction-dialog .card[b-vsfdg1ptv1] {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-md) !important;
}

.transaction-dialog .card-body[b-vsfdg1ptv1] {
    padding: var(--space-4) !important;
}

/* Typography / Headers */
.transaction-dialog h6[b-vsfdg1ptv1] {
    color: var(--text-heading) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: var(--space-3);
    font-size: 0.9rem;
}

.transaction-dialog .text-primary[b-vsfdg1ptv1] {
    color: var(--primary) !important;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.transaction-dialog .text-muted[b-vsfdg1ptv1] {
    color: var(--text-tertiary) !important;
}

.transaction-dialog .text-info[b-vsfdg1ptv1] {
    color: #38bdf8 !important;
}

.transaction-dialog .text-dark[b-vsfdg1ptv1] {
    color: #ffffff !important;
}

/* Inputs */
.transaction-dialog .rz-textbox[b-vsfdg1ptv1],
.transaction-dialog .rz-dropdown[b-vsfdg1ptv1],
.transaction-dialog .rz-spinner[b-vsfdg1ptv1],
.transaction-dialog .rz-spinner input[b-vsfdg1ptv1],
.transaction-dialog .rz-numeric[b-vsfdg1ptv1],
.transaction-dialog .rz-numeric input[b-vsfdg1ptv1],
.transaction-dialog .rz-datepicker[b-vsfdg1ptv1],
.transaction-dialog .rz-datepicker input[b-vsfdg1ptv1],
.transaction-dialog .rz-textarea[b-vsfdg1ptv1] {
    background-color: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    color: white !important;
    border-radius: var(--radius-md) !important;
    box-shadow: none !important;
    min-height: 42px;
}

.transaction-dialog .rz-textbox:focus[b-vsfdg1ptv1],
.transaction-dialog .rz-dropdown:focus[b-vsfdg1ptv1],
.transaction-dialog .rz-numeric input:focus[b-vsfdg1ptv1],
.transaction-dialog .rz-textarea:focus[b-vsfdg1ptv1] {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2) !important;
}

.transaction-dialog .rz-dropdown-label[b-vsfdg1ptv1] {
    background-color: transparent !important;
    color: white !important;
    padding-left: 1rem;
}

.transaction-dialog .rz-dropdown-items-wrapper[b-vsfdg1ptv1],
.transaction-dialog .rz-dropdown-items[b-vsfdg1ptv1],
.transaction-dialog .rz-dropdown-item[b-vsfdg1ptv1] {
    background-color: var(--bg-card) !important;
    color: var(--text-secondary) !important;
    border: none !important;
}

.transaction-dialog .rz-dropdown-item:hover[b-vsfdg1ptv1],
.transaction-dialog .rz-dropdown-item.rz-state-highlight[b-vsfdg1ptv1] {
    background-color: var(--bg-hover) !important;
    color: white !important;
}

.rz-label[b-vsfdg1ptv1] {
    color: var(--text-secondary) !important;
    font-size: 0.75rem !important;
    font-weight: 600;
    margin-bottom: 6px !important;
    text-transform: uppercase;
}

/* Buttons */
.rz-button[b-vsfdg1ptv1] {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border-radius: var(--radius-full) !important;
}

.rz-button-primary[b-vsfdg1ptv1] {
    background: var(--primary-gradient) !important;
    border: none !important;
    box-shadow: var(--glow-primary) !important;
    color: white !important;
}

.rz-button-info[b-vsfdg1ptv1] {
    background-color: #0ea5e9 !important;
    /* Sky 500 */
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3) !important;
}

.rz-button-success[b-vsfdg1ptv1] {
    background-color: #10b981 !important;
    /* Emerald 500 */
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3) !important;
}

.rz-button-light[b-vsfdg1ptv1],
.btn-link[b-vsfdg1ptv1] {
    background: transparent !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-muted) !important;
}

.rz-button-light:hover[b-vsfdg1ptv1] {
    background: var(--bg-tertiary) !important;
    color: white !important;
    border-color: var(--text-muted) !important;
}

/* Grid / List */
.bg-light[b-vsfdg1ptv1] {
    background-color: var(--bg-tertiary) !important;
    border-bottom-color: var(--border-color) !important;
}

.transaction-dialog .rz-grid-table[b-vsfdg1ptv1] {
    background-color: var(--bg-card) !important;
    border-collapse: separate;
    border-spacing: 0;
}

.transaction-dialog .rz-grid-table thead th[b-vsfdg1ptv1] {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-secondary) !important;
    border-bottom: 1px solid var(--border-color) !important;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 1rem;
}

.transaction-dialog .rz-grid-table td[b-vsfdg1ptv1],
.transaction-dialog .rz-grid-table td span[b-vsfdg1ptv1],
.transaction-dialog .rz-grid-table td .rz-cell-data[b-vsfdg1ptv1] {
    background-color: var(--bg-card) !important;
    color: white !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 1rem;
}

.transaction-dialog .rz-datatable-data td .rz-cell-data[b-vsfdg1ptv1] {
    color: white !important;
}

/* Ensure rows are transparent/dark */
.transaction-dialog .rz-data-row[b-vsfdg1ptv1],
.transaction-dialog .rz-data-row:nth-child(odd)[b-vsfdg1ptv1],
.transaction-dialog .rz-data-row:nth-child(even)[b-vsfdg1ptv1] {
    background-color: var(--bg-card) !important;
}

.transaction-dialog .rz-data-row:hover td[b-vsfdg1ptv1] {
    background-color: var(--bg-tertiary) !important;
}

/* Alert / Info Boxes */
.alert-soft-info[b-vsfdg1ptv1] {
    background-color: rgba(14, 165, 233, 0.1) !important;
    border: 1px solid rgba(14, 165, 233, 0.2) !important;
}

/* Fix for button sizes */
.rz-button-sm[b-vsfdg1ptv1],
.rz-button-xs[b-vsfdg1ptv1] {
    padding: 0 16px !important;
    height: 32px !important;
    line-height: 32px !important;
    font-size: 0.75rem !important;
}
/* /Pages/Transactions/TransactionHub.razor.rz.scp.css */
/* TRANSACTION HUB - GLOW UI */

.transaction-hub[b-uoy2p0tzcx] {
    background-color: var(--bg-primary);
    min-height: 100vh;
    padding: var(--space-4);
    font-family: var(--font-sans);
    color: var(--text-primary);
}

/* HEADER */
.page-header[b-uoy2p0tzcx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    flex-wrap: wrap;
    gap: var(--space-3);
}

.page-title[b-uoy2p0tzcx] {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin: 0;
    display: flex;
    align-items: center;
}

.page-subtitle[b-uoy2p0tzcx] {
    color: var(--text-tertiary);
    margin: 4px 0 0 0;
    font-size: 0.9rem;
}

/* SEARCH INPUT */
[b-uoy2p0tzcx] .search-input .rz-inputtext {
    background-color: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    color: white !important;
    border-radius: var(--radius-full) !important;
    padding-left: 1rem;
}

[b-uoy2p0tzcx] .search-input .rz-inputtext:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2) !important;
}

/* CATEGORY TABS */
.category-tabs[b-uoy2p0tzcx] {
    display: flex;
    gap: var(--space-3);
    overflow-x: auto;
    padding-bottom: var(--space-2);
    margin-bottom: var(--space-4);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.category-tabs[b-uoy2p0tzcx]::-webkit-scrollbar {
    display: none;
}

.tab-btn[b-uoy2p0tzcx] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    min-width: fit-content;
}

.tab-btn:hover[b-uoy2p0tzcx] {
    background: var(--bg-hover);
    color: white;
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.3);
}

.tab-btn.active[b-uoy2p0tzcx] {
    background: var(--primary-gradient);
    color: white;
    border: 1px solid transparent;
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
}

/* ACTION GRID */
.action-grid[b-uoy2p0tzcx] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.action-card[b-uoy2p0tzcx] {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.action-card:hover[b-uoy2p0tzcx] {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 0 15px rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.4);
    background: var(--bg-hover);
}

.icon-wrapper[b-uoy2p0tzcx] {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: var(--space-3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: var(--bg-tertiary);
    color: var(--primary-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.action-card:hover .icon-wrapper[b-uoy2p0tzcx] {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--glow-primary);
}

.action-card h3[b-uoy2p0tzcx] {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: white;
}

.action-card p[b-uoy2p0tzcx] {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.4;
}

/* RECENT TRANSACTIONS */
.section-title[b-uoy2p0tzcx] {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-3);
    border-left: 4px solid var(--primary);
    padding-left: var(--space-3);
}

.transaction-item-card[b-uoy2p0tzcx] {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    padding: var(--space-3) !important;
    transition: all 0.2s;
    margin-bottom: var(--space-2);
}

.transaction-item-card:hover[b-uoy2p0tzcx] {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.4) !important;
    box-shadow: var(--shadow-md);
}

.tx-icon-box[b-uoy2p0tzcx] {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.tx-icon-box.in[b-uoy2p0tzcx] {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.tx-icon-box.out[b-uoy2p0tzcx] {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.tx-icon-box.in-bank[b-uoy2p0tzcx] {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.tx-icon-box.out-bank[b-uoy2p0tzcx] {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.tx-icon-box.in-waybill[b-uoy2p0tzcx] {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.tx-title[b-uoy2p0tzcx] {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.tx-sub[b-uoy2p0tzcx] {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.tx-meta[b-uoy2p0tzcx] {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.tx-amount[b-uoy2p0tzcx] {
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
}

/* BADGES */
.badge-pill[b-uoy2p0tzcx] {
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-pill.primary[b-uoy2p0tzcx] {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-pill.success[b-uoy2p0tzcx] {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-pill.warning[b-uoy2p0tzcx] {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-pill.danger[b-uoy2p0tzcx] {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-pill.neutral[b-uoy2p0tzcx] {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .transaction-hub[b-uoy2p0tzcx] {
        padding: var(--space-3);
    }

    .page-header[b-uoy2p0tzcx] {
        padding: var(--space-3);
        flex-direction: column;
        align-items: flex-start;
    }

    .quick-stats[b-uoy2p0tzcx] {
        width: 100%;
        margin-top: var(--space-3);
    }

    .search-input[b-uoy2p0tzcx] {
        width: 100% !important;
    }

    .action-grid[b-uoy2p0tzcx] {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols on mobile usually works better than 1 big one unless very small */
        gap: var(--space-2);
    }

    .action-card[b-uoy2p0tzcx] {
        padding: var(--space-3);
    }

    .icon-wrapper[b-uoy2p0tzcx] {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        margin-bottom: var(--space-2);
    }

    .action-card h3[b-uoy2p0tzcx] {
        font-size: 0.8rem;
    }

    .action-card p[b-uoy2p0tzcx] {
        display: none;
        /* Hide desc on mobile to save space */
    }
}
