.header{background-color:#2c3e50;color:#fff;padding:1rem 0;box-shadow:0 2px 4px #0000001a;position:sticky;top:0;z-index:1000;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;padding-top:calc(1rem + env(safe-area-inset-top,24px))}@media screen and (-webkit-min-device-pixel-ratio: 2){.header{padding-top:calc(1.2rem + env(safe-area-inset-top,28px))}.header h1{font-size:1.5rem}}@media screen and (-webkit-min-device-pixel-ratio: 3){.header{padding-top:calc(1.4rem + env(safe-area-inset-top,32px))}.header h1{font-size:1.6rem}}@media screen and (-webkit-min-device-pixel-ratio: 4){.header{padding-top:calc(1.6rem + env(safe-area-inset-top,36px))}.header h1{font-size:1.8rem}}@media screen and (max-width: 768px){.header{padding-top:calc(1rem + env(safe-area-inset-top,32px))}}.header-container{margin:0 auto;padding:0 1rem;display:flex;justify-content:space-between;align-items:center}.logo{text-decoration:none;color:#fff}.logo h1{margin:0;font-size:18px;font-weight:600}.nav{display:flex;align-items:center}.user-menu{display:flex;align-items:center;gap:1rem}.user-name{font-size:.9rem;color:#ecf0f1}.login-btn,.logout-btn{background-color:#3498db;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;text-decoration:none;font-size:.9rem;cursor:pointer;transition:background-color .3s}.login-btn:hover,.logout-btn:hover{background-color:#2980b9}.logout-btn{background-color:#e74c3c}.logout-btn:hover{background-color:#c0392b}.sidebar-toggle-btn{background:#2c3e50;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:1rem;font-weight:700;transition:background-color .2s;min-width:40px;min-height:40px;border:1px solid #fff;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.sidebar-toggle-btn:hover{background:#163658}.header.dashboard-page .sidebar-toggle-btn{display:none}.hamburger-icon{display:flex;flex-direction:column;width:20px;height:16px;justify-content:space-between}.hamburger-icon span{display:block;height:2px;width:100%;background-color:#fff;border-radius:1px;transition:all .3s ease}.course-header{background:#fff;padding:1rem;border-bottom:1px solid #e9ecef;display:flex;align-items:center;gap:1rem;margin-bottom:0;position:sticky;top:0;z-index:999;border-radius:0;margin-top:1rem;margin-bottom:-1rem}.login-container{display:flex;justify-content:center;align-items:center;min-height:80vh}.login-card{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 4px 6px #0000001a;width:100%;max-width:400px}.login-card h2{text-align:center;margin-bottom:.5rem;color:#2c3e50}.login-subtitle{text-align:center;margin-bottom:2rem;color:#666;font-size:.9rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#555;font-weight:500}.form-group input{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;transition:border-color .3s}.form-group input:focus{outline:none;border-color:#3498db}.error-message{color:#e74c3c;background-color:#fdf2f2;padding:.75rem;border-radius:4px;margin-bottom:1rem;border:1px solid #fecaca}.submit-btn{width:100%;background-color:#3498db;color:#fff;border:none;padding:.75rem;border-radius:4px;font-size:1rem;cursor:pointer;transition:background-color .3s}.submit-btn:hover:not(:disabled){background-color:#2980b9}.submit-btn:disabled{background-color:#bdc3c7;cursor:not-allowed}.subscriptions-container{max-width:1200px;margin:0 auto;padding:1rem}.subscriptions-header{margin-bottom:1rem}.subscriptions-header h2{color:#2c3e50;margin:0;font-size:2rem;display:flex;align-items:center;gap:.5rem}.refresh-btn{background:none;border:none;cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;color:#666;transition:color .3s}.refresh-btn:hover:not(:disabled){color:#2c3e50}.refresh-btn:disabled{color:#bdc3c7;cursor:not-allowed}.refresh-btn svg.spinning{animation:spin 1s linear infinite}.no-subscriptions{text-align:center;padding:3rem;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a}.no-subscriptions p{color:#666;margin-bottom:1rem;font-size:1.1rem}.no-subscriptions a{color:#3498db;text-decoration:none}.no-subscriptions a:hover{text-decoration:underline}.subscriptions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:2rem}.subscription-card{background:#fff1f4;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1.5rem;transition:transform .3s,box-shadow .3s}.subscription-card:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.subscription-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #ecf0f1}.subscription-header h3{color:#2c3e50;margin:0;font-size:1.3rem}.status{padding:.25rem .75rem;border-radius:12px;font-size:.8rem;font-weight:500;text-transform:uppercase}.status-active{background-color:#d4edda;color:#155724}.status-on-hold{background-color:#fff3cd;color:#856404}.status-cancelled{background-color:#f8d7da;color:#721c24}.status-expired{background-color:#e2e3e5;color:#6c757d}.status-default{background-color:#f8f9fa;color:#6c757d}.subscription-details{margin-bottom:1.5rem}.detail-row{display:flex;justify-content:space-between;margin-bottom:.5rem}.detail-row .label{color:#666;font-weight:500}.detail-row .value{color:#2c3e50;font-weight:600}.subscription-items{margin-bottom:1.5rem;padding-top:1rem;border-top:1px solid #ecf0f1}.subscription-items h4{color:#2c3e50;margin-bottom:1rem;font-size:1.1rem}.subscription-items ul{list-style:none;padding:0;margin:0}.subscription-items li{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #f8f9fa}.subscription-items li:last-child{border-bottom:none}.item-name{color:#2c3e50;font-weight:500}.item-quantity{color:#666;font-size:.9rem}.subscription-actions{padding-top:1rem;border-top:1px solid #ecf0f1}.action-btn{padding:.75rem 1.5rem;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;font-weight:500;transition:background-color .3s}.action-btn.primary{background-color:#27ae60;color:#fff}.action-btn.primary:hover{background-color:#229954}.debug-info{background:#f8f9fa;border:1px solid #dee2e6;border-radius:4px;padding:1rem;margin-bottom:2rem;font-size:.9rem}.debug-info h4{margin:0 0 .5rem;color:#495057}.debug-info details{margin-top:1rem}.debug-info summary{cursor:pointer;font-weight:500;color:#007cba}.debug-info pre{background:#fff;border:1px solid #dee2e6;border-radius:3px;padding:1rem;margin-top:.5rem;overflow-x:auto;font-size:.8rem;max-height:300px;overflow-y:auto}@media (max-width: 768px){.subscriptions-header h2{font-size:1.5rem}.subscriptions-grid{grid-template-columns:1fr}.subscription-header{flex-direction:column;align-items:flex-start;gap:.5rem}}.dashboard-container{max-width:1200px;margin:0 auto}.welcome-section{text-align:center;margin-bottom:2rem;padding:1rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:8px}.welcome-section h1{font-size:2.5rem;margin-bottom:1rem}.welcome-section p{font-size:1.2rem;opacity:.9}.dashboard-content{display:grid;gap:3rem}.subscriptions-section{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.no-courses{text-align:center;padding:3rem;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-top:1rem}.no-courses p{color:#666;font-size:1.1rem;margin:0}.courses-section h2{color:#2c3e50;margin-bottom:2rem;font-size:2rem}.courses-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.course-card{background:#fff;border-radius:8px;box-shadow:0 4px 6px #0000001a;overflow:hidden;transition:transform .3s,box-shadow .3s}.course-card:hover{transform:translateY(-4px);box-shadow:0 8px 15px #0003}.course-thumbnail{height:200px;background-color:#f8f9fa;display:flex;align-items:center;justify-content:center;overflow:hidden}.course-thumbnail img{width:100%;height:100%;object-fit:cover}.placeholder-thumbnail{font-size:4rem;color:#bdc3c7}.course-content{padding:1.5rem}.course-content h3{color:#2c3e50;margin-bottom:1rem;font-size:1.3rem}.course-content p{color:#666;margin-bottom:1.5rem;line-height:1.6}.course-meta{display:flex;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}.course-meta span{padding:.25rem .75rem;border-radius:12px;font-size:.8rem;font-weight:500}.level{background-color:#e8f5e8;color:#27ae60}.duration{background-color:#e3f2fd;color:#1976d2}.price{background-color:#fff3e0;color:#f57c00}.course-btn{display:inline-block;background-color:#3498db;color:#fff;text-decoration:none;padding:.75rem 1.5rem;border-radius:4px;font-weight:500;transition:background-color .3s}.course-btn:hover{background-color:#2980b9}.loading{text-align:center;font-size:1.2rem;color:#666;padding:2rem}.assessment-results{max-width:800px;margin:0 auto}.results-header{text-align:center;margin-bottom:2rem}.score-display{display:flex;flex-direction:column;align-items:center;gap:1rem}.score-circle{width:120px;height:120px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;font-weight:700;box-shadow:0 4px 12px #00000026}.score-circle.excellent{background:linear-gradient(135deg,#28a745,#20c997);color:#fff}.score-circle.good{background:linear-gradient(135deg,#17a2b8,#6f42c1);color:#fff}.score-circle.fair{background:linear-gradient(135deg,#ffc107,#fd7e14);color:#fff}.score-circle.poor{background:linear-gradient(135deg,#dc3545,#e83e8c);color:#fff}.score-percentage{font-size:2rem;font-weight:700}.score-icon{font-size:1.5rem;margin-top:.25rem}.score-details h2{margin:0 0 .5rem;color:#333;font-size:1.5rem}.score-message{color:#6c757d;font-size:1.1rem;margin-bottom:1rem}.score-breakdown{display:flex;align-items:center;gap:.5rem;font-size:.9rem;color:#6c757d}.correct{color:#28a745;font-weight:500}.incorrect{color:#dc3545;font-weight:500}.total{color:#6c757d;font-weight:500}.separator{color:#dee2e6}.results-content{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.question-review{padding:1rem}.question-review h3{margin:0 0 1rem;color:#333;font-size:1.2rem}.questions-list{display:flex;flex-direction:column;gap:1rem}.question-review-item{padding:1rem;border-radius:8px;border:1px solid #e9ecef}.question-review-item.correct{background:#f8fff9;border-color:#28a745}.question-review-item.incorrect{background:#fff8f8;border-color:#dc3545}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.question-number{background:#111d18;color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.8rem;font-weight:500}.status-badge{padding:.25rem .5rem;border-radius:6px;font-size:.8rem;font-weight:500;border:1px solid}.status-badge.correct{background:#f8f9fa;color:#28a745;border-color:#e9ecef}.status-badge.incorrect{background:#f8f9fa;color:#dc3545;border-color:#e9ecef}.question-text{font-weight:500;color:#333;margin-bottom:.75rem;line-height:1.5}.answers{display:flex;flex-direction:column;gap:.5rem}.user-answer,.correct-answer{padding:.5rem;border-radius:4px;font-size:.9rem}.user-answer{background:#f8f9fa;color:#495057}.correct-answer{background:#d1ecf1;color:#0c5460}.results-actions{padding:1.5rem;border-top:1px solid #e9ecef;display:flex;gap:1rem;justify-content:center}.action-btn{padding:.75rem 1.5rem;border-radius:6px;font-weight:500;cursor:pointer;transition:all .2s;border:none;font-size:.9rem}.action-btn.primary{background:#007bff;color:#fff}.action-btn.primary:hover{background:#0056b3}.action-btn.secondary{background:#6c757d;color:#fff}.action-btn.secondary:hover{background:#545b62}@media (max-width: 768px){.score-circle{width:100px;height:100px}.score-percentage{font-size:1.5rem}.score-icon{font-size:1.2rem}.results-actions{flex-direction:column}.score-breakdown{flex-direction:column;gap:.25rem}.separator{display:none}}.course-sidebar{position:fixed;top:0;right:0;width:320px;height:100vh;background:#fff;border-left:1px solid #e5e7eb;box-shadow:-2px 0 10px #0000001a;z-index:1000;display:flex;flex-direction:column;transform:translate(100%);transition:transform .3s ease}.sidebar-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid #e5e7eb;background:#f9fafb}.sidebar-header h3{margin:0;font-size:1.1rem;font-weight:600;color:#374151;cursor:pointer}.tree-container{flex:1;padding:1rem 0;overflow-y:auto}.tree-node:hover{background:#f3f4f6}.tree-node.active{background:#dbeafe;color:#1e40af}.tree-toggle{margin-right:.5rem;font-size:.8rem;color:#6b7280;cursor:pointer;-webkit-user-select:none;user-select:none;width:16px;text-align:center}.tree-icon{margin-right:.5rem;font-size:1rem}.tree-meta{font-size:.75rem;color:#6b7280;margin-left:.5rem}.tree-children{margin-left:1rem;border-left:1px solid #e5e7eb;padding-left:.5rem}.topic-node{font-weight:600}.lesson-node{font-weight:500}.lesson-content-node,.workbook-node{font-weight:400}.workbook-node.workbook-mcq,.workbook-node.workbook-fill-blanks,.workbook-node.workbook-qa{color:#7c3aed}.sidebar-footer{padding:1rem;border-top:1px solid #e5e7eb;background:#f9fafb}.sidebar-navigation{display:flex;flex-direction:column;gap:.5rem}.dashboard-link-btn,.logout-btn{display:flex;align-items:center;width:100%;padding:.75rem 1rem;border:none;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s;text-align:left;background:#2c3e50!important;color:#fff}.dashboard-link-btn:hover,.logout-btn:hover{background:#34495e!important}.nav-icon{margin-right:.75rem;font-size:1rem}.nav-title{font-weight:500}@media (max-width: 768px){.course-sidebar{width:100%}}.course-dashboard{min-height:100vh;background-color:#f8f9fa}.back-btn{background:#6c757d;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-size:.9rem;transition:background-color .2s}.back-btn:hover{background:#5a6268}.course-header h1{margin:0;color:#333;font-size:1.5rem}.sidebar-toggle-btn{background:#2c3e50;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:1rem;font-weight:700;transition:background-color .2s;min-width:40px;border:1px solid #fff}.sidebar-toggle-btn:hover{background:#0056b3}.course-layout{display:flex;min-height:calc(100vh - 80px);position:relative}.course-layout.sidebar-open{flex-direction:row-reverse}.course-layout.sidebar-closed{flex-direction:row}.course-sidebar{width:350px;background:#fff;border-left:1px solid #e9ecef;display:flex;flex-direction:column;position:fixed;top:0;right:0;height:100vh;z-index:1000;transform:translate(100%);transition:transform .3s ease-in-out;box-shadow:-2px 0 8px #0000001a}.course-sidebar.sidebar-visible{transform:translate(0)}.course-sidebar.sidebar-hidden{transform:translate(100%)}.sidebar-header{padding:1rem;border-bottom:1px solid #e9ecef;background:#f8f9fa;display:flex;justify-content:space-between;align-items:center}.sidebar-header h3{margin:0;color:#333;font-size:1rem}.sidebar-close-btn{background:transparent;color:#2c3e50;border:none;width:36px;height:36px;cursor:pointer;font-size:32px;font-weight:400;display:flex;align-items:center;justify-content:center;transition:background-color .2s}.sidebar-close-btn:hover{background:transparent}.tree-container{flex:1;overflow-y:auto;padding:.5rem 0}.tree-item{margin-bottom:.25rem}.tree-node{display:flex;align-items:center;padding:.5rem 1rem;cursor:pointer;transition:all .2s;border-radius:4px;margin:0 .5rem}.tree-node:hover{background:#f8f9fa}.tree-node.active{background:#e3f2fd;color:#007bff}.tree-toggle{width:16px;height:16px;display:flex;align-items:center;justify-content:center;font-size:.7rem;color:#6c757d;margin-right:.5rem;cursor:pointer}.tree-toggle:hover{color:#007bff}.tree-label{flex:1;font-size:1rem;font-weight:300}.tree-meta{font-size:.75rem;color:#6c757d;background:#e9ecef;padding:.1rem .4rem;border-radius:8px;margin-left:.5rem}.tree-icon{margin-right:.5rem;font-size:.8rem}.tree-children{margin-left:1rem;border-left:1px solid #e9ecef;padding-left:.5rem}.topic-node{font-weight:600;color:#333;background:linear-gradient(135deg,#e3f2fd,#f3e5f5)}.lesson-node{font-weight:500;color:#1976d2;background:linear-gradient(135deg,#e8f5e8,#f0f8ff)}.lesson-node:hover{background:linear-gradient(135deg,#d4edda,#e3f2fd)}.lesson-node.active{background:linear-gradient(135deg,#c8e6c9,#bbdefb);color:#0d47a1}.lesson-content-node{background:linear-gradient(135deg,#e8f5e8,#f0f8ff);color:#1976d2;font-weight:500}.lesson-content-node:hover{background:linear-gradient(135deg,#d4edda,#e3f2fd)}.lesson-content-node.active{background:linear-gradient(135deg,#c8e6c9,#bbdefb);color:#0d47a1}.workbook-node{font-weight:400;color:#6c757d}.workbook-mcq,.workbook-fill-blanks,.workbook-qa{background:linear-gradient(135deg,#f3e5f5,#e1f5fe);color:#7b1fa2}.workbook-mcq:hover,.workbook-fill-blanks:hover,.workbook-qa:hover{background:linear-gradient(135deg,#e1bee7,#b3e5fc)}.workbook-mcq.active,.workbook-fill-blanks.active,.workbook-qa.active{background:linear-gradient(135deg,#ce93d8,#81d4fa);color:#4a148c}.sidebar-footer{padding:1rem;border-top:1px solid #e9ecef;background:#f8f9fa}.sidebar-footer h4{margin:0 0 .5rem;color:#333;font-size:.9rem}.resource-item{margin-bottom:.25rem}.resource-item a{display:flex;align-items:center;text-decoration:none;color:#6c757d;font-size:.8rem;padding:.25rem 0;transition:color .2s}.resource-item a:hover{color:#007bff}.resource-icon{margin-right:.5rem;font-size:.7rem}.sidebar-navigation{margin-top:0;padding-top:0;border-top:1px solid #e9ecef;display:flex;flex-direction:column;gap:.5rem}.dashboard-link-btn,.logout-btn{display:flex;align-items:center;width:100%;padding:.75rem 1rem;border:none;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s;text-align:left;background:#2c3e50!important}.dashboard-link-btn{background:#007bff;color:#fff}.dashboard-link-btn:hover{background:#0056b3;transform:translateY(-1px)}.logout-btn{background:#dc3545;color:#fff}.logout-btn:hover{background:#c82333;transform:translateY(-1px)}.nav-icon{margin-right:.75rem;font-size:1rem;filter:grayscale(100%);opacity:.7}.nav-title{flex:1}.course-main-content{flex:1;overflow-y:auto;transition:margin-right .3s ease-in-out}.course-layout.sidebar-open .course-main-content{margin-right:350px}.course-layout.sidebar-closed .course-main-content{margin-right:0}.content-header{margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid #e9ecef;background:linear-gradient(135deg,#f8f9fa,#fff);padding:1rem;border-radius:12px;box-shadow:0 2px 8px #0000000d}.content-breadcrumb{display:flex;align-items:center;margin-bottom:1rem;font-size:.95rem;font-weight:500}.breadcrumb-block{display:flex;flex-direction:column;gap:.25rem}.breadcrumb-topic{font-size:.9rem;color:#6c757d;font-weight:500}.breadcrumb-lesson{font-size:1rem;color:#007bff;font-weight:600}.breadcrumb-item{color:#007bff;font-weight:500}.breadcrumb-separator{margin:0 .5rem;color:#6c757d}.content-meta{display:flex;gap:1rem;align-items:center}.content-header h2{margin:0 0 .5rem;color:#333;font-size:1.8rem;font-weight:700;line-height:1.2}.content-header h1{margin:0 0 .5rem;color:#333;font-size:2.2rem;font-weight:700;line-height:1.2}.lesson-duration,.workbook-type{background:#007bff;color:#fff;padding:.25rem .75rem;border-radius:12px;font-size:.8rem;font-weight:500}.content-body{background:#fff;padding:1rem;border-radius:12px;box-shadow:0 4px 12px #00000014;border:1px solid #f0f0f0}.content-body,.content-header{border-radius:0}.lesson-description{background:linear-gradient(135deg,#e3f2fd,#f8f9fa);border-left:5px solid #2196f3;padding:1.5rem 2rem;margin-bottom:2rem;border-radius:0 12px 12px 0;box-shadow:0 2px 8px #2196f31a}.lesson-description h4{margin:0 0 .75rem;color:#1976d2;font-size:1.3rem;font-weight:700}.lesson-description p{margin:0;color:#424242;line-height:1.5;font-size:.95rem}.lesson-text{line-height:1.7;color:#333;margin-bottom:2rem;font-size:1rem}.lesson-text h1{font-size:2rem;font-weight:700;color:#333;margin:1.5rem 0 1rem;line-height:1.3}.lesson-text h2{font-size:1.6rem;font-weight:600;color:#333;margin:1.25rem 0 .75rem;line-height:1.3}.lesson-text h3{font-size:1.3rem;font-weight:600;color:#333;margin:1rem 0 .5rem;line-height:1.3}.lesson-text h4{font-size:1.1rem;font-weight:600;color:#333;margin:.75rem 0 .5rem;line-height:1.3}.lesson-text p{margin:0 0 1rem;color:#444;line-height:1.7}.lesson-text ul,.lesson-text ol{margin:0 0 1rem;padding-left:1.5rem}.lesson-text li{margin:.25rem 0;color:#444;line-height:1.6}.lesson-text blockquote{border-left:4px solid #007bff;padding:1rem 1.5rem;margin:1.5rem 0;background:#f8f9fa;border-radius:0 8px 8px 0;font-style:italic;color:#555}.lesson-text img{max-width:100%;height:auto;border-radius:8px;margin:1rem 0;box-shadow:0 2px 8px #0000001a}.video-placeholder{background:#f8f9fa;border:2px dashed #dee2e6;padding:2rem;text-align:center;border-radius:8px;color:#6c757d}.video-icon{font-size:2rem;margin-bottom:.5rem;display:block}.text-content{background:#f8f9fa;border:2px dashed #dee2e6;padding:2rem;text-align:center;border-radius:8px;color:#6c757d}.text-icon{font-size:2rem;margin-bottom:.5rem;display:block}.lesson-type{background:#28a745;color:#fff;padding:.25rem .75rem;border-radius:12px;font-size:.8rem;font-weight:500;text-transform:capitalize}.workbook-questions{background:#fff;color:#333;padding:.25rem .75rem;border-radius:6px;font-size:.8rem;font-weight:500;border:none}.topic-unlock{background:#ffc107;color:#212529;padding:.25rem .75rem;border-radius:12px;font-size:.8rem;font-weight:500}.topic-lessons{background:#17a2b8;color:#fff;padding:.25rem .75rem;border-radius:12px;font-size:.8rem;font-weight:500}.welcome-content{text-align:center;max-width:600px;margin:0 auto}.welcome-content h2{color:#333;margin-bottom:1.5rem;font-size:2.5rem;font-weight:700;line-height:1.2}.welcome-content p{color:#6c757d;line-height:1.6;margin-bottom:2rem}.course-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;max-width:500px;margin:0 auto}.stat{text-align:center}.stat-number{display:block;font-size:2rem;font-weight:700;color:#007bff}.stat-label{font-size:.9rem;color:#6c757d;text-transform:uppercase}.navigation-hint{margin-top:2rem;padding:1rem;background:#e3f2fd;border-radius:8px;border-left:4px solid #007bff}.navigation-hint p{margin:0;color:#1976d2;font-size:.9rem}.topic-overview{max-width:800px}.topic-description{margin-bottom:2rem}.topic-description h3{color:#333;margin-bottom:1rem;font-size:1.8rem;font-weight:700;line-height:1.2}.topic-description p{color:#6c757d;line-height:1.6}.topic-lessons-preview h4{color:#333;margin-bottom:1.5rem;font-size:1.4rem;font-weight:600;line-height:1.2}.lessons-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem}.lesson-preview-card{background:#fff;border:1px solid #e9ecef;border-radius:8px;padding:1rem;transition:all .2s}.lesson-preview-card:hover{border-color:#007bff;box-shadow:0 2px 8px #007bff26}.lesson-preview-header{display:flex;align-items:center;margin-bottom:.5rem}.lesson-preview-header .lesson-icon{margin-right:.5rem;font-size:1.2rem}.lesson-preview-header .lesson-title{font-weight:500;color:#333}.lesson-preview-meta{display:flex;gap:.5rem;font-size:.8rem;color:#6c757d}.lesson-preview-meta span{background:#f8f9fa;padding:.1rem .4rem;border-radius:8px}.mcq-questions{display:flex;flex-direction:column;gap:1.5rem}.question-item{padding:1rem;border:1px solid #e9ecef;border-radius:8px;background:#f8f9fa}.question-item h4{margin:0 0 .75rem;color:#333;font-size:1.2rem;font-weight:600;line-height:1.3}.question-item p{margin:0 0 1rem;color:#333;font-weight:500}.options{display:flex;flex-direction:column;gap:.5rem}.option{display:flex;align-items:center;gap:.5rem;padding:.5rem;border:1px solid #e9ecef;border-radius:4px;cursor:pointer;transition:all .2s}.option:hover{background:#fff;border-color:#007bff}.option input[type=radio]{margin:0}.submit-btn{background:#28a745;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;cursor:pointer;font-weight:500;transition:background-color .2s;margin-top:1rem}.submit-btn:hover{background:#218838}.loading{display:flex;justify-content:center;align-items:center;height:200px;font-size:1.1rem;color:#6c757d}@media (max-width: 768px){.course-sidebar{width:100%;transform:translate(100%)}.course-sidebar.sidebar-visible{transform:translate(0)}.course-layout.sidebar-open .course-main-content{margin-right:0}.course-stats{gap:1rem;max-width:100%}.course-header{padding:1rem}.course-header h1{font-size:1.2rem}}.workbook-placeholder{text-align:center;padding:3rem 2rem}.workbook-icon{font-size:4rem;margin-bottom:1rem}.workbook-placeholder h3{color:#2c3e50;margin-bottom:1rem;font-size:1.5rem}.workbook-placeholder p{color:#7f8c8d;margin-bottom:2rem}.start-workbook-btn{background:#3498db;color:#fff;border:none;padding:.75rem 2rem;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .2s}.start-workbook-btn:hover{background:#2980b9}.breadcrumb-workbook{color:#3498db;font-weight:600;font-size:.9rem;margin-top:.25rem}.workbook-questions{padding:0}.workbook-questions h3{color:#2c3e50;margin-bottom:1rem;font-size:1.5rem}.questions-placeholder{text-align:center;padding:2rem;background:#f8f9fa;border-radius:6px;margin-top:1rem}.submit-workbook-btn{background:#28a745;color:#fff;border:none;padding:.75rem 2rem;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .2s;margin-top:1rem}.submit-workbook-btn:hover:not(:disabled){background:#218838}.submit-workbook-btn:disabled{background:#6c757d;cursor:not-allowed;opacity:.7}.questions-list{margin:1rem 0}.question-item{background:#fff;border:1px solid #f0f0f0;border-radius:8px;padding:1rem;margin-bottom:1rem;box-shadow:none;transition:all .2s ease}.question-item:hover{border-color:#e0e0e0;box-shadow:0 2px 4px #0000000d}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid #f5f5f5}.question-number{font-weight:600;font-size:1rem}.question-type{background:#f8f9fa;color:#666;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:500;border:1px solid #e9ecef}.question-content{margin-top:1rem}.question-text{font-size:1.1rem;color:#333;margin-bottom:1.25rem;line-height:1.6;font-weight:400}.question-options{display:flex;flex-direction:column;gap:.75rem}.option-label{display:flex;align-items:center;padding:.75rem;background:#fff;border:1px solid #e9ecef;border-radius:6px;cursor:pointer;transition:all .2s ease}.option-label:hover{background:#f8f9fa;border-color:#dee2e6}.option-input{margin-right:.75rem;transform:scale(1.1)}.option-text{font-size:1rem;color:#333;font-weight:400}.answer-input{margin-top:1rem}.answer-textarea{width:100%;padding:.75rem;border:1px solid #e9ecef;border-radius:6px;font-size:1rem;font-family:inherit;resize:vertical;min-height:80px;background:#fff;transition:all .2s ease}.answer-textarea:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.submit-section{border-top:1px solid #f5f5f5;text-align:center}.lesson-navigation{display:flex;justify-content:space-between;gap:.75rem;margin-top:1.5rem;padding-top:1rem;border-top:2px solid #e9ecef}.nav-btn{width:40px;height:40px;padding:0;font-size:1.25rem;font-weight:600;border:none;border-radius:50%;cursor:pointer;transition:all .2s ease;background:#007bff;color:#fff;display:flex;align-items:center;justify-content:center;line-height:1}.nav-btn:hover:not(:disabled){background:#0056b3;transform:translateY(-1px);box-shadow:0 4px 8px #007bff4d}.nav-btn:disabled{background:#6c757d;cursor:not-allowed;opacity:.6}.prev-btn{margin-right:auto}.next-btn{margin-left:auto}@media (max-width: 768px){.lesson-navigation{flex-direction:row}.nav-btn{width:40px;height:40px}.prev-btn,.next-btn{margin:0}}.loading-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:#f8f9fa}.loading-spinner{text-align:center;padding:2rem}.spinner{width:40px;height:40px;border:4px solid #e3e3e3;border-top:4px solid #007bff;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-spinner p{color:#6c757d;font-size:1rem;margin:0}
