/* api_sports/static/api_sports/css/live.css */

/* Bloco geral */
.live-block {
    margin: 20px 0;
}

/* Card de jogo ao vivo */
.match-card.live {
    border: 2px solid #d32f2f; /* vermelho vivo */
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    background: #fff5f5;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Meta do jogo (data, status, minuto) */
.match-card.live .match-meta {
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
}

.match-card.live .status {
    font-weight: 600;
    color: #d32f2f;
    margin-left: 8px;
}

/* Placar em destaque */
.live-score {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    text-align: center;
    min-width: 60px;
}

/* Efeito de piscar no placar */
@keyframes blink {
    50% {
        opacity: 0.3;
    }
}

.match-card.live .live-score {
    animation: blink 1.5s infinite;
}

/* Nome e logo dos times */
.match-card.live .team {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.match-card.live .team-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.match-card.live .team-name.desktop {
    font-size: 15px;
    font-weight: 500;
}

.match-card.live .team-name.mobile {
    display: none;
}

/* Responsividade */
@media (max-width: 640px) {
    .match-card.live .team-name.desktop {
        display: none;
    }

    .match-card.live .team-name.mobile {
        display: inline;
        font-size: 14px;
        font-weight: 500;
    }
}

.live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.live-header h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.refresh-timer {
    font-size: 14px;
    font-weight: 600;
    color: #1565c0; /* azul destaque */
    background: #e3f2fd; /* azul claro */
    padding: 4px 10px;
    border-radius: 6px;
}

.round-block.finished {
    opacity: 0.7;          /* fica mais “apagado” */
}

.round-block.finished .score {
    color: #555;
}