/* Garante que apenas o item ativo do menu tenha fundo amarelo clarinho */
.nav-link {
    background: none !important;
}
/* Destaque para item de menu selecionado */
.nav-link.active, .nav-link.selected {
    font-weight: bold;
    color: #212529 !important;
    background: #ffe066;
    border-radius: 0;
    width: 100vw;
    max-width: none;
    display: block;
    box-sizing: border-box;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: 24px;
    padding-right: 24px;
}
/* --- Indicador de Jogo Ao Vivo --- */
.live-indicator-container {
    font-size: 0.9em;
    font-weight: bold;
    color: #dc3545; /* Vermelho do Bootstrap (danger) */
    text-align: center; /* ADICIONE ESTA LINHA */
}

.live-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #dc3545;
    border-radius: 50%;
    margin-right: 6px;
    animation: blink-animation 1.5s infinite;
    vertical-align: middle;
}

@keyframes blink-animation {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}

body { 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
    background-color: #f8f9fa; 
}

.main-content { 
    flex: 1; 
}

/* REGRA ESSENCIAL PARA CORRIGIR O HEADER */
.navbar-brand img { 
    height: 30px; 
    margin-right: 0.5rem; 
}

.table { 
    vertical-align: middle; 
}

.team-logo-table { 
    width: 25px; 
    height: 25px; 
    object-fit: contain; 
    margin-right: 0.5rem; 
}

.table-responsive { 
    font-size: 0.9rem; 
}

.table th { 
    font-weight: 600; 
}

/* REGRA PARA IMPEDIR A QUEBRA DE LINHA DO NOME DO TIME EM TELAS PEQUENAS */
.table tbody tr td:nth-child(2) {
    white-space: nowrap;
}

.card-game { 
    border: 1px solid #dee2e6; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); 
}

.live-indicator { 
    display: inline-block; 
    width: 8px; 
    height: 8px; 
    background-color: #dc3545; 
    border-radius: 50%; 
    margin-right: 0.5rem; 
    animation: pulse-live 1.5s infinite; 
}

@keyframes pulse-live { 
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); } 
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); } 
}

.team-logo { 
    width: 40px; 
    height: 40px; 
    object-fit: contain; 
}

.placar-container { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 0.5rem; 
    margin: 0 1rem; 
}

.placar-individual { 
    background-color: #343a40; 
    color: #ffffff; 
    padding: 0.25rem 0.75rem; 
    border-radius: 0.375rem; 
    font-size: 1.75rem; 
    font-weight: 700; 
    min-width: 45px; 
    text-align: center; 
}

.placar-separador { 
    font-size: 1.2rem; 
    font-weight: 600; 
    color: #6c757d; 
}

.card-game-body { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
    padding: 0.75rem 1rem; 
}
