/* ═══════════════════════════════════════════════════════════════════════════
   TORNEIO DE TRUCO — BARRACÃO OLIVEIRA
   Premium dark sports theme
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
    --bg:          #080e17;
    --bg-card:     #0f1923;
    --bg-card-2:   #162030;
    --bg-hover:    #1a2d40;
    --border:      rgba(255,255,255,0.07);
    --border-2:    rgba(255,255,255,0.14);

    --green:       #10b981;
    --green-light: #34d399;
    --green-dark:  #059669;
    --green-glow:  rgba(16,185,129,0.2);

    --orange:      #f59e0b;
    --orange-glow: rgba(245,158,11,0.2);
    --red:         #ef4444;
    --red-glow:    rgba(239,68,68,0.2);
    --blue:        #3b82f6;
    --blue-glow:   rgba(59,130,246,0.2);
    --purple:      #8b5cf6;

    --text:        #f1f5f9;
    --text-muted:  #64748b;
    --text-dim:    #94a3b8;

    --radius:      12px;
    --radius-sm:   8px;
    --shadow:      0 4px 24px rgba(0,0,0,0.4);
    --shadow-lg:   0 8px 48px rgba(0,0,0,0.6);
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    font-size: 15px;
}

a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-light); }

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 64px;
    background: rgba(8,14,23,0.95);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text) !important;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
}
.nav-brand .brand-icon { font-size: 1.5rem; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: var(--text-dim);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all .2s;
}
.nav-link:hover { background: var(--bg-card-2); color: var(--text); }
.nav-link.active { background: var(--green-glow); color: var(--green-light); }
.nav-link.telao-link { color: var(--orange); }
.nav-link.telao-link:hover { background: var(--orange-glow); }

.btn-logout {
    background: transparent;
    border: 1px solid var(--border-2);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all .2s;
}
.btn-logout:hover { background: var(--red-glow); border-color: var(--red); color: var(--red); }

/* ── Main Container ──────────────────────────────────────────────────────── */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* ── Flash Messages ──────────────────────────────────────────────────────── */
.flash {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-weight: 500;
    border: 1px solid;
}
.flash-success { background: var(--green-glow); border-color: var(--green-dark); color: var(--green-light); }
.flash-error   { background: var(--red-glow);   border-color: var(--red);       color: #fca5a5; }
.flash-info    { background: var(--blue-glow);  border-color: var(--blue);      color: #93c5fd; }
.flash-warning { background: var(--orange-glow);border-color: var(--orange);    color: #fcd34d; }

/* ── Page Header ─────────────────────────────────────────────────────────── */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.page-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text) 0%, var(--text-dim) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 2px;
}

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: border-color .2s;
}
.card:hover { border-color: var(--border-2); }
.card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Grid Layouts ────────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

@media (max-width: 900px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

/* ── Stats Row ───────────────────────────────────────────────────────────── */
.stats-row { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.stat-card {
    flex: 1;
    min-width: 120px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.5rem;
    text-align: center;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.05em;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; margin-top: 4px; }
.stat-green .stat-number { color: var(--green); }
.stat-orange .stat-number { color: var(--orange); }
.stat-red .stat-number { color: var(--red); }
.stat-blue .stat-number { color: var(--blue); }
.stat-purple .stat-number { color: var(--purple); }

/* ── Team Lists ──────────────────────────────────────────────────────────── */
.team-list { display: flex; flex-direction: column; gap: 6px; }
.team-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--bg-card-2);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all .2s;
}
.team-item:hover { border-color: var(--border-2); background: var(--bg-hover); }
.team-name { font-weight: 600; font-size: 0.95rem; }
.team-partners { font-size: 0.8rem; color: var(--text-muted); }

