/* Learning Page Specific Styles */
/* Moved from inline styles in learning.html for CSP compliance */

/* Ensure weekly reflection section is always visible */
#weekly-reflection,
.weekly-reflection {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    min-height: 100px !important;
}

/* Dark theme overrides for learning topics */
.topic-navigation {
    background: linear-gradient(135deg, #1a1d23 0%, #2d3748 100%) !important;
    border-bottom: 1px solid #4a5568 !important;
}

.topic-nav-header h2 {
    color: #ffffff !important;
}

.topic-nav-header p {
    color: #e9ecef !important;
}

.search-container input {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.search-container input::placeholder {
    color: #adb5bd !important;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: #4dabf7;
    border-color: #4dabf7;
    color: #ffffff;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.topic-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.topic-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.topic-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin: 0 0 10px 0;
}

.topic-card p {
    color: #e9ecef;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.topic-card .topic-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.topic-category {
    background: rgba(77, 171, 247, 0.2);
    color: #4dabf7;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.topic-difficulty {
    color: #adb5bd;
    font-size: 0.9rem;
}

.stats-container {
    text-align: center;
    margin: 20px 0;
    color: #e9ecef;
}

