/* ── Reset & base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f0f2f5;
    color: #202124;
    min-height: 100vh;
    font-size: 16px;
}

/* ── Header ──────────────────────────────────────── */
.header {
    background: #1a73e8;
    color: #fff;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header h1 { font-size: 1.25rem; font-weight: 600; }
.clock      { font-family: monospace; font-size: 1rem; letter-spacing: 1px; }

/* ── Container ───────────────────────────────────── */
.container { max-width: 1400px; margin: 24px auto; padding: 0 24px; }

/* ── Cards ───────────────────────────────────────── */
.card {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.card h2 {
    font-size: 0.78rem;
    font-weight: 600;
    color: #80868b;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 18px;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.card-header h2 { margin: 0; }

/* ── Step indicator ──────────────────────────────── */
.step-indicator { display: flex; gap: 8px; margin-bottom: 20px; }
.step           { flex: 1; height: 5px; background: #dadce0; border-radius: 3px; transition: background .3s; }
.step.active    { background: #1a73e8; }
.step.done      { background: #34a853; }

/* ── Big icon ────────────────────────────────────── */
.big-icon { font-size: 2.8rem; text-align: center; margin-bottom: 12px; }

/* ── Form elements ───────────────────────────────── */
.form-group { margin-bottom: 16px; }

label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: #5f6368;
    margin-bottom: 6px;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 11px 14px;
    font-size: 1rem;
    border: 2px solid #dadce0;
    border-radius: 7px;
    outline: none;
    transition: border-color .18s;
    background: #fff;
    color: #202124;
}
input:focus, select:focus, textarea:focus { border-color: #1a73e8; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 11px 22px;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: filter .15s;
    white-space: nowrap;
}
.btn:hover          { filter: brightness(0.93); }
.btn:active         { filter: brightness(0.85); }
.btn-primary        { background: #1a73e8; color: #fff; width: 100%; }
.btn-secondary      { background: #f1f3f4; color: #202124; }
.btn-danger         { background: #ea4335; color: #fff; }
.btn-success        { background: #34a853; color: #fff; }
.btn-sm             { padding: 6px 14px; font-size: 0.82rem; }
.btn-outline        { background: transparent; border: 2px solid #1a73e8; color: #1a73e8; }

/* ── Status badges ───────────────────────────────── */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 500;
}
.status-employee { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.status-project  { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }

/* ── Alerts ──────────────────────────────────────── */
.alert {
    padding: 11px 16px;
    border-radius: 7px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}
.alert-error   { background: #fce8e6; color: #c62828; border: 1px solid #ef9a9a; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-info    { background: #e8f0fe; color: #1a73e8; border: 1px solid #90caf9; }

/* ── Scan row ────────────────────────────────────── */
.scan-row              { display: flex; gap: 12px; align-items: flex-end; }
.scan-row .barcode-col { flex: 3; }
.scan-row .qty-col     { flex: 1; min-width: 90px; }
.scan-row .btn         { flex-shrink: 0; padding: 11px 18px; }

/* ── Project row ─────────────────────────────────── */
.project-row        { display: flex; gap: 12px; }
.project-row select { flex: 1; }
.project-row input  { flex: 1; }

/* ── Tables ──────────────────────────────────────── */
.table-wrap { overflow-x: auto; }

table.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
table.data-table th {
    text-align: left;
    padding: 9px 12px;
    background: #f8f9fa;
    border-bottom: 2px solid #dadce0;
    font-weight: 600;
    color: #5f6368;
    white-space: nowrap;
}
table.data-table td {
    padding: 9px 12px;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
}
table.data-table tr:last-child td { border-bottom: none; }
table.data-table tr:hover td      { background: #f8f9fa; }
table.data-table .actions         { display: flex; gap: 6px; }

/* ── Tabs ────────────────────────────────────────── */
.tabs {
    display: flex;
    border-bottom: 2px solid #dadce0;
    margin-bottom: 24px;
    overflow-x: auto;
}
.tab {
    padding: 11px 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #5f6368;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color .15s;
}
.tab:hover        { color: #1a73e8; }
.tab.active       { color: #1a73e8; border-bottom-color: #1a73e8; }
.tab-content      { display: none; }
.tab-content.show { display: block; }

/* ── Row helpers ─────────────────────────────────── */
.row         { display: flex; gap: 12px; align-items: flex-end; }
.row .grow   { flex: 1; }
.text-muted  { color: #80868b; font-size: 0.82rem; }
.mt-8        { margin-top: 8px; }
.mt-16       { margin-top: 16px; }
.mb-0        { margin-bottom: 0; }

/* ── Utility ─────────────────────────────────────── */
.hidden           { display: none !important; }
.text-center      { text-align: center; }
.empty-state      { text-align: center; color: #9aa0a6; padding: 32px 0; }
.badge-active     { color: #2e7d32; font-weight: 600; }
.badge-inactive   { color: #b71c1c; }
.chip             { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 0.78rem; font-weight: 600; }
.chip-green       { background: #e8f5e9; color: #2e7d32; }
.chip-red         { background: #fce8e6; color: #c62828; }
.chip-blue        { background: #e3f2fd; color: #1565c0; }

/* ── Pending cart ────────────────────────────────── */
table.pending-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 4px;
    border: 2px solid #dadce0;
    border-radius: 8px;
    overflow: hidden;
}
table.pending-table th {
    text-align: left;
    padding: 9px 14px;
    background: #f8f9fa;
    font-size: 0.78rem;
    font-weight: 600;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 2px solid #dadce0;
}
table.pending-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
}
table.pending-table tr:last-child td  { border-bottom: none; }
table.pending-table tr.flash td       { background: #e8f5e9; }

.pending-name { font-weight: 500; font-size: 0.95rem; }
.pending-code { font-family: monospace; font-size: 0.75rem; color: #80868b; margin-top: 2px; }

.pending-qty-wrap  { display: flex; align-items: center; gap: 6px; }
.pending-qty-input {
    width: 90px;
    padding: 7px 24px 7px 10px;
    font-size: 1rem;
    border: 2px solid #dadce0;
    border-radius: 6px;
    text-align: center;
    outline: none;
    transition: border-color .18s;
    -moz-appearance: textfield;
}
.pending-qty-input:focus { border-color: #1a73e8; }
.pending-qty-input::-webkit-outer-spin-button,
.pending-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pending-unit { font-size: 0.82rem; color: #5f6368; }

.btn-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #9aa0a6;
    font-size: 1rem;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.btn-remove:hover { background: #fce8e6; color: #c62828; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 560px) {
    .header h1  { font-size: 1rem; }
    .scan-row   { flex-wrap: wrap; }
    .scan-row .btn { width: 100%; }
    .project-row { flex-direction: column; }
}

/* ── Toast notifications ─────────────────────────── */
.scan-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
    z-index: 200;
    max-width: 420px;
    width: calc(100% - 32px);
    text-align: center;
    animation: toast-in .2s ease;
    pointer-events: none;
}
@keyframes toast-in {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.scan-toast-warning { background: #fff3e0; color: #e65100; border: 1px solid #ffcc80; }
.scan-toast-error   { background: #fce8e6; color: #c62828; border: 1px solid #ef9a9a; }
.scan-toast-info    { background: #e8f0fe; color: #1a73e8; border: 1px solid #90caf9; }

/* ── Unknown item indicator ──────────────────────── */
.unknown-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffcc80;
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 700;
    vertical-align: middle;
    margin-right: 2px;
}
.pending-unknown-note { color: #e65100; font-size: 0.72rem; margin-top: 2px; }
table.pending-table tr.unknown-row td { background: #fffde7; }

/* ── Modal ───────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
}
.modal-box {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    max-width: 360px;
    width: calc(100% - 32px);
    box-shadow: 0 8px 32px rgba(0,0,0,.22);
}
.modal-box h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #202124;
    margin-bottom: 4px;
}

/* ── Bulk actions bar ────────────────────────────── */
.bulk-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #e3f2fd;
    border-radius: 7px;
    margin-bottom: 10px;
    font-size: 0.88rem;
    color: #1565c0;
    flex-wrap: wrap;
}
.bulk-count { font-weight: 600; flex: 1; min-width: 80px; }

/* ── Chip orange ─────────────────────────────────── */
.chip-orange { background: #fff3e0; color: #e65100; }

/* ── Search result count ─────────────────────────── */
.search-count { color: #80868b; font-size: 0.8rem; margin-top: 4px; display: block; }

/* ── Quantity presets ────────────────────────────── */
.qty-presets { display: flex; gap: 4px; margin-top: 5px; flex-wrap: wrap; }
.qty-preset {
    padding: 3px 9px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #dadce0;
    border-radius: 12px;
    background: #f8f9fa;
    color: #5f6368;
    cursor: pointer;
    transition: background .12s, color .12s, border-color .12s;
    line-height: 1.4;
}
.qty-preset:hover { background: #e8f0fe; color: #1a73e8; border-color: #1a73e8; }

/* ── Waste row & toggle ──────────────────────────── */
table.pending-table tr.waste-row td { background: #fce4ec; }
.btn-waste {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid #dadce0;
    border-radius: 12px;
    background: #f8f9fa;
    color: #5f6368;
    cursor: pointer;
    transition: background .12s, color .12s, border-color .12s;
    white-space: nowrap;
}
.btn-waste:hover { background: #fce4ec; color: #c2185b; border-color: #f48fb1; }
.btn-waste.active { background: #fce4ec; color: #c2185b; border-color: #f48fb1; font-weight: 600; }

/* ── Scan step two-column layout (desktop) ───────── */
.scan-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}
@media (max-width: 960px) {
    .scan-wrapper { grid-template-columns: 1fr; }
}

/* ── Item search ─────────────────────────────────── */
.item-search-wrap { position: relative; }
.item-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #1a73e8;
    border-top: none;
    border-radius: 0 0 7px 7px;
    max-height: 280px;
    overflow-y: auto;
    z-index: 50;
    box-shadow: 0 4px 16px rgba(0,0,0,.14);
}
.item-search-result {
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f1f3f4;
    font-size: 0.9rem;
    transition: background .1s;
}
.item-search-result:last-child { border-bottom: none; }
.item-search-result:hover      { background: #e8f0fe; }
.item-search-result strong     { color: #202124; }
.item-search-result .item-meta { font-size: 0.78rem; color: #80868b; white-space: nowrap; }

/* ── Recently used projects ──────────────────────── */
.recent-projects { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.recent-project-btn {
    padding: 5px 13px;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid #1a73e8;
    border-radius: 16px;
    background: #e8f0fe;
    color: #1a73e8;
    cursor: pointer;
    transition: background .12s;
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.recent-project-btn:hover { background: #d2e3fc; }
.recent-label { font-size: 0.78rem; color: #80868b; margin-bottom: 5px; }

/* ── Notes input in pending cart ─────────────────── */
.pending-notes-input {
    width: 100%;
    padding: 4px 8px;
    font-size: 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    outline: none;
    color: #5f6368;
    margin-top: 5px;
    transition: border-color .15s;
    background: #fafafa;
}
.pending-notes-input:focus       { border-color: #1a73e8; background: #fff; }
.pending-notes-input::placeholder { color: #bdc1c6; font-style: italic; }

/* ── Quick date shortcuts ─────────────────────────── */
.date-shortcuts { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.date-shortcut {
    padding: 5px 13px;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid #dadce0;
    border-radius: 16px;
    background: #f8f9fa;
    color: #5f6368;
    cursor: pointer;
    transition: background .12s, border-color .12s, color .12s;
}
.date-shortcut:hover { background: #e8f0fe; color: #1a73e8; border-color: #1a73e8; }

/* ── Print styles (rapport + dagsoversikt) ───────── */
@media print {
    .header, .tabs, .bulk-actions,
    .btn, button, input, select, label,
    .date-shortcuts, #login-card           { display: none !important; }
    .tab-content                           { display: none !important; }
    .tab-content.show                      { display: block !important; }
    .card                                  { box-shadow: none !important; border: 1px solid #ccc; margin-bottom: 12px; }
    body                                   { background: #fff; font-size: 12px; }
    .container                             { max-width: 100%; padding: 0; }
    .rapport-print-title                   { display: block !important; font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
}
.rapport-print-title { display: none; }

/* ═══════════════════════════════════════════════════
   ADMIN — Inducon sidebar layout
   ═══════════════════════════════════════════════════ */

/* ── Brand colours ───────────────────────────────── */
:root {
    --brand-dark:   #152538;
    --brand-accent: #F47B20;
    --brand-blue:   #1D6FA4;
    --brand-bg:     #f0f4f8;
}

/* ── Full-page admin layout ──────────────────────── */
body.admin-body { overflow: hidden; background: var(--brand-bg); height: 100vh; }
.admin-layout   { display: flex; height: 100vh; overflow: hidden; }

/* ── Sidebar ─────────────────────────────────────── */
.sidebar {
    width: 230px;
    background: var(--brand-dark);
    height: 100vh;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow-y: auto;
}
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.sidebar-logo-box {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.sidebar-name { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 1.5px; line-height: 1.1; }
.sidebar-sub  { color: rgba(255,255,255,.4); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }

.sidebar-nav { flex: 1; padding: 6px 0; }
.nav-sep {
    padding: 14px 16px 3px;
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,.28);
    font-weight: 600;
    user-select: none;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    color: rgba(255,255,255,.6);
    font-size: 13.5px;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: background .12s, color .12s, border-color .12s;
    text-decoration: none;
}
.nav-item:hover  { background: rgba(255,255,255,.07); color: #fff; }
.nav-item.active { background: rgba(244,123,32,.16); color: #fff; border-left-color: var(--brand-accent); }
.nav-icon        { font-size: 15px; width: 20px; text-align: center; flex-shrink: 0; }

.sidebar-footer { padding: 6px 0 10px; border-top: 1px solid rgba(255,255,255,.1); }
.nav-logout      { color: rgba(255,255,255,.45) !important; }
.nav-logout:hover { color: #ff7070 !important; background: rgba(255,60,60,.08) !important; }

/* ── Admin main content area ─────────────────────── */
.admin-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }

.admin-topbar {
    background: #fff;
    border-bottom: 1px solid #e0e6ed;
    padding: 0 28px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.topbar-title   { font-size: 17px; font-weight: 700; color: var(--brand-dark); }
.topbar-right   { display: flex; align-items: center; gap: 10px; }
.topbar-time    { font-family: monospace; font-size: 13px; color: #80868b; }
.topbar-badge   { background: var(--brand-dark); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }

.content-wrap   { flex: 1; overflow-y: auto; padding: 24px 28px; }
.content-wrap.hidden { display: none; }

/* ── Dashboard stat cards ────────────────────────── */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px 18px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
}
.stat-icon  { font-size: 22px; margin-bottom: 10px; }
.stat-value { font-size: 30px; font-weight: 700; color: var(--brand-dark); line-height: 1; margin-bottom: 6px; }
.stat-small { font-size: 14px !important; font-weight: 600 !important; }
.stat-label { font-size: 11px; color: #80868b; text-transform: uppercase; letter-spacing: .5px; }
.stat-accent { border-top: 3px solid var(--brand-accent); }
.stat-blue   { border-top: 3px solid var(--brand-blue); }
.stat-green  { border-top: 3px solid #27ae60; }
.stat-purple { border-top: 3px solid #8e44ad; }

/* ── Charts ──────────────────────────────────────── */
.chart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.chart-card {
    background: #fff;
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.chart-card-title {
    font-size: 11px;
    font-weight: 600;
    color: #80868b;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 12px;
}

/* ── Section cards (content pages) ──────────────── */
.section-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px 22px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    margin-bottom: 18px;
}
.section-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.section-card-title { font-size: 14px; font-weight: 600; color: var(--brand-dark); }
.section-card-sub   { font-size: 12px; color: #80868b; margin-top: 2px; }

/* ── Project report rows (rapport page) ─────────── */
.proj-report-header {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-dark);
    padding: 8px 0 6px;
    border-bottom: 2px solid var(--brand-accent);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.proj-report-meta { font-weight: 400; font-size: 11px; color: #80868b; }

/* ── Code block ──────────────────────────────────── */
.code-block {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 16px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #1a1a2e;
    white-space: pre-wrap;
    word-break: break-all;
}

/* ── Admin login overlay ─────────────────────────── */
.admin-login-overlay {
    position: fixed; inset: 0;
    background: var(--brand-bg);
    display: flex; align-items: center; justify-content: center;
    z-index: 999;
}
.admin-login-overlay.hidden { display: none; }
.admin-login-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    width: 360px;
    box-shadow: 0 4px 24px rgba(0,0,0,.12);
    text-align: center;
}
.login-logo-box {
    width: 54px; height: 54px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.login-brand-name { font-size: 21px; font-weight: 700; color: var(--brand-dark); letter-spacing: 1.5px; margin-bottom: 4px; }
.login-brand-sub  { font-size: 13px; color: #80868b; margin-bottom: 28px; }
.login-accent-bar { width: 40px; height: 3px; background: var(--brand-accent); border-radius: 2px; margin: 0 auto 20px; }

/* ── Admin print overrides ───────────────────────── */
@media print {
    .sidebar, .admin-topbar { display: none !important; }
    .admin-content          { margin-left: 0 !important; }
    .content-wrap           { overflow: visible !important; padding: 0 !important; }
    .content-wrap.hidden    { display: none !important; }
    .section-card           { box-shadow: none !important; border: 1px solid #ccc; page-break-inside: avoid; }
    body.admin-body         { overflow: visible !important; height: auto !important; }
    .admin-layout           { height: auto !important; overflow: visible !important; }
}

/* ── Stock level indicators ─────────────────────── */
.stock-low {
    color: #c62828;
    font-weight: 600;
    background: #fce8e6;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.82rem;
}
.stock-ok {
    color: #2e7d32;
    font-weight: 500;
    font-size: 0.88rem;
}

/* ── Alert warning (for dashboard) ──────────────── */
.alert-warning {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffcc80;
    padding: 11px 16px;
    border-radius: 7px;
    font-size: 0.9rem;
}

/* ── Edit/action buttons in tables ──────────────── */
table.data-table td .btn-sm {
    padding: 4px 10px;
    font-size: 0.78rem;
}

/* ── Registration checkbox column ───────────────── */
table.data-table input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #1a73e8;
}

/* ── Fullscreen presentation mode (Ctrl+Shift+P) ── */
.sidebar.hidden   { display: none !important; }
.admin-topbar.hidden { display: none !important; }
.admin-content.fullscreen-mode {
    margin-left: 0 !important;
    max-width: 100vw;
}
.admin-content.fullscreen-mode .content-body {
    max-width: 1400px;
    margin: 0 auto;
}
