/* Sistema de Bolões - Estilos */

/* Container principal */
.boloes-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilos para seleção de dias da semana */
.dia-semana {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    background-color: #f9fafb;
    color: #374151;
}

.dia-semana:hover {
    border-color: #10b981;
    background-color: #ecfdf5;
}

.dia-semana.selected,
.dia-semana.bg-green-100 {
    background-color: #dcfce7 !important;
    border-color: #10b981 !important;
    color: #065f46 !important;
}

.dia-semana.selected:hover,
.dia-semana.bg-green-100:hover {
    background-color: #bbf7d0 !important;
    border-color: #059669 !important;
}

/* Navegação das abas */
.bolao-tabs {
    margin-bottom: 2rem;
}

.bolao-tab-btn {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.bolao-tab-btn:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.bolao-tab-btn.active {
    background-color: white;
    border-color: #3b82f6;
    color: #2563eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Conteúdo das abas */
.bolao-tab-content {
    animation: fadeIn 0.3s ease-in-out;
}

.bolao-tab-content.hidden {
    display: none;
}

/* Formulários */
.bolao-form input,
.bolao-form textarea,
.bolao-form select {
    transition: all 0.3s ease;
}

.bolao-form input:focus,
.bolao-form textarea:focus,
.bolao-form select:focus {
    outline: none;
    ring: 2px;
    ring-color: #3b82f6;
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Botões */
.bolao-form button {
    transition: all 0.3s ease;
    transform: translateY(0);
}

.bolao-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bolao-form button:active {
    transform: translateY(0);
}

/* Cards de bolões */
.bolao-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.bolao-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

/* Ícones */
.bolao-tab-content i {
    display: inline-block;
    margin-right: 0.5rem;
}

/* Estados vazios */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .bolao-tabs nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .bolao-tab-btn {
        text-align: center;
        padding: 0.75rem;
    }
    
    .boloes-container {
        padding: 1rem;
    }
    
    .bolao-form .grid {
        grid-template-columns: 1fr;
    }
}

/* Modo escuro */
@media (prefers-color-scheme: dark) {
    .bolao-tab-btn.active {
        background-color: #374151;
        color: #60a5fa;
    }
    
    .bolao-card {
        border-color: #374151;
    }
    
    .bolao-card:hover {
        border-color: #60a5fa;
    }
}

/* Utilitários */
.text-success {
    color: #10b981;
}

.text-warning {
    color: #f59e0b;
}

.text-danger {
    color: #ef4444;
}

.bg-success {
    background-color: #d1fae5;
    color: #065f46;
}

.bg-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.bg-danger {
    background-color: #fee2e2;
    color: #991b1b;
}