:root {
    --primary: #CC0000;
    --primary-dark: #aa0000;
    --primary-hover: #ee0000;
    --sidebar-bg: #1a1b2e;
    --sidebar-width: 220px;
    --sidebar-text: #8b8da8;
    --sidebar-text-active: #ffffff;
    --bg: #f0f2f5;
    --white: #ffffff;
    --border: #e2e6ea;
    --text: #212529;
    --text-muted: #6c757d;
    --header-h: 56px;
    --card-shadow: 0 2px 8px rgba(0,0,0,.08);
    --radius: 8px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
}

/* ── Layout ─────────────────────────────── */
.app-wrapper { display: flex; min-height: 100vh; }

/* ── Sidebar ─────────────────────────────── */
.sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-brand {
    padding: 20px 18px 16px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.aircash-svg {
    width: 150px;
    height: auto;
    display: block;
}

.aircash-logo-img {
    width: 160px;
    height: auto;
    display: block;
}

.brand-sub {
    color: var(--sidebar-text);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: 2px;
    padding-left: 2px;
}

.sidebar-nav {
    padding: 16px 0;
    flex: 1;
}

/* ── Korisnik + odjava (dno sidebara) ─────────────────── */
.sidebar-user {
    padding: 12px 18px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.sidebar-user-name {
    color: var(--sidebar-text);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
}
.sidebar-logout {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ff8a8a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.sidebar-logout:hover { color: #ff5252; }

.nav-group-label {
    color: rgba(255,255,255,.3);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 0 18px 6px;
    margin-top: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 13.5px;
    transition: all .15s;
    border-left: 3px solid transparent;
    cursor: pointer;
}

.nav-item i { font-size: 16px; flex-shrink: 0; }

.nav-item:hover {
    color: #fff;
    background: rgba(255,255,255,.05);
}

.nav-item.active {
    color: #fff;
    background: rgba(204,0,0,.25);
    border-left-color: var(--primary);
}

/* ── Sidebar badge (alarmi) ─────────────────────────────── */
.nav-badge {
    margin-left: auto;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0 0 2px rgba(204,0,0,.25);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(204,0,0,.25); }
    50%      { box-shadow: 0 0 0 4px rgba(204,0,0,.12); }
}

/* ── Status pills (alarmi) ─────────────────────────────── */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 3px 9px;
    border-radius: 12px;
    white-space: nowrap;
}
.status-pill i { font-size: 11px; }
.status-critical { background: #fde8e8; color: #c0392b; }
.status-warning  { background: #fef3e2; color: #d68910; }
.status-ok       { background: #e8f6ee; color: #1e8449; }

/* ── Alarm summary cards ─────────────────────────────── */
.alarm-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: var(--card-shadow);
    border-left: 4px solid var(--border);
    display: flex;
    align-items: center;
    gap: 14px;
}
.alarm-card .alarm-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.alarm-card.crit { border-left-color: #c0392b; }
.alarm-card.crit .alarm-icon { background: #fde8e8; color: #c0392b; }
.alarm-card.warn { border-left-color: #d68910; }
.alarm-card.warn .alarm-icon { background: #fef3e2; color: #d68910; }
.alarm-card.okk  { border-left-color: #1e8449; }
.alarm-card.okk .alarm-icon  { background: #e8f6ee; color: #1e8449; }
.alarm-card.info { border-left-color: #2980b9; }
.alarm-card.info .alarm-icon { background: #e8f1fa; color: #2980b9; }
.alarm-card .alarm-num { font-size: 24px; font-weight: 800; line-height: 1; }
.alarm-card .alarm-lbl { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

/* progress bar in alarmi table */
.stock-bar-track { height: 6px; background: #f0f2f5; border-radius: 3px; overflow: hidden; min-width: 80px; }
.stock-bar-fill  { height: 6px; border-radius: 3px; }

/* row tint by status */
tr.row-critical { background: #fef6f6 !important; }
tr.row-warning  { background: #fffaf2 !important; }

/* klik-osjetljivi reci (drill-down u analitikama) */
tr.drill-row { cursor: pointer; transition: background .12s; }
tr.drill-row:hover { background: #f8f9fb !important; }
tr.drill-row:hover strong { color: var(--primary); }

/* ── Pretraživi dropdown (enhanceSelect) ──────────────────────────── */
.sel-enh { position: relative; }
.sel-enh-native {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    border: 0;
}
.sel-enh-trigger {
    text-align: left;
    cursor: pointer;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sel-enh-trigger.placeholder { color: #999; }
.sel-enh-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    z-index: 9999;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0,0,0,.16);
    padding: 8px;
    display: none;
}
.sel-enh-panel.open { display: block; }
.sel-enh-search { margin-bottom: 6px; }
.sel-enh-list { overflow-y: auto; }
.sel-enh-item {
    padding: 7px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sel-enh-item:hover { background: #f6f7f9; }
.sel-enh-item.active { background: #fff5f5; color: var(--primary); font-weight: 600; }
.sel-enh-empty { padding: 10px; color: #aaa; font-size: 12px; text-align: center; }

/* ── Multi-select dropdown (promet) ─────────────────────────────── */
.multi-select { position: relative; }
.multi-toggle {
    min-width: 220px;
    height: 34px;
    font-size: 13px;
    padding: 4px 10px;
    text-align: left;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--text);
}
.multi-toggle:hover { border-color: #999; }
.multi-toggle .ms-count {
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
}
.multi-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 9999;
    width: 280px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0,0,0,.16);
    padding: 10px;
    display: none;
}
.multi-panel.open { display: block; }
.multi-panel .ms-search { margin-bottom: 8px; }
.multi-actions {
    display: flex;
    gap: 10px;
    font-size: 12px;
    padding: 0 2px 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 6px;
}
.multi-actions a { color: var(--primary); text-decoration: none; cursor: pointer; font-weight: 600; }
.multi-actions a:hover { text-decoration: underline; }
.multi-list { max-height: 240px; overflow-y: auto; }
.multi-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
}
.multi-item:hover { background: #f6f7f9; }
.multi-item input { width: 15px; height: 15px; cursor: pointer; accent-color: var(--primary); }

/* ── Move type badges (promet) ─────────────────────────────── */
.tip-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}
.tip-ulaz     { background: #e8f6ee; color: #1e8449; }
.tip-izlaz    { background: #fde8e8; color: #c0392b; }
.tip-transfer { background: #e8f1fa; color: #2471a3; }
.tip-povrat   { background: #f1e6f7; color: #8e44ad; }
.tip-ostalo   { background: #f0f0f0; color: #777; }

/* ── Account type badge ─────────────────────────────── */
.acc-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: .02em;
}

/* ── Loan (posudba) status pill ─────────────────────── */
.loan-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: .03em;
}
.loan-open     { background: #fde8e8; color: #c0392b; border: 1px solid #f0a8a8; }
.loan-returned { background: #e8f6ee; color: #1e8449; border: 1px solid #a7d9bb; }
.loan-back     { background: #eef1f6; color: #5d6d7e; border: 1px solid #cfd6df; }

/* ── Tip operacije (segmented selector u obrascu Move) ── */
.op-tip-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.op-tip-opt {
    flex: 1;
    min-width: 150px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all .15s;
    background: #fafbfc;
    margin: 0;
}
.op-tip-opt:hover { border-color: #f0a8a8; background: #fff; }
.op-tip-opt input { accent-color: var(--primary); width: 15px; height: 15px; }
.op-tip-opt span { font-size: 13px; font-weight: 600; color: #555; }
.op-tip-opt span small { font-weight: 400; color: #999; }
.op-tip-opt span i { color: var(--primary); margin-right: 2px; }
.op-tip-opt.active {
    border-color: var(--primary);
    background: #fff5f5;
    box-shadow: 0 0 0 2px rgba(204,0,0,.08);
}
.op-tip-opt.active span { color: var(--primary); }

/* ── Toast notifikacija ─────────────────────────────── */
.toast-wrap {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 20000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast-item {
    min-width: 280px;
    max-width: 380px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,.22);
    padding: 14px 16px 14px 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-left: 4px solid #1e8449;
    transform: translateX(120%);
    transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .3s;
    opacity: 0;
    pointer-events: auto;
}
.toast-item.show { transform: translateX(0); opacity: 1; }
.toast-item.success { border-left-color: #1e8449; }
.toast-item.error   { border-left-color: #c0392b; }
.toast-item.info    { border-left-color: #2471a3; }
.toast-icon {
    width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.toast-item.success .toast-icon { background: #e8f6ee; color: #1e8449; }
.toast-item.error   .toast-icon { background: #fde8e8; color: #c0392b; }
.toast-item.info    .toast-icon { background: #e8f1fa; color: #2471a3; }
.toast-body { flex: 1; min-width: 0; }
.toast-title { font-weight: 700; font-size: 14px; color: #1a1b2e; margin-bottom: 2px; }
.toast-msg   { font-size: 12.5px; color: #666; line-height: 1.4; }
.toast-close { background: none; border: none; color: #bbb; cursor: pointer; font-size: 16px; padding: 0 2px; line-height: 1; }
.toast-close:hover { color: #666; }

/* ── Interaktivni grafovi - hint ─────────────────────── */
.chart-clickable-hint {
    font-size: 11px;
    color: #aaa;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ── Main content ─────────────────────────────── */
.main-content {
    flex: 1;
    min-width: 0;
    padding: 28px 32px;
    overflow-x: auto;
}

/* ── Page header ─────────────────────────────── */
.page-header {
    margin-bottom: 24px;
}

.page-breadcrumb {
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 4px;
}

/* ── Stats cards ─────────────────────────────── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--card-shadow);
    border-top: 3px solid var(--border);
}

.stat-card.primary {
    background: var(--primary);
    border-top-color: var(--primary-dark);
    color: #fff;
}

.stat-card.primary .stat-label,
.stat-card.primary .stat-sub { color: rgba(255,255,255,.75); }

.stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
    font-weight: 600;
}

.stat-value {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    margin: 4px 0 2px;
}

.stat-sub {
    font-size: 11px;
    color: var(--text-muted);
}

/* ── Section card ─────────────────────────────── */
.section-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    margin-bottom: 24px;
}

.section-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid var(--border);
}

.section-card-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
    margin: 0;
}

.section-card-body { padding: 16px 20px; }

/* ── Filters ─────────────────────────────── */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-end;
    padding: 14px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.filter-group label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted);
}

.filter-group .form-control,
.filter-group .form-select {
    min-width: 160px;
    font-size: 13px;
    height: 34px;
    padding: 4px 10px;
}

.filter-group.wide .form-control { min-width: 220px; }

.filter-actions {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    margin-top: auto;
}

/* Prijelom reda u filter-baru — sve nakon ovog ide u novi red */
.filter-break {
    flex-basis: 100%;
    height: 0;
    margin: 0;
}

/* ── Table ─────────────────────────────── */
.table-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px 10px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 8px;
}

.table-info {
    font-size: 12px;
    color: var(--text-muted);
}

.table-responsive { overflow-x: auto; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.data-table thead tr {
    background: #f8f9fa;
}

.data-table th {
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
    cursor: default;
}

.data-table td {
    padding: 9px 12px;
    border-bottom: 1px solid #f0f2f5;
    vertical-align: middle;
}

.data-table tbody tr:hover { background: #fafbfd; }

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

/* ── Move ID badge ─────────────────────────────── */
.move-id-badge {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 12px;
    color: var(--primary);
    background: #fff0f0;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
}

/* ── Stock badge ─────────────────────────────── */
.stock-positive { color: #198754; font-weight: 700; }
.stock-zero     { color: var(--text-muted); }
.stock-negative { color: var(--primary); font-weight: 700; }

/* ── Action buttons ─────────────────────────────── */
.btn-action {
    border: none;
    background: none;
    padding: 4px 6px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background .12s;
    color: var(--text-muted);
}

.btn-action:hover { background: #f0f2f5; color: var(--text); }
.btn-action.delete:hover { background: #fff0f0; color: var(--primary); }

/* ── Buttons ─────────────────────────────── */
.btn-primary-app {
    background: var(--primary);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    padding: 7px 16px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .15s;
    text-decoration: none;
}

.btn-primary-app:hover { background: var(--primary-hover); color: #fff; }

.btn-outline-app {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text);
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .15s;
    text-decoration: none;
}

.btn-outline-app:hover { border-color: #999; background: #f8f9fa; color: var(--text); }

.btn-sm-app {
    padding: 4px 10px;
    font-size: 12px;
}

/* ── Pagination ─────────────────────────────── */
.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 8px;
}

.pagination-links {
    display: flex;
    gap: 4px;
}

.page-btn {
    min-width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: all .12s;
    padding: 0 6px;
}

.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn.disabled { opacity: .4; pointer-events: none; }

/* ── Modal ─────────────────────────────── */
.modal-content { border: none; border-radius: var(--radius); }

.modal-header {
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 14px 20px;
}

.modal-header .btn-close { filter: invert(1); }

.modal-title { font-size: 16px; font-weight: 700; }

.modal-body { padding: 20px; }

.modal-footer {
    padding: 12px 20px;
    gap: 8px;
    border-top: 1px solid var(--border);
}

.form-label-sm {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.form-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 14px 0;
}

/* ── Autocomplete ─────────────────────────────── */
.autocomplete-wrapper { position: relative; }

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 0 0 6px 6px;
    z-index: 9999;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
    display: none;
}

.autocomplete-dropdown.open { display: block; }

.autocomplete-item {
    padding: 8px 12px;
    cursor: pointer;
    transition: background .1s;
    border-bottom: 1px solid #f5f5f5;
}

.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover, .autocomplete-item.focused { background: #fff5f5; }

.autocomplete-item .item-main { font-weight: 600; font-size: 13px; }
.autocomplete-item .item-sub { font-size: 11px; color: var(--text-muted); }

/* ── Alert flash ─────────────────────────────── */
.flash-msg {
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.flash-success { background: #d1e7dd; color: #0f5132; }
.flash-error   { background: #f8d7da; color: #842029; }

/* ── Upravljanje tabs ─────────────────────────────── */
.mgmt-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
}

.mgmt-tab {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .15s;
    text-decoration: none;
}

.mgmt-tab:hover { color: var(--text); }
.mgmt-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 900px) {
    .sidebar { width: 60px; }
    .sidebar .brand-sub, .sidebar .nav-item span, .sidebar .nav-group-label { display: none; }
    .sidebar .brand-logo { text-align: center; }
    .aircash-svg { width: 30px; overflow: hidden; }
    .nav-item { justify-content: center; padding: 12px; }
    .main-content { padding: 20px 16px; }
}

/* ── Print ─────────────────────────────── */
@media print {
    .sidebar, .filter-bar, .table-toolbar, .btn-primary-app, .btn-outline-app, .btn-action { display: none !important; }
    .main-content { padding: 0; }
    .app-wrapper { display: block; }
}
