/* Dashboard specific styles */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
}

.streak {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Study Cards */
.study-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.study-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
}

.study-card.new-words::before {
    background: linear-gradient(90deg, #3498db, #5dade2);
}

.study-card.review::before {
    background: linear-gradient(90deg, #e74c3c, #ec7063);
}

.study-card.weak-points::before {
    background: linear-gradient(90deg, #f39c12, #f7dc6f);
}

.study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.study-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.study-card .count {
    font-size: 3rem;
    font-weight: bold;
    color: #3498db;
    margin: 1rem 0;
}

.study-card.new-words .count {
    color: #3498db;
}

.study-card.review .count {
    color: #e74c3c;
}

.study-card.weak-points .count {
    color: #f39c12;
}

.study-card button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.study-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

/* Progress Section */
.progress-section {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.progress-section h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #7f8c8d;
    font-size: 1.1rem;
}

#progress-percentage {
    font-weight: bold;
    color: #3498db;
    font-size: 1.3rem;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .dashboard-header h1 {
        font-size: 2rem;
    }
    
    .study-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .study-card {
        padding: 1.5rem;
    }
    
    .study-card .count {
        font-size: 2.5rem;
    }
}