:root {
    --jw-gold: #b8860b;
}

body {
    font-size: 0.925rem;
}

.sidebar {
    min-height: calc(100vh - 56px);
}

@media (min-width: 992px) {
    .sidebar {
        position: sticky;
        top: 56px;
        height: calc(100vh - 56px);
        overflow-y: auto;
    }
}

.sidebar-heading {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6c757d;
    padding: 0.5rem 1rem 0.25rem;
}

.sidebar .nav-link {
    color: #343a40;
    padding: 0.4rem 1rem;
    border-left: 3px solid transparent;
}

.sidebar .nav-link:hover,
.sidebar .nav-link:focus-visible {
    background: rgba(184, 134, 11, 0.08);
}

.sidebar .nav-link.active {
    color: var(--jw-gold);
    font-weight: 600;
    border-left-color: var(--jw-gold);
    background: rgba(184, 134, 11, 0.1);
}

.sidebar .nav-link .bi {
    width: 1.25rem;
    display: inline-block;
}

.page-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stat-card .stat-value {
    font-size: 1.4rem;
    font-weight: 600;
}

.table td,
.table th {
    vertical-align: middle;
}

.table-sm input.form-control,
.table-sm select.form-select {
    min-width: 5.5rem;
}

.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pos-summary {
    position: sticky;
    top: 70px;
}

.pos-summary .total-row {
    font-size: 1.25rem;
    font-weight: 700;
}

.item-photo {
    max-width: 100%;
    max-height: 260px;
    object-fit: contain;
}

.filter-bar .form-control,
.filter-bar .form-select {
    min-width: 9rem;
}
