/* Estilos para o Dashboard */
.dashboard {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.user-welcome {
    color: white;
    font-weight: 500;
    margin-right: 20px;
}

/* Seção de Boas-vindas */
.welcome-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 16px;
}

.welcome-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0056b3;
    margin-bottom: 16px;
}

.welcome-content p {
    font-size: 1.2rem;
    color: #666;
}

.progress-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.progress-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0056b3;
    margin-bottom: 20px;
    text-align: center;
}

.progress-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.progress-stats .stat {
    display: flex;
    flex-direction: column;
}

.progress-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #28a745;
}

.progress-stats .stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Menu Principal */
.main-menu {
    margin-bottom: 60px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.menu-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.menu-card.payment-card {
    border-color: #28a745;
    background: linear-gradient(135deg, #ffffff 0%, #f8fff9 100%);
}

.menu-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.menu-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0056b3;
    margin-bottom: 15px;
}

.menu-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.menu-card .btn {
    position: relative;
    overflow: hidden;
}

.btn-lock {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.9rem;
    font-weight: 600;
}

.menu-card.locked .btn-text {
    opacity: 0;
}

.menu-card.locked .btn-lock {
    display: block;
}

.menu-card.locked .btn {
    background: #6c757d;
    cursor: not-allowed;
}

.menu-card.locked .btn:hover {
    background: #5a6268;
    transform: none;
    box-shadow: none;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* Histórico */
.recent-history {
    margin-bottom: 60px;
}

.recent-history h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0056b3;
    margin-bottom: 30px;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.history-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #0056b3;
}

.history-item.passed {
    border-left-color: #28a745;
}

.history-item.failed {
    border-left-color: #dc3545;
}

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

.history-title {
    font-weight: 600;
    color: #333;
}

.history-score {
    font-weight: 700;
    font-size: 1.2rem;
}

.history-score.passed {
    color: #28a745;
}

.history-score.failed {
    color: #dc3545;
}

.history-details {
    color: #666;
    font-size: 0.9rem;
}

/* Seção de Motivação */
.motivation-section {
    text-align: center;
}

.motivation-card {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 40px;
    border-radius: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.motivation-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.motivation-card p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Responsividade */
@media (max-width: 768px) {
    .welcome-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .welcome-content h2 {
        font-size: 2rem;
    }
    
    .progress-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-card {
        padding: 30px 20px;
    }
    
    .user-welcome {
        display: none;
    }
}

@media (max-width: 480px) {
    .dashboard {
        padding: 20px 0;
    }
    
    .welcome-content h2 {
        font-size: 1.8rem;
    }
    
    .menu-icon {
        font-size: 3rem;
    }
    
    .motivation-card {
        padding: 30px 20px;
    }
    
    .motivation-card h3 {
        font-size: 1.5rem;
    }
}

/* Estados especiais */
.loading-state {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #666;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #666;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: #333;
}

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

.menu-card {
    animation: fadeIn 0.6s ease forwards;
}

.menu-card:nth-child(1) { animation-delay: 0.1s; }
.menu-card:nth-child(2) { animation-delay: 0.2s; }
.menu-card:nth-child(3) { animation-delay: 0.3s; }
.menu-card:nth-child(4) { animation-delay: 0.4s; }

