*{box-sizing:border-box}body{color:#182230;background:#f7f8fc;margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button:disabled{cursor:not-allowed;opacity:.65}.navbar{background:#fff;border-bottom:1px solid #e8eaf0;justify-content:space-between;align-items:center;height:70px;padding:0 7%;display:flex}.logo{color:#4f46e5;font-size:22px;font-weight:750}.nav-links{align-items:center;gap:24px;display:flex}.nav-links a{transition:color .2s}.nav-links a:hover{color:#4f46e5}.nav-register,.primary-button{color:#fff;background:#4f46e5}.nav-register{border-radius:8px;padding:9px 16px}.nav-button{cursor:pointer;background:0 0;border:0}.nav-button:hover{color:#4f46e5}.hero{background:linear-gradient(135deg,#f7f7ff,#eef2ff);align-items:center;min-height:calc(100vh - 70px);padding:80px 8%;display:flex}.hero-content{max-width:760px}.eyebrow{color:#4f46e5;margin-bottom:8px;font-weight:700}.hero h1{max-width:800px;margin:14px 0 20px;font-size:clamp(42px,6vw,72px);line-height:1.05}.hero-description{color:#596273;max-width:650px;font-size:18px;line-height:1.7}.hero-actions{gap:14px;margin-top:32px;display:flex}.button{cursor:pointer;border:0;border-radius:9px;padding:12px 20px;transition:transform .15s,background .2s;display:inline-block}.primary-button:hover{background:#4338ca}.secondary-button{color:#182230;background:#fff;border:1px solid #d7dae3}.secondary-button:hover{background:#f8f9fc}.auth-page{place-items:center;min-height:calc(100vh - 70px);padding:60px 20px;display:grid}.auth-card{background:#fff;border:1px solid #e2e5eb;border-radius:16px;width:min(440px,100%);padding:34px;box-shadow:0 12px 35px #0000000f}.auth-card h1{margin-top:0}.auth-card label{gap:8px;margin-top:18px;font-weight:600;display:grid}.auth-card input,.auth-card select{border:1px solid #d9dce5;border-radius:8px;outline:none;width:100%;padding:12px 13px}.auth-card input:focus,.auth-card select:focus{border-color:#4f46e5}.auth-card .button{width:100%;margin-top:24px}.auth-footer{text-align:center;margin:22px 0 0}.auth-footer a{color:#4f46e5;font-weight:600}.muted{color:#697386}.error-message{color:#b42318;background:#fff0f0;border-radius:7px;padding:10px 12px}.success-message{color:#027a48;background:#ecfdf3;border-radius:7px;padding:10px 12px}.page-container{width:min(1180px,90%);margin:50px auto}.page-message{text-align:center;color:#697386;margin-top:80px}.page-heading{margin-bottom:32px}.page-heading h1{margin:5px 0;font-size:38px}.course-filters{background:#fff;border:1px solid #e4e7ec;border-radius:12px;flex-wrap:wrap;gap:12px;margin-bottom:32px;padding:18px;display:flex}.search-form{flex:1;gap:10px;min-width:280px;display:flex}.search-form input{flex:1}.course-filters input,.course-filters select{background:#fff;border:1px solid #d9dce5;border-radius:8px;outline:none;padding:11px 12px}.course-filters input:focus,.course-filters select:focus{border-color:#4f46e5}.course-grid,.my-course-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px;display:grid}.course-card,.my-course-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden}.course-card{transition:transform .2s,box-shadow .2s}.course-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #0f172a12}.course-image{height:180px}.course-image img{object-fit:cover;width:100%;height:100%}.course-placeholder{color:#4f46e5;background:#eef2ff;place-items:center;width:100%;height:100%;font-size:64px;font-weight:700;display:grid}.course-card-body{padding:20px}.course-card-body h3{margin:12px 0}.course-description{color:#697386;min-height:48px;line-height:1.5}.course-meta{flex-wrap:wrap;gap:8px;display:flex}.course-meta span{color:#505968;background:#f1f3f9;border-radius:20px;padding:5px 9px;font-size:13px}.course-footer,.my-course-footer,.progress-label,.section-heading-row{justify-content:space-between;align-items:center;display:flex}.rating-text{color:#697386;margin:4px 0 0}.course-detail-header{background:#fff;border:1px solid #e4e7ec;border-radius:16px;padding:40px}.course-detail-header h1{margin:15px 0;font-size:42px}.course-detail-description{color:#5d6675;max-width:800px;line-height:1.7}.course-summary{color:#596273;flex-wrap:wrap;gap:20px;margin:20px 0 28px;display:flex}.curriculum-section{margin-top:40px}.curriculum-section-card{background:#fff;border:1px solid #e4e7ec;border-radius:12px;margin-top:15px;padding:20px}.curriculum-section-card h3{margin-top:0}.curriculum-lesson{border-top:1px solid #eef0f4;justify-content:space-between;gap:20px;padding:13px 0;display:flex}.empty-state{text-align:center;background:#fff;border:1px dashed #d7dce5;border-radius:14px;padding:50px 20px}.empty-state h3{margin-top:0}.my-course-card{padding:22px}.my-course-card h3{margin:14px 0 8px}.progress-section{margin:24px 0}.progress-track{background:#e9ecf3;border-radius:10px;width:100%;height:9px;margin-top:8px;overflow:hidden}.progress-fill{background:#4f46e5;border-radius:10px;height:100%;transition:width .3s}.status{text-transform:capitalize;border-radius:20px;padding:6px 10px;font-size:13px}.status.active{color:#a15c00;background:#fff7e6}.status.completed{color:#027a48;background:#ecfdf3}.dashboard-header h1{margin:6px 0;font-size:38px}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px;margin:30px 0;display:grid}.stat-card{background:#fff;border:1px solid #e4e7ec;border-radius:13px;padding:24px}.stat-card span{color:#697386}.stat-card strong{margin-top:10px;font-size:32px;display:block}.dashboard-section{background:#fff;border:1px solid #e4e7ec;border-radius:13px;margin-top:35px;padding:24px}.section-heading-row{margin-bottom:10px}.section-heading-row a{color:#4f46e5;font-weight:600}.dashboard-course-row{border-top:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:20px;padding:15px 0;display:flex}.course-player{grid-template-columns:320px 1fr;min-height:calc(100vh - 70px);display:grid}.lesson-sidebar{background:#fff;border-right:1px solid #e5e7eb;padding:24px}.sidebar-course-title{border-bottom:1px solid #e6e8ed;padding-bottom:20px}.sidebar-course-title h2{margin-top:5px}.lesson-section{margin-top:24px}.lesson-section h4{margin-bottom:8px}.lesson-item{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:10px;width:100%;padding:11px 8px;display:flex}.lesson-item:hover,.active-lesson{color:#4338ca;background:#eef2ff}.lesson-content{padding:50px}.lesson-content h1{margin-top:6px;font-size:38px}.video-panel{color:#fff;background:#111827;border-radius:14px;place-items:center;min-height:300px;margin:30px 0;padding:30px;display:grid}.lesson-actions{gap:12px;margin-top:30px;display:flex}.resource-list{margin-top:25px}.resource-list a{color:#4f46e5;margin-top:8px;display:block}.completion-banner{color:#027a48;background:#ecfdf3;border-radius:12px;margin-top:30px;padding:20px}@media (width<=900px){.course-player{grid-template-columns:1fr}.lesson-sidebar{border-bottom:1px solid #e5e7eb;border-right:0}.lesson-content{padding:35px 25px}}@media (width<=720px){.navbar{align-items:flex-start;gap:15px;height:auto;min-height:70px;padding:15px 4%}.nav-links{flex-wrap:wrap;justify-content:flex-end;gap:12px}.hero{padding:50px 6%}.hero h1{font-size:44px}.hero-actions{flex-wrap:wrap}.course-filters{flex-direction:column}.search-form{width:100%;min-width:0}.course-filters select,.course-filters>button{width:100%}.course-detail-header{padding:25px}.course-detail-header h1{font-size:34px}.curriculum-lesson{flex-direction:column;gap:5px}.dashboard-course-row{flex-direction:column;align-items:flex-start}.lesson-content{padding:30px 20px}.lesson-actions{flex-direction:column}.lesson-actions .button{width:100%}}@media (width<=520px){.navbar{flex-direction:column}.nav-links{justify-content:flex-start;width:100%}.hero h1{font-size:36px}.page-container{width:92%;margin:35px auto}.page-heading h1,.dashboard-header h1{font-size:32px}.search-form{flex-direction:column}.search-form .button{width:100%}.course-footer,.my-course-footer{flex-direction:column;align-items:flex-start;gap:15px}.course-footer .button,.my-course-footer .button{text-align:center;width:100%}}.quiz-list,.attempt-list{gap:16px;display:grid}.quiz-card,.attempt-card,.certificate-row{background:#fff;border:1px solid #e4e7ec;border-radius:12px;justify-content:space-between;align-items:center;gap:20px;padding:22px;display:flex}.quiz-card h3,.attempt-card h3{margin:0 0 7px}.question-card{background:#fff;border:1px solid #e4e7ec;border-radius:14px;margin-bottom:20px;padding:24px}.question-card h3{margin-top:0}.quiz-options{gap:10px;margin-top:20px;display:grid}.quiz-option{cursor:pointer;border:1px solid #dfe3ea;border-radius:9px;align-items:center;gap:12px;padding:14px 16px;display:flex}.quiz-option:hover{background:#f8f9ff;border-color:#a5b4fc}.selected-option{background:#eef2ff;border-color:#4f46e5}.quiz-result-card{text-align:center;background:#fff;border:1px solid #e4e7ec;border-radius:16px;max-width:650px;margin:auto;padding:40px}.result-score{border-radius:50%;place-items:center;width:140px;height:140px;margin:30px auto;font-size:36px;font-weight:700;display:grid}.passed-score{color:#027a48;background:#ecfdf3}.failed-score{color:#b42318;background:#fff0f0}.result-actions{justify-content:center;gap:12px;margin-top:25px;display:flex}.attempt-result{align-items:center;gap:15px;display:flex}.attempt-result strong{font-size:24px}.status.failed{color:#b42318;background:#fff0f0}.certificate-row{margin-top:15px}.reviews-section{margin-top:45px}.review-form{background:#fff;border:1px solid #e4e7ec;border-radius:12px;gap:18px;margin:20px 0 30px;padding:24px;display:grid}.review-form label{gap:8px;font-weight:600;display:grid}.review-form select,.review-form textarea{font:inherit;border:1px solid #d9dce5;border-radius:8px;padding:12px}.review-form textarea{resize:vertical;min-height:110px}.review-list{gap:14px;display:grid}.review-card{background:#fff;border:1px solid #e4e7ec;border-radius:12px;padding:20px}.review-header{justify-content:space-between;gap:20px;display:flex}@media (width<=720px){.quiz-card,.attempt-card,.certificate-row{flex-direction:column;align-items:flex-start}.quiz-card .button,.certificate-row .button{text-align:center;width:100%}.result-actions{flex-direction:column}}.instructor-course-list{gap:18px;display:grid}.instructor-course-card{background:#fff;border:1px solid #e4e7ec;border-radius:14px;justify-content:space-between;gap:25px;padding:24px;display:flex}.course-management-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.course-status{text-transform:capitalize;border-radius:20px;padding:6px 10px;font-size:13px;display:inline-block}.course-status.draft{color:#475467;background:#f2f4f7}.course-status.pending{color:#a15c00;background:#fff7e6}.course-status.approved{color:#027a48;background:#ecfdf3}.course-status.rejected{color:#b42318;background:#fff0f0}.course-editor-form,.quiz-builder{background:#fff;border:1px solid #e4e7ec;border-radius:14px;gap:20px;padding:25px;display:grid}.course-editor-form label,.quiz-builder>label{gap:8px;font-weight:600;display:grid}.course-editor-form input,.course-editor-form select,.course-editor-form textarea,.quiz-builder input,.quiz-builder select{width:100%;font:inherit;border:1px solid #d9dce5;border-radius:8px;padding:12px}.course-editor-form textarea{resize:vertical;min-height:120px}.form-grid{grid-template-columns:repeat(2,1fr);gap:18px;display:grid}.curriculum-builder{margin-top:35px}.builder-section{background:#fff;border:1px solid #e4e7ec;border-radius:14px;margin-top:18px;padding:22px}.builder-section-header{gap:12px;margin-bottom:18px;display:flex}.builder-section-header input{border:1px solid #d9dce5;border-radius:8px;flex:1;padding:12px}.lesson-editor{background:#f8f9fc;border-radius:10px;gap:12px;margin-bottom:15px;padding:18px;display:grid}.lesson-editor input,.lesson-editor textarea{width:100%;font:inherit;border:1px solid #d9dce5;border-radius:7px;padding:11px}.lesson-editor textarea{min-height:80px}.danger-button{color:#b42318;cursor:pointer;background:#fff5f5;border:1px solid #fecdca;border-radius:7px;padding:9px 13px}.editor-actions,.dashboard-actions{flex-wrap:wrap;gap:12px;margin-top:25px;display:flex}.student-table{background:#fff;border:1px solid #e4e7ec;border-radius:13px;overflow:hidden}.student-row{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:20px;padding:18px 22px;display:flex}.student-row:last-child{border-bottom:0}.quiz-builder-question{background:#f8f9fc;border-radius:10px;gap:12px;padding:20px;display:grid}@media (width<=800px){.instructor-course-card{flex-direction:column}.form-grid{grid-template-columns:1fr}.builder-section-header{flex-direction:column}.student-row{flex-direction:column;align-items:flex-start}}.admin-user-list,.admin-course-list{gap:16px;display:grid}.admin-user-card{background:#fff;border:1px solid #e4e7ec;border-radius:13px;justify-content:space-between;align-items:center;gap:20px;padding:20px 22px;display:flex}.admin-user-info{align-items:center;gap:15px;display:flex}.user-avatar{color:#4f46e5;background:#eef2ff;border-radius:50%;flex-shrink:0;place-items:center;width:48px;height:48px;font-size:20px;font-weight:700;display:grid}.admin-user-info p{margin:5px 0}.user-meta{flex-wrap:wrap;gap:8px;display:flex}.role-badge{color:#475467;text-transform:capitalize;background:#f2f4f7;border-radius:20px;padding:5px 9px;font-size:13px}.admin-course-card{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:26px}.admin-course-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.admin-course-heading h2{margin:12px 0 6px}.admin-curriculum{background:#f8f9fc;border-radius:10px;margin-top:25px;padding:20px}.admin-section-preview{margin-top:16px}.admin-lesson-preview{border-bottom:1px solid #e8ebf1;justify-content:space-between;gap:20px;padding:10px 0;display:flex}.admin-course-actions{flex-wrap:wrap;gap:12px;margin-top:25px;display:flex}.rejection-box{background:#fff8f7;border:1px solid #fecdca;border-radius:10px;margin-top:20px;padding:18px}.rejection-box label{gap:8px;font-weight:600;display:grid}.rejection-box textarea{resize:vertical;min-height:100px;font:inherit;border:1px solid #f0b8b5;border-radius:8px;padding:12px}.rejection-actions{gap:10px;margin-top:14px;display:flex}@media (width<=720px){.admin-user-card{flex-direction:column;align-items:flex-start}.admin-course-heading,.admin-course-actions,.rejection-actions{flex-direction:column}.admin-course-actions button,.rejection-actions button{width:100%}}.profile-grid{grid-template-columns:280px 1fr;gap:24px;display:grid}.profile-card,.settings-card{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:26px}.profile-card{text-align:center;height:fit-content}.profile-avatar{color:#4f46e5;background:#eef2ff;border-radius:50%;place-items:center;width:110px;height:110px;margin:0 auto 18px;font-size:42px;font-weight:700;display:grid;overflow:hidden}.profile-avatar img{object-fit:cover;width:100%;height:100%}.profile-upload{gap:12px;margin-top:25px;display:grid}.profile-upload input{width:100%}.profile-settings{gap:20px;display:grid}.settings-card{gap:18px;display:grid}.settings-card h2{margin:0}.settings-card label{gap:8px;font-weight:600;display:grid}.settings-card input,.settings-card textarea{width:100%;font:inherit;border:1px solid #d9dce5;border-radius:8px;padding:12px}.settings-card textarea{resize:vertical;min-height:110px}.forgot-link{color:#4f46e5;margin-top:12px;font-size:14px;font-weight:600;display:inline-block}.development-reset-link{text-align:center;color:#4f46e5;margin-top:18px;font-weight:600;display:block}@media (width<=800px){.profile-grid{grid-template-columns:1fr}}.not-found-page{text-align:center;place-items:center;min-height:calc(100vh - 70px);padding:40px 20px;display:grid}.not-found-page>div{max-width:550px}.not-found-code{color:#4f46e5;margin:0;font-size:100px;font-weight:800;line-height:1}.not-found-page h1{margin:18px 0 10px;font-size:40px}.not-found-actions{justify-content:center;gap:12px;margin-top:28px;display:flex}@media (width<=520px){.not-found-code{font-size:72px}.not-found-actions{flex-direction:column}}.thumbnail-upload{flex-wrap:wrap;gap:10px;margin-top:10px;display:flex}.thumbnail-preview{object-fit:cover;border:1px solid #e4e7ec;border-radius:10px;width:220px;height:130px;margin-top:15px}.create-course-button{color:#fff;justify-content:center;align-items:center;min-width:175px;font-weight:600;display:inline-flex}.create-course-button span{color:#fff;display:inline-block}
