/* Legacy CSS styles for fallback compatibility */
/* These styles are used when USE_NEW_SHELL flag is disabled */

:root {
    --bg: #f5f7fb;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --accent: #0f766e;
    --danger-bg: #fee2e2;
    --danger-text: #991b1b;
    --info-bg: #ecfeff;
    --info-text: #115e59;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    background: var(--card);
    border-radius: 14px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.title {
    margin: 0 0 8px;
    font-size: 28px;
}

.subtitle {
    margin: 0 0 18px;
    color: var(--muted);
}

.hidden {
    display: none;
}

.banner {
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.4;
}

.banner.error {
    background: var(--danger-bg);
    color: var(--danger-text);
}

.banner.info {
    background: var(--info-bg);
    color: var(--info-text);
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.stat {
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px;
}

.stat-label {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
}

.footer {
    margin-top: 16px;
    display: flex;
    gap: 10px;
}

button {
    border: none;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    padding: 11px 14px;
    font-size: 14px;
    font-weight: 600;
}

button.secondary {
    background: #334155;
}

.badge {
    display: inline-block;
    margin-top: 10px;
    background: #dcfce7;
    color: #166534;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
