/* ── Bolão Copa do Mundo — Estilos Públicos ────────────── */
:root {
    --bolao-green:  #00843D;
    --bolao-gold:   #FFD700;
    --bolao-dark:   #1a1a2e;
    --bolao-light:  #f4f7f4;
    --bolao-radius: 10px;
}

.bolao-copa-wrap {
    font-family: 'Segoe UI', Arial, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    color: #222;
}

.bolao-header {
    background: linear-gradient(135deg, var(--bolao-green), #005a28);
    color: #fff;
    border-radius: var(--bolao-radius);
    padding: 24px 30px;
    margin-bottom: 24px;
    text-align: center;
}
.bolao-header h2 {
    margin: 0;
    font-size: 1.8em;
    color: var(--bolao-gold);
}

.bolao-section {
    background: #fff;
    border-radius: var(--bolao-radius);
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    padding: 24px;
    margin-bottom: 24px;
}
.bolao-section-title {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--bolao-green);
    border-bottom: 2px solid var(--bolao-gold);
    padding-bottom: 8px;
    margin: 0 0 18px;
}

/* Tabelas */
.bolao-table-wrap { overflow-x: auto; }
.bolao-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95em;
}
.bolao-table th {
    background: var(--bolao-green);
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
}
.bolao-table td {
    padding: 9px 12px;
    border-bottom: 1px solid #eee;
}
.bolao-table tr:hover td { background: #f9f9f9; }
.bolao-lider td { background: #fffbea !important; font-weight: 600; }
.bolao-pos { font-size: 1.1em; width: 40px; }
.bolao-pts { font-size: 1.15em; color: var(--bolao-green); width: 50px; }

/* Jogos */
.bolao-fase { margin-bottom: 20px; }
.bolao-fase-title {
    font-size: 1em;
    font-weight: 700;
    color: #555;
    margin: 14px 0 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.bolao-jogos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
}
.bolao-jogo-card {
    border-radius: 8px;
    padding: 14px;
    border: 2px solid #e0e0e0;
    background: #fafafa;
    text-align: center;
    font-size: .9em;
}
.bolao-jogo-ok  { border-color: var(--bolao-green); background: #f0faf4; }
.bolao-jogo-pend { border-color: #ddd; }
.bolao-rodada { display: block; font-size: .78em; color: #888; margin-bottom: 6px; }
.bolao-jogo-times { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; }
.bolao-time { flex: 1; }
.bolao-placar-real { padding: 4px 10px; background: var(--bolao-dark); color: #fff; border-radius: 4px; font-size: 1em; min-width: 50px; }
.bolao-jogo-ok .bolao-placar-real { background: var(--bolao-green); }
.bolao-data { font-size: .78em; color: #888; margin-top: 8px; }
.bolao-acertos-resumo { font-size: .8em; color: var(--bolao-green); margin-top: 4px; }

/* Tabs */
.bolao-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.bolao-tab {
    background: #eee;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: .88em;
    font-weight: 600;
    transition: background .2s;
}
.bolao-tab:hover { background: #ddd; }
.bolao-tab--active { background: var(--bolao-green); color: #fff; }
.bolao-tab-pts { font-size:.8em; opacity:.8; margin-left:4px; }
.bolao-tab-content { display: none; }
.bolao-tab-content--active { display: block; }

.bolao-part-header {
    background: var(--bolao-light);
    border-left: 4px solid var(--bolao-green);
    padding: 10px 14px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 14px;
    font-size: .95em;
}

/* Linha de palpites */
.bolao-table--palpites .bolao-acertou td { background: #e8f8ef; }
.bolao-table--palpites .bolao-errou td  { background: #fff0f0; }

@media (max-width: 600px) {
    .bolao-header h2 { font-size: 1.3em; }
    .bolao-jogo-times { font-size: .85em; }
    .bolao-tabs { gap: 4px; }
    .bolao-tab { padding: 6px 10px; font-size: .82em; }
}
