/**
 * Learn Page Enhancements Styles
 * Comprehensive styling for all new features
 */

/* ============================================
   PROGRESS TRACKING
   ============================================ */

.path-card[data-path-id] .progress {
    transition: width 0.5s ease; }

/* ============================================
   ACHIEVEMENT SYSTEM
   ============================================ */

.achievement-notification {
    position: fixed; top: 20px; right: 20px; background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%); padding: 20px 25px; border-radius: 12px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); z-index: 10000; display: flex; align-items: center; gap: 15px; min-width: 300px; transform: translateX(400px); opacity: 0; }

.achievement-icon {
    font-size: 2.5rem; color: #ff6b00; }

.achievement-content h3 {
    margin: 0 0 5px; }

.video-filters {
    justify-content: center; margin-bottom: 3rem; flex-wrap: wrap; }

.videos-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

.video-card {
    overflow: hidden; }

.video-thumbnail {
    width: 100%; padding-top: 56.25%; /* 16:9 aspect ratio */
    cursor: pointer; }

.video-thumbnail img {
    left: 0; height: 100%; object-fit: cover; }

.video-duration {
    bottom: 10px; font-weight: 600; }

.video-modal-content {
    max-width: 1200px; aspect-ratio: 16/9; }

.video-modal-content iframe {
    border: none; }

.challenge-body p {
    line-height: 1.6; }

.challenge-footer {
    border-top: 1px solid var(--border-color); }

.certificate-card {
    text-align: center; }

.certificate-card.earned {
    border-color: #ffd700; }

.download-cert-btn {
    margin-top: 1rem; }

.analytics-card {
    backdrop-filter: blur(10px); }

.analytics-label {
    text-transform: uppercase; letter-spacing: 1px; }

/* ============================================
   CODE TOOLS
   ============================================ */

.format-btn,
.validate-btn {
    margin-left: 0.5rem; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
}


/* Focus styles for accessibility - Auto-added */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #0066cc; outline-offset: 2px; }
