/* Estilos personalizados para a área do participante */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@300;400;500;600;700&display=swap');

body, html, body.participant-area {
    font-family: 'Barlow Semi Condensed', sans-serif;
    background-color: #f8f9fa;
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.answer-option {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 10px 15px;
}

.answer-option:hover {
    border-color: #adb5bd;
    transform: translateY(-2px);
}

.answer-option.selected {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
}

.timer-container {
    position: relative;
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    margin: 20px 0;
}

.timer-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #0d6efd;
    border-radius: 5px;
    transition: width 1s linear;
}

.timer-bar.warning {
    background-color: #ffc107;
}

.timer-bar.danger {
    background-color: #dc3545;
}

.waiting-screen {
    text-align: center;
    padding: 40px 0;
}

.participant-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.quiz-header {
    background-color: #0d6efd;
    color: white;
    padding: 20px;
    text-align: center;
}

.feedback-correct {
    color: #198754;
    font-weight: bold;
}

.feedback-incorrect {
    color: #dc3545;
    font-weight: bold;
}

/* Animações */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Estilos para perguntas do tipo ordenação */
.sortable-item {
    cursor: move;
    padding: 12px;
    margin: 8px 0;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s;
}

.sortable-item:hover {
    background-color: #f8f9fa;
}

.sortable-ghost {
    opacity: 0.4;
}

.sortable-chosen {
    background-color: #e9ecef;
}

/* Estilos para o ranking */
.top-three {
    margin: 30px 0;
}

.podium {
    text-align: center;
    transition: transform 0.3s ease;
}

.podium:hover {
    transform: translateY(-5px);
}

.avatar {
    margin: 0 auto 10px;
}

.medal {
    animation: pulse 3s infinite;
}

/* Estilos para dispositivos móveis */
@media (max-width: 576px) {
    .answer-option {
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .quiz-header h1 {
        font-size: 1.8rem;
    }
    
    .top-three {
        flex-direction: column;
        align-items: center;
    }
    
    .podium {
        margin-bottom: 20px;
    }
}
