body {
    background: #f5f7fb;
    color: #172033;
    font-size: 0.95rem;
}

.app-shell {
    min-height: 100vh;
}

.sidebar {
    background: #101827;
    color: #fff;
    min-height: 100vh;
}

.sidebar a {
    color: #cbd5e1;
    display: block;
    margin: 0.15rem 0.65rem;
    padding: 0.65rem 0.8rem;
    border-radius: 8px;
    text-decoration: none;
}

.sidebar a:hover,
.sidebar a.active {
    background: #253149;
    color: #fff;
}

.nav-section {
    color: #7f8da3;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    padding: 1rem 1rem 0.35rem;
    text-transform: uppercase;
}

.metric-card {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.08);
}

.metric-card .card-header {
    border-bottom-color: #e8edf5;
    font-weight: 600;
}

.product-card {
    border-left: 4px solid #2563eb;
}

.product-card h4 {
    font-size: 1.25rem;
}

.btn {
    border-radius: 7px;
}

.badge {
    font-weight: 600;
}

.table-wrap {
    max-height: 560px;
    overflow: auto;
}

.table thead th {
    background: #f8fafc;
    color: #526175;
    font-size: 0.78rem;
    font-weight: 700;
    position: sticky;
    text-transform: uppercase;
    top: 0;
    z-index: 1;
}

.small-label {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ocr-preview {
    background: #0f172a;
    border-radius: 8px;
    color: #dbeafe;
    font-size: 0.85rem;
    max-height: 360px;
    overflow: auto;
    padding: 1rem;
    white-space: pre-wrap;
}
