/* Dashboard Styles */
.ae-dashboard {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
}

.dashboard-welcome-banner {
    background: linear-gradient(135deg, #0A2540 0%, #00D1C1 100%);
    padding: 40px;
    border-radius: 16px;
    color: white;
    margin-bottom: 32px;
}

.dashboard-welcome-banner h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 8px;
}

.dashboard-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
}

#next-milestone {
    background: rgba(255, 255, 255, 0.15);
    padding: 16px;
    border-radius: 12px;
    margin-top: 20px;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 300px 1fr 320px;
    gap: 24px;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dashboard-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #0A2540;
}

/* XP Card */
.xp-card {
    background: linear-gradient(135deg, #7E57C2, #9575CD);
    color: white;
}

.xp-card h3 {
    color: white;
}

#xp-progress {
    margin-bottom: 16px;
}

.xp-bar {
    background: rgba(255, 255, 255, 0.3);
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.xp-fill {
    background: white;
    height: 100%;
    transition: width 0.3s ease;
}

.xp-text {
    font-size: 14px;
    opacity: 0.9;
}

#level-badge {
    text-align: center;
    padding: 20px;
}

.level-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 8px;
}

/* AEi Card */
.aei-card {
    background: linear-gradient(135deg, #00D1C1, #00A896);
    color: white;
}

.aei-card h3 {
    color: white;
}

#aei-score {
    text-align: center;
    padding: 20px 0;
}

.aei-number {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 8px;
}

.aei-percentile {
    font-size: 16px;
    opacity: 0.9;
}

.aei-description {
    text-align: center;
    font-size: 14px;
    opacity: 0.9;
}

/* Skill Radar Card */
.skill-radar-card canvas {
    max-height: 300px;
}

/* Completion Card */
.completion-card canvas {
    max-height: 250px;
}

/* Streak Card */
.streak-card {
    background: linear-gradient(135deg, #FF6B6B, #FF8787);
    color: white;
}

.streak-card h3 {
    color: white;
}

#streak-data {
    text-align: center;
    padding: 16px 0;
}

.streak-number {
    font-size: 48px;
    font-weight: bold;
}

.streak-label {
    font-size: 16px;
    opacity: 0.9;
}

#streak-line-chart {
    margin-top: 16px;
    max-height: 120px;
}

/* Next Actions Card */
.next-actions-card .action-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.next-actions-card .action-item:hover {
    background: #f3f4f6;
    transform: translateX(4px);
}

.action-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.action-content {
    flex: 1;
}

.action-title {
    font-weight: 600;
    color: #0A2540;
    margin-bottom: 4px;
}

.action-description {
    font-size: 14px;
    color: #6b7280;
}

/* AI Coach Card */
.ai-coach-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.ai-coach-card h3,
.ai-coach-card p {
    color: white;
}

.ai-coach-card .btn-primary {
    width: 100%;
    margin-top: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .dashboard-right {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-welcome-banner h1 {
        font-size: 28px;
    }
}
