
body {
    background: linear-gradient(135deg, #F2CD13 0%, #038C3E 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    padding: 2rem 0;
}

.card {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: none;
}

 
 

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.btn-success {
    background: linear-gradient(135deg, #51cf66 0%, #40c057 100%);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.btn-warning {
    background: linear-gradient(135deg, #ffd93d 0%, #ff9a56 100%);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: #333;
}

.winner-card {
    background: linear-gradient(135deg, #ffd93d 0%, #ff9a56 100%);
    color: #333;
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem 0;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.participant-list {
    max-height: 400px;
    overflow-y: auto;
}

.participant-item {
    padding: 0.75rem;
    margin: 0.5rem 0;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.stats-card {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    margin: 0.5rem 0;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stats-card h3 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: bold;
}

.stats-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Estilo para botão de opções */
#optionsSection .btn {
    transition: all 0.3s ease;
}

#optionsSection .btn:hover {
    transform: translateY(-2px);
}

/* Animação para botão de sorteio */
#drawBtn {
    transition: all 0.3s ease;
}

#drawBtn:disabled {
    opacity: 0.8;
    transform: none !important;
}

/* Animação suave para spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Animação para seção de resultado */
.winner-card {
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.file-input-wrapper input[type=file] {
    display: none;
}

.loading {
    display: none;
}

.loading.show {
    display: inline-block;
}



/* Lista de participantes oculta */
.participants-section {
    display: none;
    margin-top: 2rem;
}

.participants-section.show {
    display: block;
}

/* Lista de participantes já sorteados (sempre visível quando há dados) */
.drawn-participants-list {
    max-height: 300px;
    overflow-y: auto;
}

.drawn-participant-item {
    padding: 0.75rem;
    margin: 0.5rem 0;
    background: #f8fff8;
    border-radius: 10px;
    border-left: 4px solid #28a745;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsividade das estatísticas */
@media (max-width: 768px) {
    .stats-card {
        margin: 0.25rem 0;
        height: 100px;
    }
    
    .stats-card h3 {
        font-size: 2rem;
    }
}