:root {
    --app-bg: #f4f7fb;
    --app-panel: #ffffff;
    --app-border: #dce3ee;
    --app-text: #152033;
    --app-muted: #64748b;
    --app-accent: #0f766e;
    --app-danger: #b91c1c;
}

body {
    min-height: 100vh;
    background: var(--app-bg);
    color: var(--app-text);
}

.app-nav {
    background: #111827;
}

.metric-card,
.app-card {
    background: var(--app-panel);
    border: 1px solid var(--app-border);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.metric-card {
    padding: 18px;
}

.metric-label {
    color: var(--app-muted);
    font-size: 0.85rem;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
}

.product-thumb {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--app-border);
    background: #fff;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-width: 72px;
    justify-content: center;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.status-active {
    background: #dcfce7;
    color: #166534;
}

.status-paused {
    background: #fee2e2;
    color: var(--app-danger);
}

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

.btn-icon-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.auth-shell {
    max-width: 440px;
    margin: 8vh auto;
}

.chart-box {
    height: 320px;
}

@media (max-width: 767.98px) {
    .metric-value {
        font-size: 1.45rem;
    }

    .btn-icon-row {
        flex-direction: column;
    }
}
