/**
 * arena-status-monitor.css
 * Estilos para o monitor simplificado de status, pontuação e tempo
 */

/* Status Badges */
.arena-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.arena-status-badge.status-running {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.5);
    animation: statusPulse 2s ease-in-out infinite;
}

.arena-status-badge.status-paused {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: white;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

.arena-status-badge.status-called {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
    animation: statusPulse 1.5s ease-in-out infinite;
}

.arena-status-badge.status-waiting {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    opacity: 0.7;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(40, 167, 69, 0.5);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 30px rgba(40, 167, 69, 0.8);
    }
}

/* Timer Display */
#timerDisplay {
    transition: all 0.3s ease;
}

#timerDisplay.time-exceeded {
    animation: timeExceededBlink 0.5s ease-in-out infinite;
    color: #dc3545;
    text-shadow: 0 0 10px rgba(220, 53, 69, 0.6);
}

@keyframes timeExceededBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Score Display */
#currentScore {
    transition: all 0.3s ease;
}

#currentScore.score-updated {
    animation: scoreFlash 0.6s ease-out;
}

@keyframes scoreFlash {
    0% {
        color: #ffc107;
        transform: scale(1.1);
        text-shadow: 0 0 20px rgba(255, 193, 7, 0.8);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        color: inherit;
        transform: scale(1);
        text-shadow: none;
    }
}

/* Score Breakdown */
#scoreBreakdown {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .arena-status-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    #currentScore {
        font-size: 2rem;
    }

    #timerDisplay {
        font-size: 1.5rem;
    }

    #scoreBreakdown {
        font-size: 0.7rem;
    }
}
