/* ==================== OVERVIEW & FORTSCHRITT STYLES ==================== */

.overview-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Streak Section */
.streak-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.streak-card {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.streak-card.streak-hot {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 2px solid #f44336;
    animation: pulse 2s infinite;
}

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

.streak-icon {
    font-size: 4rem;
    animation: flicker 1.5s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.streak-number {
    font-size: 3rem;
    font-weight: bold;
    color: #d52b1e;
}

.streak-label {
    font-size: 1.2rem;
    color: #666;
    margin-top: 0.5rem;
}

.streak-message {
    margin-top: 0.5rem;
    color: #333;
    font-weight: 500;
}

.daily-goal-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.daily-goal-card h3 {
    margin-top: 0;
    color: #333;
}

.goal-progress {
    margin-top: 1rem;
}

.goal-bar {
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.goal-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50 0%, #8bc34a 100%);
    transition: width 0.5s ease;
}

.goal-progress p {
    margin-top: 0.5rem;
    color: #666;
}

/* Stats Overview */
.stats-overview {
    margin: 3rem 0;
}

.stats-grid-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-card-large {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.stat-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #d52b1e;
    margin: 0.5rem 0;
}

.stat-label {
    color: #666;
    font-size: 1rem;
}

/* Weaknesses Section */
.weaknesses-section {
    margin: 3rem 0;
    background: #fff3e0;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #ff9800;
}

.weakness-list {
    margin-top: 1.5rem;
}

.weakness-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.weakness-info strong {
    color: #d52b1e;
    font-size: 1.1rem;
}

.weakness-info p {
    margin: 0.5rem 0 0 0;
    color: #666;
}

.btn-practice {
    background: #ff9800;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-practice:hover {
    background: #f57c00;
    transform: translateY(-2px);
}

.no-weaknesses {
    text-align: center;
    padding: 2rem;
    color: #4caf50;
    font-size: 1.2rem;
}

/* Review Section */
.review-section {
    margin: 3rem 0;
    background: #e3f2fd;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2196f3;
}

.review-info {
    color: #666;
    margin-bottom: 1rem;
}

.review-list {
    margin-top: 1.5rem;
}

.review-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.review-info strong {
    color: #2196f3;
    font-size: 1.1rem;
}

.review-info p {
    margin: 0.5rem 0 0 0;
    color: #666;
}

.btn-review {
    background: #2196f3;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-review:hover {
    background: #1976d2;
    transform: translateY(-2px);
}

.no-reviews {
    text-align: center;
    padding: 2rem;
    color: #4caf50;
    font-size: 1.2rem;
}

/* Completed Modules */
.completed-section {
    margin: 3rem 0;
}

.completed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.completed-module {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid #4caf50;
}

.completed-module .module-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.module-name {
    font-weight: 500;
    color: #333;
    margin: 0.5rem 0;
}

.module-date {
    font-size: 0.9rem;
    color: #666;
}

.no-completed {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Badges Section */
.badges-section {
    margin: 3rem 0;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.badge-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s;
}

.badge-item.unlocked {
    border: 2px solid #ffd700;
    background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
}

.badge-item.unlocked:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.badge-item.locked {
    opacity: 0.5;
    filter: grayscale(100%);
}

.badge-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.badge-name {
    font-weight: 500;
    color: #333;
}

.badge-lock {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
}

/* Practice Stats */
.practice-stats {
    margin: 2rem 0;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: #f5f5f5;
    border-radius: 8px;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #d52b1e;
}

.stat-card .stat-label {
    margin-top: 0.5rem;
    color: #666;
}

/* Learning Tips */
.learning-tips-section {
    margin: 3rem 0;
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 12px;
}

.tips-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tip-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tip-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.tip-item strong {
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

.tip-item p {
    margin: 0;
    color: #666;
}

/* Module Badge */
.module-badge {
    display: inline-block;
    background: #d52b1e;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .overview-container {
        padding: 1rem;
    }
    
    .streak-section {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .completed-grid,
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .weakness-item,
    .review-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-practice,
    .btn-review {
        width: 100%;
    }
}