/* ── Badges ──────────────────────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.badge-principal  { background: var(--blue-glow);   color: #93c5fd; border: 1px solid var(--blue); }
.badge-repescagem { background: var(--orange-glow);  color: #fcd34d; border: 1px solid var(--orange); }
.badge-eliminado  { background: var(--red-glow);     color: #fca5a5; border: 1px solid #7f1d1d; }
.badge-final      { background: var(--green-glow);   color: var(--green-light); border: 1px solid var(--green-dark); }
.badge-ouro       { background: rgba(251,191,36,0.15); color: #fbbf24; border: 1px solid #92400e; }
.badge-prata      { background: rgba(148,163,184,0.15); color: #94a3b8; border: 1px solid #475569; }
.badge-bronze     { background: rgba(180,83,9,0.15); color: #f97316; border: 1px solid #7c2d12; }
.badge-default    { background: var(--bg-card-2); color: var(--text-muted); border: 1px solid var(--border); }
.badge-aguardando { background: rgba(100,116,139,0.2); color: #94a3b8; border: 1px solid #334155; }
.badge-andamento  { background: var(--green-glow); color: var(--green); border: 1px solid var(--green-dark); animation: pulse 2s infinite; }
.badge-finalizada { background: rgba(15,23,42,0.5); color: #475569; border: 1px solid #1e293b; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ── Match Cards ─────────────────────────────────────────────────────────── */
.match-cards { display: flex; flex-direction: column; gap: 12px; }
.match-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .2s;
    position: relative;
}
.match-card:hover { border-color: var(--border-2); transform: translateY(-1px); box-shadow: var(--shadow); }
.match-card.match-finalizada { opacity: 0.6; }
.match-card.match-andamento { border-color: var(--green-dark); background: linear-gradient(135deg, var(--bg-card) 0%, #091a12 100%); }

.match-team { display: flex; flex-direction: column; }
.match-team.right { text-align: right; align-items: flex-end; }
.match-team-name { font-size: 1.1rem; font-weight: 700; }
.match-team-partners { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.match-team-score {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.05em;
    line-height: 1;
    margin-top: 4px;
    color: var(--text-dim);
}
.match-team-score.winner { color: var(--green-light); }
.match-team-score.loser  { color: var(--text-muted); }

.match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.match-vs { font-size: 1.2rem; font-weight: 800; color: var(--text-muted); font-family: 'Bebas Neue', sans-serif; }
.match-mesa { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.match-group-badge { }
.match-actions { margin-top: 8px; }

.match-winner-tag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-primary {
    background: var(--green);
    color: #000;
}
.btn-primary:hover:not(:disabled) {
    background: var(--green-light);
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--green-glow);
}

.btn-secondary {
    background: var(--bg-card-2);
    color: var(--text-dim);
    border: 1px solid var(--border-2);
}
.btn-secondary:hover:not(:disabled) { background: var(--bg-hover); color: var(--text); }

.btn-danger {
    background: var(--red);
    color: #fff;
}
.btn-danger:hover:not(:disabled) { background: #dc2626; transform: translateY(-1px); }

.btn-orange {
    background: var(--orange);
    color: #000;
}
.btn-orange:hover:not(:disabled) { background: #d97706; transform: translateY(-1px); }

.btn-sm { padding: 6px 12px; font-size: 0.82rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
}
.form-control {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-card-2);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color .2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-glow);
}
.form-control option { background: #1a2332; }

/* ── Login Page ──────────────────────────────────────────────────────────── */
.login-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    background: radial-gradient(ellipse at center, #0d1f12 0%, var(--bg) 70%);
}
.login-box {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
}
.login-logo {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 20px var(--green-glow));
}
.login-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}
.login-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

/* ── Score Buttons ───────────────────────────────────────────────────────── */
.score-display {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    margin-bottom: 1.5rem;
}
.score-team { text-align: center; }
.score-team-name { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }
.score-team-partner { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.5rem; }
.score-number {
    font-size: 6rem;
    font-weight: 900;
    font-family: 'Bebas Neue', sans-serif;
    line-height: 1;
    color: var(--green);
    text-shadow: 0 0 40px var(--green-glow);
}
.score-controls { display: flex; gap: 10px; justify-content: center; margin-top: 1rem; }
.score-btn {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 2px solid var(--border-2);
    background: var(--bg-card-2);
    color: var(--text);
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    display: flex; align-items: center; justify-content: center;
    font-family: inherit;
}
.score-btn:hover { transform: scale(1.1); }
.score-btn.plus { border-color: var(--green); color: var(--green); }
.score-btn.plus:hover { background: var(--green); color: #000; box-shadow: 0 0 20px var(--green-glow); }
.score-btn.minus { border-color: var(--red); color: var(--red); }
.score-btn.minus:hover { background: var(--red); color: #fff; }

.score-vs { font-size: 2rem; color: var(--text-muted); font-family: 'Bebas Neue', sans-serif; }

/* ── Nova Rodada ─────────────────────────────────────────────────────────── */
.mesa-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
}
.mesa-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.mesa-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
}
.mesa-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; align-items: end; }
.mesa-vs { text-align: center; font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; color: var(--text-muted); padding-bottom: 10px; }

/* ── Finais ──────────────────────────────────────────────────────────────── */
.final-section {
    background: linear-gradient(135deg, #0a1f12, #1a2d18);
    border: 1px solid var(--green-dark);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
}
.final-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--green-light);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.final-subtitle { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.5rem; }

/* ── Telão ───────────────────────────────────────────────────────────────── */
.telao-body {
    background: #050a0e;
    color: #fff;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    padding: 2rem;
}
.telao-header {
    text-align: center;
    padding: 2rem 0 3rem;
    border-bottom: 2px solid rgba(16,185,129,0.3);
    margin-bottom: 2.5rem;
}
.telao-logo { font-size: 5rem; margin-bottom: 0.5rem; }
.telao-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.telao-round {
    font-size: 1.1rem;
    color: #64748b;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.telao-section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.telao-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.08);
}
.telao-match {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: #0d1923;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    margin-bottom: 0.75rem;
}
.telao-match.ao-vivo.grupo-principal { border-color: var(--blue); animation: borderPulseBlue 2s infinite; }
.telao-match.ao-vivo.grupo-repescagem { border-color: var(--orange); animation: borderPulseOrange 2s infinite; }
.telao-match.finalizada.grupo-principal { border-color: var(--blue); opacity: 0.5; }
.telao-match.finalizada.grupo-repescagem { border-color: var(--orange); opacity: 0.5; }

@keyframes borderPulseBlue {
    0%, 100% { border-color: var(--blue); box-shadow: none; }
    50% { border-color: #60a5fa; box-shadow: 0 0 20px rgba(59,130,246,0.3); }
}

@keyframes borderPulseOrange {
    0%, 100% { border-color: var(--orange); box-shadow: none; }
    50% { border-color: #fbbf24; box-shadow: 0 0 20px rgba(245,158,11,0.3); }
}

.telao-team-name { font-size: 1.6rem; font-weight: 800; }
.telao-team-partner { font-size: 0.9rem; color: #64748b; }
.telao-score {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    line-height: 1;
    color: #34d399;
}
.telao-score.winner { color: #34d399; }
.telao-score.loser  { color: #475569; }
.telao-vs { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: #334155; }

.telao-podium { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin: 2rem 0; }
.podium-item { text-align: center; }
.podium-place {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    line-height: 1;
}
.podium-name { font-size: 1.2rem; font-weight: 700; margin-top: 4px; }
.podium-1 .podium-place { color: #fbbf24; }
.podium-2 .podium-place { color: #94a3b8; }
.podium-3 .podium-place { color: #f97316; }

.telao-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.telao-group-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.telao-team-item { padding: 8px 12px; background: rgba(255,255,255,0.04); border-radius: 8px; margin-bottom: 4px; font-size: 0.95rem; }

.auto-refresh-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #334155;
    padding: 0.5rem;
}
.refresh-dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; animation: pulse 2s infinite; }

/* ── Tables ──────────────────────────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); background: var(--bg-card-2); font-weight: 600; }
tr:hover td { background: rgba(255,255,255,0.02); }

/* ── Dividers / Section spacing ──────────────────────────────────────────── */
.section { margin-bottom: 2rem; }
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title::before { content: ''; width: 3px; height: 16px; background: var(--green); border-radius: 2px; }

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
}
.empty-state-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state-text { font-size: 1rem; }
.empty-state-sub { font-size: 0.85rem; margin-top: 0.5rem; opacity: 0.7; }

/* ── Destination selector (finalize match) ───────────────────────────────── */
.dest-picker { display: flex; gap: 8px; flex-wrap: wrap; }
.dest-btn {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border-2);
    background: var(--bg-card-2);
    color: var(--text-dim);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    transition: all .2s;
}
.dest-btn:hover { border-color: var(--green); color: var(--green); }
.dest-btn.selected { border-color: var(--green); background: var(--green-glow); color: var(--green-light); }

/* ── Modal ───────────────────────────────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 200;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border-2);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 540px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}
.modal-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; }
.modal-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

/* ── Misc ────────────────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }
.text-muted { color: var(--text-muted); }
.text-green { color: var(--green); }
.text-orange { color: var(--orange); }
.text-red { color: var(--red); }
.fw-bold { font-weight: 700; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.hidden { display: none; }
