:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary: #64748b;
    --success: #10b981;
    --success-hover: #059669;
    --warning: #f59e0b;
    --danger: #ef4444;
    --danger-hover: #dc2626;
    --dark: #0f172a;
    --card-bg: #ffffff;
    --body-bg: #f8fafc;
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(56, 189, 248, 0.7);
    outline-offset: 2px;
}

body {
    background: var(--body-bg);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5 {
    color: var(--text-primary);
    font-weight: 700;
    margin-top: 0;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Top Navigation Bar */
.navbar {
    background: #1e293b;
    color: #fff;
    padding: 0.65rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
    gap: 12px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-brand i {
    color: #38bdf8;
    font-size: 1.35rem;
}

.navbar > a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
}

.navbar > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.navbar a.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.navbar a.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.navbar a.nav-link.active {
    color: #fff;
    background: var(--primary);
    font-weight: 600;
}

.navbar a.nav-link.billing-link:not(.active) {
    color: #34d399;
    background: rgba(16, 185, 129, 0.16);
    font-weight: 600;
}

.logout-link {
    border-radius: 9999px;
    padding: 6px 12px;
}

.user-pill b {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 5px 12px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #f1f5f9;
}

.user-pill i {
    color: #38bdf8;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-admin {
    background: #ede9fe;
    color: #7c3aed;
    border: 1px solid #ddd6fe;
}

.badge-cashier {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.badge-manager {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.badge-stock-in {
    background: #dcfce7;
    color: #166534;
}

.badge-stock-low {
    background: #fef3c7;
    color: #92400e;
}

.badge-stock-out {
    background: #fee2e2;
    color: #991b1b;
}

/* Container & Cards */
.container {
    max-width: 1200px;
    width: 95%;
    margin: 24px auto;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 28px;
}

/* Form Elements */
label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-primary);
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 9px 12px;
    margin-bottom: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Buttons */
button, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

button:hover, .btn:hover {
    background: var(--primary-hover);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-success {
    background: var(--success);
}
.btn-success:hover {
    background: var(--success-hover);
}

.btn-danger {
    background: var(--danger);
}
.btn-danger:hover {
    background: var(--danger-hover);
}

.btn-secondary {
    background: #64748b;
}
.btn-secondary:hover {
    background: #475569;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}
.btn-outline:hover {
    background: #f1f5f9;
    color: var(--text-primary);
}

.btn-sm {
    padding: 5px 10px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 1.05rem;
}

/* Keyboard Shortcut helper tag */
kbd {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    color: #475569;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    padding: 3px 6px;
    white-space: nowrap;
}

/* Messages / Alerts */
.success-message {
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-message {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-page {
    max-width: 560px;
    margin: 56px auto;
    padding: 28px;
    background: #fff;
    border: 1px solid #fecaca;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
    text-align: center;
}

.error-page h2 {
    color: #991b1b;
    margin-bottom: 10px;
}

.error-page p {
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Tables */
table, .data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

table th, .data-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

table td, .data-table td {
    padding: 12px 14px;
    font-size: 0.92rem;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-primary);
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover td {
    background: #f8fafc;
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 550px;
    width: 100%;
    padding: 24px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.modal-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.modal-close:hover {
    color: #475569;
    background: #f1f5f9;
}

/* Footer */
footer {
    margin-top: auto;
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.88rem;
    border-top: 1px solid var(--border-color);
    background: #fff;
}

.app-footer {
    margin: 30px 0 10px;
    padding: 0 20px;
    border-top: 0;
}

/* Responsive adjustments & Mobile First Enhancements */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 1.15rem;
    cursor: pointer;
    transition: background 0.15s;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
}

/* Integrated Camera Scanner Modal & HUD */
.scanner-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 12px;
}

.scanner-modal-overlay.active {
    display: flex;
}

.scanner-box {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    max-width: 480px;
    width: 100%;
    overflow: hidden;
    color: #fff;
    animation: modalSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.scanner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #1e293b;
    border-bottom: 1px solid #334155;
}

.scanner-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #38bdf8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scanner-viewport-wrap {
    position: relative;
    background: #000;
    min-height: 280px;
    max-height: 380px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#reader {
    width: 100% !important;
}

#reader video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 4px;
}

/* Scanner HUD Target & Laser Animation */
.scanner-hud {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scanner-reticle {
    width: 240px;
    height: 240px;
    position: relative;
    border: 2px solid rgba(56, 189, 248, 0.5);
    border-radius: 14px;
    box-shadow: 0 0 0 4000px rgba(0, 0, 0, 0.45);
}

.scanner-reticle::before,
.scanner-reticle::after,
.reticle-corner::before,
.reticle-corner::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: #38bdf8;
    border-style: solid;
}

.scanner-reticle::before {
    top: -2px;
    left: -2px;
    border-width: 4px 0 0 4px;
    border-top-left-radius: 12px;
}

.scanner-reticle::after {
    top: -2px;
    right: -2px;
    border-width: 4px 4px 0 0;
    border-top-right-radius: 12px;
}

.reticle-bottom-left {
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: 24px;
    height: 24px;
    border-bottom: 4px solid #38bdf8;
    border-left: 4px solid #38bdf8;
    border-bottom-left-radius: 12px;
}

.reticle-bottom-right {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    border-bottom: 4px solid #38bdf8;
    border-right: 4px solid #38bdf8;
    border-bottom-right-radius: 12px;
}

.scanner-laser {
    position: absolute;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.1), #ef4444 50%, rgba(239, 68, 68, 0.1));
    box-shadow: 0 0 10px #ef4444, 0 0 20px #ef4444;
    animation: laserScan 2s ease-in-out infinite alternate;
}

@keyframes laserScan {
    0% { top: 10%; }
    100% { top: 90%; }
}

.scanner-footer {
    padding: 14px 18px;
    background: #1e293b;
    border-top: 1px solid #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.scanner-status {
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.scanner-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile Quick Bottom Navigation Bar */
.mobile-nav-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #0f172a;
    border-top: 1px solid #334155;
    z-index: 999;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 500;
    gap: 3px;
    min-width: 55px;
    padding: 6px 0;
    transition: color 0.15s;
}

.mobile-nav-item i {
    font-size: 1.15rem;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: #38bdf8;
}

.mobile-nav-item.billing-pill {
    background: var(--primary);
    color: #fff;
    border-radius: 9999px;
    width: 48px;
    height: 48px;
    margin-top: -16px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    border: 2px solid #0f172a;
}

.mobile-nav-item.billing-pill i {
    font-size: 1.35rem;
}

.mobile-nav-item.billing-pill span {
    display: none;
}

/* Floating Action Camera Scan Button for Mobile */
.mobile-scan-fab {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
    z-index: 998;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mobile-scan-fab:active {
    transform: scale(0.92);
}

/* UPI QR Code Display in Checkout */
.upi-qr-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 14px;
    text-align: center;
    margin-top: 14px;
}

.upi-qr-card img {
    border: 3px solid #fff;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin: 8px 0;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .nav-toggle {
        display: inline-block;
    }
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 10px;
    }
    .nav-menu.show {
        display: flex;
    }
    .navbar {
        flex-wrap: wrap;
    }
    .nav-user {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px; /* Space for mobile-nav-bar */
    }
    .mobile-nav-bar {
        display: flex;
    }
    .mobile-scan-fab {
        display: flex;
    }
    .navbar {
        padding: 0.6rem 1rem;
    }
    .nav-brand {
        font-size: 1.1rem;
    }
    .nav-user {
        gap: 6px;
    }
    .user-pill {
        padding: 5px 8px;
    }
    .user-pill b {
        max-width: 90px;
    }
    .container {
        padding: 14px;
        width: 96%;
        margin: 10px auto;
        border-radius: var(--radius-sm);
    }
    table th, table td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    .btn {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    input, select, textarea {
        font-size: 1rem !important; /* Prevents iOS auto-zoom on input focus */
        min-height: 42px;
    }
    .qty-btn {
        width: 36px;
        height: 38px;
    }
    .qty-input {
        width: 54px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .nav-brand span {
        display: none;
    }
    .nav-user .user-pill .badge {
        display: none;
    }
    .container {
        width: 100%;
        border-left: 0;
        border-right: 0;
    }
    .success-message,
    .error-message {
        align-items: flex-start;
    }
}

/* Cross-device layout safeguards */
img,
svg,
video,
canvas {
    max-width: 100%;
}

.table-responsive {
    overflow-x: auto;
    min-width: 0;
}

.table-responsive table {
    min-width: 640px;
}

.user-card,
.cashier-perf-card {
    min-width: 0 !important;
}

.cashier-perf-card {
    overflow-x: auto;
}

@media (max-width: 900px) {
    .pos-wrapper {
        width: min(100% - 20px, 1400px) !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .pos-wrapper > * {
        min-width: 0 !important;
    }

    .checkout-card {
        position: static !important;
    }

    .product-section,
    .customer-section {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
    }

    .product-card,
    .customer-card,
    .product-list-card,
    .customer-list-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin-bottom: 0 !important;
    }

    .user-card {
        width: calc(100% - 20px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .search-box {
        flex-wrap: wrap;
    }

    .search-box input {
        width: min(100%, 360px) !important;
    }

    .filter-form {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px !important;
    }

    .filter-form label,
    .filter-form button {
        min-width: 0;
    }

    .filter-form input,
    .filter-form select {
        width: 100%;
    }
}

@media (max-width: 700px) {
    h1 {
        font-size: 1.45rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.05rem;
    }

    .navbar {
        gap: 8px;
    }

    .nav-menu {
        max-height: calc(100vh - 74px);
        overflow-y: auto;
    }

    .nav-menu .nav-link {
        min-height: 44px;
    }

    .nav-user {
        max-width: 55%;
    }

    .container,
    .pos-card,
    .checkout-card {
        padding: 16px !important;
    }

    .dash-hero {
        padding: 20px !important;
    }

    .hero-welcome h1 {
        font-size: 1.35rem !important;
        align-items: flex-start;
        flex-direction: column;
        gap: 8px !important;
    }

    .hero-quick-actions,
    .pos-actions-bar,
    .scanner-controls {
        width: 100%;
    }

    .hero-quick-actions .btn,
    .pos-actions-bar .btn {
        flex: 1 1 auto;
    }

    .scanner-row {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    .pos-header-bar {
        align-items: flex-start;
    }

    .pos-actions-bar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pos-actions-bar .btn {
        width: 100%;
    }

    .bill-table-container {
        max-height: none;
        overflow-x: auto;
    }

    .bill-table {
        min-width: 680px;
    }

    .summary-row.total-row {
        font-size: 1.15rem;
    }

    .summary-row.total-row .total-amount {
        font-size: 1.35rem;
    }

    .filter-form {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .filter-form button {
        width: 100%;
    }

    .summary-bar {
        flex-wrap: wrap;
        gap: 10px 18px !important;
        font-size: 0.95rem !important;
    }

    .action-card,
    .metric-card {
        min-width: 0;
    }

    .modal-content {
        padding: 18px;
        max-height: calc(100vh - 24px);
    }

    .scanner-box {
        max-height: calc(100vh - 24px);
    }

    .scanner-viewport-wrap {
        min-height: min(58vw, 280px);
    }
}

@media (max-width: 420px) {
    .navbar {
        padding: 8px 10px;
    }

    .nav-user {
        max-width: 48%;
    }

    .logout-link {
        padding: 6px 9px;
    }

    .mobile-nav-item {
        min-width: 44px;
        font-size: 0.68rem;
    }

    .mobile-nav-item i {
        font-size: 1rem;
    }

    .metric-card {
        padding: 14px;
    }

    .metric-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .metric-body b {
        font-size: 1.2rem;
    }

    .pos-actions-bar {
        grid-template-columns: minmax(0, 1fr);
    }

    .scanner-reticle {
        width: 190px;
        height: 190px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
