/* /Layout/MainHeader.razor.rz.scp.css */
/* ─────────────────────────────────────────────────────────────
   MAIN HEADER  –  Fully Responsive (preserves original design)
   xs  < 480px | sm 480-575px | md 576-767px | lg 768-991px
   xl  992-1199px | xxl ≥ 1200px
───────────────────────────────────────────────────────────── */

/* ── Base ─────────────────────────────────────────────────── */
.main-header[b-itmyyu56ke] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1003;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.main-header.dark-theme[b-itmyyu56ke],
.dark-theme .main-header[b-itmyyu56ke] {
    background-color: rgba(12, 15, 29, 0.85);
    color: #f8fafc;
    border-bottom-color: rgb(86 86 86 / 73%);
}

.main-header.light-theme[b-itmyyu56ke],
.light-theme .main-header[b-itmyyu56ke] {
    background-color: rgba(255, 255, 255, 0.85);
    color: #1e293b;
    border-bottom-color: #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* ── Left ─────────────────────────────────────────────────── */
.header-left[b-itmyyu56ke] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}


.logo-img[b-itmyyu56ke] {
    width: 38px;
    height: 38px;
    object-fit: contain;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.logo-img:hover[b-itmyyu56ke] {
    transform: scale(1.05);
}

.logo-name[b-itmyyu56ke] {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #f8fafc, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.light-theme .logo-name[b-itmyyu56ke] {
    background: linear-gradient(to right, #1e293b, #334155);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Right ─────────────────────────────────────────────────── */
.header-right[b-itmyyu56ke] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-width: 0;
}

/* ── Nav Dropdown ─────────────────────────────────────────── */
.nav-menu-wrapper[b-itmyyu56ke] {
    position: relative;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.styled-dropdown-trigger[b-itmyyu56ke] {
    border: 1px solid #7d7d7d;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    min-width: 150px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1002;
}

.styled-dropdown-trigger:hover[b-itmyyu56ke] {
    background: rgba(255, 255, 255, 0.08);
    border-color: #cfcfcf80;
}

.light-theme .styled-dropdown-trigger[b-itmyyu56ke] {
    border-color: #e2e8f0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.dropdown-label[b-itmyyu56ke] {
    font-size: 0.5rem;
    font-weight: 700;
    color: #a6aebd;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
    position: absolute;
    top: -6px;
    background: #0c0f1d;
    padding: 0 6px;
    left: 10px;
    z-index: 10;
}

.light-theme .dropdown-label[b-itmyyu56ke] {
    background: #ffffff !important;
    color: #3b82f6;
}

.dropdown-value-row[b-itmyyu56ke] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.value-text[b-itmyyu56ke] {
    font-weight: 500;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.light-theme .value-text[b-itmyyu56ke] {
    color: #1e293b;
}

.dropdown-value-row i[b-itmyyu56ke] {
    color: #94a3b8;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.light-theme .dropdown-value-row i[b-itmyyu56ke] {
    color: #64748b;
}

.header-nav-dropdown[b-itmyyu56ke] {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: rgb(30 41 59);
    border: 1px solid #e2e8f036;
    box-shadow: 0 10px 40px rgb(0 0 0 / 37%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    min-width: 250px;
    padding: 0.75rem;
    z-index: 1001;
    display: none;
    flex-direction: column;
    gap: 6px;
}


.light-theme .header-nav-dropdown[b-itmyyu56ke] {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.nav-menu-wrapper.open .header-nav-dropdown[b-itmyyu56ke] {
    display: flex;
    animation: slideUp-b-itmyyu56ke 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}




@keyframes slideUp-b-itmyyu56ke {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[b-itmyyu56ke] .dropdown-item {
    display: flex;
    align-items: center;
    padding: .5rem 1rem;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

[b-itmyyu56ke] .hidden-desktop {
    display: none;
}

.light-theme[b-itmyyu56ke]  .dropdown-item {
    color: #475569 !important;
}

[b-itmyyu56ke] .dropdown-item i {
    font-size: 1.1rem;
    margin-right: 0.75rem;
}

[b-itmyyu56ke] .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.light-theme[b-itmyyu56ke]  .dropdown-item:hover {
    background: #f1f5f9 !important;
    color: #1e293b !important;
}

[b-itmyyu56ke] .dropdown-item.active {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.light-theme[b-itmyyu56ke]  .dropdown-item.active {
    background: #f1f5f9 !important;
    color: #1e293b !important;
}

/* ── Actions ──────────────────────────────────────────────── */
.header-actions[b-itmyyu56ke] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.action-btn[b-itmyyu56ke] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    flex-shrink: 0;
}

.action-btn:hover[b-itmyyu56ke] {
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.1);
}

.light-theme .action-btn:hover[b-itmyyu56ke] {
    color: #7d90ab;
}

.btn-sync[b-itmyyu56ke] {
    background: transparent;
    border: none;
    padding: 0;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
}

.btn-sync.syncing i[b-itmyyu56ke],
.syncing[b-itmyyu56ke] {
    animation: spin-b-itmyyu56ke 1s linear infinite;
    color: #3b82f6 !important;
    display: inline-block;
}

.badge-dot[b-itmyyu56ke] {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    border: 2px solid #0c0f1d;
}

/* ── User Profile Dropdown ─────────────────────────────────── */
.user-menu-wrapper[b-itmyyu56ke] {
    position: relative;
    padding-left: 0.75rem;
    flex-shrink: 0;
}

/*.light-theme .user-menu-wrapper {
    border-left-color: #e2e8f0;
}*/

.user-profile-trigger[b-itmyyu56ke] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.4rem 0.65rem;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1002;
}

.user-profile-trigger:hover[b-itmyyu56ke],
.user-profile-trigger.active[b-itmyyu56ke] {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.light-theme .user-profile-trigger:hover[b-itmyyu56ke],
.light-theme .user-profile-trigger.active[b-itmyyu56ke] {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.user-text[b-itmyyu56ke] {
    text-align: right;
}

.user-name[b-itmyyu56ke] {
    font-weight: 700;
    font-size: 0.85rem;
    color: #f8fafc;
    white-space: nowrap;
}

.user-clerk[b-itmyyu56ke] {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.light-theme .user-name[b-itmyyu56ke] {
    color: #1e293b;
}

.avatar-circle[b-itmyyu56ke] {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0369a1;
    border: 1px solid rgba(186, 230, 253, 0.5);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.Dropdown-chevron[b-itmyyu56ke] {
    font-size: 0.7rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.user-menu-wrapper.open .Dropdown-chevron[b-itmyyu56ke] {
    transform: rotate(180deg);
}

/* ── Dropdown Content ─────────────────────────────────────── */
.header-user-dropdown[b-itmyyu56ke] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #0c0f1d;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    min-width: 250px;
    padding: 0.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
    flex-direction: column;
    gap: 4px;
}

.light-theme .header-user-dropdown[b-itmyyu56ke] {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.user-menu-wrapper.open .header-user-dropdown[b-itmyyu56ke] {
    display: flex;
    animation: slideUp-b-itmyyu56ke 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-header-info[b-itmyyu56ke] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
}

.info-avatar[b-itmyyu56ke] {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.2rem;
}

.light-theme .info-avatar[b-itmyyu56ke] {
    background: #f8fafc;
    color: #64748b;
}

.info-text[b-itmyyu56ke] {
    display: flex;
    flex-direction: column;
}

.info-name[b-itmyyu56ke] {
    font-weight: 700;
    color: white;
    font-size: 0.95rem;
}

.light-theme .info-name[b-itmyyu56ke] {
    color: #1e293b;
}

.info-role[b-itmyyu56ke] {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
}





.dropdown-item.logout-item[b-itmyyu56ke] {
    color: #ef4444 !important;
    cursor: pointer;
}

.logout-item:hover[b-itmyyu56ke] {
    background: rgba(239, 68, 68, 0.1) !important;
}

.menu-overlay[b-itmyyu56ke] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: transparent;
    z-index: 998;
    cursor: default;
}

@keyframes spin-b-itmyyu56ke {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════════════════════ */

/* ── 992px – 1199px : small desktop ──────────────────────── */
@media (max-width: 1199px) {
    .header-right[b-itmyyu56ke] {
        gap: 0.9rem;
    }

    .styled-dropdown-trigger[b-itmyyu56ke] {
        min-width: 130px;
    }
}

/* ── 768px – 991px : tablet landscape ────────────────────── */
@media (max-width: 991px) {
    .main-header[b-itmyyu56ke] {
        padding: 0.65rem 1.25rem;
    }

    .header-right[b-itmyyu56ke] {
        gap: 0.65rem;
    }

    .logo-name[b-itmyyu56ke] {
        display: none;
    }

    /* keep logo icon only */
    .user-text[b-itmyyu56ke] {
        display: none;
    }

    /* hide name + clerk label */
    .styled-dropdown-trigger[b-itmyyu56ke] {
        min-width: 120px;
    }

    .dropdown-label[b-itmyyu56ke] {
        font-size: 0.48rem;
    }

    .value-text[b-itmyyu56ke] {
        font-size: 0.85rem;
    }

    .action-btn[b-itmyyu56ke] {
        width: 36px;
        height: 36px;
    }
}

/* ── 576px – 767px : tablet portrait / large phone ───────── */
@media (max-width: 767px) {
    .main-header[b-itmyyu56ke] {
        padding: 0.55rem 1rem;
    }

    .header-right[b-itmyyu56ke] {
        gap: 0.5rem;
    }

    /* Compact nav — drop the floating label, shrink trigger */
    .styled-dropdown-trigger[b-itmyyu56ke] {
        min-width: 100px;
        padding: 0.4rem 0.65rem;
    }

    .dropdown-label[b-itmyyu56ke] {
        display: none;
    }

    .value-text[b-itmyyu56ke] {
        font-size: 0.8rem;
    }

    /* Anchor dropdown to right edge to prevent overflow */
    .header-nav-dropdown[b-itmyyu56ke] {
        left: auto;
        right: 0;
        min-width: 200px;
    }

    .header-actions[b-itmyyu56ke] {
        gap: 0.4rem;
    }

    .action-btn[b-itmyyu56ke] {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .avatar-circle[b-itmyyu56ke] {
        width: 34px;
        height: 34px;
    }

    .user-menu-wrapper[b-itmyyu56ke] {
        gap: 0.5rem;
        padding-left: 0.5rem;
    }

    .user-profile-trigger[b-itmyyu56ke] {
        padding: 0.35rem 0.45rem;
    }
}

.hidden-dropdown[b-itmyyu56ke] {
    display: none !important;
}

/* ── 480px – 575px : large phones ────────────────────────── */
@media (max-width: 575px) {

    .nav-menu-wrapper[b-itmyyu56ke],
    .header-divider[b-itmyyu56ke] {
        display: none;
    }

    .hidden-dropdown[b-itmyyu56ke] {
        display: flex !important;
    }

    .hidden-status[b-itmyyu56ke] {
        display: none !important;
    }

    [b-itmyyu56ke] .hidden-desktop {
        display: block
    }

    .status-sync-group[b-itmyyu56ke] {
        gap: 8px;
    }

    .main-header[b-itmyyu56ke] {
        padding: 0.5rem 0.85rem;
    }

    .logo-img[b-itmyyu56ke] {
        width: 34px;
        height: 34px;
    }

    /* Hide sync & notification buttons; keep theme toggle */
    .header-actions .action-btn:nth-child(1)[b-itmyyu56ke],
    .header-actions .action-btn:nth-child(2)[b-itmyyu56ke] {
        display: none;
    }

    .header-actions[b-itmyyu56ke] {
        gap: 0.25rem;
    }

    .action-btn[b-itmyyu56ke] {
        width: 32px;
        height: 32px;
    }

    .avatar-circle[b-itmyyu56ke] {
        width: 32px;
        height: 32px;
    }

    .btn-logout[b-itmyyu56ke] {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    /* Remove left divider when cramped */
    .user-menu-wrapper[b-itmyyu56ke] {
        border-left: none;
        padding-left: 0;
        gap: 0.4rem;
    }

    .styled-dropdown-trigger[b-itmyyu56ke] {
        min-width: 88px;
        padding: 0.35rem 0.55rem;
    }

    .nav-menu-wrapper[b-itmyyu56ke] {
        margin-left: 0;
    }
}

/* ── < 480px : small phones ──────────────────────────────── */
@media (max-width: 479px) {
    .main-header[b-itmyyu56ke] {
        padding: 0.45rem 0.65rem;
    }


    .header-right[b-itmyyu56ke] {
        gap: 0.3rem;
    }

    .logo-img[b-itmyyu56ke] {
        width: 30px;
        height: 30px;
    }

    /* Only show theme toggle; hide sync + notification */
    .header-actions .action-btn:nth-child(1)[b-itmyyu56ke],
    .header-actions .action-btn:nth-child(2)[b-itmyyu56ke] {
        display: none;
    }

    .header-actions[b-itmyyu56ke] {
        gap: 0;
    }

    .action-btn[b-itmyyu56ke] {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .avatar-circle[b-itmyyu56ke] {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .btn-logout[b-itmyyu56ke] {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        font-size: 0.85rem;
    }

    .styled-dropdown-trigger[b-itmyyu56ke] {
        min-width: 76px;
        padding: 0.3rem 0.45rem;
        border-radius: 6px;
    }

    .value-text[b-itmyyu56ke] {
        font-size: 0.75rem;
    }

    .dropdown-value-row i[b-itmyyu56ke] {
        font-size: 0.7rem;
        margin-left: 0.25rem;
    }

    .user-menu-wrapper[b-itmyyu56ke] {
        gap: 0.3rem;
    }

    .Dropdown-chevron[b-itmyyu56ke] {
        display: none;
    }

    .nav-menu-wrapper[b-itmyyu56ke] {
        margin-left: 0;
    }
}

.status-sync-group[b-itmyyu56ke] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.status-item.online[b-itmyyu56ke] {
    color: #16A34A;
}

.status-item.offline[b-itmyyu56ke] {
    color: #ef4444;
}

.red-text[b-itmyyu56ke] {
    color: #ef4444 !important;
}

.header-divider[b-itmyyu56ke] {
    border-left: 1px solid #e2e8f0;
    height: 30px;
}

.dark-theme .header-divider[b-itmyyu56ke] {
    border-left-color: rgba(255, 255, 255, 0.08);
}

.dropdown-divider[b-itmyyu56ke] {
    border-color: rgb(226, 232, 240) !important;
    margin: 0;
}

.dark-theme .dropdown-divider[b-itmyyu56ke] {
    border-color: #4a515b !important;
}

.header-update-btn[b-itmyyu56ke] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    animation: header-pulse-animation-b-itmyyu56ke 2s infinite;
    flex-shrink: 0;
}

.header-update-btn:hover[b-itmyyu56ke] {
    background: rgba(245, 158, 11, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

@keyframes header-pulse-animation-b-itmyyu56ke {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-xttjtucdr6] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-xttjtucdr6] {
    flex: 1;
}

.sidebar[b-xttjtucdr6] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-xttjtucdr6] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-xttjtucdr6]  a,
.top-row[b-xttjtucdr6]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row[b-xttjtucdr6]  a:hover,
.top-row[b-xttjtucdr6]  .btn-link:hover {
    text-decoration: underline;
}

.top-row[b-xttjtucdr6]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .top-row[b-xttjtucdr6] {
        justify-content: space-between;
    }

    .top-row[b-xttjtucdr6]  a,
    .top-row[b-xttjtucdr6]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-xttjtucdr6] {
        flex-direction: row;
    }

    .sidebar[b-xttjtucdr6] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-xttjtucdr6] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-xttjtucdr6]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-xttjtucdr6],
    article[b-xttjtucdr6] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

.app-status-bar[b-xttjtucdr6] {
    padding: 16px 1.5rem;
    background: var(--pos-footer-bg);
    border-top: 1px solid var(--pos-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #dfdfdf;
}

.status-right[b-xttjtucdr6] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-right span[b-xttjtucdr6] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-right span i[b-xttjtucdr6] {
    font-size: 10px;

}

.status-left[b-xttjtucdr6] {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media(max-width: 768px) {
    .app-status-bar[b-xttjtucdr6] {
        flex-direction: column;
        gap: 16px;
        padding: 16px 8px;
    }
}

@media(max-width: 575px) {
    .status-left[b-xttjtucdr6] {
        font-size: 13px;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-106ycfk9zf] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-106ycfk9zf] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-106ycfk9zf] {
    font-size: 1.1rem;
}

.bi[b-106ycfk9zf] {
    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-106ycfk9zf] {
    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-106ycfk9zf] {
    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-106ycfk9zf] {
    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-106ycfk9zf] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-106ycfk9zf] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-106ycfk9zf] {
        padding-bottom: 1rem;
    }

    .nav-item[b-106ycfk9zf]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-106ycfk9zf]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-106ycfk9zf]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-106ycfk9zf] {
        display: none;
    }

    .collapse[b-106ycfk9zf] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-106ycfk9zf] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Dashboard.razor.rz.scp.css */
.dashboard-body[b-747hthapc9] {
    padding: 0.1rem calc(0.5rem - 6px);    
    margin: 0 auto;
    width: 100%;
    transition: all 0.3s ease;
}

.dashboard-body.dark-theme[b-747hthapc9] {
    background-color: #0c0f1d;
    color: white;
}

.dashboard-body.light-theme[b-747hthapc9] {
    background-color: #f8fafc;
    color: #1e293b;
}

/* Date Picker Interaction Layers */
.hidden-date-picker[b-747hthapc9] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    accent-color: #1a56db;
    outline: none !important;
}

.hidden-date-picker[b-747hthapc9]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    cursor: pointer;
    opacity: 0;
}

.body-header[b-747hthapc9] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-left: 6px;
}

.page-title[b-747hthapc9] {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.page-subtitle[b-747hthapc9] {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0.4rem 0 0 0;
}

.header-actions[b-747hthapc9] {
    display: flex;
    gap: 0.75rem;
}

/* Modern Dashboard Buttons */
.btn-period[b-747hthapc9],
.btn-export[b-747hthapc9] {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.6rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.light-theme .btn-period[b-747hthapc9] {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

.dark-theme .btn-period[b-747hthapc9] {
    background: #141a2e;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-period:focus[b-747hthapc9] {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(26, 86, 219, 0.2) !important;
}

input[type="date"][b-747hthapc9] {
    accent-color: #1a56db;
}

.btn-export[b-747hthapc9] {
    background: #1a56db;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.2);
}

.btn-export:hover[b-747hthapc9] {
    background: #1d4ed8;
}

/* Premium Report Card Styles */
.report-card[b-747hthapc9] {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    height: 100% !important;
}

.header-cards[b-747hthapc9] {
    justify-content: space-between;
    padding: 1.5rem 1.25rem !important;
}

.dark-theme .report-card[b-747hthapc9] {
    background: #141a2e;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

/* Modern Stat Card Internals */
.stat-label-modern[b-747hthapc9] {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748B;
    display: block;
}

.stat-value-modern[b-747hthapc9] {
    font-size: 2.15rem;
    font-weight: 750;
    letter-spacing: -0.5px;
    margin: 4px 0;
}

.light-theme .stat-value-modern[b-747hthapc9] {
    color: #111827;
}

.dark-theme .stat-value-modern[b-747hthapc9] {
    color: #FFFFFF;
}

.stat-trend-modern[b-747hthapc9] {
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-trend-modern.pos[b-747hthapc9] {
    color: #10B981;
}

.stat-trend-modern.neg[b-747hthapc9] {
    color: #EF4444;
}

.footer-content-wrap[b-747hthapc9] {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
}

.stat-footer-modern[b-747hthapc9] {
    font-size: 0.85rem;
    color: #64748b;
}

.table-responsive[b-747hthapc9] {
    padding: 0 16px;
    flex: 1;
    overflow: auto;
}

/* Sales Trend Chart Re-Implementation */
.card-header-flex[b-747hthapc9] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px;
    border-bottom: 1px solid #E2E8F0;
    flex-wrap: wrap;
    gap: 16px;
}

.dark-theme .card-header-flex[b-747hthapc9] {
    border-color: #1E293B;
}

.card-title-group h3[b-747hthapc9] {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.light-theme .card-title-group h3[b-747hthapc9] {
    color: #0F172A;
}

.dark-theme .card-title-group h3[b-747hthapc9] {
    color: #FFFFFF;
}

.card-legend[b-747hthapc9] {
    display: flex;
    gap: 1rem;
}

.legend-item[b-747hthapc9] {
    font-size: 0.75rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot.blue[b-747hthapc9] {
    width: 10px;
    height: 10px;
    background: #3b82f6;
    border-radius: 3px;
}

.trend-chart-container[b-747hthapc9] {
    flex: 1;
    display: flex;
    align-items: stretch;
    margin-top: 2rem;
    min-height: 150px;
    padding: 0 16px 16px;
}

.chart-bars[b-747hthapc9] {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 100%;
    gap: 0.5rem;
}

.chart-bar-wrap[b-747hthapc9] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    position: relative;
    /* Added for tooltip positioning */
}

.bar[b-747hthapc9] {
    width: 100%;
    background: #DBEAFE;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
    min-height: 4px;
    cursor: pointer;
}

.bar:hover[b-747hthapc9] {
    filter: brightness(0.95);
}

.bar-tooltip[b-747hthapc9] {
    position: absolute;
    bottom: calc(100% - 20px);
    /* Adjust based on your preferred height */
    background: #1e293b;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.chart-bar-wrap:hover .bar-tooltip[b-747hthapc9] {
    opacity: 1;
    bottom: calc(100% + 5px);
}

.bar-tooltip[b-747hthapc9]::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
}

.dark-theme .bar[b-747hthapc9] {
    background: rgba(255, 255, 255, 0.05);
}

.bar.active[b-747hthapc9] {
    background: #3b82f6 !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
}

.card-subtitle[b-747hthapc9] {
    font-size: 12px;
    color: #64748B;
    margin-top: 4px;
}

.chart-bar-wrap span[b-747hthapc9] {
    font-size: 0.75rem;
    color: #94A3B8;
    margin-top: 1rem;
    font-weight: 500;
}

/* Shift Report Details */
.report-details[b-747hthapc9] {
    flex: 1;
    overflow-y: auto;
}

.report-actions[b-747hthapc9] {
    margin-top: auto;
}

.report-row[b-747hthapc9] {
    display: flex;
    justify-content: space-between;
    padding: 0.2rem 0;
    font-size: 0.95rem;
}

.report-row .label[b-747hthapc9] {
    color: #64748b;
}

.dark-theme .report-row .label[b-747hthapc9] {
    color: #e2e5e9;
}

.report-row .value[b-747hthapc9] {
    font-weight: 600;
}

.light-theme .report-row .value[b-747hthapc9] {
    color: #0F172A;
}

.dark-theme .report-row .value[b-747hthapc9] {
    color: #FFFFFF;
}


.total-value[b-747hthapc9] {
    font-size: 1.25rem !important;
    color: #3b82f6 !important;
}

.report-row.total-row .label[b-747hthapc9] {
    font-weight: 600;
    color: #0F172A;
}

.dark-theme .report-row.total-row .label[b-747hthapc9] {
    color: #e9e9e9;
}

.btn-primary-modern[b-747hthapc9] {
    background-image: linear-gradient(to right, #0F49BD, #17449E);
    color: white;
    border: none;
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

/* Modern Transaction Table */
.form-select-modern[b-747hthapc9],
.date-input-modern[b-747hthapc9],
.btn-outline-modern[b-747hthapc9] {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 0.4rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #475569;
    width: 97px;
}

.dark-theme .form-select-modern[b-747hthapc9],
.dark-theme .date-input-modern[b-747hthapc9],
.dark-theme .btn-outline-modern[b-747hthapc9] {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
    color: #CBD5E1;
}

.header-filters[b-747hthapc9] {
    flex-wrap: wrap;
}

.table-modern[b-747hthapc9] {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

.table-modern th[b-747hthapc9] {
    text-align: left;
    padding: 1.25rem 1rem;
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
}

.dark-theme .table-modern th[b-747hthapc9] {
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

.table-modern td[b-747hthapc9] {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #475569;
}

.table-modern th:first-child[b-747hthapc9],
.table-modern td:first-child[b-747hthapc9] {
    padding-left: 0;
}

.table-modern th:last-child[b-747hthapc9],
.table-modern td:last-child[b-747hthapc9] {
    padding-right: 0;
}

.dark-theme .table-modern td[b-747hthapc9] {
    border-bottom-color: rgba(255, 255, 255, 0.03);
    color: #CBD5E1;
}

.status-badge[b-747hthapc9] {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.completed[b-747hthapc9] {
    background: #DCFCE7;
    color: #166534;
}

.status-badge.voided[b-747hthapc9] {
    background: #FEE2E2;
    color: #991B1B;
}

.status-badge.held[b-747hthapc9] {
    background: #FEF3C7;
    color: #92400E;
}

.dark-theme .status-badge.completed[b-747hthapc9] {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
}

.dark-theme .status-badge.voided[b-747hthapc9] {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

.dark-theme .status-badge.held[b-747hthapc9] {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
}

/* Dashboard Action Buttons */
.action-btn-dash[b-747hthapc9] {
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s;
}

.action-btn-dash:hover[b-747hthapc9] {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.payment-source[b-747hthapc9] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-source i[b-747hthapc9] {
    color: #94A3B8;
    font-size: 1.1rem;
}

/* Gridstack & Footer */
.card-footer-flex[b-747hthapc9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    margin-top: auto;
    flex-wrap: wrap;
    gap: 16px;
}

.pagination-controls[b-747hthapc9] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pagination-info[b-747hthapc9] {
    font-size: 0.75rem;
    color: #94A3B8;
    font-weight: 600;
}

.btn-page[b-747hthapc9] {
    width: 32px;
    height: 32px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-theme .btn-page[b-747hthapc9] {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.08);
    color: #94A3B8;
}

.legal-footer p[b-747hthapc9] {
    font-size: 0.75rem;
    color: #94A3B8;
    margin: 0;
}

.grid-stack-item-content[b-747hthapc9] {
    background: transparent !important;
}

/* --- Delete Confirmation Modal --- */
.delete-confirm-modal[b-747hthapc9] {
    width: 100% !important;
    max-width: 450px !important;
    height: auto !important;
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem !important;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.delete-confirm-modal.dark-theme[b-747hthapc9] {
    background: #1e293b !important;
    color: #f8fafc;
    border: 1px solid #434343;
}

.delete-confirm-modal.light-theme[b-747hthapc9] {
    background: #ffffff !important;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

@media(max-width: 768px) {
    .body-header[b-747hthapc9] {
        flex-direction: column;
        gap: 16px;
        justify-content: flex-start;
        align-items: flex-start;
        margin-bottom: 16px;
    }

    .header-actions[b-747hthapc9] {
        width: 100%;
        justify-content: space-between;
    }

    .stat-value-modern[b-747hthapc9] {
        font-size: 1.75rem;
    }

    /* Force GridStack into a responsive 1-column layout */
    .grid-stack[b-747hthapc9] {
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        margin-bottom: 2rem;
    }

    .grid-stack-item[b-747hthapc9] {
        position: relative !important;
        width: 100% !important;
        min-width: 100% !important;
        left: 0 !important;
        top: auto !important;
        height: auto !important;
        transform: none !important;
        margin-bottom: 0 !important;
    }

    .grid-stack-item-content[b-747hthapc9] {
        position: relative !important;
        inset: auto !important;
        height: 100% !important;
        width: 100% !important;
        display: block;
    }

    .report-card[b-747hthapc9] {
        height: auto !important;
        min-height: 150px;
    }

    .trend-chart-container[b-747hthapc9] {
        display: block !important;
        height: 250px !important;
    }

    .chart-bars[b-747hthapc9],
    .chart-bar-wrap[b-747hthapc9] {
        height: 400px !important;
    }

    .table-responsive[b-747hthapc9] {
        min-height: 300px;
    }
}

@media(max-width: 500px) {

    .chart-bars[b-747hthapc9],
    .chart-bar-wrap[b-747hthapc9] {
        height: 300px !important;
    }
}

/* --- Premium Receipt Modal Styles --- */
.receipt-modal-container[b-747hthapc9] {
    width: 100%;
    max-width: 550px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    max-height: 94vh;
    overflow: hidden;
    animation: modal-slide-up-b-747hthapc9 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-theme .receipt-modal-container[b-747hthapc9] {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.dark-theme .data-row .label[b-747hthapc9] {
    color: #8a9ab1;
}

    .dark-theme .fw-black[b-747hthapc9] {
        color: #ffffff !important;
    }

    .receipt-modal-header[b-747hthapc9] {
        padding: 1.5rem 2rem;
        border-bottom: 1px solid #f1f5f9;
    }
.dark-theme .receipt-modal-footer.no-print[b-747hthapc9] {
    background-color: rgb(29 36 55) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}
.dark-theme .receipt-modal-header.bg-white[b-747hthapc9] {
    background-color: rgb(29 36 55) !important;
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

    .modal-close-btn[b-747hthapc9] {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: #f8fafc;
        border: none;
        color: #64748b;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }

    .dark-theme .modal-close-btn[b-747hthapc9] {
        background: #1e293b;
    }

    .modal-close-btn:hover[b-747hthapc9] {
        background: #fee2e2;
        color: #ef4444;
    }

    .receipt-modal-body[b-747hthapc9] {
        padding: 2rem;
        overflow-y: auto;
        flex: 1;
    }

    .success-checkmark-modern-alt[b-747hthapc9] {
        width: 80px;
        height: 80px;
        background: #10b981;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3);
        margin-bottom: 1.5rem;
    }

    .receipt-data-card[b-747hthapc9] {
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        border-radius: 20px;
        padding: 1.5rem;
        width: 100%;
    }

    .dark-theme .receipt-data-card[b-747hthapc9] {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.08);
    }

    .data-row[b-747hthapc9] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

        .data-row:last-child[b-747hthapc9] {
            margin-bottom: 0;
        }

        .data-row.header-data[b-747hthapc9] {
            margin-bottom: 1.5rem;
        }

        .data-row .label[b-747hthapc9] {
            color: #64748b;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .data-row .val[b-747hthapc9] {
            font-weight: 700;
            color: #0f172a;
            font-size: 0.95rem;
        }

    .dark-theme .data-row .val[b-747hthapc9] {
        color: #f8fafc;
    }

    .total-val[b-747hthapc9] {
        font-size: 1.75rem !important;
        font-weight: 900 !important;
    }

    .data-divider[b-747hthapc9] {
        height: 1px;
        background: #e2e8f0;
        margin: 0.35rem 0;
        border: none;
    }

    .dark-theme .data-divider[b-747hthapc9] {
        background: rgba(255, 255, 255, 0.05);
    }

    .order-items-scrollbox[b-747hthapc9] {
        background: #ffffff;
        border: 1px solid #cbd5e1;
        border-radius: 20px;
        padding: 1.5rem;
    }

    .dark-theme .order-items-scrollbox[b-747hthapc9] {
        background: #0f172a;
        border-color: rgba(255, 255, 255, 0.05);
    }

    .items-list[b-747hthapc9] {
        max-height: 280px;
        overflow-y: auto;
        padding-right: 10px;
        margin-right: -10px;
    }

    .items-header[b-747hthapc9] {
        font-size: 0.75rem;
        font-weight: 800;
        color: #94a3b8;
        letter-spacing: 1px;
        margin-bottom: 1.25rem;
    }

    .item-entry[b-747hthapc9] {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 1.25rem;
    }

        .item-entry .name[b-747hthapc9] {
            font-weight: 700;
            color: #0f172a;
            font-size: 0.95rem;
        }

        .item-entry .sub[b-747hthapc9] {
            color: #94a3b8;
            font-size: 0.8rem;
            margin-top: 2px;
        }

        .item-entry .item-price[b-747hthapc9] {
            font-weight: 700;
            color: #1e40af;
        }

    .dark-theme .item-entry .name[b-747hthapc9] {
        color: #f8fafc;
    }

    .dark-theme .item-entry .item-price[b-747hthapc9] {
        color: #3b82f6;
    }

    .items-summary-card[b-747hthapc9] {
        background: #f1f5f9;
        border-radius: 12px;
        padding: 1.25rem;
        margin-top: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .dark-theme .items-summary-card[b-747hthapc9] {
        background: #1e293b;
    }

    .summary-row[b-747hthapc9] {
        display: flex;
        justify-content: space-between;
        font-size: 0.85rem;
        color: #64748b;
    }

        .summary-row.total[b-747hthapc9] {
            border-top: 1px dashed #cbd5e1;
            padding-top: 0.75rem;
            margin-top: 0.25rem;
            font-weight: 800;
            font-size: 1.1rem;
            color: #0f172a;
        }

    .dark-theme .summary-row.total[b-747hthapc9] {
        color: #f8fafc;
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    .receipt-modal-footer[b-747hthapc9] {
        padding: 1.5rem 2rem;
        background: #f8fafc;
        display: flex;
        gap: 1rem;
    }

    .dark-theme .receipt-modal-footer[b-747hthapc9] {
        background: #141a2e;
    }

    .btn-modal-back[b-747hthapc9] {
        background: #f1f5f9;
        border: none;
        padding: 0.85rem;
        border-radius: 12px;
        font-weight: 700;
        color: #0f172a;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }

    .dark-theme .btn-modal-back[b-747hthapc9] {
        background: #1e293b;
        color: #f8fafc;
    }

    .btn-modal-download-receipt[b-747hthapc9] {
        background: #1a56db;
        color: white;
        border: none;
        padding: 0.85rem;
        border-radius: 12px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(26, 86, 219, 0.2);
        transition: all 0.2s;
    }

    .item-entry-alt[b-747hthapc9] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

        .item-entry-alt .name[b-747hthapc9] {
            font-weight: 700;
            color: #0f172a;
            font-size: 0.95rem;
        }

        .item-entry-alt .sub[b-747hthapc9] {
            color: #64748b;
            font-size: 0.85rem;
            margin-top: 2px;
        }

        .item-entry-alt .item-price[b-747hthapc9] {
            font-weight: 700;
            color: #1d4ed8;
            font-size: 1rem;
        }

    .dark-theme .item-entry-alt .name[b-747hthapc9] {
        color: #f8fafc;
    }

    .dark-theme .item-entry-alt .item-price[b-747hthapc9] {
        color: #3b82f6;
    }

    .items-summary-list[b-747hthapc9] {
        display: flex;
        flex-direction: column;
    }

    .status-success-badge[b-747hthapc9] {
        width: 60px;
        height: 60px;
        background: #10b981;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.2rem;
        box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
    }

    .items-summary-list .summary-line[b-747hthapc9] {
        display: flex;
        justify-content: space-between;
        padding: 0.75rem 0;
        font-size: 0.9rem;
        color: #64748b;
        background: #f8fafc;
        margin-bottom: 2px;
        border-radius: 4px;
    }

    .dark-theme .items-summary-list .summary-line[b-747hthapc9] {
        background: transparent;
    }

    .items-summary-list .summary-line.total-line[b-747hthapc9] {
        background: transparent;
        padding: 1.5rem 0 0.5rem 0;
        color: #0f172a;
        font-size: 1.5rem;
        font-weight: 900;
        border-top: 1px solid #e2e8f0;
        margin-top: 1rem;
    }

    .items-summary-list .total-line span:last-child[b-747hthapc9] {
        color: #1a56db;
    }

    .dark-theme .items-summary-list .summary-line.total-line[b-747hthapc9] {
        color: #f8fafc;
        border-top-color: rgba(255, 255, 255, 0.08);
    }

    .receipt-modal-header[b-747hthapc9] {
        background: white;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .dark-theme .receipt-modal-header[b-747hthapc9] {
        background: #141a2e;
    }

    @keyframes modal-slide-up-b-747hthapc9 {
        from {
            transform: translateY(30px);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .logo-square-pos[b-747hthapc9] {
        width: 42px;
        height: 42px;
        background: #1a56db;
        color: white;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        box-shadow: 0 4px 10px rgba(26, 86, 219, 0.2);
    }

    @media(max-width: 470px) {
        .card-footer-flex[b-747hthapc9] {
            justify-content: center;
        }
    }

    @media(max-width: 575px) {
        .hidden-mobile-view[b-747hthapc9] {
            display: none;
        }

        .remove-margin[b-747hthapc9] {
            margin-right: 0 !important;
        }

        .btn-export[b-747hthapc9] {
            width: 38px;
            justify-content: center;
            align-items: center;
            height: 38px;
        }

        .data-row[b-747hthapc9],
        .item-entry-alt[b-747hthapc9],
        .summary-line[b-747hthapc9] {
            flex-direction: column;
            gap: 4px;
            align-items: flex-start;
        }

            .summary-line.total-line[b-747hthapc9],
            .data-row.header-data[b-747hthapc9] {
                flex-direction: row;
                gap: 4px;
                align-items: center;
                font-size: 1rem !important;
            }

        .receipt-content-wrap[b-747hthapc9] {
            padding: 16px !important;
        }

        .receipt-text-wrap[b-747hthapc9] {
            text-align: center;
        }

        .summary-line[b-747hthapc9] {
            padding: 8px 0 !important;
        }
    }

    .receipt-modal-footer.no-print[b-747hthapc9] {
        position: sticky;
        bottom: 0;
        background: #ffffff;
        border-top: 1px solid #dfe8f1;
        justify-content: flex-end;
    }

        .receipt-modal-footer.no-print button[b-747hthapc9] {
            min-width: 190px;
        }
/* /Pages/Login.razor.rz.scp.css */
.login-screen[b-5hjt8oskzx] {
    background-color: #0c0f1d;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.login-screen.light-theme[b-5hjt8oskzx] {
    background-color: #f8fafc;
    color: #1e293b;
}

/* Top Bar */
.top-bar[b-5hjt8oskzx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(10, 14, 27, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.login-screen.light-theme .top-bar[b-5hjt8oskzx] {
    background-color: #ffffff;
    border-bottom-color: #e2e8f0;
}

.logo-section[b-5hjt8oskzx] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-icon[b-5hjt8oskzx] {
    width: 38px;
    height: 38px;
    background: #1a56db;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.2);
}

.logo-img[b-5hjt8oskzx] {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.logo-info[b-5hjt8oskzx] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text[b-5hjt8oskzx] {
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: 1.15rem;
    line-height: 1;
    white-space: nowrap;
}

.logo-subtitle[b-5hjt8oskzx] {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    padding-left: 1rem;
    border-left: 1px solid rgba(100, 116, 139, 0.3);
    white-space: nowrap;
}

.mobile-only-item[b-5hjt8oskzx] {
    display: none !important;
}

@media (max-width: 991px) {
    .desktop-only[b-5hjt8oskzx] {
        display: none !important;
    }
    .header-status-section.mobile-open .mobile-only-item[b-5hjt8oskzx] {
        display: flex !important;
    }
}

.header-status-section[b-5hjt8oskzx] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-status-item[b-5hjt8oskzx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-online[b-5hjt8oskzx] {
    color: #10b981;
}

.status-offline[b-5hjt8oskzx] {
    color: #ef4444;
}
.dark-theme .status-indicator[b-5hjt8oskzx], .dark-theme .sync-info[b-5hjt8oskzx] {
    color: #d7dde6;
}
.dark-theme .status-text[b-5hjt8oskzx]{
opacity: unset !important;
}

.status-indicator[b-5hjt8oskzx] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: #64748b;
}

.time-info[b-5hjt8oskzx] {
    color: #3b82f6;
    padding-left: 1.25rem;
    border-left: 1px solid rgba(100, 116, 139, 0.2);
}

.light-theme .time-info[b-5hjt8oskzx] {
    border-left-color: #e2e8f0;
}

.version-info[b-5hjt8oskzx] {
    padding-left: 1.25rem;
    border-left: 1px solid rgba(100, 116, 139, 0.2);
}

.sync-info[b-5hjt8oskzx] {
    color: #64748b;
    cursor: pointer;
    transition: opacity 0.2s;
}

.sync-info:hover[b-5hjt8oskzx] {
    opacity: 0.8;
}

.syncing[b-5hjt8oskzx] {
    animation: spin-b-5hjt8oskzx 1s linear infinite;
    display: inline-block;
    color: #3b82f6 !important;
}

@keyframes spin-b-5hjt8oskzx {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Login Container & Card */
.login-container[b-5hjt8oskzx] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-card[b-5hjt8oskzx] {
    background-color: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.dark-theme .login-card[b-5hjt8oskzx] {
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    background-color: #141a2e;
}


.card-header-accent[b-5hjt8oskzx] {
    padding: 16px;
    gap: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(26, 86, 219, 0.1) 0%, transparent 100%);
}

.dark-theme .card-header-accent[b-5hjt8oskzx] {
    background: linear-gradient(180deg, rgb(214 227 255 / 10%) 0%, #54679c14 100%);
}

.login-icon-box[b-5hjt8oskzx] {
    font-size: 2.5rem;
    color: #1a56db;
    filter: drop-shadow(0 0 8px rgba(26, 86, 219, 0.4));
}

.login-icon-box i[b-5hjt8oskzx] {
    display: flex;
}

.login-title[b-5hjt8oskzx] {
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0;
}

.card-body-content[b-5hjt8oskzx] {
    padding: 1rem 2.5rem 2.5rem 2.5rem;
}

.login-instructions[b-5hjt8oskzx] {
    text-align: center;
    font-size: 0.85rem;
    color: #94A3B8;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.input-group-custom[b-5hjt8oskzx] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.input-label[b-5hjt8oskzx] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.dark-theme .input-label[b-5hjt8oskzx] {
    color: #CBD5E1;
}

.form-control-custom[b-5hjt8oskzx] {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 0.68rem 1rem;
    color: white;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.light-theme .form-control-custom[b-5hjt8oskzx] {
    background-color: #ffffff;
    border-color: #cbd5e1;
    color: #1e293b;
}

/* Autofill styling */
.form-control-custom:-webkit-autofill[b-5hjt8oskzx],
.form-control-custom:-webkit-autofill:hover[b-5hjt8oskzx],
.form-control-custom:-webkit-autofill:focus[b-5hjt8oskzx],
.form-control-custom:-webkit-autofill:active[b-5hjt8oskzx],
.form-control-custom:-internal-autofill-selected[b-5hjt8oskzx] {
    -webkit-box-shadow: 0 0 0 1000px #1E293B inset !important;
    -webkit-text-fill-color: white !important;
    caret-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

.light-theme .form-control-custom:-webkit-autofill[b-5hjt8oskzx],
.light-theme .form-control-custom:-webkit-autofill:hover[b-5hjt8oskzx],
.light-theme .form-control-custom:-webkit-autofill:focus[b-5hjt8oskzx],
.light-theme .form-control-custom:-webkit-autofill:active[b-5hjt8oskzx],
.light-theme .form-control-custom:-internal-autofill-selected[b-5hjt8oskzx] {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #1e293b !important;
    caret-color: #1e293b !important;
    transition: background-color 5000s ease-in-out 0s;
}

.form-control-custom:focus[b-5hjt8oskzx] {
    outline: none;
    border-color: #1a56db;
    background-color: rgba(26, 86, 219, 0.05);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

.pin-input-wrapper[b-5hjt8oskzx] {
    position: relative;
    display: flex;
    align-items: center;
}

.pin-toggle-btn[b-5hjt8oskzx] {
    position: absolute;
    right: 0.8rem;
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: color 0.2s;
    z-index: 5;
    outline: none;
}

.light-theme .pin-toggle-btn[b-5hjt8oskzx] {
    color: #94a3b8;
}

.pin-toggle-btn:hover[b-5hjt8oskzx] {
    color: #3b82f6;
}

.error-msg[b-5hjt8oskzx] {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.button-group[b-5hjt8oskzx] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-login-main[b-5hjt8oskzx] {
    background-image: linear-gradient(to right, #0F49BD, #17449E);
    color: white;
    border: none;
    padding: 0.85rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-login-main:hover:not(:disabled)[b-5hjt8oskzx] {
    background-color: #1e429f;
    transform: translateY(-1px);
}

.btn-cancel[b-5hjt8oskzx] {
    background-color: rgba(30, 41, 59, 1);
    color: #CBD5E1;
    border: none;
    padding: 0.85rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.login-screen.light-theme .btn-cancel[b-5hjt8oskzx] {
    background-color: #f1f5f9;
    color: #334155;
}

.btn-cancel:hover[b-5hjt8oskzx] {
    background-color: #334155;
    color: white;
}

.card-footer-info[b-5hjt8oskzx] {
    background: rgba(10, 14, 27, 0.4);
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.login-screen.light-theme .card-footer-info[b-5hjt8oskzx] {
    background-color: #f8fafc;
    border-top-color: #e2e8f0;
}

.build-version[b-5hjt8oskzx] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
}

.terminal-status[b-5hjt8oskzx] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.terminal-dot[b-5hjt8oskzx] {
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
}

/* Bottom Bar */
.bottom-bar[b-5hjt8oskzx] {
    padding: 0.75rem 1.5rem;
    background-color: rgba(1, 4, 18, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
}

.light-theme .bottom-bar[b-5hjt8oskzx] {
    background-color: #ffffff;
    border-top-color: #e2e8f0;
}

.bottom-left[b-5hjt8oskzx] {
    display: flex;
    gap: 1.5rem;
}

.info-pill[b-5hjt8oskzx] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.text-primary-light[b-5hjt8oskzx] {
    color: #3b82f6;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .header-right[b-5hjt8oskzx] {
        gap: 1rem;
    }

    .bottom-left[b-5hjt8oskzx] {
        gap: 1rem;
    }
}

/* Base styles for the toggle and overlay */
.header-right-container[b-5hjt8oskzx] {
    position: relative;
    display: flex;
    align-items: center;
}

.mobile-menu-toggle[b-5hjt8oskzx] {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.light-theme .mobile-menu-toggle[b-5hjt8oskzx] {
    color: #1e293b;
}

.mobile-menu-toggle:hover[b-5hjt8oskzx] {
    background: rgba(255, 255, 255, 0.1);
}

.light-theme .mobile-menu-toggle:hover[b-5hjt8oskzx] {
    background: rgba(0, 0, 0, 0.05);
}

.header-menu-overlay[b-5hjt8oskzx] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: transparent;
    z-index: 998;
}

/* On small screens, hide the desktop status section and show it as a dropdown */
@media (max-width: 991px) {
    .mobile-menu-toggle[b-5hjt8oskzx] {
        display: block;
    }
    
    .header-status-section[b-5hjt8oskzx] {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 15px);
        right: 0;
        background-color: #141a2e;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        border-radius: 8px;
        padding: 0.5rem;
        z-index: 1000;
        min-width: 200px;
        align-items: flex-start;
        gap: 0.2rem;
    }
    
    .light-theme .header-status-section[b-5hjt8oskzx] {
        background-color: #ffffff;
        border-color: #e2e8f0;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    }
    
    .header-status-section.mobile-open[b-5hjt8oskzx] {
        display: flex;
        animation: slideDown-b-5hjt8oskzx 0.2s ease-out;
    }
    
    .header-status-item[b-5hjt8oskzx] {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 4px;
        border-left: none !important;
        transition: background-color 0.2s;
    }
    
    .header-status-item:hover[b-5hjt8oskzx] {
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .light-theme .header-status-item:hover[b-5hjt8oskzx] {
        background-color: rgba(0, 0, 0, 0.03);
    }
}

@keyframes slideDown-b-5hjt8oskzx {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .top-bar[b-5hjt8oskzx] {
        padding: 0.6rem 1rem;
    }

    .user-meta[b-5hjt8oskzx] {
        display: none;
    }

    .header-right[b-5hjt8oskzx] {
        gap: 0.75rem;
    }

    .bottom-bar[b-5hjt8oskzx] {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }

    .bottom-left[b-5hjt8oskzx] {
        justify-content: center;
        width: 100%;
        gap: 1rem;
    }

    .bottom-right[b-5hjt8oskzx] {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        align-items: center;
    }

    .bottom-right .ms-3[b-5hjt8oskzx] {
        margin-left: 0 !important;
    }
}

@media (max-width: 576px) {
    .login-container[b-5hjt8oskzx] {
        padding: 1rem;
    }

    .login-card[b-5hjt8oskzx] {
        max-width: 100%;
        border-left: none;
        border-right: none;
    }

    .card-body-content[b-5hjt8oskzx] {
        padding: 1.5rem 1rem;
    }

    .logo-name[b-5hjt8oskzx] {
        font-size: 0.85rem;
    }

    .site-name[b-5hjt8oskzx] {
        display: none;
    }

    .login-title[b-5hjt8oskzx] {
        font-size: 1.1rem;
    }

    .info-pill:last-child[b-5hjt8oskzx] {
        display: none;
        /* Hide CPU on very small screens */
    }
}

/* Landscape Mobile Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .login-screen[b-5hjt8oskzx] {
        height: auto;
        min-height: 100vh;
    }

    .login-container[b-5hjt8oskzx] {
        padding: 1rem 0;
    }

    .login-card[b-5hjt8oskzx] {
        margin: 1rem 0;
    }
}
.password-input-wrapper[b-5hjt8oskzx] {
    position: relative;
}

    .password-input-wrapper .password-toggle-btn[b-5hjt8oskzx] {
        position: absolute;
        top: 9px;
        right: 10px;
        border: none !important;
        background: transparent;
    }
.dark-theme .password-toggle-btn i[b-5hjt8oskzx]{
    color: #ffffff;
}

.update-indicator[b-5hjt8oskzx] {
    color: #f59e0b !important;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 8px;
    padding: 0.4rem 0.8rem !important;
}

.update-indicator:hover[b-5hjt8oskzx] {
    background: rgba(245, 158, 11, 0.2);
    transform: scale(1.05);
}

.animate-pulse[b-5hjt8oskzx] {
    animation: pulse-amber-b-5hjt8oskzx 2s infinite;
}

@keyframes pulse-amber-b-5hjt8oskzx {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
/* /Pages/Options.razor.rz.scp.css */
.settings-body[b-ysljnujarb] {
    padding: 0.7rem 0.7rem;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    justify-content: center;
    align-items: stretch;
    display: flex;
    gap: 2rem;
    transition: all 0.3s ease;
}
.settings-body.dark-theme[b-ysljnujarb] { background-color: #0c0f1d; color: white; }
.settings-body.light-theme[b-ysljnujarb] { background-color: #f8fafc; color: #1e293b; }

.settings-sidebar[b-ysljnujarb] {
    width: 350px;
    flex-shrink: 0;
}
.sidebar-card[b-ysljnujarb] {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    height: fit-content;
}
.dark-theme .sidebar-card[b-ysljnujarb] { background: #141a2e; border-color: rgba(255, 255, 255, 0.08); }

.sidebar-title[b-ysljnujarb] {
    font-size: 1.1rem;
    font-weight: 800;
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
}
.dark-theme .sidebar-title[b-ysljnujarb], .dark-theme .panel-header[b-ysljnujarb] {
    border-color: #3e4957;
}
.sidebar-nav[b-ysljnujarb] { display: flex; flex-direction: column; gap: 0.25rem; padding: 16px; }
.nav-item[b-ysljnujarb] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #64748b;
    cursor: pointer;
    text-decoration: none;
}

    .dark-theme .nav-item[b-ysljnujarb] {
        color: #d6e0ef;
    }

        .nav-item.active[b-ysljnujarb] {
            background: #1d4ed8;
            color: white !important;
        }

        .settings-content[b-ysljnujarb] {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
        }

        .page-title[b-ysljnujarb] {
            font-size: 1.7rem;
            font-weight: 800;
            margin: 0;
        }

        .page-subtitle[b-ysljnujarb] {
            color: #64748b;
            font-size: 0.95rem;
            margin-top: 0.5rem;
        }

        .setting-panel-card[b-ysljnujarb] {
            background: #ffffff;
            border-radius: 12px;
            border: 1px solid #e2e8f0;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
        }

        .dark-theme .setting-panel-card[b-ysljnujarb] {
            background: #141a2e;
            border-color: rgba(255, 255, 255, 0.08);
        }

        .panel-header[b-ysljnujarb] {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid #e2e8f0;
        }

        .panel-body[b-ysljnujarb] {
            padding: 1.5rem;
        }

        .setting-box[b-ysljnujarb] {
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 1.25rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #ffffff;
            margin-bottom: 1rem;
        }

        .dark-theme .setting-box[b-ysljnujarb] {
            border-color: rgba(255,255,255,0.08);
            background: #141a2e;
        }

        .setting-label[b-ysljnujarb] {
            font-weight: 800;
            font-size: 0.95rem;
            margin-bottom: 0.25rem;
        }

        .setting-hint[b-ysljnujarb] {
            font-size: 0.8rem;
            color: #64748b;
        }

        .auth-loading-overlay[b-ysljnujarb] {
            height: calc(100vh - 70px);
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
        }

        @media (max-width: 991px) {
            .setting-box.setting-box-content[b-ysljnujarb] {
                flex-direction: column;
                justify-content: flex-start;
                align-items: flex-start;
                gap: 16px;
            }
            .settings-body[b-ysljnujarb] {
                flex-direction: column;
                padding: 0.7rem 0.7rem;
                gap: 1.5rem;
            }

            .sidebar-nav[b-ysljnujarb] {
                flex-direction: row;
                flex-wrap: wrap;
                gap: 16px;
            }

            .settings-sidebar[b-ysljnujarb] {
                width: 100%;
            }
        }

.input-group-custom[b-ysljnujarb] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.input-label[b-ysljnujarb] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.dark-theme .input-label[b-ysljnujarb] {
    color: #CBD5E1;
}
.form-control-custom[b-ysljnujarb] {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 0.68rem 1rem;
    color: white;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.light-theme .form-control-custom[b-ysljnujarb] {
    background-color: #ffffff;
    border-color: #cbd5e1;
    color: #1e293b;
}

/* Autofill styling */
.form-control-custom:-webkit-autofill[b-ysljnujarb],
.form-control-custom:-webkit-autofill:hover[b-ysljnujarb],
.form-control-custom:-webkit-autofill:focus[b-ysljnujarb],
.form-control-custom:-webkit-autofill:active[b-ysljnujarb],
.form-control-custom:-internal-autofill-selected[b-ysljnujarb] {
    -webkit-box-shadow: 0 0 0 1000px #1E293B inset !important;
    -webkit-text-fill-color: white !important;
    caret-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

.light-theme .form-control-custom:-webkit-autofill[b-ysljnujarb],
.light-theme .form-control-custom:-webkit-autofill:hover[b-ysljnujarb],
.light-theme .form-control-custom:-webkit-autofill:focus[b-ysljnujarb],
.light-theme .form-control-custom:-webkit-autofill:active[b-ysljnujarb],
.light-theme .form-control-custom:-internal-autofill-selected[b-ysljnujarb] {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #1e293b !important;
    caret-color: #1e293b !important;
    transition: background-color 5000s ease-in-out 0s;
}

.form-control-custom:focus[b-ysljnujarb] {
    outline: none;
    border-color: #1a56db;
    background-color: rgba(26, 86, 219, 0.05);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}
/* /Pages/Sales.razor.rz.scp.css */
/* Theme Variables */
/* Delete Confirm Styles added below later... */
.pos-content-wrapper.dark-theme[b-kcbiyuo9as] {
    --pos-bg: #0c0f1d;
    --pos-panel-bg: #0c0f1d;
    --pos-card-bg: #161a2d;
    --pos-footer-bg: #121626;
    --pos-border: rgba(255, 255, 255, 0.05);
    --pos-item-border: #312e81;
    --pos-text: #ffffff;
    --pos-text-muted: #94a3b8;
    --pos-text-deep-muted: #64748b;
    --pos-input-bg: #0c1020;
    --pos-pill-bg: #111827;
    --pos-btn-bg: #1f2937;
    --pos-btn-border: #374151;
}

.page-title[b-kcbiyuo9as] {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.page-subtitle[b-kcbiyuo9as] {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0.4rem 0 0 0;
}

.header-text[b-kcbiyuo9as] {
    padding: 8px 8px 16px;
}

.pos-content-wrapper.light-theme[b-kcbiyuo9as] {
    --pos-bg: #f8fafc;
    --pos-panel-bg: #ffffff;
    --pos-card-bg: #f1f5f9;
    --pos-footer-bg: #f8fafc;
    --pos-border: #e2e8f0;
    --pos-item-border: #e2e8f0;
    --pos-text: #1e293b;
    --pos-text-muted: #475569;
    --pos-text-deep-muted: #64748b;
    --pos-input-bg: #ffffff;
    --pos-pill-bg: #f1f5f9;
    --pos-btn-bg: #f1f5f9;
    --pos-btn-border: #e2e8f0;
}

.pos-content-wrapper[b-kcbiyuo9as] {
    padding: 0.1rem 0.1rem;
    background-color: var(--pos-bg);
    color: var(--pos-text);
    font-family: 'Inter', -apple-system, sans-serif;

    /* Ensure parent resizes correctly for 100% cellHeight GridStack */
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;

    border: 1px solid var(--pos-border);
    outline: none !important;
}

.sales-grid[b-kcbiyuo9as] {
    flex: 1;
    height: 100%;
    display: block; /* GridStack needs block layout */
}

/* Force grid items to stretch and fill the flexible parent height */
.sales-grid > .grid-stack-item[b-kcbiyuo9as] {
    height: 100% !important;
}

.modal-blur[b-kcbiyuo9as] {
    filter: blur(8px);
    pointer-events: none;
}

.dark-theme .categories-bar[b-kcbiyuo9as] {
    background: #111827;
}

.dark-theme .border-bottom[b-kcbiyuo9as],
.dark-theme .border-top[b-kcbiyuo9as] {
    border-color: #3c3f4a !important;
}

.dark-theme .btn-remove[b-kcbiyuo9as] {
    background: #1a1d2d;
}


.receipt-preview-class .f-col-success[b-kcbiyuo9as] {
    padding-bottom: 0 !important;
}

/* Sub-Header */
.pos-sub-header[b-kcbiyuo9as] {
    padding: 0.5rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--pos-panel-bg);
    border-bottom: 1px solid var(--pos-border);
    flex-shrink: 0;
}

.business-name[b-kcbiyuo9as] {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--pos-text);
}

.status-badge[b-kcbiyuo9as] {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    margin-right: 0.4rem;
}

.status-badge.online[b-kcbiyuo9as] {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.status-badge.sync-time[b-kcbiyuo9as] {
    color: var(--pos-text-deep-muted);
    background: rgba(100, 116, 139, 0.05);
}

.terminal-dropdown-parent[b-kcbiyuo9as] {
    position: relative;
    z-index: 2000;
}

.menu-overlay[b-kcbiyuo9as] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    z-index: 2001;
    /* Between parent and content */
}

.terminal-dropdown.active[b-kcbiyuo9as] {
    z-index: 2002;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    /* Show highlight when active */
}

.terminal-dropdown[b-kcbiyuo9as] {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--pos-border);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.terminal-dropdown:hover[b-kcbiyuo9as] {
    background: rgba(255, 255, 255, 0.08);
    border-color: #3b82f6;
}

.terminal-dropdown .label[b-kcbiyuo9as] {
    color: var(--pos-text-deep-muted);
    margin-right: 0.4rem;
}

.terminal-dropdown .value[b-kcbiyuo9as] {
    font-weight: 700;
    color: #3b82f6;
}

.terminal-dropdown-menu[b-kcbiyuo9as] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--pos-panel-bg);
    border: 1px solid var(--pos-border);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    overflow: hidden;
    animation: slideDown-b-kcbiyuo9as 0.2s ease-out;
    z-index: 2005;
    /* Above overlay */
}

@keyframes slideDown-b-kcbiyuo9as {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item[b-kcbiyuo9as] {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pos-text);
    cursor: pointer;
    transition: background 0.2s;
}

.menu-item:hover[b-kcbiyuo9as] {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.menu-item.active[b-kcbiyuo9as] {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.dark-theme .terminal-dropdown-menu[b-kcbiyuo9as] {
    background: #161a2d;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* GridStack Sales Layout */
.sales-grid[b-kcbiyuo9as] {
    flex: 1;
    width: 100%;
    min-height: auto;
}

.sales-grid .grid-stack-item-content[b-kcbiyuo9as] {
    background: transparent !important;
    overflow: visible !important;
    /* Changed from hidden to show resize handles */
    border-radius: 12px;
    cursor: default;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

/* Make Gridstack handles more visible and premium */
.grid-stack-item>.ui-resizable-se[b-kcbiyuo9as] {
    background-image: none !important;
    right: 5px !important;
    bottom: 5px !important;
    width: 15px !important;
    height: 15px !important;
    border-right: 3px solid #3b82f6 !important;
    border-bottom: 3px solid #3b82f6 !important;
    cursor: nwse-resize !important;
    opacity: 0.6;
    z-index: 100 !important;
}

.grid-stack-item:hover>.ui-resizable-se[b-kcbiyuo9as] {
    opacity: 1;
}

/* Drag handle at the top of each movable panel */
.panel-drag-handle[b-kcbiyuo9as] {
    height: 15px;
    cursor: grab;
    touch-action: none;
    flex-shrink: 0;
}

.panel-drag-handle:active[b-kcbiyuo9as] {
    cursor: grabbing;
}

.sales-grid .grid-stack-item-content > .products-section[b-kcbiyuo9as],
.sales-grid .grid-stack-item-content > .order-section[b-kcbiyuo9as],
.sales-grid .grid-stack-item-content > .keypad-section[b-kcbiyuo9as] {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
}

/* Products Section */
.products-section[b-kcbiyuo9as] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--pos-panel-bg);
    /*    border: 1px solid var(--pos-border);*/
    border-radius: 4px !important;
    height: 100%;
}

.sales-grid .grid-stack-item-content[b-kcbiyuo9as] {
    border-radius: 4px !important;
}

.categories-bar[b-kcbiyuo9as] {
    display: flex;
    align-items: center;
    background: #E8F2FF;
    padding: 4px 6px;
    border-radius: 6px;
    gap: 0.5rem;
    overflow: hidden;
    /* Prevent container overflow */
}

.categories-container[b-kcbiyuo9as] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    overflow-y: auto;
    max-height: 118px;
    /* Strict 3-row limit */
    padding: 2px 2px;
    flex: 1;
    row-gap: 8px;
}

.ui-resizable-handle.ui-resizable-e[b-kcbiyuo9as] {
    z-index: 1 !important;
}

.btn-scroll[b-kcbiyuo9as] {
    display: none !important;
}

/* Removed .has-overflow display logic */

@media (max-width: 991px) {
    .categories-bar[b-kcbiyuo9as] {
        padding-right: 4px;
    }

    .categories-container[b-kcbiyuo9as] {
        max-height: 145px;
        /* Fits ~3 lines; 4th line will trigger overflow */
        overflow-y: auto !important;
    }

    /* Show scroll buttons on mobile when needed */
    .categories-bar.has-v-overflow .categories-v-scroll[b-kcbiyuo9as] {
        display: flex !important;
    }

    #categories-panel-id[b-kcbiyuo9as] {
        height: auto !important;
        min-height: auto !important;
        overflow: hidden !important;
    }

    .vertical-resize-handle[b-kcbiyuo9as] {
        display: none !important;
    }
}

@media (max-width: 575px) {
    .btn-scroll[b-kcbiyuo9as] {
        width: 28px;
        height: 28px;
    }
}

.btn-scroll:hover[b-kcbiyuo9as] {
    background: #1a56db;
    color: white;
    border-color: #1a56db;
}

/* Vertical Scroll for Categories */
.categories-v-scroll[b-kcbiyuo9as] {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
    padding: 4px 6px 4px 0;
    z-index: 1005 !important;
    position: relative;
}

.categories-bar.has-v-overflow .categories-v-scroll[b-kcbiyuo9as] {
    display: flex !important;
}

.btn-v-scroll[b-kcbiyuo9as] {
    background: #e8f0fb;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    width: 33px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a56db;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 1005 !important;
    position: relative;
}

.btn-v-scroll:hover[b-kcbiyuo9as] {
    background: #f1f5f9;
    color: #1a56db;
    border-color: #cbd5e1;
}

.dark-theme .btn-v-scroll[b-kcbiyuo9as] {
    background: #1f2937;
    border-color: #374151;
    color: #3b82f6;
}

.dark-theme .btn-v-scroll:hover[b-kcbiyuo9as] {
    background: #374151;
}

.cat-pill[b-kcbiyuo9as] {
    display: none !important;
    /* Replaced by plu-group-btn */
}

.plu-group-btn[b-kcbiyuo9as] {
    min-height: 52px;
    height: auto;
    padding: 6px 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
    overflow: visible;
    transition: all 0.2s ease;
    flex-shrink: 0;
    text-align: left;
}

.plu-group-btn .group-name[b-kcbiyuo9as] {
    display: inline-block;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
    overflow: visible;
}

.plu-group-btn:hover[b-kcbiyuo9as] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.plu-group-btn.active[b-kcbiyuo9as] {
    background: #1a56db !important;
    color: #ffffff !important;
    border-color: #1a56db;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.2);
}

.plu-group-btn .group-img[b-kcbiyuo9as] {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.plu-group-btn .accent-line[b-kcbiyuo9as] {
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: transparent;
    border-radius: 3px 3px 0 0;
}

.plu-group-btn.active .accent-line[b-kcbiyuo9as] {
    background: rgba(255, 255, 255, 0.7);
}

.dark-theme .plu-group-btn[b-kcbiyuo9as] {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

.dark-theme .plu-group-btn.active[b-kcbiyuo9as] {
    background: #2563eb !important;
    color: #ffffff !important;
}

.products-container .search-and-actions[b-kcbiyuo9as] {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--pos-bg);
    padding: 0 0 12px;
    margin: 0 !important;
    border-bottom: 1px solid var(--pos-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.search-and-actions[b-kcbiyuo9as] {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.search-box-modern[b-kcbiyuo9as] {
    flex: 1;
    background: var(--pos-bg);
    border: 1px solid var(--pos-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
}

.search-box-modern i[b-kcbiyuo9as] {
    color: #4b5563;
    font-size: 0.9rem;
}

.search-box-modern input[b-kcbiyuo9as] {
    border: none;
    background: transparent;
    margin-left: 0.6rem;
    width: 100%;
    font-size: 0.85rem;
    color: var(--pos-text);
}

.search-box-modern input:focus[b-kcbiyuo9as] {
    outline: none;
}

.search-clear-btn[b-kcbiyuo9as] {
    background: transparent;
    border: none;
    color: var(--pos-text-muted);
    padding: 0 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s;
}

.search-clear-btn:hover[b-kcbiyuo9as] {
    color: #ef4444;
}

.search-clear-btn i[b-kcbiyuo9as] {
    font-size: 1.2rem;
}

.btn-held-trigger[b-kcbiyuo9as] {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fdba74;
    border-radius: 6px;
    padding: 0.5rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: pulseSubtle-b-kcbiyuo9as 2s infinite;
}

@keyframes pulseSubtle-b-kcbiyuo9as {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.2);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(251, 146, 60, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(251, 146, 60, 0);
    }
}

.btn-held-trigger:hover[b-kcbiyuo9as] {
    background: #ffedd5;
    border-color: #fb923c;
    transform: translateY(-1px);
}

.dark-theme .btn-held-trigger[b-kcbiyuo9as] {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
    border-color: rgba(251, 146, 60, 0.3);
}

.dark-theme .btn-held-trigger:hover[b-kcbiyuo9as] {
    background: rgba(251, 146, 60, 0.2);
    border-color: #fb923c;
}

.multiplier-group[b-kcbiyuo9as] {
    display: flex;
    gap: 0.3rem;
}

.btn-mult[b-kcbiyuo9as] {
    background: var(--pos-pill-bg);
    border: 1px solid var(--pos-border);
    border-radius: 6px;
    padding: 0.5rem 0;
    font-size: 0.8rem;
    width: 40px;
    font-weight: 700;
    color: var(--pos-text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-mult:hover[b-kcbiyuo9as] {
    border-color: #3b82f6;
    color: #3b82f6;
}

.btn-mult.active[b-kcbiyuo9as] {
    background: #1a56db;
    color: white;
    border-color: #1a56db;
}

.btn-mult:disabled[b-kcbiyuo9as] {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--pos-bg) !important;
    color: var(--pos-text-deep-muted) !important;
    border-color: var(--pos-border) !important;
}

.btn-scan[b-kcbiyuo9as] {
    background: var(--pos-pill-bg);
    border: 1px solid var(--pos-border);
    border-radius: 6px;
    width: 40px;
    font-size: 1.1rem;
    color: var(--pos-text-muted);
}

.multiplier-alert[b-kcbiyuo9as] {
    margin-top: 0.75rem;
    background: rgba(26, 86, 219, 0.1);
    border: 1px solid rgba(26, 86, 219, 0.2);
    color: #60a5fa;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 30;
}

.products-container[b-kcbiyuo9as] {
    margin-top: 1rem;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    position: relative;
    z-index: 10;
}


.products-grid-fixed[b-kcbiyuo9as] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
    padding: 0.5rem 0.5rem;
}

.product-card-modern[b-kcbiyuo9as] {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 110px;
    padding-bottom: 4px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.p-info[b-kcbiyuo9as] {
    padding: 0.5rem;
    margin-top: auto;
    /* Pushes to bottom */
}

.dark-theme .product-card-modern[b-kcbiyuo9as] {
    background: #1a1d2d;
    border-color: #434343;
}

.product-card-modern:hover[b-kcbiyuo9as] {
    border-color: #3b82f6;
}

.btn-pin-overlay[b-kcbiyuo9as] {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 5;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(59, 130, 246, 0.85);
    color: white;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
}

.product-card-modern:hover .btn-pin-overlay[b-kcbiyuo9as] {
    opacity: 1;
    transform: scale(1);
}

.btn-pin-overlay:hover[b-kcbiyuo9as] {
    background: #1a56db;
    transform: scale(1.15) !important;
}

.p-img[b-kcbiyuo9as] {
    height: 60px;
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.p-img img[b-kcbiyuo9as] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.p-info[b-kcbiyuo9as] {
    padding: 0.5rem;
    margin-top: auto;
}

.p-name[b-kcbiyuo9as] {
    font-weight: 700;
    font-size: 0.72rem;
    line-height: 1.2;
    margin-bottom: 0.2rem;
    color: var(--pos-text);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: block;
    overflow: visible;
}

.p-price[b-kcbiyuo9as] {
    color: #3b82f6;
    font-weight: 800;
    font-size: 0.65rem;
}

/* Modern Pinned Items Bar */
.pinned-items-bar-modern[b-kcbiyuo9as] {
    background: #F1F5F9;
    padding: 2px;
    border-radius: 4px;
    min-height: 40px;
    overflow: auto;
}

/* Resizable Header Panel */
#categories-panel-id[b-kcbiyuo9as] {
    overflow: hidden;
    min-height: 50px;
    height: auto;
    position: relative;
    z-index: 50;
    background: var(--pos-bg);
}

.dark-theme .pinned-items-bar-modern[b-kcbiyuo9as] {
    background: #141b27;
}

.pinned-label-modern[b-kcbiyuo9as] {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--pos-text-deep-muted);
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.pinned-label-modern i[b-kcbiyuo9as] {
    font-size: 0.85rem;
}

.pinned-chips-container[b-kcbiyuo9as] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.pinned-grid-cell[b-kcbiyuo9as] {
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    border: 1px solid var(--pos-border);
    background: var(--pos-card-bg);
    color: var(--pos-text);
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    container-type: inline-size;
}

.pinned-grid-cell:hover[b-kcbiyuo9as] {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    filter: brightness(1.05);
}

.pinned-grid-cell:active[b-kcbiyuo9as] {
    transform: scale(0.97) translateY(0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Fallback default colors for cells if not customized */
.pinned-grid-cell.dept-cell[b-kcbiyuo9as] {}

.pinned-grid-cell.plu-cell[b-kcbiyuo9as] {}

.dark-theme .pinned-grid-cell[b-kcbiyuo9as] {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pinned-chip[b-kcbiyuo9as] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.6rem;
    background: var(--pos-card-bg);
    border: 1px solid var(--pos-border);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--pos-text);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pinned-chip:hover[b-kcbiyuo9as] {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Color Themes for Pinned Chips */
.pinned-chip.paper[b-kcbiyuo9as] {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.pinned-chip.promo[b-kcbiyuo9as] {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #fecaca;
}

.pinned-chip.extra[b-kcbiyuo9as] {
    background: #ffedd5;
    color: #9a3412;
    border-color: #fed7aa;
}

.pinned-chip.loyalty[b-kcbiyuo9as] {
    background: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}

.pinned-chip.sugar[b-kcbiyuo9as] {
    background: #fce7f3;
    color: #9d174d;
    border-color: #fbcfe8;
}

.pinned-chip.plastic[b-kcbiyuo9as] {
    background: #f3f4f6;
    color: #374151;
    border-color: #e5e7eb;
}

.pinned-chip.gift[b-kcbiyuo9as] {
    background: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

.pinned-chip.custom[b-kcbiyuo9as] {
    background: #ede9fe;
    color: #5b21b6;
    border-color: #ddd6fe;
}

.pinned-chip.oat[b-kcbiyuo9as] {
    background: #ecfdf5;
    color: #065f46;
    border-color: #d1fae5;
}

.pinned-chip.cream[b-kcbiyuo9as] {
    background: #fff7ed;
    color: #9a3412;
    border-color: #ffedd5;
}

.pinned-chip.ice[b-kcbiyuo9as] {
    background: #e0f2fe;
    color: #075985;
    border-color: #bae6fd;
}

/* Dark Theme Overrides for Pinned Chips */
.dark-theme .pinned-chip.paper[b-kcbiyuo9as] {
    background: rgba(254, 243, 199, 0.1);
    color: #fde68a;
    border-color: rgba(253, 230, 138, 0.2);
}

.dark-theme .pinned-chip.promo[b-kcbiyuo9as] {
    background: rgba(254, 226, 226, 0.1);
    color: #fecaca;
    border-color: rgba(254, 202, 202, 0.2);
}

.dark-theme .pinned-chip.extra[b-kcbiyuo9as] {
    background: rgba(255, 237, 213, 0.1);
    color: #fed7aa;
    border-color: rgba(254, 215, 170, 0.2);
}

.dark-theme .pinned-chip.loyalty[b-kcbiyuo9as] {
    background: rgba(219, 234, 254, 0.1);
    color: #bfdbfe;
    border-color: rgba(191, 219, 254, 0.2);
}

.dark-theme .pinned-chip.sugar[b-kcbiyuo9as] {
    background: rgba(252, 231, 243, 0.1);
    color: #fbcfe8;
    border-color: rgba(251, 207, 232, 0.2);
}

.dark-theme .pinned-chip.plastic[b-kcbiyuo9as] {
    background: rgba(243, 244, 246, 0.1);
    color: #e5e7eb;
    border-color: rgba(229, 231, 235, 0.2);
}

.dark-theme .pinned-chip.gift[b-kcbiyuo9as] {
    background: rgba(209, 250, 229, 0.1);
    color: #a7f3d0;
    border-color: rgba(167, 243, 208, 0.2);
}

.dark-theme .pinned-chip.custom[b-kcbiyuo9as] {
    background: rgba(237, 233, 254, 0.1);
    color: #ddd6fe;
    border-color: rgba(221, 214, 254, 0.2);
}

.dark-theme .pinned-chip.oat[b-kcbiyuo9as] {
    background: rgba(236, 253, 245, 0.1);
    color: #d1fae5;
    border-color: rgba(209, 250, 229, 0.2);
}

.dark-theme .pinned-chip.cream[b-kcbiyuo9as] {
    background: rgba(255, 247, 237, 0.1);
    color: #ffedd5;
    border-color: rgba(255, 237, 213, 0.2);
}

.dark-theme .pinned-chip.ice[b-kcbiyuo9as] {
    background: rgba(224, 242, 254, 0.1);
    color: #bae6fd;
    border-color: rgba(186, 230, 253, 0.2);
}

.pinned-chip i[b-kcbiyuo9as] {
    font-size: 1rem;
    opacity: 0.9;
}

.unpin-chip-btn[b-kcbiyuo9as] {
    margin-left: 0.6rem;
    opacity: 0.3;
    transition: opacity 0.2s;
    font-size: 1.1rem;
}

.pinned-chip:hover .unpin-chip-btn[b-kcbiyuo9as] {
    opacity: 1;
}


.dpt-badge[b-kcbiyuo9as] {
    background: #1a56db;
    color: white;
    font-size: 0.6rem;
    padding: 1px 4px;
    border-radius: 4px;
    font-weight: 800;
    margin-right: 4px;
}

.order-section[b-kcbiyuo9as],
.products-section[b-kcbiyuo9as] {
    display: flex;
    flex-direction: column;
    background: var(--pos-panel-bg);
    border: 1px solid var(--pos-border);
    border-radius: 12px;
    height: 100%;
    /* Keep fixed height so list growth doesn't push footer out */
    overflow: hidden;
}

.order-main-content[b-kcbiyuo9as] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    /* Allow it to shrink to 0 so footer is never pushed out */
}

.order-header-modern[b-kcbiyuo9as] {
    padding: 0.85rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--pos-border);
}

.title-group-modern[b-kcbiyuo9as] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-icon-pos[b-kcbiyuo9as] {
    font-size: 1.4rem;
    color: #1a56db;
}

.order-header-modern .title[b-kcbiyuo9as] {
    font-weight: 800;
    font-size: 1.1rem;
    color: #1e293b;
}

.dark-theme .order-header-modern .title[b-kcbiyuo9as] {
    color: white;
}

.btn-clear-alt[b-kcbiyuo9as] {
    background: transparent;
    color: #f87171;
    border: none;
    font-size: 0.85rem;
    font-weight: 800;
}

.order-items-scroll[b-kcbiyuo9as] {
    /*    display: flex;*/
    padding: 0.75rem;
    flex: 1;
    overflow-y: auto !important;
}



.order-row[b-kcbiyuo9as] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 16px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.dark-theme .order-row[b-kcbiyuo9as] {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.05);
}

.order-row.selected[b-kcbiyuo9as] {
    border-color: #3b82f6;
    background: #f0f7ff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.dark-theme .order-row.selected[b-kcbiyuo9as] {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.order-row-left[b-kcbiyuo9as] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.order-row-right[b-kcbiyuo9as] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.btn-remove[b-kcbiyuo9as] {
    background: #FFEFEF;
    border: none;
    color: #ef4444;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-remove:hover[b-kcbiyuo9as] {
    background: #fee2e2;
    transform: scale(1.05);
}

.item-meta[b-kcbiyuo9as] {
    flex: 1;
    min-width: 0;
}

.item-meta .name[b-kcbiyuo9as] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dark-theme .item-meta .name[b-kcbiyuo9as] {
    color: white;
}

.item-meta .sub[b-kcbiyuo9as] {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

.qty-control[b-kcbiyuo9as] {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 100px;
    padding: 2px;
}

.dark-theme .qty-control[b-kcbiyuo9as] {
    background: #141a2e;
}

.qty-control button[b-kcbiyuo9as] {
    background: transparent;
    border: none;
    width: 28px;
    height: 28px;
    font-weight: 800;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.qty-control .qty-val-btn[b-kcbiyuo9as] {
    height: 32px;
    font-weight: 800;
    font-size: 1rem;
    color: #1a56db;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.dark-theme .qty-control .qty-val-btn[b-kcbiyuo9as] {
    color: #3b82f6;
}

.qty-control .qty-val-btn:hover[b-kcbiyuo9as] {
    background: #f1f5f9;
    border-color: #3b82f6;
}


.qty-control .val[b-kcbiyuo9as] {
    font-size: 0.85rem;
    font-weight: 800;
    width: 24px;
    text-align: center;
    color: #1e293b;
}

.dark-theme .qty-control .val[b-kcbiyuo9as] {
    color: white;
}

.order-row .price[b-kcbiyuo9as] {
    font-weight: 800;
    font-size: 1rem;
    color: #1e293b;
}

.dark-theme .order-row .price[b-kcbiyuo9as] {
    color: white;
}

.empty-state-modern[b-kcbiyuo9as],
.empty-keypad-state-modern[b-kcbiyuo9as] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: #4b5563;
    opacity: 0.5;
    text-align: center;
}

.empty-state-modern[b-kcbiyuo9as] {
    height: 284px;
}

.empty-icon-container[b-kcbiyuo9as] {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.dark-theme .empty-icon-container[b-kcbiyuo9as],
.dark-theme .empty-state-modern p[b-kcbiyuo9as] {
    color: #ffffff;
}

.empty-icon-container i[b-kcbiyuo9as] {
    font-size: 2rem;
}

.empty-state-modern p[b-kcbiyuo9as],
.empty-keypad-state-modern p[b-kcbiyuo9as] {
    font-weight: 700;
    font-size: 0.95rem;
    max-width: 150px;
}

/* Legacy handle block removed - using unified vertical-resize-handle */
/* Order Footer - Compacted for space */
.order-summary-footer[b-kcbiyuo9as] {
    padding: 0.5rem 1rem 1rem 1rem;
    background: var(--pos-footer-bg);
    border-top: 1px solid var(--pos-item-border);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Use margin-top: auto on first child instead */
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}

/* Push content to bottom but allow scrolling to top if it overflows */
.order-summary-footer>*:not(.order-footer-resize-handle):first-of-type[b-kcbiyuo9as] {
    margin-top: auto;
}

.order-summary-footer[b-kcbiyuo9as]::-webkit-scrollbar {
    width: 6px;
}

.order-summary-footer[b-kcbiyuo9as]::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.3);
    /* Use brand blue for visibility */
    border-radius: 10px;
}

.dark-theme .order-summary-footer[b-kcbiyuo9as]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
}

.total-due-label-pos[b-kcbiyuo9as] {
    color: #1e293b !important;
}

.dark-theme .total-due-label-pos[b-kcbiyuo9as] {
    color: #f8fafc !important;
}

.discount-section-modern[b-kcbiyuo9as] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    align-items: center;
}

.discount-input-group[b-kcbiyuo9as] {
    flex: 1;
    min-width: 0;
    background: var(--pos-bg);
    border: 1px solid var(--pos-item-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
}

.discount-input-group i[b-kcbiyuo9as] {
    color: var(--pos-text-deep-muted);
    font-size: 0.75rem;
}

.discount-input-group input[b-kcbiyuo9as] {
    border: none;
    background: transparent;
    font-size: 0.75rem;
    width: 100%;
    color: var(--pos-text);
    padding-left: 0.4rem;
}

.btn-apply-promo[b-kcbiyuo9as] {
    background: #1a56db;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.price-details .d-row[b-kcbiyuo9as] {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--pos-text-deep-muted);
    margin-bottom: 0.3rem;
}

.price-details .d-row.discount[b-kcbiyuo9as] {
    color: #10b981;
}

.total-amount-row[b-kcbiyuo9as] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--pos-border);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

.total-label[b-kcbiyuo9as] {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--pos-text);
}

.total-val[b-kcbiyuo9as] {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--pos-text);
}

.savings-note-modern[b-kcbiyuo9as] {
    font-size: 0.7rem;
    color: #3b82f6;
    font-weight: 700;
    margin-top: 0.3rem;
}

.order-actions-modern[b-kcbiyuo9as] {
    display: flex;
    gap: 0.5rem;
    flex-direction: row;
    margin-top: 0.75rem;
    padding-bottom: 5px;
    /* Increased padding to ensure it's NEVER cut by the widget edge */
}

@media (max-width: 575px) {
    .order-actions-modern[b-kcbiyuo9as] {
        flex-direction: column;
        padding-bottom: 10px;
    }
}

.order-actions-modern button[b-kcbiyuo9as] {
    flex: 1;
}

.btn-hold-modern[b-kcbiyuo9as] {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #94a3b8;
    height: 44px;
    padding: 0.6rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: not-allowed;
    opacity: 0.5;
}

.btn-hold-modern:not(:disabled)[b-kcbiyuo9as] {
    border-color: #3b82f6;
    color: #3b82f6;
    cursor: pointer;
    opacity: 1;
}

.btn-hold-modern:not(:disabled):hover[b-kcbiyuo9as] {
    background: rgba(59, 130, 246, 0.08);
    border-color: #1d4ed8;
    color: #1d4ed8;
}

.dark-theme .btn-hold-modern:not(:disabled)[b-kcbiyuo9as] {
    color: #60a5fa;
    border-color: #3b82f6;
}

.btn-pay-modern[b-kcbiyuo9as] {
    height: 44px;
    background: #1a56db;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
    transition: all 0.2s ease;
}

.btn-pay-modern:disabled[b-kcbiyuo9as] {
    background: #e2e8f0;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.7;
}

.dark-theme .btn-pay-modern:disabled[b-kcbiyuo9as] {
    background: #1e293b;
    color: #475569;
}

/* Keypad Section */
.keypad-section[b-kcbiyuo9as] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--pos-panel-bg);
    border: 1px solid var(--pos-border);
    border-radius: 12px;
    padding: 1rem;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.keypad-header[b-kcbiyuo9as] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--pos-border);
}

.keypad-header .title[b-kcbiyuo9as] {
    font-weight: 800;
    font-size: 1.1rem;
    color: #1e293b;
}

.dark-theme .keypad-header .title[b-kcbiyuo9as] {
    color: white;
}

.keypad-subtitle[b-kcbiyuo9as] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #3b82f6;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

/* DPT Side-Panel Inputs */
.dpt-side-inputs[b-kcbiyuo9as] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: var(--pos-bg);
    border-radius: 10px;
    border: 1px solid var(--pos-border);
    position: relative;
}

.dpt-clear-btn[b-kcbiyuo9as] {
    align-self: flex-end;
    margin-bottom: 0.25rem;
    flex-shrink: 0;
}

.dpt-side-row[b-kcbiyuo9as] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    border: 2px solid transparent;
    background: var(--pos-panel-bg);
    cursor: pointer;
    transition: all 0.2s;
}

.dpt-side-row.active[b-kcbiyuo9as] {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.dpt-side-label[b-kcbiyuo9as] {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--pos-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dpt-side-value[b-kcbiyuo9as] {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--pos-text);
    font-family: 'Inter', sans-serif;
}

.dpt-side-row.active .dpt-side-value[b-kcbiyuo9as] {
    color: #3b82f6;
}


.btn-close-keypad[b-kcbiyuo9as] {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.btn-close-keypad:hover[b-kcbiyuo9as] {
    color: #f87171;
}

.keypad-display-modern[b-kcbiyuo9as] {
    background: #f8fafc;
    border-radius: 8px;
    padding: 0.4rem 0.75rem;
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    margin-bottom: 0.75rem;
    min-height: 50px;
}

.dark-theme .keypad-display-modern[b-kcbiyuo9as] {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-delete-pink[b-kcbiyuo9as] {
    background: #fff1f2;
    border: none;
    color: #f43f5e;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin-right: 0.75rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-delete-pink:hover[b-kcbiyuo9as] {
    background: #ffe4e6;
    transform: scale(1.05);
}

.keypad-display-modern .keypad-val[b-kcbiyuo9as] {
    flex: 1;
    text-align: right;
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    font-family: 'Inter', sans-serif;
}

.dark-theme .keypad-display-modern .keypad-val[b-kcbiyuo9as] {
    color: white;
}

.keypad-grid-modern[b-kcbiyuo9as] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.key-btn[b-kcbiyuo9as] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    height: 54px;
    border-radius: 10px;
    padding: 1rem 0.5rem;
    font-weight: 800;
    font-size: 1.2rem;
    color: #334155;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dark-theme .key-btn[b-kcbiyuo9as] {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}

.key-btn:hover[b-kcbiyuo9as] {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.dark-theme .key-btn:hover[b-kcbiyuo9as] {
    background: #334155;
}

.key-btn:active[b-kcbiyuo9as] {
    transform: translateY(1px);
    background: #e2e8f0;
}

.keypad-footer-actions[b-kcbiyuo9as] {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: row;    
    gap: 0.5rem;
}

.btn-confirm-modern[b-kcbiyuo9as] {
    background: #1e40af;
    color: white;
    border: none;
    width: 100%;
    height: 48px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: capitalize;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.btn-confirm-modern:hover[b-kcbiyuo9as] {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

.btn-confirm-modern:active[b-kcbiyuo9as] {
    transform: translateY(1px);
}

.btn-cancel-modern[b-kcbiyuo9as] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    width: 100%;
    height: 48px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: capitalize;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cancel-modern:hover[b-kcbiyuo9as] {
    background: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-cancel-modern:active[b-kcbiyuo9as] {
    transform: translateY(1px);
}

.dark-theme .btn-cancel-modern[b-kcbiyuo9as] {
    background: #334155;
    color: #f8fafc;
    border-color: #475569;
}

.dark-theme .btn-cancel-modern:hover[b-kcbiyuo9as] {
    background: #475569;
}

.btn-close-multiplier-alert[b-kcbiyuo9as] {
    background: transparent;
    border: none;
    padding: 8px 16px;
    font-size: 1.3rem;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, transform 0.2s;
    line-height: 1;
    margin-right: -16px;
    border-radius: 0 8px 8px 0;
}

.btn-close-multiplier-alert:hover[b-kcbiyuo9as] {
    background: rgba(255, 255, 255, 0.15);
}

.btn-close-multiplier-alert:active[b-kcbiyuo9as] {
    background: rgba(255, 255, 255, 0.25);
}


.app-status-bar[b-kcbiyuo9as] {
    height: 40px;
    padding: 0 1.5rem;
    background: var(--pos-footer-bg);
    border-top: 1px solid var(--pos-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.small-dot[b-kcbiyuo9as] {
    font-size: 0.5rem;
    vertical-align: middle;
    margin-right: 0.2rem;
}

/* Payment & Overlays Positioning */
.overlay-container[b-kcbiyuo9as] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(12, 15, 29, 0.7) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
}

.checkout-modal[b-kcbiyuo9as] {
    background: #ffffff !important;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    padding: 1.6rem 2rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);
    text-align: center;
    position: relative;
    animation: modalScale-b-kcbiyuo9as 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000 !important;
}

@keyframes modalScale-b-kcbiyuo9as {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.checkout-header[b-kcbiyuo9as] {
    margin-bottom: 1.5rem;
}

.checkout-label[b-kcbiyuo9as] {
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.checkout-title[b-kcbiyuo9as] {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0c0f1d;
}

.total-due-card[b-kcbiyuo9as] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.total-due-label[b-kcbiyuo9as] {
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 1px;
}

.total-due-val[b-kcbiyuo9as] {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0c0f1d;
    margin-top: 0.25rem;
    line-height: 1;
}

.payment-options-grid[b-kcbiyuo9as] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.payment-option-btn[b-kcbiyuo9as] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-option-btn:hover[b-kcbiyuo9as] {
    border-color: #3b82f6;
    background: #f8fafc;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.payment-option-icon[b-kcbiyuo9as] {
    font-size: 2.5rem;
    line-height: 1;
}

.cash .payment-option-icon[b-kcbiyuo9as] {
    color: #10b981;
}

.card .payment-option-icon[b-kcbiyuo9as] {
    color: #2563eb;
}

.payment-option-text[b-kcbiyuo9as] {
    font-size: 0.85rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: 0.5px;
}

.checkout-footer[b-kcbiyuo9as] {
    margin-top: 2.5rem;
}

.btn-back-link[b-kcbiyuo9as] {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto;
    transition: color 0.2s;
}

.btn-back-link:hover[b-kcbiyuo9as] {
    color: #1e293b;
}

/* High-Fidelity Full Page Card Details Overlay */
.full-page-overlay[b-kcbiyuo9as] {
    position: fixed;
    top: 65px;
    /* Adjust to stay below main header */
    left: 0;
    right: 0;
    bottom: 40px;
    /* Adjust to stay above footer */
    background: #f8fafc;
    /* Very light slate background, almost white */
    z-index: 9950;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 3.5rem;
    overflow-y: auto;
}

.dark-theme .full-page-overlay[b-kcbiyuo9as] {
    background: #0f172a;
}

.checkout-page-content[b-kcbiyuo9as] {
    width: 100%;
    height: 100%;
    overflow: auto;
    max-width: 900px;
    padding: 16px 20px !important;
    text-align: left;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.form-breadcrumb[b-kcbiyuo9as] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.5rem;
}

/* --- Delete Confirmation Modal --- */
.delete-confirm-modal[b-kcbiyuo9as] {
    width: 100% !important;
    max-width: 450px !important;
    height: auto !important;
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem !important;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.delete-confirm-modal.dark-theme[b-kcbiyuo9as] {
    background: #1e293b !important;
    color: #f8fafc;
    border: 1px solid #434343;
}

.delete-confirm-modal.light-theme[b-kcbiyuo9as] {
    background: #ffffff !important;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

.form-breadcrumb b[b-kcbiyuo9as] {
    color: #1e40af;
}

.dark-theme .form-breadcrumb b[b-kcbiyuo9as] {
    color: #3b82f6;
}

.form-title[b-kcbiyuo9as] {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0c0f1d;
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
}

.dark-theme .form-title[b-kcbiyuo9as] {
    color: #f8fafc;
}

.form-subtitle[b-kcbiyuo9as] {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.form-card-container[b-kcbiyuo9as] {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.dark-theme .form-card-container[b-kcbiyuo9as] {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.form-control-pos[b-kcbiyuo9as] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1.15rem 1rem;
    border-radius: 8px;
    color: #1e293b;
    font-weight: 600;
    width: 100%;
    padding-left: 3rem;
    font-size: 1.05rem;
    transition: all 0.2s;
}

.dark-theme .form-control-pos[b-kcbiyuo9as] {
    background: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}

.form-control-pos:focus[b-kcbiyuo9as] {
    border-color: #1e40af;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

.dark-theme .form-control-pos:focus[b-kcbiyuo9as] {
    border-color: #3b82f6;
    background: #1e293b;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.input-with-icon[b-kcbiyuo9as] {
    position: relative;
}

.input-with-icon i[b-kcbiyuo9as] {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.25rem;
}

.field-label-alt[b-kcbiyuo9as] {
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: block;
    text-transform: uppercase;
}

.amount-due-footer-wide[b-kcbiyuo9as] {
    background: #e2e8f0;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    padding: 1.75rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dark-theme .amount-due-footer-wide[b-kcbiyuo9as] {
    background: #334155;
    border-color: #475569;
}

.total-due-label-wide[b-kcbiyuo9as] {
    font-size: 0.75rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.dark-theme .total-due-label-wide[b-kcbiyuo9as] {
    color: #94a3b8;
}

.total-due-val-wide[b-kcbiyuo9as] {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0c0f1d;
    letter-spacing: -1px;
}

.dark-theme .total-due-val-wide[b-kcbiyuo9as] {
    color: #f8fafc;
}

.card-icon-placeholder[b-kcbiyuo9as] {
    width: 38px;
    height: 24px;
    border-radius: 4px;
    display: inline-block;
}

.card-icon-placeholder.visa-placeholder[b-kcbiyuo9as] {
    background: #cbd5e1;
}

.card-icon-placeholder.mc-placeholder[b-kcbiyuo9as] {
    background: #94a3b8;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin-left: -5px;
}

.payment-actions-wide[b-kcbiyuo9as] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    padding-bottom: 3rem;
    /* Padding at bottom of scroll */
}

.btn-cancel-wide[b-kcbiyuo9as] {
    background: transparent;
    border: none;
    color: #64748b;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-cancel-wide:hover[b-kcbiyuo9as] {
    color: #1e293b;
}

.dark-theme .btn-cancel-wide:hover[b-kcbiyuo9as] {
    color: #f1f5f9;
}

.btn-complete-wide[b-kcbiyuo9as] {
    background: #1e40af;
    color: #ffffff;
    border: none;
    padding: 1.15rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-complete-wide:hover[b-kcbiyuo9as] {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.25);
}

/* --- NUMERIC KEYPAD 1 (DPT) --- */
.dpt-keypad-modal[b-kcbiyuo9as] {
    max-width: 380px !important;
    padding: 1.5rem !important;
}

.dpt-keypad-display-wrapper[b-kcbiyuo9as] {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.dark-theme .dpt-keypad-display-wrapper[b-kcbiyuo9as] {
    background: #0f172a;
    border-color: #334155;
}

.btn-clear-both[b-kcbiyuo9as] {
    background: #fff1f2;
    color: #f43f5e;
    border: none;
    border-radius: 8px;
    width: 45px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.dark-theme .btn-clear-both[b-kcbiyuo9as] {
    background: rgba(244, 63, 94, 0.1);
}

.dpt-inputs[b-kcbiyuo9as] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dpt-input-row[b-kcbiyuo9as] {
    background: #ffffff;
    border: 2px solid transparent;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 800;
    transition: all 0.2s;
    min-height: 50px;
}

.dark-theme .dpt-input-row[b-kcbiyuo9as] {
    background: #1e293b;
    color: white;
}

.dpt-input-row.active[b-kcbiyuo9as] {
    border-color: #3b82f6;
    background: #eff6ff;
}

.dark-theme .dpt-input-row.active[b-kcbiyuo9as] {
    border-color: #3b82f6;
    background: #1e3a8a;
}

.dpt-input-row .label[b-kcbiyuo9as] {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
}

.dark-theme .dpt-input-row .label[b-kcbiyuo9as] {
    color: #94a3b8;
}

/* --- MODERN PAYMENT MODAL (FIGMA) --- */
.overlay-wrapper[b-kcbiyuo9as] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.f-modal-container[b-kcbiyuo9as] {
    width: 900px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    max-height: 98%;
}

.f-modal-header[b-kcbiyuo9as] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #E2E8F0;
}

.f-modal-title[b-kcbiyuo9as] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.f-close-btn[b-kcbiyuo9as] {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: #64748b;
    cursor: pointer;
}

.f-modal-body[b-kcbiyuo9as] {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 400px;
}

.f-col-left[b-kcbiyuo9as] {
    width: 300px;
    padding: 1.5rem;
    border-right: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
}

.f-col-center[b-kcbiyuo9as] {
    width: 250px;
    padding: 1.5rem;
    border-right: 1px solid #f1f5f9;
}

.f-col-right[b-kcbiyuo9as] {
    flex: 1;
    padding: 1.5rem;
}

.f-col-success[b-kcbiyuo9as] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 20px 16px;
    background: #ffffff;
}

/* Keypad Styles */
.kp-topbar[b-kcbiyuo9as] {
    height: 48px;
}

.kp-top-clear[b-kcbiyuo9as] {
    width: 48px;
    background: #fef2f2;
    color: #ef4444;
    border: none;
    border-radius: 6px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.kp-top-clear:hover[b-kcbiyuo9as] {
    background: #fee2e2;
    color: #dc2626;
    transform: translateY(-1px);
}

.kp-top-display[b-kcbiyuo9as] {
    flex: 1;
    background: #F1F5F9;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 1rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.kp-btn-grid[b-kcbiyuo9as] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.kp-btn[b-kcbiyuo9as] {
    height: 50px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.1s;
}

.kp-btn:active[b-kcbiyuo9as] {
    background: #f1f5f9;
    transform: scale(0.95);
}

.custom-backspace[b-kcbiyuo9as] {
    color: #1e3a8a;
    font-size: 1.2rem;
}

.kp-clear-all[b-kcbiyuo9as] {
    width: 100%;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #ef4444;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.8rem;
    border-radius: 6px;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.kp-clear-all:hover[b-kcbiyuo9as] {
    background: #fee2e2;
    color: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

/* Right Side Styles */
.f-adj-grid[b-kcbiyuo9as] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.f-adj-btn[b-kcbiyuo9as] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.f-methods-divider[b-kcbiyuo9as] {
    text-align: center;
    position: relative;
}

.f-methods-divider[b-kcbiyuo9as]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #f1f5f9;
    z-index: 1;
}

.dark-theme .f-methods-divider[b-kcbiyuo9as]::before {
    background: #455565;
}

.f-methods-divider span[b-kcbiyuo9as] {
    background: #ffffff;
    padding: 0 10px;
    font-size: 0.6rem;
    font-weight: 700;
    color: #94a3b8;
    position: relative;
    z-index: 2;
}

.f-methods-row[b-kcbiyuo9as] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.f-method-btn[b-kcbiyuo9as] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 0.9rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.f-method-btn:hover[b-kcbiyuo9as],
.kp-btn:hover[b-kcbiyuo9as],
.f-adj-btn:hover[b-kcbiyuo9as] {
    background: #f1f5f9;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.dark-theme .f-method-btn:hover[b-kcbiyuo9as],
.dark-theme .kp-btn:hover[b-kcbiyuo9as],
.dark-theme .f-adj-btn:hover[b-kcbiyuo9as] {
    background: #334155;
    border-color: #3b82f6;
}

.f-method-btn:active[b-kcbiyuo9as],
.kp-btn:active[b-kcbiyuo9as],
.f-adj-btn:active[b-kcbiyuo9as] {
    transform: scale(0.96) translateY(1px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.f-method-cash[b-kcbiyuo9as] {
    width: 100%;
    background: #1d4ed8;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 1.2rem;
    font-size: 1rem;
    font-weight: 800;
    transition: all 0.2s;
}

.f-method-cash:hover[b-kcbiyuo9as] {
    background: #1e40af;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

/* Footer (Cancel Button) */
.f-modal-footer[b-kcbiyuo9as] {
    background: #f8fafc;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.btn-cancel[b-kcbiyuo9as] {
    background: #f1f5f9;
    border: none;
    color: #334155;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
}

/* Success Elements */
.success-check-circle[b-kcbiyuo9as] {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
    font-size: 2rem;
}

.success-check-circle-large[b-kcbiyuo9as] {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
    font-size: 2.5rem;
    margin: 0 auto;
}

.custom-new-tx-btn[b-kcbiyuo9as] {
    background: #1d4ed8 !important;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px !important;
    transition: all 0.2s;
}

.custom-new-tx-btn:hover[b-kcbiyuo9as] {
    background: #1e40af !important;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

/* ETF Loader Overlay */
.etf-processing-overlay[b-kcbiyuo9as] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

/* Dark Theme overrides for modal */
.dark-theme .f-modal-container[b-kcbiyuo9as] {
    background: #0f172a;
    border: 1px solid #1e293b;
}

.dark-theme .f-col-success[b-kcbiyuo9as],
.dark-theme .f-methods-divider span[b-kcbiyuo9as] {
    background: #0f172a;
}

.dark-theme .f-modal-header[b-kcbiyuo9as],
.dark-theme .f-col-left[b-kcbiyuo9as],
.dark-theme .f-col-center[b-kcbiyuo9as],
.dark-theme .f-methods-divider[b-kcbiyuo9as]::before {
    border-color: #1e293b;
}

.dark-theme .f-modal-title[b-kcbiyuo9as],
.dark-theme .text-dark[b-kcbiyuo9as],
.dark-theme .success-check-circle[b-kcbiyuo9as],
.dark-theme .f-method-btn[b-kcbiyuo9as],
.dark-theme .kp-btn[b-kcbiyuo9as],
.dark-theme .f-adj-btn[b-kcbiyuo9as] {
    color: #f8fafc !important;
}

.dark-theme .kp-btn[b-kcbiyuo9as],
.dark-theme .f-adj-btn[b-kcbiyuo9as],
.dark-theme .f-method-btn[b-kcbiyuo9as] {
    background: #1e293b;
    border-color: #334155;
}

.dark-theme .kp-top-display[b-kcbiyuo9as],
.dark-theme .kp-clear-all[b-kcbiyuo9as] {
    background: #1e293b;
    color: #f8fafc;
    border-color: #334155;
}

.dark-theme .f-modal-footer[b-kcbiyuo9as],
.dark-theme .btn-cancel[b-kcbiyuo9as] {
    background: #0f172a;
    color: white;
}

.dark-theme .btn-cancel[b-kcbiyuo9as] {
    background: #1e293b;
    color: #f8fafc;
}

.btn-cancel[b-kcbiyuo9as] {
    background: #f1f5f9;
    border: none;
    padding: 0.85rem;
    border-radius: 12px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    min-width: 100px;
}

.btn-cancel:hover[b-kcbiyuo9as] {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.bg-dark-theme[b-kcbiyuo9as] {
    background: transparent;
}

.dark-theme .applied-payments-wrapper span[b-kcbiyuo9as] {
    color: #979fa9;
}

.dark-theme .bottom-line[b-kcbiyuo9as] {
    border-color: rgb(30, 41, 59);
}

.dark-theme .f-modal-footer[b-kcbiyuo9as] {
    border-top: 1px solid #1e293b;
}

.dark-theme .kp-top-clear[b-kcbiyuo9as] {
    background: rgba(239, 68, 68, 0.1);
}

.dark-theme .etf-processing-overlay[b-kcbiyuo9as] {
    background: rgba(15, 23, 42, 0.8);
    color: white;
}

/* Modern Digital Receipt Styling */
.receipt-preview[b-kcbiyuo9as] {
    background: #ffffff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #1e293b !important;
    padding: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e2e8f0 !important;
    position: relative;
    max-height: 550px;
    margin: 1rem auto;
    width: 100%;
    overflow: auto;
}

.receipt-top-banner[b-kcbiyuo9as] {
    background: #1d4ed8;
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: white;
    position: relative;
    border-bottom: 4px solid #3b82f6;
}

/* Removed zigzag as it causes canvas creation errors in html2pdf */
.receipt-top-banner[b-kcbiyuo9as]::after {
    display: none;
}

.receipt-logo-circle[b-kcbiyuo9as] {
    width: 64px;
    height: 64px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: white;
    border: 2px solid #ffffff;
}

.receipt-brand-name[b-kcbiyuo9as] {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.receipt-status-pill[b-kcbiyuo9as] {
    display: inline-block;
    background: #10b981;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    margin-top: 0.75rem;
    text-transform: uppercase;
}

.receipt-body-modern[b-kcbiyuo9as] {
    padding: 2rem 1.75rem;
}

.receipt-info-row[b-kcbiyuo9as] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.receipt-info-value[b-kcbiyuo9as] {
    font-weight: 700;
    color: #1e293b;
}

.receipt-divider-glow[b-kcbiyuo9as] {
    height: 1px;
    background: #e2e8f0;
    margin: 1.5rem 0;
}

.receipt-items-list[b-kcbiyuo9as] {
    margin-bottom: 1.5rem;
}

.receipt-item-modern[b-kcbiyuo9as] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.item-main-info[b-kcbiyuo9as] {
    display: flex;
    flex-direction: column;
}

.item-name-bold[b-kcbiyuo9as] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
}

.item-qty-sub[b-kcbiyuo9as] {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 2px;
}

.item-total-price[b-kcbiyuo9as] {
    font-size: 1rem;
    font-weight: 700;
    color: #1d4ed8;
}

.receipt-summary-modern[b-kcbiyuo9as] {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.summary-line[b-kcbiyuo9as] {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #64748b;
}

.summary-total[b-kcbiyuo9as] {
    border-top: 1px dashed #cbd5e1;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    font-size: 1.4rem;
    font-weight: 900;
    color: #1e293b;
}

.receipt-footer-modern[b-kcbiyuo9as] {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #f1f5f9;
    font-size: 0.8rem;
    color: #94a3b8;
    border-top: 1px solid #e2e8f0;
}

.footer-thanks[b-kcbiyuo9as] {
    font-weight: 800;
    color: #475569;
    margin-bottom: 0.4rem;
    display: block;
    font-size: 0.9rem;
}

/* Print Overrides - Critical Fix for Download */
@media print {

    *[b-kcbiyuo9as],
    *[b-kcbiyuo9as]::before,
    *[b-kcbiyuo9as]::after {
        box-sizing: border-box !important;
    }

    body[b-kcbiyuo9as] {
        margin: 0;
        padding: 0;
        background: #ffffff !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body *[b-kcbiyuo9as] {
        visibility: hidden !important;
    }

    #receipt-content[b-kcbiyuo9as],
    #receipt-content *[b-kcbiyuo9as] {
        visibility: visible !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    #receipt-content[b-kcbiyuo9as] {
        position: relative !important;
        margin: 20px auto !important;
        width: 90% !important;
        /* Balanced narrow width to guarantee borders are not cut */
        max-width: 380px !important;
        height: auto !important;
        overflow: visible !important;
        border: none !important;
        box-shadow: none !important;
        padding: 20px !important;
        background: #ffffff !important;
        display: block !important;
    }

    .success-card-modern[b-kcbiyuo9as],
    .success-card-modern[b-kcbiyuo9as],
    .receipt-items-container[b-kcbiyuo9as],
    .bg-light.rounded-3[b-kcbiyuo9as],
    .border[b-kcbiyuo9as],
    .border-left[b-kcbiyuo9as],
    .border-right[b-kcbiyuo9as] {
        border: none !important;
        box-shadow: none !important;
    }

    .fw-bold.text-primary[b-kcbiyuo9as],
    .success-card-amount[b-kcbiyuo9as],
    .success-card-val[b-kcbiyuo9as] {
        margin-right: 5px !important;
    }

    .bg-light[b-kcbiyuo9as] {
        background: #f8fafc !important;
    }

    .success-actions-row[b-kcbiyuo9as],
    .btn-new-sale-action[b-kcbiyuo9as] {
        display: none !important;
    }
}

/* New Payment Successful View Styles */
.success-checkmark-modern[b-kcbiyuo9as] {
    width: 70px;
    height: 70px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    margin: 0 auto 1.5rem;
}

#receipt-content .success-card-modern[b-kcbiyuo9as] {
    padding: 0rem 1rem !important;
    margin: 0 !important;
}

.receipt-action-btn[b-kcbiyuo9as] {
    justify-content: flex-end;
    align-items: flex-end;
    border-top: 1px solid #E2E8F0;
    margin-top: 16px;
}

.receipt-action-btn button[b-kcbiyuo9as] {
    min-width: 200px !important;
    flex: unset !important;
    height: 50px !important;
}

.success-card-modern[b-kcbiyuo9as] {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    width: 100%;
}

.success-card-header[b-kcbiyuo9as] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.success-card-amount[b-kcbiyuo9as] {
    font-size: 1.8rem;
    font-weight: 900;
    color: #0f172a;
}

.success-card-divider[b-kcbiyuo9as] {
    height: 1px;
    background: #e2e8f0;
    margin: 1.25rem 0;
}

.success-card-row[b-kcbiyuo9as] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.success-card-row:last-child[b-kcbiyuo9as] {
    margin-bottom: 0;
}

.success-card-label[b-kcbiyuo9as] {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}

.success-card-val[b-kcbiyuo9as] {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.85rem;
}

/* Updated Success Buttons */
.success-actions-row[b-kcbiyuo9as] {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.btn-download-receipt[b-kcbiyuo9as] {
    background: #f1f5f9;
    color: #0f172a;
    border: none;
    border-radius: 10px;
    padding: 0.85rem;
    font-weight: 700;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-new-sale-action[b-kcbiyuo9as] {
    background: #1d4ed8;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.85rem;
    font-weight: 700;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.2);
}

.btn-download-receipt:hover[b-kcbiyuo9as] {
    background: #e2e8f0;
}

.btn-new-sale-action:hover[b-kcbiyuo9as] {
    background: #1e40af;
    transform: translateY(-1px);
}

.dark-theme .success-card-modern[b-kcbiyuo9as] {
    background: #1e293b;
}

.dark-theme .success-card-val[b-kcbiyuo9as],
.dark-theme .success-card-amount[b-kcbiyuo9as] {
    color: #f8fafc;
}

.dark-theme .success-card-divider[b-kcbiyuo9as] {
    background: #334155;
}

.dark-theme .btn-download-receipt[b-kcbiyuo9as] {
    background: #334155;
    color: #f8fafc;
}

/* New Transaction Complete View Styles */
.success-check-circle-large[b-kcbiyuo9as] {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
    font-size: 2rem;
    margin: 0 auto;
}

h2.fw-black[b-kcbiyuo9as] {
    font-weight: 600 !important;
    font-size: 18px !important;
}

.sm-text[b-kcbiyuo9as] {
    font-size: 14px !important;
}

/* Link Style - Modified to match the requested button design */
.receipt-details-link[b-kcbiyuo9as] {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.85rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.receipt-details-link:hover[b-kcbiyuo9as] {
    border-color: #1d4ed8;
    background: #f8fbff;
    transform: translateY(-1px);
}

.dark-theme .receipt-details-link[b-kcbiyuo9as] {
    background: #1e293b;
    border-color: #334155;
    color: #3b82f6;
}

/* Modern Faint Divider */
.receipt-faint-divider[b-kcbiyuo9as] {
    height: 1px;
    background-color: #e2e8f0;
    width: 100%;
    margin: 1.25rem 0;
    opacity: 0.8;
}

.dark-theme .receipt-faint-divider[b-kcbiyuo9as] {
    background-color: #334155;
}

/* Purchased Items Scroll Area */
.receipt-items-scroll-area[b-kcbiyuo9as] {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 12px;
}

/* Custom Thin Scrollbar for items list */
.receipt-items-scroll-area[b-kcbiyuo9as]::-webkit-scrollbar {
    width: 6px;
}

.receipt-items-scroll-area[b-kcbiyuo9as]::-webkit-scrollbar-track {
    background: transparent;
}

.receipt-items-scroll-area[b-kcbiyuo9as]::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.receipt-items-scroll-area[b-kcbiyuo9as]::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

.dark-theme .receipt-items-scroll-area[b-kcbiyuo9as]::-webkit-scrollbar-thumb {
    background: #334155;
}

/* Expand for Print/Download to show all items */
@media print {
    .receipt-items-scroll-area[b-kcbiyuo9as] {
        max-height: none !important;
        overflow: visible !important;
        padding-right: 0 !important;
    }
}

.border-bottom[b-kcbiyuo9as] {
    border-bottom: 1px solid grey;
    padding-bottom: 16px;
}

.succesfull-model .f-col-left[b-kcbiyuo9as] {
    width: 50% !important;
}

.bottom-line[b-kcbiyuo9as] {
    border-bottom: 1px solid #E2E8F0;
}

/* --- Added for Recall/Hold Feature --- */
.btn-recall-badge[b-kcbiyuo9as] {
    background: #1d4ed8;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(29, 78, 216, 0.3);
    transition: all 0.2s;
    animation: recall-pulse-b-kcbiyuo9as 2.5s infinite;
}

.btn-recall-badge:hover[b-kcbiyuo9as] {
    background: #1e40af;
    transform: translateY(-1px);
}

@keyframes recall-pulse-b-kcbiyuo9as {
    0% {
        box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(29, 78, 216, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(29, 78, 216, 0);
    }
}

/* --- Held Orders Modal Premium UI --- */
.btn-action-circle[b-kcbiyuo9as] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.btn-action-circle.recall[b-kcbiyuo9as] {
    color: #1a56db;
    background: #f0f7ff;
    border-color: #bfdbfe;
}

.btn-action-circle.delete[b-kcbiyuo9as] {
    color: #dc2626;
    background: #fff5f5;
    border-color: #fecaca;
}

.btn-action-circle:hover[b-kcbiyuo9as] {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.btn-action-circle.recall:hover[b-kcbiyuo9as] {
    background: #1a56db;
    color: white;
    border-color: #1a56db;
}

.btn-action-circle.delete:hover[b-kcbiyuo9as] {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}

.table> :not(:last-child)> :last-child>*[b-kcbiyuo9as] {
    border-bottom-color: #e2e8f0;
}

.table tr:last-child td[b-kcbiyuo9as] {
    border: none;
}

.table[b-kcbiyuo9as] {
    margin-bottom: 0px;
}

tbody tr:nth-child(even)[b-kcbiyuo9as] {
    background: #f0f4ff;
}

.heading-content-cs[b-kcbiyuo9as] {
    font-size: 14px;
    font-weight: 500;
    color: #1b2d3d;
    background: #cdd6ed;
}

.table-hover tbody tr:hover[b-kcbiyuo9as] {
    background-color: #f8fafc !important;
    transition: background 0.3s ease;
}

.dark-theme .btn-action-circle[b-kcbiyuo9as] {
    background: #1e293b;
    border-color: #334155;
    box-shadow: none;
}

.dark-theme .btn-action-circle.recall[b-kcbiyuo9as] {
    background: rgba(30, 64, 175, 0.15);
}

.dark-theme .btn-action-circle.delete[b-kcbiyuo9as] {
    background: rgba(220, 38, 38, 0.15);
}

.animate-pulse[b-kcbiyuo9as] {
    animation: pulse-op-b-kcbiyuo9as 1.8s infinite ease-in-out;
}

@keyframes pulse-op-b-kcbiyuo9as {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

.badge.bg-secondary[b-kcbiyuo9as] {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    background-color: #8598c5 !important;
}

.btn-close[b-kcbiyuo9as] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close i[b-kcbiyuo9as] {
    font-size: 16px;
}

.table-responsive[b-kcbiyuo9as] {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.receipt-preview-class.f-modal-container[b-kcbiyuo9as] {
    max-width: 640px;
    max-height: 96%;
}

/* --- Premium Receipt Modal Styles (Synced from Dashboard) --- */
.receipt-modal-container[b-kcbiyuo9as] {
    width: 100%;
    max-width: 600px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    animation: modal-slide-up-mod-b-kcbiyuo9as 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.receipt-preview-class .receipt-modal-body[b-kcbiyuo9as] {
    overflow: auto;
    height: calc(100vh - 321px);
}

.dark-theme .receipt-modal-container[b-kcbiyuo9as] {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.receipt-modal-header[b-kcbiyuo9as] {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f1f5f9;
}

.dark-theme .receipt-modal-header[b-kcbiyuo9as] {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.logo-square-pos[b-kcbiyuo9as] {
    width: 42px;
    height: 42px;
    background: #1a56db;
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(26, 86, 219, 0.2);
}

.status-success-badge[b-kcbiyuo9as] {
    width: 60px;
    height: 60px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
}

.receipt-data-card[b-kcbiyuo9as] {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 1.5rem;
    width: 100%;
}

.dark-theme .receipt-data-card[b-kcbiyuo9as] {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.data-row[b-kcbiyuo9as] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.data-row.header-data[b-kcbiyuo9as] {
    margin-bottom: 1.5rem;
}

.data-row .label[b-kcbiyuo9as] {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.data-row .val[b-kcbiyuo9as] {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.95rem;
}

.dark-theme .data-row .val[b-kcbiyuo9as] {
    color: #f8fafc;
}

.total-val[b-kcbiyuo9as] {
    font-size: 1.75rem !important;
    font-weight: 900 !important;
}

.data-divider[b-kcbiyuo9as] {
    height: 1px;
    background: #e2e8f0;
    margin: 1.25rem 0;
    border: none;
}

.order-items-scrollbox[b-kcbiyuo9as] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
}

.dark-theme .order-items-scrollbox[b-kcbiyuo9as] {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.05);
}

.items-header[b-kcbiyuo9as] {
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.item-entry-alt[b-kcbiyuo9as] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.item-entry-alt .name[b-kcbiyuo9as] {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.95rem;
}

.item-entry-alt .sub[b-kcbiyuo9as] {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 2px;
}

.item-entry-alt .item-price[b-kcbiyuo9as] {
    font-weight: 700;
    color: #1d4ed8;
    font-size: 1rem;
}

.dark-theme .item-entry-alt .name[b-kcbiyuo9as] {
    color: #f8fafc;
}

.dark-theme .item-entry-alt .item-price[b-kcbiyuo9as] {
    color: #3b82f6;
}

.items-summary-list[b-kcbiyuo9as] {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.items-list[b-kcbiyuo9as] {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 10px;
    margin-right: -10px;
}

.items-list[b-kcbiyuo9as]::-webkit-scrollbar {
    width: 6px;
}

.items-list[b-kcbiyuo9as]::-webkit-scrollbar-track {
    background: transparent;
}

.items-list[b-kcbiyuo9as]::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.dark-theme .items-list[b-kcbiyuo9as]::-webkit-scrollbar-thumb {
    background: #334155;
}

.receipt-modal-footer[b-kcbiyuo9as] {
    padding: 1.5rem 2rem;
    background: #f8fafc;
    display: flex;
    gap: 1rem;
    border-top: 1px solid #f1f5f9;
}

.dark-theme .receipt-modal-footer[b-kcbiyuo9as] {
    background: #141a2e;
    border-top-color: rgba(255, 255, 255, 0.05);
}

.items-summary-list .summary-line[b-kcbiyuo9as] {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 0.9rem;
    color: #64748b;
    background: #f8fafc;
    margin-bottom: 2px;
    border-radius: 4px;
}

.dark-theme .items-summary-list .summary-line[b-kcbiyuo9as] {
    background: rgba(255, 255, 255, 0.03);
}

.items-summary-list .summary-line.total-line[b-kcbiyuo9as] {
    background: transparent;
    padding: 1.5rem 0 0.5rem 0;
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 900;
    border-top: 1px solid #e2e8f0;
    margin-top: 1rem;
}

.items-summary-list .total-line span:last-child[b-kcbiyuo9as] {
    color: #1a56db;
}

.dark-theme .items-summary-list .summary-line.total-line[b-kcbiyuo9as] {
    color: #f8fafc;
    border-top-color: rgba(255, 255, 255, 0.08);
}

@keyframes modal-slide-up-mod-b-kcbiyuo9as {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.btn-modal-back[b-kcbiyuo9as] {
    flex: 1;
    background: #f1f5f9;
    border: none;
    padding: 0.85rem;
    border-radius: 12px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.dark-theme .btn-modal-back[b-kcbiyuo9as] {
    background: #1e293b;
    color: #f8fafc;
}

.btn-modal-download-receipt[b-kcbiyuo9as] {
    flex: 2;
    background: #1a56db;
    color: white;
    border: none;
    padding: 0.85rem;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.2);
    transition: all 0.2s;
}

@media(max-width: 575px) {

    .data-row[b-kcbiyuo9as],
    .item-entry-alt[b-kcbiyuo9as],
    .summary-line[b-kcbiyuo9as] {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .summary-line.total-line[b-kcbiyuo9as],
    .data-row.header-data[b-kcbiyuo9as] {
        flex-direction: row;
        gap: 4px;
        align-items: center;
        font-size: 1rem !important;
    }

    .receipt-content-wrap[b-kcbiyuo9as] {
        padding: 16px !important;
    }

    .receipt-text-wrap[b-kcbiyuo9as] {
        text-align: center;
    }

    .summary-line[b-kcbiyuo9as] {
        padding: 8px 0 !important;
    }
}

.no-print.border-top[b-kcbiyuo9as] {
    position: sticky;
    bottom: 0;
    background: #ffffff;
    justify-content: flex-end;
}

/* === RESPONSIVE STYLES === */
/* Tablets and Smaller Laptops */
@media (max-width: 1200px) {
    .pos-content-wrapper[b-kcbiyuo9as] {
        padding: 0.1rem 0.1rem;
    }

    .products-grid-fixed[b-kcbiyuo9as] {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.6rem;
    }

    .p-img[b-kcbiyuo9as] {
        height: 100px;
    }
}

/* Landscape Mobile and Tablets */
@media (max-width: 991px) {
    .sales-grid[b-kcbiyuo9as] {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
    }

    .grid-stack-item[b-kcbiyuo9as] {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        left: -6px !important;
        top: 0 !important;
        margin-bottom: 1rem !important;
        transform: none !important;
    }

    .grid-stack-item-content[b-kcbiyuo9as] {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        /* Let specific sections define their own minimums */
    }

    .order-section[b-kcbiyuo9as] {
        min-height: 500px;
    }

    .products-section[b-kcbiyuo9as] {
        min-height: 600px;
    }

    .pinned-items-bar-modern[b-kcbiyuo9as] {
        height: auto;
        min-height: 120px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .pos-sub-header[b-kcbiyuo9as] {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem;
        align-items: flex-start;
    }

    .search-and-actions[b-kcbiyuo9as] {
        flex-direction: column;
        align-items: stretch;
    }

    .multiplier-group[b-kcbiyuo9as] {
        justify-content: space-between;
        margin-top: 0.5rem;
    }

    .btn-mult[b-kcbiyuo9as] {
        flex: 1;
    }

    .products-grid-fixed[b-kcbiyuo9as] {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    .f-modal-body[b-kcbiyuo9as] {
        flex-direction: column !important;
        overflow-y: auto;
    }

    .f-col-left[b-kcbiyuo9as],
    .f-col-center[b-kcbiyuo9as],
    .f-col-right[b-kcbiyuo9as],
    .f-col-success[b-kcbiyuo9as] {
        width: 100% !important;
        border: none !important;
        padding: 1rem !important;
    }

    /* Mobile Keypad Overlay Logic - RESTORED */
    .keypad-mobile-backdrop[b-kcbiyuo9as] {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.4);
        backdrop-filter: blur(4px);
        z-index: 10000;
    }

    .keypad-section[b-kcbiyuo9as] {
        position: fixed !important;
        left: 50% !important;
        top: 2rem !important;
        transform: translateX(-50%) !important;
        width: 95% !important;
        max-width: 360px !important;
        height: auto !important;
        max-height: 92vh !important;
        z-index: 10005 !important;
        background: #ffffff !important;
        padding: 1.25rem !important;
        border-radius: 16px !important;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
    }

    .dark-theme .keypad-section[b-kcbiyuo9as] {
        background: #0f172a !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .grid-stack-item[gs-id="keypad-panel"][b-kcbiyuo9as] {
        transform: none !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 0 !important;
    }

    .key-btn[b-kcbiyuo9as] {
        height: 50px !important;
    }

    .btn-confirm-modern[b-kcbiyuo9as] {
        height: 54px !important;
        font-size: 1.1rem !important;
    }

    .checkout-page-content[b-kcbiyuo9as] {
        padding: 1.5rem !important;
        height: auto !important;
        max-height: 95vh !important;
    }

    .total-due-val-wide[b-kcbiyuo9as] {
        font-size: 1.5rem !important;
    }

    .success-actions-row[b-kcbiyuo9as] {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-download-receipt[b-kcbiyuo9as],
    .receipt-btn[b-kcbiyuo9as] {
        width: 100% !important;
    }
}

/* Small Mobile Portrait */
@media (max-width: 575px) {
    .order-actions-modern[b-kcbiyuo9as] {
        flex-direction: column;
    }

    .products-grid-fixed[b-kcbiyuo9as] {
        grid-template-columns: repeat(2, 1fr);
    }

    .p-img[b-kcbiyuo9as] {
        height: 90px;
    }

    .p-name[b-kcbiyuo9as] {
        font-size: 0.8rem;
    }

    .order-row[b-kcbiyuo9as] {
        padding: 0.75rem;
    }

    .qty-control[b-kcbiyuo9as] {
        scale: 0.9;
    }

    .kp-btn[b-kcbiyuo9as] {
        height: 60px;
        font-size: 1.4rem;
    }

    .f-modal-container[b-kcbiyuo9as] {
        width: 98% !important;
        margin: 1% !important;
    }

    .data-row[b-kcbiyuo9as],
    .item-entry-alt[b-kcbiyuo9as],
    .summary-line[b-kcbiyuo9as] {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .summary-line.total-line[b-kcbiyuo9as],
    .data-row.header-data[b-kcbiyuo9as] {
        flex-direction: row;
        gap: 4px;
        align-items: center;
        font-size: 1rem !important;
    }

    .receipt-modal-container[b-kcbiyuo9as] {
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }
}

/* ==============================================
   DARK THEME — All Sales Modals (CSS-only)
   Works via html.dark-theme ancestor selector
   ============================================== */
/* --- Held Orders Modal --- */
.dark-theme .checkout-page-content[b-kcbiyuo9as] {
    background-color: #161a2d !important;
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Modal header & footer bands */
.dark-theme .checkout-page-content .bg-light[b-kcbiyuo9as],
.dark-theme .checkout-page-content [class*="bg-light"][b-kcbiyuo9as] {
    background-color: #0c0f1d !important;
}

/* Border lines inside modal */
.dark-theme .checkout-page-content .border-bottom[b-kcbiyuo9as],
.dark-theme .checkout-page-content .border-top[b-kcbiyuo9as] {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Table header background */
.dark-theme .checkout-page-content .sticky-top.bg-white[b-kcbiyuo9as] {
    background-color: #0c0f1d !important;
}

/* Table rows */
.dark-theme .checkout-page-content .table[b-kcbiyuo9as] {
    color: #e2e8f0;
    --bs-table-border-color: rgba(255, 255, 255, 0.06);
}

.dark-theme .checkout-page-content .table thead tr[b-kcbiyuo9as] {
    color: #94a3b8;
}

/* Table text colors */
.dark-theme .checkout-page-content .text-muted[b-kcbiyuo9as] {
    color: #94a3b8 !important;
}

/* Badges in table */
.dark-theme .checkout-page-content .badge.bg-secondary[b-kcbiyuo9as] {
    background-color: #334155 !important;
}

/* Empty state icon circle */
.dark-theme .checkout-page-content .rounded-circle.bg-light[b-kcbiyuo9as] {
    background-color: #0c0f1d !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Empty state text */
.dark-theme .checkout-page-content .text-dark[b-kcbiyuo9as] {
    color: #f8fafc !important;
}

.dark-theme .checkout-page-content h2[b-kcbiyuo9as],
.dark-theme .checkout-page-content h4[b-kcbiyuo9as],
.dark-theme .checkout-page-content p[b-kcbiyuo9as] {
    color: #f8fafc;
}

/* Hover effect on table rows */
.dark-theme .checkout-page-content .table-hover tbody tr:hover[b-kcbiyuo9as] {
    background-color: rgba(59, 130, 246, 0.08);
}

/* --- Delete Confirm Modal --- */
.dark-theme .delete-confirm-modal[b-kcbiyuo9as] {
    background: #161a2d !important;
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.dark-theme .delete-confirm-modal h3[b-kcbiyuo9as],
.dark-theme .delete-confirm-modal p[b-kcbiyuo9as] {
    color: #f8fafc !important;
}

.dark-theme .delete-confirm-modal .text-muted[b-kcbiyuo9as] {
    color: #94a3b8 !important;
}

.dark-theme .delete-confirm-modal .bg-secondary[b-kcbiyuo9as] {
    background-color: #1e293b !important;
}

/* --- Card Details Modal --- */
.dark-theme .checkout-page-content.bg-dark[b-kcbiyuo9as],
.dark-theme .checkout-page-content[class*="bg-dark"][b-kcbiyuo9as] {
    background-color: #0f172a !important;
}

/* Input fields inside dark modals */
.dark-theme .form-control-pos[b-kcbiyuo9as] {
    background-color: #1e293b !important;
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Amount due footer in card modal */
.dark-theme .amount-due-footer-wide[b-kcbiyuo9as] {
    background-color: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dark-theme .total-due-label-wide[b-kcbiyuo9as] {
    color: #94a3b8 !important;
}

.dark-theme .total-due-val-wide[b-kcbiyuo9as] {
    color: #f8fafc !important;
}

.dark-theme .btn-mult img[b-kcbiyuo9as] {
    filter: brightness(0) invert(1);
}

.dark-theme .search-box-modern[b-kcbiyuo9as] {
    border-color: #ffffff75;
}

.dark-theme .search-box-modern i[b-kcbiyuo9as] {
    color: #c9cfd7;
}

.btn.btn-primary[b-kcbiyuo9as] {
    min-width: 180px;
    transition: all 0.2s ease;
}

.btn.btn-primary:hover[b-kcbiyuo9as] {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.2);
}

.btn.btn-primary:active[b-kcbiyuo9as] {
    transform: translateY(1px);
    box-shadow: none;
}

.btn.btn-light[b-kcbiyuo9as] {
    min-width: 180px;
    background: #f1f5f9;
}

/* Visual Click Feedback */
.product-card-modern:active[b-kcbiyuo9as],
.plu-group-btn:active[b-kcbiyuo9as],
.pinned-chip:active[b-kcbiyuo9as],
.btn-mult:active[b-kcbiyuo9as],
.key-btn:active[b-kcbiyuo9as],
.pos-btn-soft:active[b-kcbiyuo9as] {
    transform: scale(0.96) translateY(2px) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.pos-btn-soft[b-kcbiyuo9as] {
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pos-btn-soft:hover[b-kcbiyuo9as] {
    background: #f8fafc;
}

.btn-clear-all[b-kcbiyuo9as] {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border-color: #fecaca !important;
    font-size: 0.8rem;
}

.btn-clear-all:hover[b-kcbiyuo9as] {
    background: #fecaca !important;
}

/* Order Item Highlights */
.order-row.new-item[b-kcbiyuo9as] {
    background: rgba(59, 130, 246, 0.06) !important;
    border-left: 4px solid #3b82f6 !important;
    animation: slideInAndHighlight-b-kcbiyuo9as 0.4s ease-out;
}

.order-row.old-item[b-kcbiyuo9as] {
    border-bottom: 1px solid var(--pos-border);
}

@keyframes slideInAndHighlight-b-kcbiyuo9as {
    0% {
        opacity: 0;
        transform: translateX(-10px);
        background: rgba(59, 130, 246, 0.2);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        background: rgba(59, 130, 246, 0.06);
    }
}
/* Permissions Disabled States */
.btn-remove:disabled[b-kcbiyuo9as],
.btn-action-circle.delete:disabled[b-kcbiyuo9as],
.qty-control button:disabled[b-kcbiyuo9as] {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    background: var(--pos-bg-muted) !important;
    color: var(--pos-text-muted) !important;
}

.dark-theme .btn-remove:disabled[b-kcbiyuo9as],
.dark-theme .btn-action-circle.delete:disabled[b-kcbiyuo9as],
.dark-theme .qty-control button:disabled[b-kcbiyuo9as] {
    background: #1e293b !important;
    color: #475569 !important;
}

/* Added Disabled States for Permitted Buttons */
.btn-clear-all:disabled[b-kcbiyuo9as],
.btn-held-trigger:disabled[b-kcbiyuo9as],
.pinned-grid-cell:disabled[b-kcbiyuo9as] {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    pointer-events: none;
    filter: grayscale(100%);
}
/* /Pages/Settings.razor.rz.scp.css */
.settings-body[b-32dqu1s6qt] {
    padding: 0.7rem 0.7rem;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    justify-content: center;
    align-items: stretch;
    display: flex;
    gap: 2rem;
    transition: all 0.3s ease;
}


.hover-cs[b-32dqu1s6qt]{
    min-width: 100px;
}
.hover-cs:hover[b-32dqu1s6qt], .hover-cs.active[b-32dqu1s6qt] {
    background: #1d4ed8 !important;
    color: white;
}

.settings-body.dark-theme[b-32dqu1s6qt] {
    background-color: #0c0f1d;
    color: white;
}
.settings-body.light-theme[b-32dqu1s6qt] { background-color: #f8fafc; color: #1e293b; }

/* ── SIDEBAR ────────────────────────────────── */
.settings-sidebar[b-32dqu1s6qt] {
    width: 350px;
    flex-shrink: 0;
    background: transparent;
    border-right: 1px solid transparent; /* for structure */
}

.sidebar-card[b-32dqu1s6qt] {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.dark-theme .sidebar-card[b-32dqu1s6qt] {
    background: #141a2e;
    border-color: rgba(255, 255, 255, 0.08);
}

.sidebar-title[b-32dqu1s6qt] {
    font-size: 1.1rem;
    font-weight: 800;
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
}

.dark-theme .sidebar-title[b-32dqu1s6qt] { color: #f8fafc; border-bottom-color: rgba(255,255,255,0.08); }

.sidebar-nav[b-32dqu1s6qt] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 16px;
    white-space: nowrap;
}

.nav-item[b-32dqu1s6qt] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.nav-item:hover[b-32dqu1s6qt] {
    background: rgba(0,0,0,0.03);
    color: #1e293b;
}
.dark-theme .nav-item:hover[b-32dqu1s6qt] { background: rgba(255,255,255,0.05); color: white; }

.nav-item.active[b-32dqu1s6qt] {
    background: #1d4ed8;
    color: white !important;
}
.nav-item.active i[b-32dqu1s6qt] { color: white !important; }
.nav-item i[b-32dqu1s6qt] { font-size: 1.1rem; color: #94a3b8; }

/* ── MAIN CONTENT ───────────────────────────── */
.settings-content[b-32dqu1s6qt] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/*.body-header {
    margin-bottom: 2rem;
}*/

.page-title[b-32dqu1s6qt] {
    font-size: 1.7rem;
    font-weight: 800;
    margin: 0;
    color: #0f172a;
}
.dark-theme .page-title[b-32dqu1s6qt] { color: #ffffff; }

.page-subtitle[b-32dqu1s6qt] {
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* ── CARD LAYOUT ────────────────────────────── */
.setting-panel-card[b-32dqu1s6qt] {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.dark-theme .setting-panel-card[b-32dqu1s6qt] {
    background: #141a2e;
    border-color: rgba(255, 255, 255, 0.08);
}

.panel-header[b-32dqu1s6qt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: rgba(248, 250, 252, 0.4); 
}
.dark-theme .panel-header[b-32dqu1s6qt] {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    background: rgba(0,0,0,0.1);
}

.panel-title[b-32dqu1s6qt] {
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.dark-theme .nav-item[b-32dqu1s6qt], .dark-theme .page-subtitle[b-32dqu1s6qt] {
    color: #ccd2d9;
}

    .dark-theme .panel-title[b-32dqu1s6qt] {
        color: #ffffff !important;
    }

    .panel-title i[b-32dqu1s6qt] {
        color: #3b82f6;
        font-size: 1.1rem;
    }

    .btn-secondary[b-32dqu1s6qt] {
        background: #e0f2fe;
        color: #0369a1;
        border: none;
        font-weight: 700;
        padding: 0.45rem 1rem;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.85rem;
        cursor: pointer;
        transition: background 0.2s;
    }

        .btn-secondary:hover[b-32dqu1s6qt] {
            background: #bae6fd;
        }

    .dark-theme .btn-secondary[b-32dqu1s6qt] {
        background: rgba(59,130,246,0.15);
        color: #60a5fa;
    }

    .btn-secondary-action[b-32dqu1s6qt] {
        background: #e0f2fe;
        color: #0369a1;
        border: 1px solid #bae6fd;
        font-weight: 700;
        padding: 0.45rem 1rem;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s;
    }

    .btn-secondary-action:hover[b-32dqu1s6qt] {
        background: #bae6fd;
        border-color: #7dd3fc;
        transform: translateY(-1px);
    }

    .dark-theme .btn-secondary-action[b-32dqu1s6qt] {
        background: rgba(59, 130, 246, 0.1);
        color: #60a5fa;
        border-color: rgba(59, 130, 246, 0.3);
    }

    .panel-body[b-32dqu1s6qt] {
        padding: 1.5rem;
    }

    .setting-box[b-32dqu1s6qt] {
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #ffffff;
        position: relative;
    }

    .dark-theme .setting-box[b-32dqu1s6qt] {
        border-color: rgba(255,255,255,0.08);
        background: #141a2e;
    }

    .setting-text .setting-label[b-32dqu1s6qt] {
        font-weight: 800;
        font-size: 0.95rem;
        margin-bottom: 0.35rem;
        color: #1e293b;
    }

    .dark-theme .setting-text .setting-label[b-32dqu1s6qt] {
        color: #f8fafc;
    }

    .setting-text .setting-hint[b-32dqu1s6qt] {
        font-size: 0.8rem;
        color: #64748b;
    }
    /* Switch */
    .custom-switch .form-check-input[b-32dqu1s6qt] {
        width: 2.75rem;
        height: 1.4rem;
        background-color: #cbd5e1;
        border-color: transparent;
        cursor: pointer;
    }

    .dark-theme .custom-switch .form-check-input[b-32dqu1s6qt] {
        background-color: #334155;
    }

    .custom-switch .form-check-input:checked[b-32dqu1s6qt] {
        background-color: #1d4ed8;
    }
    /* Panel Footer */
    .panel-footer[b-32dqu1s6qt] {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 1.5rem;
        border-top: 1px solid #e2e8f0;
        background: #f8fafc;
    }

    .dark-theme .panel-footer[b-32dqu1s6qt] {
        border-top-color: rgba(255,255,255,0.08);
        background: rgba(0,0,0,0.2);
    }

    .btn-ghost[b-32dqu1s6qt] {
        background: transparent;
        color: #475569;
        border: 1px solid #cbd5e1;
        font-weight: 700;
        padding: 0.45rem 1rem;
        border-radius: 8px;
        font-size: 0.85rem;
        cursor: pointer;
    }

    .dark-theme .btn-ghost[b-32dqu1s6qt] {
        border-color: rgba(255,255,255,0.15);
        color: #ffffff;
    }

    .btn-ghost:hover[b-32dqu1s6qt] {
        background: rgba(0,0,0,0.03);
    }

    .btn-primary-action[b-32dqu1s6qt] {
        background: #1d4ed8;
        color: white;
        border: none;
        font-weight: 700;
        padding: 0.5rem 1.25rem;
        border-radius: 8px;
        font-size: 0.85rem;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(29, 78, 216, 0.2);
        white-space: nowrap;
    }

    .auth-loading-overlay[b-32dqu1s6qt] {
        height: calc(100vh - 70px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    /* Form Inputs / Localization Tab */
    .localization-row[b-32dqu1s6qt] {
        display: flex;
        gap: 1.5rem;
    }

    .localization-col[b-32dqu1s6qt] {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .form-label[b-32dqu1s6qt] {
        font-size: 0.85rem;
        font-weight: 700;
        color: #64748b;
        margin-bottom: 0.5rem;
    }

    .dark-theme .form-label[b-32dqu1s6qt] {
        color: #94a3b8;
    }

    .form-select-custom[b-32dqu1s6qt] {
        background: #ffffff;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        padding: 0.65rem 1rem;
        font-size: 0.95rem;
        color: #1e293b;
        font-weight: 500;
        width: 100%;
        min-width: 250px;
        outline: none;
        transition: all 0.2s;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        background-size: 16px 12px;
    }

    .dark-theme .form-select-custom[b-32dqu1s6qt] {
        background-color: #1e293b;
        border-color: rgba(255,255,255,0.1);
        color: #f8fafc;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    }
    /* Data & Sync Tab Additions */
    .setting-left[b-32dqu1s6qt] {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .setting-icon-box[b-32dqu1s6qt] {
        width: 42px;
        height: 42px;
        background: #e0f2fe; /* light blue matching image */
        color: #3b82f6;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        flex-shrink: 0;
    }

    .dark-theme .setting-icon-box[b-32dqu1s6qt] {
        background: rgba(59,130,246,0.15);
        color: #60a5fa;
    }

    .btn-link-action[b-32dqu1s6qt] {
        background: transparent;
        border: none;
        font-size: 0.85rem;
        font-weight: 700;
        color: #2563eb;
        cursor: pointer;
        text-decoration: none;
        position: relative;
    }

    .dark-theme .btn-link-action[b-32dqu1s6qt] {
        color: #60a5fa;
    }

    .btn-link-action:hover[b-32dqu1s6qt] {
        text-decoration: underline;
    }
    /* Responsive */
    @media(max-width: 991px) {
        .setting-box.setting-box-content[b-32dqu1s6qt] {
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-start;
            gap: 16px;
        }
        .form-select-custom[b-32dqu1s6qt] {
            min-width: 200px;
        }
        }

    @media(max-width: 900px) {
       
        .nav-item[b-32dqu1s6qt] {
            padding: 6px 14px;
        }

        .settings-body[b-32dqu1s6qt] {
            flex-direction: column;
            padding: 0.7rem 0.7rem;
            gap: 1.5rem;
        }

        .settings-sidebar[b-32dqu1s6qt] {
            width: 100%;
        }

        .sidebar-nav[b-32dqu1s6qt] {
            flex-direction: row;
            overflow-x: auto;
        }

        .localization-row[b-32dqu1s6qt] {
            flex-direction: column;
            gap: 1rem;
        }
    }

    @media(max-width: 480px) {
        .body-header[b-32dqu1s6qt] {
            margin-bottom: 0;
        }

        .hiden-text[b-32dqu1s6qt] {
            display: none;
        }

        .setting-box[b-32dqu1s6qt], .panel-body[b-32dqu1s6qt], .panel-header[b-32dqu1s6qt], .panel-footer[b-32dqu1s6qt] {
            padding: 16px;
            gap: 8px;
        }

        .setting-left[b-32dqu1s6qt] {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }

        .setting-box[b-32dqu1s6qt] {
            align-items: flex-start;
        }

        .btn-link-action[b-32dqu1s6qt] {
            white-space: nowrap;
            position: absolute;
            right: 16px;
        }
    }
    /* ── CUSTOM MODALS ───────────────────────────── */
    .custom-modal-backdrop[b-32dqu1s6qt] {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(15, 23, 42, 0.4);
        backdrop-filter: blur(4px);
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }

    .custom-modal-card[b-32dqu1s6qt] {
        background: #ffffff;
        width: 100%;
        max-width: 450px;
        border-radius: 20px;
        padding: 2rem;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dark-theme .custom-modal-card[b-32dqu1s6qt] {
        background: #1e293b;
        color: #f8fafc;
        border: 1px solid rgba(255,255,255,0.1);
    }

    .modal-icon[b-32dqu1s6qt] {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

        .modal-icon.warning[b-32dqu1s6qt] {
            background: #fef3c7;
            color: #d97706;
        }

        .modal-icon.danger[b-32dqu1s6qt] {
            background: #fee2e2;
            color: #dc2626;
        }

    .modal-content-area .modal-title[b-32dqu1s6qt] {
        font-size: 1.25rem;
        font-weight: 800;
        margin-bottom: 0.75rem;
    }

    .modal-content-area .modal-message[b-32dqu1s6qt] {
        font-size: 0.95rem;
        color: #64748b;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    .dark-theme .modal-content-area .modal-message[b-32dqu1s6qt] {
        color: #94a3b8;
    }

    .modal-actions-area[b-32dqu1s6qt] {
        display: flex;
        gap: 1rem;
        width: 100%;
    }

    .btn-cancel-modal[b-32dqu1s6qt] {
        flex: 1;
        background: #f1f5f9;
        color: #475569;
        border: none;
        padding: 0.75rem;
        border-radius: 12px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s;
    }

    .dark-theme .btn-cancel-modal[b-32dqu1s6qt] {
        background: #334155;
        color: #cbd5e1;
    }
        
    .btn-confirm-modal[b-32dqu1s6qt] {
        flex: 1;
        background: #1d4ed8;
        color: white;
        border: none;
        padding: 0.75rem;
        border-radius: 12px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s;
        box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
    }

        .btn-confirm-modal.danger[b-32dqu1s6qt] {
            background: #dc2626;
            box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
        }

    .animate-pop[b-32dqu1s6qt] {
        animation: modalPop-b-32dqu1s6qt 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    @keyframes modalPop-b-32dqu1s6qt {
        from {
            transform: scale(0.9);
            opacity: 0;
        }

        to {
            transform: scale(1);
            opacity: 1;
        }
    }
/* /Pages/Welcome.razor.rz.scp.css */
.welcome-screen[b-ksnia8khca] {
    background-color: #0a0e1b;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dark-theme .status-indicator[b-ksnia8khca] {
    color: #d7dde6;
}

.light-theme .bottom-bar[b-ksnia8khca] {
    background-color: #ffffff;
    border-top-color: #e2e8f0;
}

/* Theme Variations */
.welcome-screen.light-theme[b-ksnia8khca] {
    background-color: #f8fafc;
    color: #1e293b;
}

/* Top Bar */
.top-bar[b-ksnia8khca] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(10, 14, 27, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.welcome-screen.welcome-screen.light-theme .top-bar[b-ksnia8khca] {
    background-color: #ffffff;
    border-bottom-color: #e2e8f0;
}

.logo-section[b-ksnia8khca] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-icon[b-ksnia8khca] {
    width: 38px;
    height: 38px;
    background: #1a56db;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.2);
}

.logo-img[b-ksnia8khca] {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.logo-info[b-ksnia8khca] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text[b-ksnia8khca] {
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: 1.15rem;
    line-height: 1;
    white-space: nowrap;
}

.logo-subtitle[b-ksnia8khca] {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    padding-left: 1rem;
    border-left: 1px solid rgba(100, 116, 139, 0.3);
    white-space: nowrap;
}

.mobile-only-item[b-ksnia8khca] {
    display: none !important;
}

@media (max-width: 991px) {
    .desktop-only[b-ksnia8khca] {
        display: none !important;
    }
    .header-status-section.mobile-open .mobile-only-item[b-ksnia8khca] {
        display: flex !important;
    }
}

.header-status-section[b-ksnia8khca] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-status-item[b-ksnia8khca] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-online[b-ksnia8khca] {
    color: #10b981;
}

.status-offline[b-ksnia8khca] {
    color: #ef4444;
}

.sync-info[b-ksnia8khca] {
    color: #64748b;
    cursor: pointer;
    transition: opacity 0.2s;
}

.sync-info:hover[b-ksnia8khca] {
    opacity: 0.8;
}

.time-info[b-ksnia8khca] {
    color: #3b82f6;
    padding-left: 1.25rem;
    border-left: 1px solid rgba(100, 116, 139, 0.2);
}

.light-theme .time-info[b-ksnia8khca] {
    border-left-color: #e2e8f0;
}

.status-badge-modern[b-ksnia8khca] {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.version-info[b-ksnia8khca] {
    padding-left: 1.25rem;
    border-left: 1px solid rgba(100, 116, 139, 0.2);
}

.reset-app[b-ksnia8khca] {
    cursor: pointer;
    border: 1px solid rgba(220, 53, 69, 0.3);
    background: rgba(220, 53, 69, 0.05);
    transition: all 0.2s ease;
}

.reset-app:hover[b-ksnia8khca] {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.6);
    transform: translateY(-1px);
}

.update-indicator[b-ksnia8khca] {
    color: #f59e0b !important;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 8px;
    padding: 0.4rem 0.8rem !important;
}

.update-indicator:hover[b-ksnia8khca] {
    background: rgba(245, 158, 11, 0.2);
    transform: scale(1.05);
}

.animate-pulse[b-ksnia8khca] {
    animation: pulse-amber-b-ksnia8khca 2s infinite;
}

@keyframes pulse-amber-b-ksnia8khca {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* ── CUSTOM MODALS ───────────────────────────── */
.custom-modal-backdrop[b-ksnia8khca] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.custom-modal-card[b-ksnia8khca] {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-theme .custom-modal-card[b-ksnia8khca] {
    background: #1e293b;
    color: #f8fafc;
}

.modal-icon.warning[b-ksnia8khca] {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(245, 158, 11, 0.2);
}

.modal-content-area h3[b-ksnia8khca] {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.modal-content-area p[b-ksnia8khca] {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.dark-theme .modal-content-area p[b-ksnia8khca] {
    color: #94a3b8;
}

.modal-actions-area[b-ksnia8khca] {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.btn-cancel-modal[b-ksnia8khca] {
    flex: 1;
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 0.85rem;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.dark-theme .btn-cancel-modal[b-ksnia8khca] {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
}

.btn-cancel-modal:hover[b-ksnia8khca] {
    background: #e2e8f0;
}
.dark-theme .btn-cancel-modal:hover[b-ksnia8khca] {
    background: #141e2d !important;
}

.btn-confirm-modal[b-ksnia8khca] {
    flex: 1;
    background: #1d4ed8;
    color: white;
    border: none;
    padding: 0.85rem;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(29, 78, 216, 0.3);
}

.btn-confirm-modal:hover[b-ksnia8khca] {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(29, 78, 216, 0.4);
}

.animate-pop[b-ksnia8khca] {
    animation: modalSlideUp-b-ksnia8khca 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideUp-b-ksnia8khca {
    from { transform: translateY(20px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.status-indicator[b-ksnia8khca] {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.light-theme .status-indicator[b-ksnia8khca] {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.dot[b-ksnia8khca] {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
}

.status-text[b-ksnia8khca] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}


.header-icons[b-ksnia8khca] {
    display: flex;
    gap: 1rem;
    color: #64748b;
    font-size: 1.1rem;
}

.divider[b-ksnia8khca] {
    width: 1px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.05);
}

.light-theme .divider[b-ksnia8khca] {
    background-color: #e2e8f0;
}

.time-display[b-ksnia8khca] {
    font-weight: 600;
    color: #1a56db;
    letter-spacing: 0.5px;
}

.avatar-circle[b-ksnia8khca] {
    width: 36px;
    height: 36px;
    background: #fca5a5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f1d1d;
}

/* Main Content */
.main-content[b-ksnia8khca] {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.welcome-title[b-ksnia8khca] {
    font-size: 6rem;
    font-weight: 950;
    margin: 0;
    line-height: 1;
}

.welcome-subtitle[b-ksnia8khca] {
    font-size: 1.25rem;
    color: #64748b;
    margin-top: 1rem;
    line-height: 1.6;
    max-width: 600px;
}

.start-session-btn[b-ksnia8khca] {
    margin-top: 1.2rem;
    background-image: linear-gradient(to right, #0F49BD, #17449E);
    color: white;
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.3);
}

.start-session-btn:hover[b-ksnia8khca] {
    background-color: #1e429f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 86, 219, 0.4);
}

/* Mode Selection Styles */
.mode-selection-container[b-ksnia8khca] {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    width: 100%;
}

.mode-btn[b-ksnia8khca] {
    flex: 1;
    max-width: 380px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    backdrop-filter: blur(10px);
}

.light-theme .mode-btn[b-ksnia8khca] {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.mode-btn:hover[b-ksnia8khca] {
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    background: rgba(59, 130, 246, 0.05);
}

.mode-icon[b-ksnia8khca] {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 15px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.mode-info[b-ksnia8khca] {
    display: flex;
    flex-direction: column;
}

.mode-title[b-ksnia8khca] {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.light-theme .mode-title[b-ksnia8khca] {
    color: #1e293b;
}

.mode-desc[b-ksnia8khca] {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.pending-banner[b-ksnia8khca] {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-top: 2rem;
}

@media (max-width: 640px) {
    .mode-selection-container[b-ksnia8khca] {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
}

/* Bottom Bar */
.bottom-bar[b-ksnia8khca] {
    padding: 0.75rem 1.5rem;
    background-color: rgba(1, 4, 18, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
}

.light-theme .bottom-bar[b-ksnia8khca] {
    border-top-color: #e2e8f0;
}

.text-primary-light[b-ksnia8khca] {
    color: #3b82f6;
}

/* Responsiveness */
@media (max-width: 768px) {
    .bottom-bar[b-ksnia8khca] {
        padding: 1rem;
    }
    .welcome-title[b-ksnia8khca] {
        font-size: 4rem;
    }
}
@media (max-width: 640px) {
    .bottom-bar[b-ksnia8khca] {
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .welcome-title[b-ksnia8khca] {
        font-size: 3.4rem;
    }
    .stat-value[b-ksnia8khca] {
        font-size: 0.68rem;
    }
    .stat-label[b-ksnia8khca] {
        font-size: 0.48rem;
    }
        .status-header[b-ksnia8khca] {
        justify-content: center;
    }
    .footer-stats[b-ksnia8khca] {
        gap: 1rem;
        width: 100%;
        justify-content: space-between;
    }
    .status-indicator[b-ksnia8khca], .header-icons[b-ksnia8khca], .time-display[b-ksnia8khca] {
        display: none;
    }
    .top-bar[b-ksnia8khca]{
        padding: 16px;
    }
    
    .status-header[b-ksnia8khca], .status-msg[b-ksnia8khca] {
        display: none;
    }
}

@media (max-width: 400px) {
    .welcome-title[b-ksnia8khca] {
        font-size: 2.5rem;
    }
    .welcome-subtitle[b-ksnia8khca] {
        font-size: 0.8rem;
    }
    .header-right[b-ksnia8khca] {
        gap: 16px;
    }
}

.online-status[b-ksnia8khca] {
    color: #22c55e;
}

.offline-status[b-ksnia8khca] {
    color: #ef4444;
}

.sync-stat[b-ksnia8khca] {
    cursor: pointer;
    transition: opacity 0.2s;
}

.sync-stat:hover[b-ksnia8khca] {
    opacity: 0.8;
}

.syncing[b-ksnia8khca] {
    animation: spin-b-ksnia8khca 1s linear infinite;
    display: inline-block;
    color: #3b82f6 !important;
}

@keyframes spin-b-ksnia8khca {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Header Dropdown Mobile Toggle Styles */
.header-right-container[b-ksnia8khca] {
    position: relative;
    display: flex;
    align-items: center;
}

.mobile-menu-toggle[b-ksnia8khca] {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.light-theme .mobile-menu-toggle[b-ksnia8khca] {
    color: #1e293b;
}

.mobile-menu-toggle:hover[b-ksnia8khca] {
    background: rgba(255, 255, 255, 0.1);
}

.light-theme .mobile-menu-toggle:hover[b-ksnia8khca] {
    background: rgba(0, 0, 0, 0.05);
}

.header-menu-overlay[b-ksnia8khca] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: transparent;
    z-index: 998;
}

@media (max-width: 991px) {
    .mobile-menu-toggle[b-ksnia8khca] {
        display: block;
    }
    
    .header-status-section[b-ksnia8khca] {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 15px);
        right: 0;
        background-color: #141a2e;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        border-radius: 8px;
        padding: 0.5rem;
        z-index: 1000;
        min-width: 200px;
        align-items: flex-start;
        gap: 0.2rem;
    }
    
    .light-theme .header-status-section[b-ksnia8khca] {
        background-color: #ffffff;
        border-color: #e2e8f0;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    }
    
    .header-status-section.mobile-open[b-ksnia8khca] {
        display: flex;
        animation: slideDown-b-ksnia8khca 0.2s ease-out;
    }
    
    .header-status-item[b-ksnia8khca] {
        width: 100%;
        padding: 0.75rem 1rem !important;
        border-radius: 4px !important;
        border-left: none !important;
        background: transparent !important;
        border: none !important;
        transition: background-color 0.2s;
    }
    
    .header-status-section .status-text[b-ksnia8khca] {
        font-size: 0.85rem !important;
    }

    .dark-theme .header-status-section .status-text[b-ksnia8khca] {
        color: #f8fafc !important;
    }
    
    .header-status-item:hover[b-ksnia8khca] {
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .light-theme .header-status-item:hover[b-ksnia8khca] {
        background-color: rgba(0, 0, 0, 0.03);
    }
}

@keyframes slideDown-b-ksnia8khca {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.dark-theme .status-text[b-ksnia8khca], .dark-theme .logo-subtitle[b-ksnia8khca] {
    color: #ffffff;
    opacity: unset !important;
}
.dark-theme .logo-subtitle[b-ksnia8khca]{
    opacity: 0.8;
}

/* ── REGISTRATION FORM ────────────────────────── */
.registration-form-overlay[b-ksnia8khca] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.registration-form-card[b-ksnia8khca] {
    background: #1a1f2e;
    width: 100%;
    max-width: 450px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: slideUp-b-ksnia8khca 0.3s ease-out;
}

@keyframes slideUp-b-ksnia8khca {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.form-header[b-ksnia8khca] {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.form-header h3[b-ksnia8khca] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.close-btn[b-ksnia8khca] {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover[b-ksnia8khca] {
    color: #ffffff;
}

.form-body[b-ksnia8khca] {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group[b-ksnia8khca] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label[b-ksnia8khca] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
}

.input-group input[b-ksnia8khca] {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group input:focus[b-ksnia8khca] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-footer[b-ksnia8khca] {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.btn-cancel[b-ksnia8khca] {
    background: none;
    border: none;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
}

.btn-submit[b-ksnia8khca] {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.75rem 2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover[b-ksnia8khca] {
    background: #2563eb;
}

.light-theme .registration-form-card[b-ksnia8khca] {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.light-theme .form-header[b-ksnia8khca] {
    background: #f8fafc;
    border-bottom-color: #e2e8f0;
}

.light-theme .form-header h3[b-ksnia8khca] {
    color: #1e293b;
}

.light-theme .input-group input[b-ksnia8khca] {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1e293b;
}

.light-theme .form-footer[b-ksnia8khca] {
    background: #f8fafc;
}
