/* PLU Lookup — site theme */

:root {
    --brand: #1a5f4a;
    --brand-dark: #134536;
    --brand-light: #e8f3ee;
    --brand-emphasis: #0d3d2f;
    --surface: #f4f7f6;
}

.site-body {
    background-color: var(--surface);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.bg-brand {
    background-color: var(--brand) !important;
}

.btn-brand {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.btn-brand:hover,
.btn-brand:focus {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.text-brand {
    color: var(--brand) !important;
}

.text-brand-emphasis {
    color: var(--brand-emphasis) !important;
}

.bg-brand-soft {
    background-color: var(--brand-light) !important;
}

.site-header .nav-pill {
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header .nav-pill:hover,
.site-header .nav-pill:focus {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.12);
}

.site-header .nav-pill.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 600;
}

.hero-panel {
    background: linear-gradient(135deg, #ffffff 0%, var(--brand-light) 100%);
    border: 1px solid rgba(26, 95, 74, 0.08);
}

.category-icon-sm {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.plu-badge {
    background-color: var(--brand-light);
    color: var(--brand-emphasis);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.45em 0.75em;
    border: 1px solid rgba(26, 95, 74, 0.15);
}

.plu-table thead th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
    border-bottom-width: 1px;
}

.plu-table tbody tr.hidden-row {
    display: none;
}

.empty-state {
    background: #fff;
    border: 1px dashed #ced4da;
}

.search-wrap {
    min-width: min(100%, 320px);
}

.settings-icon-btn {
    opacity: 0.9;
    text-decoration: none;
    padding: 0.35rem 0.5rem;
    border-radius: 0.5rem;
}

.settings-icon-btn:hover,
.settings-icon-btn:focus {
    opacity: 1;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.12);
}

.error-404-icon {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 1.25rem;
    background-color: var(--brand-light);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 1px solid rgba(26, 95, 74, 0.12);
}

.error-404-message {
    max-width: 36rem;
}

.letter-spacing-wide {
    letter-spacing: 0.08em;
}

@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
}
